/* ============================================
   COMMON.CSS
   Shared across all pages
   Includes: Variables, Reset, Loader,
             Cursor, Header, Footer,
             Back to Top, Scroll Animations
============================================ */


/* ============================================
   ROOT VARIABLES
============================================ */
:root {
    --gold: #c9a96e;
    --gold-light: #d4b87a;
    --gold-dark: #a8863d;
    --dark: #0a0a0a;
    --darker: #050505;
    --light: #f5f5f5;
    --gray: #888;
    --cream: #f8f5f0;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


/* ============================================
   RESET & BASE
============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    overflow-x: hidden;
}
p{
    font-size: 18px !important;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
video {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
}


/* ============================================
   LOADER
============================================ */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-logo {
    width: 120px;
    height: auto;
    margin-bottom: 35px;
    animation: loaderPulse 1.5s ease-in-out infinite;
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.loader-bar-inner {
    width: 0%;
    height: 100%;
    background: var(--gold);
    border-radius: 2px;
    animation: loaderFill 2s ease forwards;
}

.loader-text {
    margin-top: 20px;
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

@keyframes loaderPulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.04);
    }
}

@keyframes loaderFill {
    0%   { width: 0%;   }
    100% { width: 100%; }
}


/* ============================================
   CUSTOM CURSOR
============================================ */
.custom-cursor {
    width: 22px;
    height: 22px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease,
                width 0.2s ease,
                height 0.2s ease,
                background 0.2s ease,
                opacity 0.15s ease;
    will-change: left, top, transform;
}

.custom-cursor.hover {
    width: 44px;
    height: 44px;
    transform: translate(-50%, -50%);
    background: rgba(201, 169, 110, 0.12);
}

.cursor-dot {
    width: 5px;
    height: 5px;
    background: var(--gold);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%);
    will-change: left, top;
}


/* ============================================
   HEADER
============================================ */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background var(--transition),
                padding var(--transition),
                box-shadow var(--transition);
}

#header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 60px;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

/* Logo */
.logo {
    flex-shrink: 0;
    z-index: 1001;
    display: inline-flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    transition: transform var(--transition);
}

.logo:hover img {
    transform: scale(1.05);
}

/* Desktop Nav */
nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

nav > a {
    color: var(--light);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 10px 16px;
    position: relative;
    transition: color var(--transition);
    white-space: nowrap;
}

nav > a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--transition);
}

nav > a:hover,
nav > a.active {
    color: var(--gold);
}

nav > a:hover::after,
nav > a.active::after {
    width: 60%;
}

/* Dropdown */
.nav-item {
    position: relative;
}

.nav-item > a {
    display: flex;
    align-items: center;
    color: var(--light);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 10px 16px;
    position: relative;
    transition: color var(--transition);
    white-space: nowrap;
    cursor: pointer;
}

.nav-item > a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--transition);
}

.nav-item:hover > a {
    color: var(--gold);
}

.nav-item:hover > a::after {
    width: 60%;
}

.dropdown-arrow {
    font-size: 10px;
    margin-left: 5px;
    display: inline-block;
    transition: transform var(--transition);
}

.nav-item:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: white;
    min-width: 210px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    overflow: hidden;
    z-index: 200;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    color: #333 !important;
    padding: 14px 24px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-bottom: 1px solid #eee;
    transition: all var(--transition);
}

.dropdown a::after {
    display: none !important;
}

.dropdown a:last-child {
    border-bottom: none;
}

.dropdown a:hover {
    background: var(--dark) !important;
    color: var(--gold) !important;
    padding-left: 30px;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1002;
    padding: 10px;
    background: none;
    border: none;
    outline: none;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--light);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5.5px, 5.5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5.5px, -5.5px);
}


/* ============================================
   MOBILE MENU
============================================ */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 5, 0.99);
    z-index: 1001;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    overflow-y: auto;
    padding: 80px 30px 50px;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-close {
    position: absolute;
    top: 22px;
    right: 22px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--light);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    z-index: 10;
    line-height: 1;
}

.mobile-close:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark);
    transform: rotate(90deg);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 420px;
}

.mobile-link {
    color: var(--light);
    text-decoration: none;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(24px, 5vw, 32px);
    letter-spacing: 3px;
    padding: 14px 20px;
    text-align: center;
    transition: color var(--transition);
    width: 100%;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 400;
    display: block;
}

.mobile-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width var(--transition);
}

.mobile-link:hover,
.mobile-link:focus {
    color: var(--gold);
    outline: none;
}

.mobile-link:hover::after {
    width: 40%;
}

