@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&family=Syne:wght@400;500;600;700;800&display=swap');

:root {
    --bg-primary: #f9f8f6;
    --bg-secondary: #f0efec;
    --bg-tertiary: #e5e4e0;
    --border-color: rgba(0, 0, 0, 0.09);
    --border-accent: rgba(0, 0, 0, 0.18);
    --text-primary: #0d0d0d;
    --text-secondary: #6b6b6b;
    --text-muted: #aaaaaa;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-accent: 'Syne', sans-serif;
    
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================
   Base Elements & Reset
   ========================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: auto; /* Managed by JS for custom feel */
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-primary);
    overflow-x: hidden;
    position: relative;
    cursor: none; /* Hide default cursor for custom cursor */
}

a, button, input, select, textarea {
    cursor: none; /* Hide default cursor on interactive components */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.18);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.35);
}

/* ==========================================
   Custom Cursor
   ========================================== */
.custom-cursor-follower {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(0, 0, 0, 0.28);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    display: none;
}

.custom-cursor-dot {
    width: 4px;
    height: 4px;
    background-color: var(--text-primary);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
    display: none;
}

.custom-cursor-follower.hovering {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.55);
}

@media (max-width: 1024px) {
    body {
        cursor: auto;
    }
    .custom-cursor-follower, .custom-cursor-dot {
        display: none !important;
    }
    a, button, input, select, textarea,
    .map-terracotta-panel {
        cursor: pointer;
    }
}

/* ==========================================
   Page Transition Overlay
   ========================================== */
#page-curtain {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #f5f4f1;
    z-index: 999;
    pointer-events: none;
    border-right: 1px solid var(--border-accent);
}

@keyframes slideCurtain {
    0% {
        left: -100%;
    }
    40% {
        left: 0;
    }
    60% {
        left: 0;
    }
    100% {
        left: 100%;
    }
}

/* ==========================================
   Typography & Hierarchy
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

h1 {
    font-size: clamp(2.2rem, 7vw, 6.5rem);
    text-transform: uppercase;
}

h2 {
    font-size: clamp(1.6rem, 4.5vw, 4rem);
    text-transform: uppercase;
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 2rem);
}

p {
    line-height: 1.6;
    color: var(--text-secondary);
    font-weight: 300;
}

.text-uppercase {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-family: var(--font-heading);
    font-size: 0.85rem;
}

.text-number {
    font-family: var(--font-accent);
    color: var(--text-muted);
}

/* ==========================================
   Blueprint Grid Lines System
   ========================================== */
.grid-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    width: 100%;
}

.border-bottom {
    border-bottom: 1px solid var(--border-color);
}

.border-top {
    border-top: 1px solid var(--border-color);
}

.border-left {
    border-left: 1px solid var(--border-color);
}

.border-right {
    border-right: 1px solid var(--border-color);
}

/* ==========================================
   Header / Navigation
   ========================================== */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 90;
    background-color: transparent;
    border-bottom: 1px solid transparent;
    transition: background-color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.5s ease,
                box-shadow 0.4s ease;
}

header.header-opaque {
    background-color: rgba(249, 248, 246, 0.85); /* Semi-transparent body color */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: none;
}

header.header-opaque .nav-links a {
    color: var(--text-primary);
}

header.header-opaque .nav-logo img {
    filter: brightness(0); /* Ensure it's black */
}

header.header-opaque .btn-book {
    color: var(--text-primary);
    border-color: var(--border-accent);
}

header.header-opaque.scrolled {
    box-shadow: none;
}

/* ── Transparent-header overrides: white text when over the hero ── */
header:not(.header-opaque) .nav-links a {
    color: rgba(255, 255, 255, 0.85);
    opacity: 1;
}

header:not(.header-opaque) .nav-links a:hover,
header:not(.header-opaque) .nav-links a.active {
    color: #ffffff;
    opacity: 1;
}

header:not(.header-opaque) .nav-links a::after {
    background-color: rgba(255, 255, 255, 0.75);
}

header:not(.header-opaque) .nav-logo img {
    filter: brightness(0) invert(1);
}

header:not(.header-opaque) .btn-book {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.55);
}

header:not(.header-opaque) .btn-book:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.85);
    box-shadow: none;
}

header:not(.header-opaque) .menu-toggle span {
    background-color: #ffffff;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    height: 80px;
    padding: 0 4%;
}

