/* Shared Header Styles */
.nav {
    background: var(--cream);
    padding: 24px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1002;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo-image {
    height: 240px;
    width: auto;
    max-width: 400px;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.7;
}

.nav-cta {
    border: 1.5px solid var(--dark);
    padding: 12px 28px;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    color: var(--dark);
}

.nav-cta:hover,
.nav-cta:focus {
    background: var(--dark);
    color: var(--cream);
    outline: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.mobile-menu-toggle:focus {
    outline: 2px solid var(--dark);
    outline-offset: 2px;
}

.hamburger {
    width: 25px;
    height: 3px;
    background: var(--dark);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--cream);
    z-index: 1001;
    transition: right 0.3s ease;
    padding: 80px 40px 40px;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.mobile-drawer.open {
    right: 0;
}

.mobile-drawer .nav-links {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
}

.mobile-drawer .nav-links a {
    font-size: 16px;
}

.mobile-drawer .nav-links a:hover {
    opacity: 1;
    color: var(--coral);
}

.mobile-drawer .nav-cta {
    margin-top: 30px;
    width: 100%;
    text-align: center;
    padding: 15px 30px;
    background: var(--coral);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.mobile-drawer .nav-cta:hover,
.mobile-drawer .nav-cta:focus {
    background: #d87a5a;
    transform: translateY(-2px);
    outline: none;
}

.mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(58, 58, 58, 0.1);
}

.mobile-logo {
    height: 40px;
    width: auto;
}

.close-btn {
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: var(--dark);
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.close-btn:hover,
.close-btn:focus {
    background-color: rgba(0, 0, 0, 0.1);
    outline: none;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1199px) {
    .nav {
        padding: 24px 30px;
    }

    .logo-image {
        height: 200px;
        max-width: 320px;
    }
}

@media (max-width: 991px) {
    .nav {
        padding: 20px 25px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .logo-image {
        height: 180px;
        max-width: 280px;
    }
}

@media (max-width: 767px) {
    .nav {
        padding: 18px 20px;
    }

    .logo-image {
        height: 150px;
        max-width: 240px;
    }

    .mobile-drawer {
        padding: 70px 30px 30px;
    }
}

@media (max-width: 575px) {
    .nav {
        padding: 15px 15px;
    }

    .logo-image {
        height: 120px;
        max-width: 200px;
    }

    .mobile-drawer {
        max-width: 100%;
    }
}

@media (max-width: 479px) {
    .nav {
        padding: 12px 12px;
    }

    .logo-image {
        height: 100px;
        max-width: 180px;
    }

    .mobile-drawer {
        padding: 60px 20px 20px;
    }
}