.mobile-nav-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.mobile-arrow {
    display: inline-block;
    font-size: 14px;
    color: var(--gold);
    transition: transform var(--transition);
}

.mobile-dropdown-toggle.open .mobile-arrow {
    transform: rotate(180deg);
}

.mobile-dropdown {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.45s ease, opacity 0.35s ease;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-top: 4px;
}

.mobile-dropdown.open {
    max-height: 400px;
    opacity: 1;
    margin-bottom: 8px;
}

.mobile-sub-link {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 13px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition);
}

.mobile-sub-link:last-child {
    border-bottom: none;
}

.mobile-sub-link:hover {
    color: var(--gold);
    background: rgba(201, 169, 110, 0.06);
    letter-spacing: 4px;
}

.mobile-menu-footer {
    position: absolute;
    bottom: 25px;
    left: 0;
    width: 100%;
    text-align: center;
}

.mobile-menu-footer p {
    font-size: 11px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
}


/* ============================================
   FOOTER
============================================ */
footer {
    background: var(--darker);
    color: var(--light);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

/* Subtle gold glow at top */
footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 60px 30px;
}


/* ============================================
   FOOTER TOP
============================================ */
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Brand Column */
.footer-brand {
    max-width: 380px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 22px;
}

.footer-logo img {
    height: 42px;
    width: auto;
    transition: opacity var(--transition);
}

.footer-logo:hover img {
    opacity: 0.85;
}

.footer-brand > p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    line-height: 1.85;
    margin-bottom: 28px;
}


/* ============================================
   FOOTER NEWSLETTER
============================================ */
.footer-newsletter {
    margin-bottom: 28px;
}

.footer-newsletter h5 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    align-items: stretch;
    max-width: 340px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    overflow: hidden;
    transition: border-color var(--transition);
    background: rgba(255, 255, 255, 0.02);
}

.newsletter-form:focus-within {
    border-color: var(--gold);
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 12px 20px;
    color: var(--light);
    font-family: inherit;
    font-size: 13px;
    letter-spacing: 0.3px;
    min-width: 0;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.newsletter-form button {
    background: var(--gold);
    border: none;
    color: var(--dark);
    padding: 0 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
    flex-shrink: 0;
}

.newsletter-form button:hover {
    background: var(--gold-light);
}

.newsletter-note {
    font-size: 11px;
    letter-spacing: 0.5px;
    color: var(--gold);
    margin-top: 8px;
    min-height: 16px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.newsletter-note.show {
    opacity: 1;
}

.newsletter-note.error {
    color: #e57373;
}


/* ============================================
   FOOTER SOCIAL
============================================ */
.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(201, 169, 110, 0.3);
}


/* ============================================
   FOOTER LINKS COLUMNS
============================================ */
.footer-links h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: var(--gold);
    position: relative;
    padding-bottom: 12px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 1px;
    background: rgba(201, 169, 110, 0.3);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 2px;
}

.footer-links a {
    display: inline-block;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 13.5px;
    padding: 7px 0;
    transition: all var(--transition);
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width var(--transition);
    transform: translateY(-50%);
    opacity: 0;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 18px;
}

.footer-links a:hover::before {
    width: 12px;
    opacity: 1;
}


/* ============================================
   FOOTER CONTACT STRIP
============================================ */
.footer-contact-strip {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 30px;
    padding: 30px 20px;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    flex-wrap: wrap;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 200px;
}

.footer-contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.1);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition);
}

.footer-contact-item:hover .footer-contact-icon {
    background: var(--gold);
    color: var(--dark);
    transform: scale(1.08);
}

.footer-contact-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.contact-label {
    font-size: 10px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
}

.footer-contact-text > span:last-child,
.footer-contact-text a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color var(--transition);
    font-weight: 500;
}

.footer-contact-text a:hover {
    color: var(--gold);
}

.footer-contact-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg,
        transparent,
        rgba(255, 255, 255, 0.15),
        transparent);
    flex-shrink: 0;
}


/* ============================================
   FOOTER BOTTOM
============================================ */
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
    line-height: 1.6;
}

.footer-tagline {
    display: inline-block;
    margin-left: 8px;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--gold);
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.3px;
    transition: color var(--transition);
    position: relative;
}

.footer-bottom-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--gold);
}

.footer-bottom-links a:hover::after {
    width: 100%;
}


/* ============================================
   BACK TO TOP (Enhanced)
============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: var(--dark);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    z-index: 998;
    box-shadow: 0 5px 20px rgba(201, 169, 110, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: var(--gold-light);
    box-shadow: 0 10px 30px rgba(201, 169, 110, 0.5);
}

.back-to-top svg {
    transition: transform var(--transition);
}

.back-to-top:hover svg {
    transform: translateY(-2px);
}


/* ============================================
   RESPONSIVE
============================================ */