.nav-logo {
    display: flex;
    align-items: center;
    height: 100%;
    padding-right: 0;
    border-right: none;
}

.nav-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: brightness(0);
    transition: var(--transition-fast);
}

.nav-logo:hover img {
    opacity: 0.65;
}

.nav-links {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.nav-links a {
    color: var(--text-primary);
    opacity: 0.75;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    padding: 0 20px;
    height: 100%;
    display: inline-flex;
    align-items: center;
    border-right: none;
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-primary);
    opacity: 1;
    background-color: transparent;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    height: 1px;
    background-color: var(--text-primary);
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a.active::after, .nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-mobile-footer {
    display: none;
}

.cta-container {
    display: flex;
    align-items: center;
    height: 100%;
    padding-left: 0;
}

.btn-book {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(0, 0, 0, 0.3);
    padding: 10px 24px;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    font-weight: 500;
    transition: var(--transition-fast);
    text-decoration: none;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-book:hover {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.btn-book::before {
    content: '◇';
    font-size: 0.65rem;
    transition: transform 0.3s ease;
}

.btn-book:hover::before {
    transform: rotate(45deg);
}

/* Mobile Nav Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: transparent;
    border: none;
    z-index: 100;
}

.menu-toggle span {
    width: 100%;
    height: 1.5px;
    background-color: var(--text-primary);
    transition: var(--transition-fast);
    border-radius: 2px;
}

/* Animated hamburger → X */
.menu-toggle.active span {
    background-color: #ffffff !important;
}
.menu-toggle.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ==========================================
   Main SPA Pages Wrapper
   ========================================== */
main {
    padding-top: 0;
    min-height: 100vh;
}

.spa-page:not(#page-home) {
    padding-top: 80px;
}

.spa-page {
    display: none;
    width: 100%;
    min-height: 100%;
}

.spa-page.active {
    display: block;
}

/* ==========================================
   Shared Sections Styles
   ========================================== */
section {
    position: relative;
    width: 100%;
}

.section-padding {
    padding: clamp(3.5rem, 8vw, 7.5rem) 4%;
}

.section-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 40px;
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-header .subtitle {
    margin-bottom: 8px;
    display: block;
}

/* Grid layout defaults */
.two-column {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

/* Image Hover & Parallax Wrapper */
.reveal-img-wrap {
    overflow: hidden;
    position: relative;
    background-color: var(--bg-tertiary);
}

.reveal-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(1.02);
}

.reveal-img-wrap:hover img {
    transform: scale(1.08);
}

/* ==========================================
   1. Home Page Section
   ========================================== */
/* Hero Section */
.hero-slider-container {
    height: 100vh;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.75) 100%);
}

.hero-content {
    position: absolute;
    bottom: 10%;
    left: 4%;
    width: calc(100% - 8%);
    max-width: 100%;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: flex-end;
}

.hero-content-left {
    grid-column: span 8;
}

.hero-content-right {
    grid-column: span 4;
    padding-left: 48px;
    padding-bottom: 12px;
}

.hero-content h1 {
    margin-bottom: 0;
    max-width: 100%;
    font-size: clamp(2.2rem, 7.5vw, 6.5rem);
    font-weight: 700;
    line-height: 0.85;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: #ffffff;
}

.hero-content p {
    font-size: 1.05rem;
    max-width: 380px;
    margin-bottom: 24px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
}

/* Hero-context overrides: force white on buttons and labels inside slide */
.hero-slide .btn-book {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.55);
}

.hero-slide .btn-book:hover {
    background-color: #ffffff;
    color: #0d0d0d;
    border-color: #ffffff;
}

.hero-content .text-number {
    color: rgba(255, 255, 255, 0.45);
}

/* Horizontal Ticker Marquee */
.marquee-ticker {
    width: 100%;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    padding: 24px 0;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 25s linear infinite;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: clamp(1rem, 2vw, 1.5rem);
    letter-spacing: 0.2em;
    font-weight: 500;
}

@keyframes marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

.marquee-content span {
    margin-right: 2rem;
    color: var(--text-primary);
}

.marquee-content span::after {
    content: '•';
    margin-left: 2rem;
    color: var(--text-muted);
}

/* Intro Grid Section */
.intro-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    border-bottom: 1px solid var(--border-color);
}

