* {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

.video-background iframe {
    width: 100vw;
    height: 56.25vw;
    /* Given a 16:9 aspect ratio, 9/16*100 = 56.25 */
    min-height: 100vh;
    min-width: 177.77vh;
    /* Given a 16:9 aspect ratio, 16/9*100 = 177.77 */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.glass-nav {
    background: rgba(62, 39, 35, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== HAMBURGER MENU STYLES ===== */

/* Hamburger Icon */
.hamburger-icon {
    width: 24px;
    height: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

/* Hamburger to X Animation */
.hamburger-icon.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-icon.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-icon.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 40;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #3e2723 0%, #4e342e 100%);
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: 45;
    padding: 100px 24px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* Mobile Menu Links */
.mobile-menu-link {
    color: white;
    font-size: 1.25rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 12px 20px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    transition-delay: var(--delay, 0s);
    position: relative;
}

.mobile-menu-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #d2bab0;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.mobile-menu-link:hover::after,
.mobile-menu-link:active::after {
    width: 60%;
}

.mobile-menu.active .mobile-menu-link {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu Divider */
.mobile-menu-divider {
    width: 60px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 16px 0;
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.3s ease;
    transition-delay: var(--delay, 0s);
}

.mobile-menu.active .mobile-menu-divider {
    opacity: 1;
    transform: scaleX(1);
}

/* Mobile Language Selector */
.mobile-menu-lang {
    display: flex;
    gap: 12px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    transition-delay: var(--delay, 0s);
}

.mobile-menu.active .mobile-menu-lang {
    opacity: 1;
    transform: translateY(0);
}

.mobile-lang-btn {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-lang-btn:hover,
.mobile-lang-btn.active {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Mobile Social Links */
.mobile-menu-social {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    transition-delay: var(--delay, 0s);
}

.mobile-menu.active .mobile-menu-social {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-social a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.mobile-menu-social a:hover {
    color: white;
    transform: scale(1.1);
}

/* Body scroll lock when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Marquee Animation */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Partners Carousel */
.partners-carousel {
    overflow: hidden;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    animation: partners-scroll 30s linear infinite;
    width: max-content;
}

.partner-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
}

.partner-logo {
    height: 80px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partner-item:hover .partner-logo {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes partners-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}