@media (max-width: 1200px) {
    .footer-inner {
        padding: 70px 40px 25px;
    }

    .footer-top {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .footer-inner {
        padding: 60px 30px 25px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 45px;
    }

    .footer-brand {
        grid-column: span 2;
        max-width: 100%;
    }

    .footer-brand > p {
        max-width: 500px;
    }

    .footer-contact-strip {
        padding: 25px 20px;
    }

    .footer-contact-item {
        min-width: 180px;
    }
}

@media (max-width: 768px) {
    .footer-inner {
        padding: 50px 25px 25px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-bottom: 40px;
        margin-bottom: 40px;
    }

    .footer-brand {
        grid-column: auto;
        text-align: center;
    }

    .footer-logo {
        margin-bottom: 18px;
    }

    .footer-brand > p {
        margin-left: auto;
        margin-right: auto;
    }

    .newsletter-form {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links {
        text-align: center;
    }

    .footer-links h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a:hover {
        padding-left: 0;
    }

    .footer-links a:hover::before {
        display: none;
    }

    /* Contact strip stacked */
    .footer-contact-strip {
        flex-direction: column;
        gap: 20px;
        padding: 25px 20px;
    }

    .footer-contact-item {
        width: 100%;
        min-width: 0;
        justify-content: center;
    }

    .footer-contact-divider {
        width: 60%;
        height: 1px;
        background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.15),
            transparent);
    }

    /* Footer bottom */
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-tagline {
        display: block;
        margin: 8px auto 0;
        padding: 8px 0 0;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        max-width: 220px;
    }

    .footer-bottom-links {
        justify-content: center;
        gap: 20px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .footer-inner {
        padding: 40px 20px 20px;
    }

    .footer-brand > p {
        font-size: 13.5px;
    }

    .newsletter-form input {
        font-size: 12.5px;
    }

    .footer-links h4 {
        font-size: 18px;
    }

    .footer-links a {
        font-size: 13px;
    }

    .footer-social a {
        width: 38px;
        height: 38px;
    }

    .footer-bottom-links {
        gap: 15px;
    }

    .footer-bottom-links a {
        font-size: 12px;
    }
}
/* Small Mobile */
@media (max-width: 480px) {
    #header         { padding: 12px 16px; }
    #header.scrolled { padding: 10px 16px; }

    .logo img       { height: 28px; }

    .mobile-link {
        font-size: 22px;
        padding: 10px 12px;
    }
}

/* Hide cursor on touch */
@media (hover: none) and (pointer: coarse) {
    .custom-cursor,
    .cursor-dot { display: none; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    .loader-logo      { animation: none; opacity: 1; }
    .loader-bar-inner { animation: none; width: 100%; }

    .fade-in,
    .fade-in-left,
    .fade-in-right,
    .scale-in {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .custom-cursor,
    .cursor-dot,
    .hamburger span,
    .mobile-menu,
    .mobile-dropdown,
    .mobile-link,
    .mobile-sub-link {
        transition: none;
    }
}



/* Mobile Nav wrapper */
.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 420px;
}

/* Mobile Links */
.mobile-link {
    color: var(--light);
    text-decoration: none;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(24px, 5vw, 32px);
    letter-spacing: 3px;
    padding: 14px 20px;
    text-align: center;
    transition: color var(--transition);
    width: 100%;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 400;
    display: block;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width var(--transition);
}

.mobile-link:hover,
.mobile-link:focus {
    color: var(--gold);
    outline: none;
}

.mobile-link:hover::after {
    width: 40%;
}

/* Mobile Nav Item (has dropdown) */
.mobile-nav-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Dropdown Toggle */
.mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

/* Dropdown Arrow */
.mobile-arrow {
    display: inline-block;
    font-size: 14px;
    color: var(--gold);
    transition: transform var(--transition);
}

.mobile-dropdown-toggle.open .mobile-arrow {
    transform: rotate(180deg);
}

/* Mobile Dropdown Panel */
.mobile-dropdown {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.45s ease, opacity 0.35s ease;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-top: 4px;
}

.mobile-dropdown.open {
    max-height: 400px;
    opacity: 1;
    margin-bottom: 8px;
}

/* Sub Links */
.mobile-sub-link {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 13px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition);
}

.mobile-sub-link:last-child {
    border-bottom: none;
}

.mobile-sub-link:hover {
    color: var(--gold);
    background: rgba(201, 169, 110, 0.06);
    letter-spacing: 4px;
}

/* Mobile Menu Footer */
.mobile-menu-footer {
    position: absolute;
    bottom: 25px;
    left: 0;
    width: 100%;
    text-align: center;
}

.mobile-menu-footer p {
    font-size: 11px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
}
/* ============================================
   MOBILE HEADER CSS
   (Extracted — Hamburger + Mobile Menu + Dropdown)
============================================ */


/* ============================================
   HAMBURGER BUTTON
============================================ */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1002;
    padding: 10px;
    background: none;
    border: none;
    outline: none;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--light);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Active state — X icon */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5.5px, 5.5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5.5px, -5.5px);
}