.intro-left {
    grid-column: span 5;
    padding: clamp(3.5rem, 8vw, 7.5rem) 8% clamp(3.5rem, 8vw, 7.5rem) 4%;
    border-right: 1px solid var(--border-color);
}

.intro-right {
    grid-column: span 7;
    padding: clamp(3.5rem, 8vw, 7.5rem) 4% clamp(3.5rem, 8vw, 7.5rem) 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.intro-right p {
    font-size: 1.15rem;
    max-width: 600px;
    margin-bottom: 24px;
}

/* Selected Projects (Rooms Grid) */
.selected-rooms {
    border-bottom: 1px solid var(--border-color);
}

.room-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.room-card {
    border-right: 1px solid var(--border-color);
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-primary);
}

.room-card:last-child {
    border-right: none;
}

.room-card-img {
    height: 380px;
    border-bottom: 1px solid var(--border-color);
}

.room-card-info {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.room-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.room-card-header h3 {
    text-transform: uppercase;
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}

.room-meta {
    display: flex;
    gap: 16px;
    margin: 16px 0 32px 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.room-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.room-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    margin-top: auto;
}

.room-price {
    font-size: 1.1rem;
    font-weight: 500;
}

.room-price span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 300;
}

.btn-card {
    color: var(--text-primary);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    font-weight: 600;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border-color);
    padding: 10px 18px;
}

.btn-card:hover {
    background-color: var(--text-primary);
    color: var(--bg-primary);
}

