/* --- Header Section --- */

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    z-index: 2;
    
}

@keyframes inkwellSpread {
    0% {
        transform: scale(0);
        opacity: 0; 
    }
    50% {
        transform: scale(1.25); 
        opacity: 0.6;
    }
    100% {
        transform: scale(1);
        opacity: 1; 
    }
}

.header-scroll-background {
    background-color: var(--white, #FFF);
    height: var(--header-height, 77px);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    transform: scale(0); 
    transition: background-color 0.6s ease-in-out; 
    display: none;
    z-index: 1;
    will-change: transform, opacity; 
    overflow: hidden;
}

header.scrolled .header-scroll-background {
    display: block;
    animation: inkwellSpread 0.6s cubic-bezier(0.4, 0.0, 0.2, 1) forwards; 
}


.banner h3,
.banner p {
    color: var(--white, #FFF);
}

.header-section {
    height: var(--header-height, 77px);
    color: var(--white, #FFF);
}

/* Logo */
.logo img {
    height: 52px;
    width: auto;
    display: block;
}

/* Navigation */
.nav-links {
    display: flex;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

header .nav-links li {
    font-size: 14px;
    padding: 8px 16px;
    line-height: 21px;
}

.nav-links a:hover {
    color: var(--white-hover, #B3B3B3);
}

.contact-us-btn {
    display: inline-block;
    border-radius: 999px;
    border: 1px solid var(--white, #FFF);
    padding: 0 24px; 
    color: var(--white, #FFF);
    background-color: transparent;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.nav-links .contact-us-btn:hover {
    background-color: var(--white, #FFF);
    color: var(--primary-color); 
}

/* --- Sroll Header --- */

header.scrolled .logo img {
    content: url('/assets/dark-logo.svg');
}

header.scrolled .nav-links a {
    color: var(--black, #000);
}

header.scrolled .nav-links .contact-us-btn {
    color: var(--white, #FFF);
    background-color: var(--primary-color);
}

header.scrolled .menu-icon img {
    content: url('/assets/dark-menu-icon.svg');
}

header.scrolled .nav-links a:hover   {
    color: var(--black-hover, #4D4D4D);
}

header.scrolled .nav-links .contact-us-btn:hover   {
    background-color: var(--black, #000);
    color: var(--white-hover, #B3B3B3);
}

.banner {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.banner-video {
    object-fit: cover;
    object-position: center;
    height: 100vh;
    width: 100vw;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.banner-content {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.discover-now-btn {
    display: inline-block;
    border-radius: 999px;
    border: 1px solid var(--white, #FFF);
    color: var(--white);
    padding: 8px 30px;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    transition: all 0.3s;
}

.discover-now-btn:hover {
    background-color: var(--white, #fff);
    color: var(--primary-color);
}

/* Menu Icon */
.menu-icon {
    display: none;
    .image {
        width: 32px;
        height: 32px;
    }
}

/* Navigation Links */
.nav-links {
    display: none;
}

.nav-links.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-height);
    left: 0;
    padding-left: 16px;
    width: 100%;
    height: 100%;
    background-color: var(--white, #fff);
    justify-content: flex-start;
    align-items: flex-start;
    z-index: 999;
    
    a {
        color: var(--black, #000);
        text-align: left;
    }

    .contact-us-btn {
        border-radius: 999px;
        border: none;
        background-color: var(--primary-color);
        color: var(--white, #FFF);
        padding: 2px 24px;
        margin-left: 0;
    }
}

/* Desktop - min-width: 1440px */
@media (min-width: 1440px) {
    .nav-links {
        display: flex;
    }

    .nav-links a {
        color: white;
    }

    .menu-icon {
        display: none;
    }

    :root {
        --header-height: 77px;
    }

    header .container {
        background-color: transparent;
    }
}

/* Tablet - min-width: 768px */
@media (min-width: 768px) and (max-width: 1439px) {
    .menu-icon {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .logo img {
        max-height: 40px;
    }

    :root {
        --header-height: 65px;
    }
}

/* Mobile - max-width: 767px */
@media (max-width: 767px) {
    .logo img {
        max-height: 36px;
    }

    .menu-icon {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .nav-links a {
        color: var(--primary-color, #000);
    }

    :root {
        --header-height: 51px;
    }
}