/* ============================================
   MOBILE MENU CONTAINER
============================================ */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.99);
    z-index: 1001;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    overflow-y: auto;
    padding: 80px 30px 50px;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}


/* ============================================
   MOBILE CLOSE BUTTON
============================================ */
.mobile-close {
    position: absolute;
    top: 22px;
    right: 22px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--light);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    z-index: 10;
    line-height: 1;
}

.mobile-close:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark);
    transform: rotate(90deg);
}


/* ============================================
   MOBILE NAV WRAPPER
============================================ */
.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 420px;
}


/* ============================================
   MOBILE LINKS
============================================ */
.mobile-link {
    color: var(--light);
    text-decoration: none;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(24px, 5vw, 32px);
    letter-spacing: 3px;
    padding: 14px 20px;
    text-align: center;
    transition: color var(--transition);
    width: 100%;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 400;
    display: block;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width var(--transition);
}

.mobile-link:hover,
.mobile-link:focus {
    color: var(--gold);
    outline: none;
}

.mobile-link:hover::after {
    width: 40%;
}


/* ============================================
   MOBILE NAV ITEM (WITH DROPDOWN)
============================================ */
.mobile-nav-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Dropdown Toggle */
.mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Dropdown Arrow */
.mobile-arrow {
    display: inline-block;
    font-size: 14px;
    color: var(--gold);
    transition: transform var(--transition);
}

.mobile-dropdown-toggle.open .mobile-arrow {
    transform: rotate(180deg);
}


/* ============================================
   MOBILE DROPDOWN PANEL
============================================ */
.mobile-dropdown {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.45s ease, opacity 0.35s ease;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-top: 4px;
}

.mobile-dropdown.open {
    max-height: 400px;
    opacity: 1;
    margin-bottom: 8px;
}


/* ============================================
   MOBILE SUB LINKS
============================================ */
.mobile-sub-link {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 13px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition);
}

.mobile-sub-link:last-child {
    border-bottom: none;
}

.mobile-sub-link:hover {
    color: var(--gold);
    background: rgba(201, 169, 110, 0.06);
    letter-spacing: 4px;
}


/* ============================================
   MOBILE MENU FOOTER
============================================ */
.mobile-menu-footer {
    position: absolute;
    bottom: 25px;
    left: 0;
    width: 100%;
    text-align: center;
}

.mobile-menu-footer p {
    font-size: 11px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
}


/* ============================================
   RESPONSIVE — SHOW MOBILE MENU ON TABLET & BELOW
============================================ */

/* Tablets (1024px) — Hide desktop nav, show hamburger */
@media (max-width: 1024px) {
    header {
        padding: 15px 25px;
    }

    header.scrolled {
        padding: 12px 25px;
    }

    nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .logo img {
        height: 38px;
    }
}

/* Mobile (768px) — Compact spacing */
@media (max-width: 768px) {
    header {
        padding: 14px 20px;
    }

    header.scrolled {
        padding: 11px 20px;
    }

    .logo img {
        height: 32px;
    }

    .hamburger span {
        width: 24px;
    }

    .mobile-menu {
        padding: 80px 20px 50px;
    }

    .mobile-link {
        font-size: 24px;
        padding: 12px 15px;
        letter-spacing: 2px;
    }

    .mobile-sub-link {
        font-size: 11px;
        padding: 12px 15px;
    }

    .mobile-close {
        width: 38px;
        height: 38px;
        font-size: 16px;
        top: 18px;
        right: 18px;
    }
}

/* Small Mobile (380px) */
@media (max-width: 380px) {
    header {
        padding: 12px 16px;
    }

    header.scrolled {
        padding: 10px 16px;
    }

    .logo img {
        height: 28px;
    }

    .mobile-link {
        font-size: 22px;
        padding: 10px 12px;
    }
}


/* ============================================
   REDUCED MOTION
============================================ */
@media (prefers-reduced-motion: reduce) {
    .hamburger span,
    .mobile-menu,
    .mobile-dropdown,
    .mobile-link,
    .mobile-sub-link {
        transition: none;
    }
}