/* Interactive Timeline (Process / Steps) */
.timeline-section {
    border-bottom: 1px solid var(--border-color);
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.timeline-item {
    border-right: 1px solid var(--border-color);
    padding: clamp(2rem, 4vw, 4rem) 32px;
    position: relative;
    transition: var(--transition-smooth);
}

.timeline-item:last-child {
    border-right: none;
}

.timeline-item:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.timeline-number {
    font-family: var(--font-accent);
    font-size: clamp(2.5rem, 5vw, 5rem);
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.12);
    line-height: 1;
    margin-bottom: 32px;
    display: block;
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-number {
    color: var(--text-primary);
    -webkit-text-stroke: 1px var(--text-primary);
    transform: translateY(-5px);
}

.timeline-item h3 {
    text-transform: uppercase;
    margin-bottom: 16px;
    font-size: 1.15rem;
    letter-spacing: 0.05em;
}

/* ==========================================
   2. Studio / About Page
   ========================================== */
.about-hero {
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.about-hero h1 {
    font-size: clamp(2.4rem, 9vw, 9rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 0.9;
    margin-top: 24px;
}

.about-columns {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    border-bottom: 1px solid var(--border-color);
}

.about-col-left {
    grid-column: span 5;
    padding: clamp(3.5rem, 8vw, 7.5rem) 6% clamp(3.5rem, 8vw, 7.5rem) 4%;
    border-right: 1px solid var(--border-color);
}

.about-col-right {
    grid-column: span 7;
    padding: clamp(3.5rem, 8vw, 7.5rem) 8% clamp(3.5rem, 8vw, 7.5rem) 6%;
}

.about-col-right p {
    font-size: 1.15rem;
    margin-bottom: 24px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 64px;
    border: 1px solid var(--border-color);
}

.stat-item {
    padding: 32px;
    border-right: 1px solid var(--border-color);
    text-align: center;
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-family: var(--font-heading);
    color: var(--text-primary);
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

/* Leaders / Team Section */
.team-section {
    border-bottom: 1px solid var(--border-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.team-card {
    border-right: 1px solid var(--border-color);
    background-color: var(--bg-primary);
}

.team-card:last-child {
    border-right: none;
}

.team-img {
    height: 340px;
    border-bottom: 1px solid var(--border-color);
}

.team-info {
    padding: 24px;
}

.team-info h4 {
    text-transform: uppercase;
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.team-info span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================
   3. Rooms Page
   ========================================== */
.rooms-hero {
    border-bottom: 1px solid var(--border-color);
}

.rooms-list {
    border-bottom: 1px solid var(--border-color);
}

.rooms-list-item {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    border-bottom: 1px solid var(--border-color);
}

.rooms-list-item:last-child {
    border-bottom: none;
}

.rooms-list-img-wrap {
    grid-column: span 6;
    height: 480px;
    border-right: 1px solid var(--border-color);
}

.rooms-list-info {
    grid-column: span 6;
    padding: clamp(3rem, 6vw, 5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rooms-list-info h3 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.rooms-list-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 32px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 24px 0;
}

.detail-block span {
    display: block;
}

.detail-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.detail-val {
    font-size: 1rem;
    color: var(--text-primary);
}

.rooms-list-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rooms-list-price {
    font-size: 1.5rem;
    font-weight: 500;
}

.rooms-list-price span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================
   4. Gallery Page
   ========================================== */
.gallery-section {
    border-bottom: 1px solid var(--border-color);
}

.gallery-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    transition: var(--transition-fast);
}

.filter-btn.active, .filter-btn:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
    background-color: rgba(0, 0, 0, 0.04);
}

/* Masonry Grid Layout */
.gallery-grid {
    columns: 3;
    column-gap: 24px;
    width: 100%;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 24px;
    position: relative;
    border: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 60%);
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    align-items: flex-end;
    padding: 24px;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-text h4 {
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    color: #ffffff;
}

.gallery-item-text span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .gallery-grid {
        columns: 2;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        columns: 1;
    }
}

/* ==========================================
   5. Experiences / Journal Page
   ========================================== */
.journal-hero {
    border-bottom: 1px solid var(--border-color);
}

.journal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--border-color);
}

.journal-card {
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    background-color: var(--bg-primary);
    transition: var(--transition-smooth);
}

.journal-card:last-child {
    border-right: none;
}

.journal-card:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.journal-card-img {
    height: 280px;
    border-bottom: 1px solid var(--border-color);
}

.journal-card-info {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.journal-card-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: block;
}

.journal-card h3 {
    text-transform: uppercase;
    font-size: 1.4rem;
    margin-bottom: 16px;
    line-height: 1.2;
}

.journal-card p {
    font-size: 0.95rem;
    margin-bottom: 32px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.journal-card-footer {
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.btn-journal {
    color: var(--text-primary);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-journal::after {
    content: '→';
    transition: var(--transition-fast);
}

.btn-journal:hover::after {
    transform: translateX(5px);
}

/* ==========================================
   6. Contact Page
   ========================================== */
.contact-hero {
    overflow: hidden;
}

.contact-hero h1 {
    font-size: clamp(2.4rem, 9vw, 9rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 0.9;
    margin-top: 24px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    border-bottom: 1px solid var(--border-color);
}

.contact-left {
    grid-column: span 5;
    padding: clamp(3rem, 6vw, 6rem) 6% clamp(3rem, 6vw, 6rem) 4%;
    border-right: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(180deg, rgba(249, 248, 246, 0.98), rgba(246, 244, 240, 0.99));
}

.contact-left .contact-garden {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: clamp(180px, 26vw, 300px);
    background: url('contact-bush-strip.png') center bottom / cover no-repeat;
    pointer-events: none;
    z-index: 0;
    opacity: 0.92;
    transform-origin: center bottom;
    filter: saturate(1.04) contrast(1.02) brightness(1.02);
    animation: contactGardenDrift 18s ease-in-out infinite alternate;
}

.contact-left > * {
    position: relative;
    z-index: 2;
}

.contact-right {
    grid-column: span 7;
    padding: clamp(3rem, 6vw, 6rem) 8% clamp(3rem, 6vw, 6rem) 6%;
}

.contact-info-block {
    margin-bottom: 40px;
}

.contact-info-block h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

.contact-info-block p, .contact-info-block a {
    font-size: 1.15rem;
    color: var(--text-primary);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: var(--transition-fast);
}

.contact-info-block a:hover {
    color: var(--text-secondary);
}

@keyframes contactGardenDrift {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    100% {
        transform: translate3d(0, -1.25%, 0) scale(1.025);
    }
}

/* Contact / Booking Form Elements */
.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width,
.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select option {
    background-color: #ffffff;
    color: #0d0d0d;
}

.form-group input, .form-group select, .form-group textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
    border-radius: 0;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--text-primary);
}

.form-group textarea {
    height: 120px;
    resize: none;
}

.btn-submit {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    border: 1px solid var(--text-primary);
    padding: 16px 36px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    font-weight: 600;
    transition: var(--transition-fast);
    align-self: flex-start;
    border-radius: 0;
}

.btn-submit:hover {
    background-color: transparent;
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Map Embed Container */
.map-embed-container {
    width: 100%;
    height: 450px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.map-embed-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(0.3) contrast(1.05);
}

/* ==========================================
   CTA Banner Section (Pre-Footer)
   ========================================== */
.cta-banner {
    position: relative;
    height: 480px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

body.is-contact-page .cta-banner {
    display: none;
}

.cta-banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transform: scale(1.06);
    transition: transform 8s ease;
    filter: brightness(0.5);
}

.cta-banner:hover .cta-banner-bg {
    transform: scale(1.0);
    filter: brightness(0.45);
}

.cta-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.55) 100%);
    z-index: 1;
}

.cta-banner-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    padding: 0 4%;
}

.cta-banner-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: rgba(255,255,255,0.65);
    margin-bottom: 20px;
    display: block;
    font-family: var(--font-heading);
}

.cta-banner-content h2 {
    font-size: clamp(1.8rem, 6vw, 5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 36px;
    letter-spacing: -0.02em;
    line-height: 1.05;
    text-transform: uppercase;
}

.btn-cta-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.55);
    padding: 14px 36px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    font-weight: 500;
    text-decoration: none;
    border-radius: 9999px;
    transition: var(--transition-fast);
}

