/* =============================================
   HEADER / NAVBAR
   ============================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    height: 80px;
    background-color: var(--background-color);
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-container {
    width: 100%;
    padding: 0 40px;
    /* was 40px top/bottom too — caused navbar taller than 80px */
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */

.logo img {
    max-height: 55px;
    width: auto;
    display: block;
}

/* NAVIGATION */

.nav-links {
    display: flex;
    align-items: center;
    gap: 60px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links a {
    font-family: var(--urbanist);
    font-size: 20px;
    font-weight: 300;
    color: var(--primary-color);
    text-decoration: none;
    line-height: 1;
    transition: color 0.2s ease;
}

/* CTA BUTTON */

.nav-links .nav-btn {
    width: 209px;
    height: 56px;
    background-color: var(--primary-color);
    color: #ffffff;
    font-family: var(--urbanist);
    font-size: 16px;
    font-weight: 400;
    border-radius: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    white-space: nowrap;
    margin-left: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-links .nav-btn:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* =============================================
   HAMBURGER MENU
   ============================================= */

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    width: 26px;
    height: 3px;
    background: #003060;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
    /* removed margin: 5px auto — gap on parent handles spacing */
}

/* Animate to × when open */
.hamburger-menu.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-menu.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Overlay — injected by JS */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
}

.nav-overlay.is-open {
    display: block;
}

/* =============================================
   BIG WRAPPER
   ============================================= */

.big-wrapper {
    position: relative;
    width: 70%;
    max-width: 1440px;
    margin: 0 auto;
}

/* =============================================
   HERO
   ============================================= */

.hero {
    position: relative;
    width: 100%;
    height: 820px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #F9F5EE;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 48, 96, 0.749) 70%,
            #f9f5ee 95%);
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    padding: 0 20px;
    /* prevents text touching edges on narrower viewports */
}

.hero-title {
    font-family: var(--playfair-display);
    font-weight: 400;
    font-size: 64px;
    line-height: 110%;
    margin-bottom: 30px;
    margin-top: -90px;
}

.hero-subtext {
    font-family: var(--urbanist);
    font-size: 20px;
    line-height: 160%;
    max-width: 950px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    /* allows buttons to stack gracefully if they don't fit */
}

.hero-buttons a {
    text-decoration: none;
    font-family: var(--urbanist);
    border-radius: 30px;
    padding: 14px 28px;
}

.btn-yellow {
    background: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 500;
}

.btn-outline-light {
    border: 1px solid white;
    color: white;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
    background: #0b336c;
    padding: 60px 0 40px;
}

.footer-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 90px;
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

/* LEFT */

.footer-left {
    max-width: 340px;
    flex-shrink: 0;
}

.footer-logo img {
    width: 160px;
    height: auto;
    margin-bottom: 30px;
    display: block;
}

.footer-left h2 {
    font-family: 'Urbanist', serif;
    font-size: 26px;
    color: white;
    font-weight: 400;
    margin-bottom: 10px;
    line-height: 1.2;
}

.footer-left p {
    font-family: 'Urbanist', sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.9;
    margin-bottom: 40px;
    max-width: 100%;
}

.footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 145px;
    height: 60px;
    background: #FBBF00;
    color: #003060;
    font-family: 'Urbanist', sans-serif;
    font-size: 16px;
    font-weight: 500;
    border-radius: 40px;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.footer-btn:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* RIGHT */

.footer-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.footer-links {
    display: flex;
    gap: 120px;
    margin-top: 5px;
}

.footer-column h4 {
    font-family: 'Urbanist', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #FBBF00;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-family: 'Urbanist', sans-serif;
    font-size: 15px;
    font-weight: 300;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    margin-top: 40px;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons img {
    width: 24px;
    height: 24px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.75);
    font-family: 'Urbanist', sans-serif;
    font-size: 14px;
    margin-top: 10px;
    line-height: 1.6;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: var(--secondary-color);
}

.footer-copyright {
    margin-top: 40px;
    padding: 20px 90px 0;
    width: 100%;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Urbanist', sans-serif;
    font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* =============================================
   RESPONSIVE — TABLET (max-width: 1023px)
   ============================================= */

@media screen and (max-width: 1023px) {
    .big-wrapper {
        width: 90%;
    }

    .nav-container {
        padding: 0 20px;
    }

    .logo img {
        height: 35px;
    }

    .hamburger-menu {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: var(--background-color);
        box-shadow: 0 8px 32px rgba(0, 48, 96, 0.12);
        padding: 32px 40px 40px;
        transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        text-align: center;
        border-top: 2px solid #FBBF00;
        /* yellow accent line under navbar */
    }

    .nav-menu.is-open {
        left: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        font-size: 19px;
        font-weight: 400;
        padding: 16px 0;
        display: block;
        border-bottom: 1px solid rgba(0, 48, 96, 0.08);
        color: #003060;
        transition: color 0.2s ease;
    }

    .nav-links a:hover {
        color: #FBBF00;
    }

    .nav-links .nav-btn {
        margin-top: 28px;
        border-bottom: none;
        width: 100%;
        max-width: 320px;
        height: 52px;
        font-size: 16px;
        border-radius: 34px;
        background: #003060;
        color: #ffffff;
        margin-left: auto;
        margin-right: auto;
        /* centres the button within the full-width li */
        display: flex;
    }

    .nav-links .nav-btn:hover {
        background: #014694;
        color: #ffffff;
    }

    .hero {
        height: 680px;
    }

    .hero-title {
        font-size: 50px;
    }

    .hero-subtext {
        font-size: 17px;
    }

    .footer-container {
        padding: 0 40px;
    }

    .footer-links {
        gap: 60px;
    }
}

/* =============================================
   RESPONSIVE — MOBILE (max-width: 767px)
   ============================================= */

@media screen and (max-width: 767px) {
    .big-wrapper {
        width: 90%;
    }

    .nav-container {
        padding: 0 20px;
    }

    .logo img {
        height: 35px;
    }

    .hero {
        height: auto;
        min-height: 600px;
        padding: 120px 20px 60px;
        align-items: center;
    }

    .hero-title {
        font-size: 36px;
        margin-top: 0;
    }

    .hero-subtext {
        font-size: 16px;
        margin: 0 0 30px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    /* .btn-outline-light {
        border-color: #003060;
        color: #003060;
        margin-bottom: 20px;
    } */

    .footer {
        padding: 40px 0;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        padding: 0 30px;
        gap: 40px;
        text-align: center;
    }

    .footer-left {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo img {
        margin: 0 auto 30px;
    }

    .footer-right {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .footer-bottom {
        margin-top: 30px;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-copyright {
        padding: 20px 20px 0;
    }
}

/* =============================================
   RESPONSIVE — SMALL MOBILE (max-width: 479px)
   ============================================= */

@media screen and (max-width: 479px) {
    .big-wrapper {
        width: 92%;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-subtext {
        font-size: 15px;
    }

    .footer-container {
        padding: 0 20px;
    }

    .footer-left h2 {
        font-size: 24px;
    }

    .footer-links {
        gap: 20px;
    }

    .footer-right {
        gap: 40px;
    }

    .social-icons {
        margin-top: 20px;
    }

    .footer-copyright {
        padding: 16px 16px 0;
    }
}