/* Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem var(--container-px);
    transition: all var(--transition-medium);
    display: flex;
    justify-content: space-between;
    align-items: center;
    mix-blend-mode: difference;
    color: var(--text-light);
    transform: translateY(0);
}

.site-header.hidden-menu {
    transform: translateY(-100%);
}

.site-header.scrolled {
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem var(--container-px); /* keep identical padding so it doesn't stretch/squeeze */
    mix-blend-mode: normal;
    color: var(--text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    z-index: 102;
    position: relative;
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px; /* Set a standard solid height everywhere */
    width: auto;
    object-fit: contain;
    transition: var(--transition-fast);
}

.site-header.scrolled .logo img {
    height: 60px; /* Keep height the exactly same */
    filter: brightness(0) invert(1);
    /* Make the dark logo white on dark header */
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 102;
    position: relative;
}

.nav-actions .btn {
    padding: 0.6rem 1.5rem !important;
    font-size: 0.75rem !important;
}

.menu-toggle {
    background: none;
    border: none;
    color: inherit;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.menu-icon {
    width: 24px;
    height: 10px;
    position: relative;
}

.menu-icon span {
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transition: var(--transition-medium);
}

.menu-icon span:first-child {
    top: 0;
}

.menu-icon span:last-child {
    bottom: 0;
}

.menu-toggle.active .menu-icon span:first-child {
    transform: translateY(4.5px) rotate(45deg);
}

.menu-toggle.active .menu-icon span:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
}

/* Fullscreen Menu Overlay - Premium Slide Down */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 101;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transform: translateY(-100%);
    transition: transform var(--transition-slow);
}

/* Subtle texture background for the overlay */
.menu-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1542314831-c53cd3816002?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    mix-blend-mode: overlay;
    z-index: -1;
}

.menu-overlay.active {
    transform: translateY(0);
    pointer-events: all;
}

.menu-nav {
    text-align: center;
    position: relative;
    z-index: 1;
}

.menu-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
}

.menu-nav li {
    overflow: hidden;
    /* For staggered text reveal */
}

.menu-nav a {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    /* MASSIVE MENU TYPOGRAPHY */
    letter-spacing: -2px;
    color: var(--text-light);
    opacity: 0;
    transform: translateY(100%);
    transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1), opacity 1s cubic-bezier(0.25, 1, 0.5, 1);
    display: inline-block;
}

.menu-overlay.active .menu-nav a {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delay for menu items */
.menu-overlay.active li:nth-child(1) a {
    transition-delay: 0.2s;
}

.menu-overlay.active li:nth-child(2) a {
    transition-delay: 0.3s;
}

.menu-overlay.active li:nth-child(3) a {
    transition-delay: 0.4s;
}

.menu-overlay.active li:nth-child(4) a {
    transition-delay: 0.5s;
}

.menu-overlay.active li:nth-child(5) a {
    transition-delay: 0.6s;
}

.menu-overlay.active li:nth-child(6) a {
    transition-delay: 0.7s;
}

.menu-overlay.active li:nth-child(7) a {
    transition-delay: 0.8s;
}

.menu-nav a:hover {
    color: var(--accent-gold);
    font-style: italic;
}

/* Footer Magazine Style */
.site-footer {
    background-color: var(--bg-darker);
    color: var(--text-light);
    padding: var(--space-xl) 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-lg);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    margin-bottom: var(--space-md);
    filter: brightness(0) invert(1);
    /* Ensure visibility on dark footer */
    display: block;
}

.footer-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    letter-spacing: -1px;
    margin-bottom: var(--space-md);
}

.footer-desc {
    color: var(--text-muted-light);
    margin-bottom: var(--space-lg);
    font-size: var(--text-body-lg);
    /* Larger footer text */
    line-height: 1.8;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-md);
    color: var(--text-muted-light);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    /* Larger gap in lists */
}

.footer-col a {
    color: var(--text-light);
    font-size: 1.125rem;
}

.footer-col a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
    color: var(--text-muted-light);
    font-size: 0.875rem;
}

/* Grid Systems - INCREASED GAPS */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

/* Ensure text columns don't touch edges when not explicitly in a container */
.grid-2>div:not(.img-mask-reveal):not(.form-area):not(.map-container):not(.contact-info-block):not([class*='img-wrap']) {
    padding: 0 var(--space-md);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

/* Responsive Overrides */
@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
        padding: 0;
        /* Removed padding so images can touch edges on mobile */
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* GLOBAL FULL BLEED IMAGE LAYOUTS */
.editorial-section .container,
.rooms-list .container,
.experience-module .container {
    max-width: 100% !important;
    padding: 0 !important;
}

.room-row, .exp-grid, .editorial-section .grid-2 {
    gap: 0 !important;
}

.room-content, .exp-text, .editorial-section .reveal-up:not(.parallax-container) {
    padding: 4rem 10vw !important;
    max-width: none !important;
    box-sizing: border-box;
}

.room-img-wrapper, .exp-img, .editorial-img-tall, .editorial-img-wide {
    height: 100% !important;
    min-height: 400px;
}

@media(max-width: 900px) {
    .room-content, .exp-text, .editorial-section .reveal-up:not(.parallax-container) {
        padding: 3rem 5vw !important;
    }
}