.btn-cta-pill::before {
    content: '◇';
    font-size: 0.6rem;
    transition: transform 0.3s ease;
}

.btn-cta-pill:hover {
    background-color: #ffffff;
    color: #0d0d0d;
    border-color: #ffffff;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.btn-cta-pill:hover::before {
    transform: rotate(45deg);
}

/* ==========================================
   Footer (Dark, Archform-Style)
   ========================================== */
footer {
    background-color: #0d0d0d;
    color: #ffffff;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.footer-inner {
    padding: 80px 4% 0 4%;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255,255,255,0.09);
    margin-bottom: 0;
}

.footer-col {
    padding: 56px 40px 56px 0;
    border-right: 1px solid rgba(255,255,255,0.09);
}

.footer-col:last-child {
    border-right: none;
    padding-left: 40px;
    padding-right: 0;
}

.footer-col:nth-child(2) {
    padding-left: 40px;
}

.footer-col-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.35);
    margin-bottom: 28px;
    display: block;
    font-family: var(--font-heading);
}

.footer-col address {
    font-style: normal;
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.7);
    margin-bottom: 24px;
}

.footer-col-contact-link {
    display: block;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 8px;
    transition: color 0.25s ease;
}

.footer-col-contact-link:hover {
    color: #ffffff;
}

.footer-sitemap-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-sitemap-links li {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-sitemap-links li:last-child {
    border-bottom: none;
}

.footer-sitemap-links a {
    display: block;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    padding: 12px 0;
    font-family: var(--font-heading);
    transition: color 0.25s ease;
}

.footer-sitemap-links a:hover {
    color: #ffffff;
}

.footer-suites-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-suites-list li {
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-suites-list li:last-child {
    border-bottom: none;
}

.footer-suites-list a {
    display: block;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    padding: 12px 0;
    font-family: var(--font-heading);
    transition: color 0.25s ease;
}

.footer-suites-list a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.09);
    padding: 24px 4%;
    margin: 0;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--font-heading);
}

.footer-socials {
    display: flex;
    gap: 24px;
}

.footer-socials a {
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--font-heading);
    transition: color 0.25s ease;
}

.footer-socials a:hover {
    color: #ffffff;
}

.footer-brand-mega {
    width: 100%;
    padding: 16px 3% 20px 3%;
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10.5vw, 11rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    line-height: 0.82;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.12);
    user-select: none;
    display: block;
    border-top: 1px solid rgba(255,255,255,0.06);
    transition: -webkit-text-stroke 0.5s ease;
}

.footer-brand-mega:hover {
    -webkit-text-stroke: 1px rgba(255,255,255,0.28);
}

/* ==========================================
   Modals (Booking / Lightbox)
   ========================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease-out;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(249, 248, 246, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.modal-content-wrap {
    position: relative;
    z-index: 10;
    max-width: 800px;
    width: 90%;
    background-color: #ffffff;
    border: 1px solid var(--border-accent);
    padding: clamp(2rem, 4vw, 4rem);
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
}

.modal-content-wrap h2 {
    margin-bottom: 32px;
    text-transform: uppercase;
}

/* Photo Gallery Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background-color: rgba(5, 5, 5, 0.97);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease-out;
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-img-container {
    max-width: 85%;
    max-height: 80vh;
    position: relative;
}

.lightbox-img-container img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border: 1px solid var(--border-color);
}

.lightbox-caption {
    margin-top: 16px;
    font-size: 1rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 32px;
    right: 32px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    font-weight: 300;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 3rem;
    padding: 0 16px;
    font-weight: 200;
    transition: var(--transition-fast);
}

.lightbox-nav:hover {
    color: var(--text-secondary);
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

/* ==========================================
   Framer-like Scroll Reveals
   ========================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* ==========================================
   Responsive Breakpoints
   ========================================== */
@media (max-width: 1200px) {
    .rooms-list-info {
        padding: 3rem;
    }
}

/* ── 1024px: Tablet / Mobile Navigation ── */
@media (max-width: 1024px) {

    /* Hamburger visible */
    .menu-toggle {
        display: flex;
    }

    .nav-container {
        position: relative;
    }

    .nav-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

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

    /* Full-screen mobile menu overlay */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(12, 12, 11, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 120px 8% 60px 8%;
        box-sizing: border-box;
        transform: translateX(100%);
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        opacity: 1;
        border: none;
        pointer-events: none;
        overflow-y: auto;
        z-index: 95;
    }

    .nav-links.active {
        transform: translateX(0);
        pointer-events: auto;
    }

    .nav-links {
        counter-reset: nav-counter;
    }

    .nav-links > a {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        height: auto;
        padding: 18px 0;
        font-size: clamp(1.8rem, 5.5vw, 2.8rem);
        font-family: var(--font-heading);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: rgba(255, 255, 255, 0.85) !important;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        text-align: left;
        box-sizing: border-box;
        counter-increment: nav-counter;
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease, padding 0.3s ease;
    }

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

    .nav-links.active > a:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active > a:nth-child(2) { transition-delay: 0.15s; }
    .nav-links.active > a:nth-child(3) { transition-delay: 0.2s; }
    .nav-links.active > a:nth-child(4) { transition-delay: 0.25s; }
    .nav-links.active > a:nth-child(5) { transition-delay: 0.3s; }
    .nav-links.active > a:nth-child(6) { transition-delay: 0.35s; }

    .nav-links > a::before {
        display: inline-block !important;
        content: "0" counter(nav-counter);
        font-family: var(--font-accent);
        font-size: clamp(0.8rem, 2.2vw, 1.1rem);
        color: #c5a880;
        margin-right: 20px;
        letter-spacing: 0.08em;
        font-weight: 400;
        opacity: 0.75;
    }

    .nav-links > a.active,
    .nav-links > a:hover {
        color: #ffffff !important;
        background-color: transparent !important;
        padding-left: 8px;
    }

    .nav-links > a::after {
        display: none !important;
    }

    /* Mobile nav footer styling inside dark menu */
    .nav-mobile-footer {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 32px 0 0 0;
        margin-top: auto;
        width: 100%;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        gap: 6px;
        box-sizing: border-box;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        transition-delay: 0.4s;
    }

    .nav-links.active .nav-mobile-footer {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-mobile-footer-label {
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 0.15em;
        color: rgba(255, 255, 255, 0.35);
        font-family: var(--font-heading);
        margin-bottom: 8px;
        display: block;
    }

    .nav-mobile-footer-link {
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.65) !important;
        text-decoration: none;
        transition: color 0.3s ease;
        display: block;
        padding: 2px 0;
    }

    .nav-mobile-footer-link:hover {
        color: #ffffff !important;
    }

    .nav-mobile-footer-loc {
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.35);
        margin-top: 10px;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }

    .cta-container {
        border-left: none;
        padding-left: 0;
        margin-right: 16px;
    }

    #header-book-cta {
        padding: 8px 16px;
        font-size: 0.7rem;
        letter-spacing: 0.1em;
    }

    /* Section header */
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    /* Hero stacking */
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        bottom: 8%;
        width: 92%;
        left: 4%;
    }

    .hero-content-left {
        width: 100%;
    }

    .hero-content-right {
        width: 100%;
        padding-left: 0;
        padding-bottom: 0;
    }

    .hero-content p {
        margin-bottom: 16px;
        max-width: 100%;
    }

    /* 12-column layouts → stack */
    .intro-left, .intro-right,
    .about-col-left, .about-col-right,
    .contact-left, .contact-right {
        grid-column: span 12;
        border-right: none;
        padding: 3rem 4%;
    }

    .intro-left {
        border-bottom: 1px solid var(--border-color);
    }

    .about-col-left {
        border-bottom: 1px solid var(--border-color);
    }

    .contact-left {
        border-bottom: 1px solid var(--border-color);
    }

    .contact-left::before {
        height: 34%;
    }

    .contact-left .contact-garden {
        height: 220px;
        opacity: 0.88;
    }

    /* Cards → 2-column */
    .room-grid, .timeline-grid, .team-grid, .journal-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .room-card, .timeline-item, .team-card, .journal-card {
        border-right: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
    }

    .room-grid .room-card:nth-child(2n),
    .timeline-grid .timeline-item:nth-child(2n),
    .team-grid .team-card:nth-child(2n),
    .journal-grid .journal-card:nth-child(2n) {
        border-right: none;
    }

    /* Rooms list → full-width stack */
    .rooms-list-item {
        grid-template-columns: repeat(12, 1fr);
    }

    .rooms-list-img-wrap, .rooms-list-info {
        grid-column: span 12;
        border-right: none;
    }

    .rooms-list-img-wrap {
        height: 350px;
        border-bottom: 1px solid var(--border-color);
    }

    /* Footer */
    .footer-inner {
        padding: 60px 4% 0 4%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-col {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.09);
        padding: 40px 0;
    }

    .footer-col:last-child {
        border-bottom: none;
        padding-left: 0;
    }

    .footer-col:nth-child(2) {
        padding-left: 0;
    }

    .footer-brand-mega {
        font-size: clamp(2.5rem, 12vw, 7rem);
    }

    /* CTA Banner — disable fixed parallax on mobile */
    .cta-banner {
        height: 380px;
    }

    .cta-banner-bg {
        background-attachment: scroll;
    }

    /* Map */
    .map-embed-container {
        height: 320px;
    }
}

/* ── 768px: Mobile ── */
@media (max-width: 768px) {

    .nav-container {
        height: 72px;
        padding: 0 4%;
    }



    /* Hero */
    .hero-slider-container {
        height: 92vh;
    }

    /* Section padding */
    .section-padding {
        padding: clamp(2.5rem, 6vw, 5rem) 4%;
    }

    /* Section header */
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding-bottom: 28px;
        margin-bottom: 28px;
    }

    /* Grids → single column */
    .room-grid, .timeline-grid, .team-grid, .journal-grid {
        grid-template-columns: 1fr;
    }

    .room-card, .timeline-item, .team-card, .journal-card {
        border-right: none !important;
        border-bottom: 1px solid var(--border-color);
    }

    .room-card:last-child, .timeline-item:last-child,
    .team-card:last-child, .journal-card:last-child {
        border-bottom: none;
    }

    /* Room card tweaks */
    .room-card-img {
        height: 260px;
    }

    .room-card-info {
        padding: 24px;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    /* Rooms list */
    .rooms-list-img-wrap {
        height: 280px;
    }

    .rooms-list-info {
        padding: 2rem 4%;
    }

    .rooms-list-details {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .rooms-list-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    /* Team & journal */
    .team-img {
        height: 260px;
    }

    .journal-card-img {
        height: 220px;
    }

    /* Contact form */
    .contact-form {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-group.full-width,
    .full-width {
        grid-column: span 1;
    }

    /* Gallery */
    .gallery-grid {
        columns: 2;
    }

    /* CTA Banner */
    .cta-banner {
        height: 300px;
    }

    /* Footer */
    .footer-brand-mega {
        font-size: clamp(2rem, 11vw, 5.5rem);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
    }

    /* Booking modal */
    .modal-content-wrap {
        width: 95%;
        padding: clamp(1.5rem, 4vw, 2.5rem);
    }
}

/* ── 480px: Small Mobile ── */
@media (max-width: 480px) {

    .nav-container {
        height: 68px;
        padding: 0 4%;
    }

    .nav-logo img {
        height: 34px;
    }



    .cta-container {
        margin-right: 12px;
    }

    #header-book-cta {
        padding: 7px 12px;
        font-size: 0.65rem;
        letter-spacing: 0.08em;
    }

    /* Hero */
    .hero-slider-container {
        height: 88vh;
    }

    .hero-content {
        bottom: 5%;
    }

    .hero-content h1 {
        line-height: 0.9;
        letter-spacing: -0.025em;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    /* Section padding */
    .section-padding {
        padding: clamp(2rem, 5vw, 4rem) 4%;
    }

    /* Section header */
    .section-header {
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    /* Room cards */
    .room-card-img {
        height: 220px;
    }

    .room-card-info {
        padding: 20px;
    }

    /* Rooms list */
    .rooms-list-img-wrap {
        height: 240px;
    }

    .rooms-list-info {
        padding: 1.5rem 4%;
    }

    .rooms-list-details {
        grid-template-columns: 1fr;
    }

    /* Stats */
    .stats-grid {
        margin-top: 24px;
    }

    /* Gallery */
    .gallery-grid {
        columns: 1;
    }

    .filter-btn {
        padding: 8px 14px;
        font-size: 0.7rem;
    }

    /* Timeline */
    .timeline-item {
        padding: 1.5rem 20px;
    }

    /* Team */
    .team-img {
        height: 220px;
    }

    /* Journal */
    .journal-card-img {
        height: 200px;
    }

    .journal-card-info {
        padding: 20px;
    }

    /* CTA Banner */
    .cta-banner {
        height: 260px;
    }

    .cta-banner-content {
        padding: 0 6%;
    }

    /* Map */
    .map-embed-container {
        height: 260px;
    }

    /* Footer */
    .footer-inner {
        padding: 40px 4% 0 4%;
    }

    .footer-brand-mega {
        font-size: clamp(1.6rem, 11vw, 3.5rem);
        padding: 12px 3% 16px 3%;
    }

    .footer-bottom {
        padding: 16px 4%;
        font-size: 0.7rem;
    }

    /* Contact form */
    .contact-form {
        gap: 16px;
    }

    .btn-submit {
        width: 100%;
        text-align: center;
        justify-content: center;
        display: flex;
    }

    /* Booking modal */
    .modal-content-wrap {
        max-height: 95vh;
        padding: 1.25rem;
    }

    /* Lightbox */
    .lightbox-img-container {
        max-width: 98%;
    }

    .lightbox-nav {
        font-size: 2rem;
        padding: 0 8px;
    }

    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 1.5rem;
    }
}

/* ── 360px: Very Small Devices ── */
@media (max-width: 360px) {
    #header-book-cta {
        display: none;
    }

    .hero-content h1 {
        font-size: clamp(1.9rem, 9vw, 2.5rem);
    }

    .footer-brand-mega {
        font-size: clamp(1.4rem, 10vw, 2.5rem);
    }

}

/* ==========================================
   Map Section (Terracotta Clickable Image)
   ========================================== */
.map-terracotta-section {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.map-terracotta-panel {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
    background-color: #1a0e08;
    height: 480px;
    cursor: none;
}

.map-terracotta-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.8s ease;
    filter: sepia(15%) saturate(1.1);
}

.map-terracotta-panel:hover .map-terracotta-img {
    transform: scale(1.04);
    filter: sepia(0%) saturate(1.2);
}

/* Gradient overlay */
.map-terracotta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 5, 2, 0.80) 0%,
        rgba(10, 5, 2, 0.22) 45%,
        rgba(10, 5, 2, 0.06) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px 4%;
    transition: background 0.6s ease;
}

.map-terracotta-panel:hover .map-terracotta-overlay {
    background: linear-gradient(
        to top,
        rgba(10, 5, 2, 0.88) 0%,
        rgba(10, 5, 2, 0.32) 45%,
        rgba(10, 5, 2, 0.10) 100%
    );
}

/* Top badge */
.map-terracotta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    align-self: flex-start;
    transition: background 0.4s ease, border-color 0.4s ease,
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.map-terracotta-panel:hover .map-terracotta-badge {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.map-terracotta-badge svg {
    flex-shrink: 0;
}

/* Bottom info */
.map-terracotta-info {
    transform: translateY(8px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.map-terracotta-panel:hover .map-terracotta-info {
    transform: translateY(0);
}

.map-terracotta-info h4 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 6px;
}

.map-terracotta-info p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.60);
    font-weight: 300;
    letter-spacing: 0.06em;
}


@media (max-width: 768px) {
    .map-terracotta-panel {
        height: 320px;
    }
}
