/* ============================================
   SAMTATTVA HOME STAY — Premium Dark Theme
   Inspired by CRED.club's cinematic aesthetic
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400&family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&display=swap');

/* --- Root Variables --- */
:root {
    /* === CRED-inspired Dark Palette === */
    --color-bg: #0A0A0A;
    --color-surface: #111111;
    --color-card: #181818;
    --color-border: rgba(255, 255, 255, 0.08);

    /* === Samtattva Brand Accents === */
    --color-primary: #FFB03B;
    /* Sunrise Orange — brand hero */
    --color-accent: #7EC8E3;
    /* Soft teal — waves */
    --color-rust: #C0563A;
    /* Deep brown-rust */

    /* === Text Colors === */
    --color-text: #F5F5F5;
    --color-text-dim: rgba(245, 245, 245, 0.55);
    --color-text-muted: rgba(245, 245, 245, 0.30);

    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Jost', 'Gotham', 'Century Gothic', sans-serif;

    /* === Spacing === */
    --container-width: 1200px;
    --section-padding: 8rem 1.5rem;

    /* === Transitions === */
    --transition-fast: 0.2s ease;
    --transition-med: 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-slow: 0.9s cubic-bezier(0.16, 1, 0.3, 1);

    /* === Shadows === */
    --glow-primary: 0 0 40px rgba(255, 176, 59, 0.15);
    --glow-accent: 0 0 40px rgba(126, 200, 227, 0.12);
    --shadow-card: 0 24px 48px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 40px 80px rgba(0, 0, 0, 0.8);

    /* === Rounding === */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

h1 {
    font-size: clamp(2rem, 5vw, 4.2rem);
    font-weight: 900;
}

h2 {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
}

h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
}

p {
    color: var(--color-text-dim);
    line-height: 1.8;
}

.section-subtitle {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-primary);
    display: block;
    margin-bottom: 1rem;
}

/* =========================================================
   LAYOUT UTILITIES
   ========================================================= */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--section-padding);
}

.text-center {
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mt-2 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 3rem;
}

.mb-4 {
    margin-bottom: 3rem;
}

/* Horizontal divider accent */
.divider-line {
    width: 60px;
    height: 2px;
    background: var(--color-primary);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

/* Screen reader utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-med);
    will-change: transform;
}

/* Gold primary */
.btn-primary {
    background: var(--color-primary);
    color: #0A0A0A;
}

.btn-primary:hover {
    background: #ffc75a;
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--glow-primary);
}

/* Ghost outline */
.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* Teal accent */
.btn-accent {
    background: var(--color-accent);
    color: #0A0A0A;
}

.btn-accent:hover {
    background: #a8dff2;
    transform: translateY(-3px);
    box-shadow: var(--glow-accent);
}

/* Book Now in nav */
.btn-book {
    background: var(--color-primary);
    color: #0A0A0A;
    font-size: 0.75rem;
    padding: 0.65rem 1.5rem;
}

.btn-book:hover {
    background: #ffc75a;
    transform: translateY(-2px);
}

/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    /* Always glassy — premium effect from first pixel */
    background: rgba(8, 8, 8, 0.45);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: background var(--transition-med),
        border-color var(--transition-med),
        padding var(--transition-med);
}

header.scrolled {
    background: rgba(8, 8, 8, 0.75);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* When header becomes dark on scroll, remove text shadows */
header.scrolled nav ul li a {
    text-shadow: none;
    color: rgba(255, 255, 255, 0.75);
}

/* --- Logo --- */
.logo {
    display: flex;
    align-items: center;
    transition: opacity var(--transition-fast);
}

.logo img {
    height: 55px;
    width: auto;
}

.logo:hover {
    opacity: 0.85;
}

/* --- Nav links --- */
nav ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

nav ul li a {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 0.9rem;
    border-radius: 50px;
    transition: color var(--transition-fast), background var(--transition-fast);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

nav ul li a:hover,
nav ul li a.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

/* --- Mobile hamburger --- */
.mobile-nav-toggle {
    display: none;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition-med);
}

.hamburger {
    position: relative;
    background: var(--color-text);
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.hamburger::before {
    content: '';
    position: absolute;
    top: -7px;
}

.hamburger::after {
    content: '';
    position: absolute;
    top: 7px;
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

/* =========================================================
   HERO SLIDER
   ========================================================= */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 640px;
    overflow: hidden;
    /* Column layout: text floats in centre, room strip pins to bottom */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* ---- Background Slides ---- */
.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
    background-size: cover !important;
    background-position: center !important;
}

.hero-slider .slide.active {
    opacity: 1;
}

/* Dark gradient overlay for text readability */
.hero-slider .slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(0, 0, 0, 0.55) 55%,
        rgba(0, 0, 0, 0.82) 100%
    );
}

/* ---- Hero Text Content ---- */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 2rem;
    /* Push up slightly so the room strip has breathing room */
    margin-bottom: 2rem;
    flex-shrink: 0;
}

.hero-content .section-subtitle {
    animation: fadeSlideUp 1s ease both;
    animation-delay: 0.3s;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    color: var(--color-primary);
}

.hero-content h1 {
    animation: fadeSlideUp 1s ease both;
    animation-delay: 0.55s;
    font-style: italic;
    letter-spacing: -0.03em;
    color: #fff;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
    margin-bottom: 1.25rem;
}

.hero-content > p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.75);
    max-width: 560px;
    margin: 0 auto 2rem;
    animation: fadeSlideUp 1s ease both;
    animation-delay: 0.75s;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeSlideUp 1s ease both;
    animation-delay: 0.95s;
}

/* ---- Background Slider Dots (for heroSlides bg) ---- */
.hero-bg-dots {
    position: absolute;
    bottom: calc(var(--strip-height, 200px) + 1.2rem);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 5;
}

.hero-bg-dots:empty {
    display: none;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    transition: all var(--transition-med);
}

.dot.active {
    background: var(--color-primary);
    width: 24px;
    border-radius: 50px;
}

/* =========================================================
   ROOM PHOTO STRIP (inside hero, pinned to bottom)
   ========================================================= */
.room-photo-strip {
    --strip-height: 210px;
    --card-width: 260px;

    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--strip-height);
    z-index: 4;

    /* Horizontal scroll container */
    display: flex;
    flex-direction: row;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;

    /* Subtle top gradient blends into dark hero */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 18%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 18%);

    animation: fadeSlideUp 1.1s ease both;
    animation-delay: 1.2s;
}

.room-photo-strip::-webkit-scrollbar {
    display: none;
}

.room-photo-strip.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

/* ---- Individual Room Card ---- */
.room-strip-card {
    position: relative;
    flex: 0 0 var(--card-width);
    height: 100%;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    cursor: pointer;
    display: block;
    text-decoration: none;

    /* Subtle gap between cards */
    margin-right: 6px;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                box-shadow 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: none;
}

.room-strip-card:first-child {
    margin-left: 1.5rem;
}

.room-strip-card:hover {
    transform: translateY(-10px) scale(1.015);
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 176, 59, 0.3);
    z-index: 2;
}

/* Image fills card perfectly regardless of size */
.room-strip-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
    user-select: none;
    pointer-events: none;
}

.room-strip-card:hover img {
    transform: scale(1.06);
}

/* Bottom label overlay */
.room-strip-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1rem 0.85rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    display: none;
    align-items: center;
    justify-content: space-between;
    transition: padding 0.3s ease;
}

.room-strip-label span {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    letter-spacing: 0.01em;
}

.room-strip-label svg {
    width: 18px;
    height: 18px;
    stroke: var(--color-primary);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
}

.room-strip-card:hover .room-strip-label svg {
    opacity: 1;
    transform: translateX(0);
}

.room-strip-card:hover .room-strip-label span {
    color: var(--color-primary);
}

/* =========================================================
   FIVE ELEMENTS SECTION
   ========================================================= */
.five-elements-section {
    padding: 6rem 1.5rem;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.five-elements-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse at 50% 0%, rgba(255, 176, 59, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.five-elements-header {
    text-align: center;
    margin-bottom: 4rem;
}

.five-elements-header h2 {
    margin-bottom: 1rem;
}

.five-elements-header p {
    max-width: 500px;
    margin: 0 auto;
    color: var(--color-text-dim);
}

.five-elements-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 1.25rem;
    flex-wrap: nowrap;
}

.element-card {
    flex: 1;
    min-width: 0;
    max-width: 200px;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.25rem 1.75rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    cursor: default;
    transition: all var(--transition-med);
    position: relative;
    overflow: hidden;
}

.element-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    opacity: 0;
    transition: opacity var(--transition-med);
}

.element-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.15);
    box-shadow: var(--shadow-card);
}

.element-card:hover::before {
    opacity: 1;
}

/* Per-element accent bottom bar & glow */
.element-card:nth-child(1)::before { background: linear-gradient(90deg, #FF6B35, #FFB03B); }
.element-card:nth-child(2)::before { background: linear-gradient(90deg, #7EC8E3, #a8dff2); }
.element-card:nth-child(3)::before { background: linear-gradient(90deg, #8BC34A, #5D4037); }
.element-card:nth-child(4)::before { background: linear-gradient(90deg, #29B6F6, #0277BD); }
.element-card:nth-child(5)::before { background: linear-gradient(90deg, #CE93D8, #7B1FA2); }

.element-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    transition: transform var(--transition-med);
}

.element-card:hover .element-icon {
    transform: scale(1.1) rotate(3deg);
}

.element-icon svg {
    width: 48px;
    height: 48px;
}

.element-icon.fire  { background: rgba(255, 107, 53, 0.12); box-shadow: 0 0 24px rgba(255,107,53,0.15); }
.element-icon.air   { background: rgba(126, 200, 227, 0.10); box-shadow: 0 0 24px rgba(126,200,227,0.12); }
.element-icon.earth { background: rgba(139, 195, 74, 0.10); box-shadow: 0 0 24px rgba(139,195,74,0.12); }
.element-icon.water { background: rgba(41, 182, 246, 0.10); box-shadow: 0 0 24px rgba(41,182,246,0.12); }
.element-icon.space { background: rgba(206, 147, 216, 0.10); box-shadow: 0 0 24px rgba(206,147,216,0.12); }

.element-name {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: 0.02em;
}

.element-desc {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin: 0;
}

/* =========================================================
   ABOUT - EDITORIAL SPLIT
   ========================================================= */
.about-section {
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.25rem;
}

.about-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

.stat-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    transition: border-color var(--transition-med), transform var(--transition-med);
}

.stat-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.stat-card .stat-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.about-image:hover img {
    transform: scale(1.04);
}

/* Decorative glow badge */
.about-image::after {
    content: '';
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 176, 59, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

/* =========================================================
   COTTAGES GRID
   ========================================================= */
.cottages-preview {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
}

.cottage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.cottage-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition-med), transform var(--transition-slow), box-shadow var(--transition-slow);
    cursor: pointer;
}

.cottage-card:hover {
    border-color: rgba(255, 176, 59, 0.35);
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
}

.card-img {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.8s ease;
}

.cottage-card:hover .card-img {
    transform: scale(1.04);
}

.card-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 50%);
}

.card-content {
    padding: 1.75rem;
}

.card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.card-content p {
    font-size: 0.9rem;
    color: var(--color-text-dim);
    margin-bottom: 1.25rem;
}

.text-link {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap var(--transition-fast);
}

.text-link:hover {
    gap: 0.7rem;
}

/* =========================================================
   EXPLORE / CTA SECTION
   ========================================================= */
.explore-preview {
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--color-border);
}

.explore-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: radial-gradient(ellipse at 50% 0%, rgba(255, 176, 59, 0.08) 0%, transparent 65%);
    pointer-events: none;
}

.explore-preview .container {
    position: relative;
    z-index: 1;
}

.explore-preview h2 {
    color: var(--color-text);
    margin-bottom: 1.25rem;
}

/* =========================================================
   MAP SECTION
   ========================================================= */
.map-section {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--color-border);
}

.footer-col h4 {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.footer-col .footer-brand {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.75rem;
    display: block;
}

.footer-col p {
    font-size: 0.9rem;
    color: var(--color-text-dim);
    margin-bottom: 0.5rem;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    font-size: 0.9rem;
    color: var(--color-text-dim);
    transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
    font-size: 0.78rem;
    color: var(--color-text-muted);
    letter-spacing: 0.04em;
}

/* =========================================================
   PAGE HERO (inner pages)
   ========================================================= */
.page-hero {
    height: 55vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.7));
}

.page-hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 0 2rem;
}

.page-hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-style: italic;
    color: #fff;
    margin-bottom: 1rem;
}

/* =========================================================
   CONTENT SPLIT (cottages page)
   ========================================================= */
.content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    border-top: 1px solid var(--color-border);
    padding: 6rem 0;
}

.content-split:first-of-type {
    border-top: none;
    padding-top: 2rem;
}

.content-split.reverse {
    direction: rtl;
}

.content-split.reverse>* {
    direction: ltr;
}

.split-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 2.3/3;
    border: 1px solid var(--color-border);
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s ease;
}

.split-image:hover img {
    transform: scale(1.04);
}

.split-text h2 {
    margin-bottom: 1.25rem;
}

.split-text p {
    margin-bottom: 1.25rem;
}

.amenities-list {
    margin: 2rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.amenities-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--color-text-dim);
}

.amenities-list li svg {
    width: 16px;
    height: 16px;
    stroke: var(--color-primary);
    flex-shrink: 0;
}

/* =========================================================
   ADVENTURES GRID
   ========================================================= */
.adventures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
}

/* =========================================================
   CONTACT FORM
   ========================================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: start;
}

.contact-info-item {
    margin-bottom: 2.5rem;
}

.contact-info-item h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.contact-info-item p {
    color: var(--color-text-dim);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.6rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--color-text);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(255, 176, 59, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

/* =========================================================
   SCROLL REVEAL ANIMATION
   ========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   CRED-STYLE MARQUEE TAG
   ========================================================= */
.marquee-strip {
    width: 100%;
    overflow: hidden;
    background: var(--color-primary);
    padding: 0.85rem 0;
    white-space: nowrap;
}

.marquee-inner {
    display: inline-flex;
    animation: marquee 28s linear infinite;
    gap: 3rem;
}

.marquee-inner span {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #0A0A0A;
    padding: 0 1.5rem;
}

.marquee-inner span::before {
    content: '✦';
    margin-right: 1.5rem;
    opacity: 0.5;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* =========================================================
   KEYFRAME ANIMATIONS
   ========================================================= */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .cottage-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .content-split {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .content-split.reverse {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 5rem 1.5rem;
    }

    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    .mobile-nav-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.97);
        backdrop-filter: blur(24px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform var(--transition-med);
        z-index: 999;
    }

    nav[data-visible="true"] {
        transform: translateX(0);
    }

    nav ul {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    nav ul li a {
        font-size: 1.2rem;
    }

    .cottage-grid {
        grid-template-columns: 1fr;
    }

    .about-stat-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }

    .amenities-list {
        grid-template-columns: 1fr;
    }

    /* Room strip on tablet */
    .room-photo-strip {
        --strip-height: 180px;
        --card-width: 200px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }

    /* Room strip on mobile */
    .room-photo-strip {
        --strip-height: 160px;
        --card-width: 175px;
    }

    .room-strip-label span {
        font-size: 0.88rem;
    }
}

/* =========================================================
   PAGE LOADER — CRED-style curtain reveal
   ========================================================= */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    background: #0A0A0A;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1.5rem;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#page-loader.done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-logo {
    animation: loaderPulse 1.4s ease-in-out infinite;
    width: 90px;
    height: auto;
}

.loader-bar-track {
    width: 180px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    overflow: hidden;
}

.loader-bar-fill {
    height: 100%;
    background: var(--color-primary);
    border-radius: 50px;
    animation: loaderFill 1.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes loaderPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(0.97);
    }
}

@keyframes loaderFill {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/* =========================================================
   TILT CARD — 3D hover parallax
   ========================================================= */
.tilt-card {
    transform-style: preserve-3d;
    will-change: transform;
}

/* =========================================================
   BUTTON TEXT COLOR FIX — always readable
   ========================================================= */
.btn-primary,
.btn-primary:hover,
.btn-book,
.btn-book:hover {
    color: #0A0A0A !important;
}

.btn-outline,
.btn-outline:hover {
    color: #F5F5F5 !important;
}

.btn-accent,
.btn-accent:hover {
    color: #0A0A0A !important;
}

/* =========================================================
   REVIEWS SECTION
   ========================================================= */
.reviews-section {
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 176, 59, 0.06) 0%, transparent 65%);
    pointer-events: none;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.review-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    cursor: default;
    animation: cardFloat 6s ease-in-out infinite;
}

/* Stagger delays so cards float at different offsets */
.review-card:nth-child(1) {
    animation-delay: 0s;
}

.review-card:nth-child(2) {
    animation-delay: -1.5s;
}

.review-card:nth-child(3) {
    animation-delay: -3s;
}

.review-card:nth-child(4) {
    animation-delay: -0.75s;
}

.review-card:nth-child(5) {
    animation-delay: -2.25s;
}

.review-card:nth-child(6) {
    animation-delay: -4.5s;
}

@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0px);
        box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), 0 0 0 transparent;
        border-color: rgba(255, 255, 255, 0.08);
    }

    50% {
        transform: translateY(-12px);
        box-shadow: 0 28px 56px rgba(0, 0, 0, 0.55), 0 0 24px rgba(255, 176, 59, 0.1);
        border-color: rgba(255, 176, 59, 0.25);
    }
}

.review-card:hover {
    animation-play-state: paused;
    border-color: rgba(255, 176, 59, 0.45);
    box-shadow: 0 28px 56px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 176, 59, 0.14);
}


.review-stars {
    display: flex;
    gap: 3px;
}

.review-stars svg {
    width: 16px;
    height: 16px;
    fill: var(--color-primary);
    stroke: none;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--color-text-dim);
    flex: 1;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.review-author-info strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: 0.02em;
}

.review-author-info span {
    font-size: 0.76rem;
    color: var(--color-text-muted);
    letter-spacing: 0.04em;
}

/* Review platform badge */
.review-source {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-top: 0.25rem;
}

/* =========================================================
   GLOW CURSOR TRAIL (CSS only setup — JS powers it)
   ========================================================= */
#cursor-glow {
    position: fixed;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 176, 59, 0.065) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: transform 0.12s ease;
    mix-blend-mode: screen;
}

/* =========================================================
   REVIEWS RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
    .reviews-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   REVIEWS MARQUEE — horizontal scroll + per-card float
   ========================================================= */
.reviews-marquee-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 2rem 0 3rem;
    /* Pause on hover of the whole strip */
}

.reviews-marquee-wrap:hover .reviews-marquee-inner {
    animation-play-state: paused;
}

.reviews-marquee-inner {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    /* Horizontal marquee — moves right to left */
    animation: reviewsScroll 40s linear infinite;
}

@keyframes reviewsScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Individual per-card vertical float — each has a unique class */
.review-float-1 {
    animation: cardFloat1 5.5s ease-in-out infinite;
}

.review-float-2 {
    animation: cardFloat2 7s ease-in-out infinite;
}

.review-float-3 {
    animation: cardFloat3 6.2s ease-in-out infinite;
}

.review-float-4 {
    animation: cardFloat4 5s ease-in-out infinite;
}

.review-float-5 {
    animation: cardFloat5 7.5s ease-in-out infinite;
}

.review-float-6 {
    animation: cardFloat6 6.8s ease-in-out infinite;
}

@keyframes cardFloat1 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes cardFloat2 {

    0%,
    100% {
        transform: translateY(-6px);
    }

    50% {
        transform: translateY(6px);
    }
}

@keyframes cardFloat3 {

    0%,
    100% {
        transform: translateY(-4px);
    }

    50% {
        transform: translateY(-16px);
    }
}

@keyframes cardFloat4 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes cardFloat5 {

    0%,
    100% {
        transform: translateY(-8px);
    }

    50% {
        transform: translateY(4px);
    }
}

@keyframes cardFloat6 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

/* Edge fade overlays */
.marquee-fade-left,
.marquee-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    pointer-events: none;
    z-index: 2;
}

.marquee-fade-left {
    left: 0;
    background: linear-gradient(to right, var(--color-bg), transparent);
}

.marquee-fade-right {
    right: 0;
    background: linear-gradient(to left, var(--color-bg), transparent);
}

/* Card widths in marquee are fixed */
.reviews-marquee-inner .review-card {
    width: 340px;
    flex-shrink: 0;
    /* Override the old cardFloat animation — float classes handle this now */
    animation: none;
}

/* Combine the horizontal scroll + per-card float via wrapper */
.reviews-marquee-inner .review-card.review-float-1 {
    animation: cardFloat1 5.5s ease-in-out infinite;
}

.reviews-marquee-inner .review-card.review-float-2 {
    animation: cardFloat2 7s ease-in-out infinite;
}

.reviews-marquee-inner .review-card.review-float-3 {
    animation: cardFloat3 6.2s ease-in-out infinite;
}

.reviews-marquee-inner .review-card.review-float-4 {
    animation: cardFloat4 5s ease-in-out infinite;
}

.reviews-marquee-inner .review-card.review-float-5 {
    animation: cardFloat5 7.5s ease-in-out infinite;
}

.reviews-marquee-inner .review-card.review-float-6 {
    animation: cardFloat6 6.8s ease-in-out infinite;
}

/* On hover pause float too */
.reviews-marquee-wrap:hover .reviews-marquee-inner .review-card {
    animation-play-state: paused;
}

/* =========================================================
   INNER PAGES (Hero, Grids)
   ========================================================= */
.page-hero {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #0d0d0d;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(10,10,10,1) 100%);
    pointer-events: none;
}

.page-hero h1 {
    position: relative;
    z-index: 2;
    animation: fadeSlideUp 0.8s ease both;
}

.page-hero p {
    position: relative;
    z-index: 2;
    animation: fadeSlideUp 0.8s ease both;
    animation-delay: 0.2s;
    max-width: 600px;
    margin: 1rem auto 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 4rem 0;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/5;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.room-detail-section {
    padding: 6rem 0;
    border-bottom: 1px solid var(--color-border);
}

.room-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 992px) {
    .room-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.room-detail-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.room-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text-dim);
    font-size: 0.9rem;
}

.feature-item svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-primary);
}

/* =========================================================
   MOBILE RESPONSIVENESS FIXES
   ========================================================= */

@media (max-width: 992px) {
    .container {
        padding: 0 1.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .cottage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem 1.25rem;
    }

    /* --- Navigation --- */
    .mobile-nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        inset: 0;
        background: rgba(8, 8, 8, 0.96);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transform: translateY(-100%);
        transition: transform var(--transition-slow);
        opacity: 0;
        pointer-events: none;
        padding: 4rem 2rem;
    }

    .nav-links[data-visible="true"] {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-links li a {
        font-size: 1.5rem;
        text-transform: uppercase;
        letter-spacing: 0.2em;
    }

    /* --- Hero --- */
    .hero-content h1 {
        font-size: 2.8rem;
    }

    /* --- Five Elements Grid --- */
    .five-elements-grid {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .element-card {
        max-width: 100%;
        width: 100%;
        padding: 1.5rem;
        flex-direction: row;
        text-align: left;
        gap: 1.25rem;
    }

    .element-icon {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
        margin-bottom: 0;
    }

    .element-card div:not(.element-icon) {
        flex: 1;
    }

    /* --- About Us Stat Grid --- */
    .about-stat-grid {
        grid-template-columns: 1fr;
    }

    /* --- Cottage Grid --- */
    .cottage-grid {
        grid-template-columns: 1fr;
    }

    /* --- Room Features Grid --- */
    .room-features {
        grid-template-columns: 1fr;
    }

    /* --- Gallery Grid --- */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* --- Contact Page Form Rows --- */
    .form-row {
        grid-template-columns: 1fr;
    }

    /* --- Footer --- */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-col ul {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   NEW GALLERY - PHOTO TOUR LAYOUT
   ========================================================= */

.photo-tour-section {
    padding: 8rem 1.5rem 2rem; /* Increased top padding */
    background: var(--color-bg);
}

.photo-tour-header {
    margin-bottom: 2rem;
}

.photo-tour-header h2 {
    font-size: 1.75rem;
    font-weight: 500;
    font-family: var(--font-sans);
    letter-spacing: -0.01em;
    color: var(--color-text);
}

.photo-tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--color-border);
}

.tour-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.tour-item:hover {
    transform: translateY(-5px);
}

.tour-thumbnail {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
}

.tour-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tour-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-dim);
    transition: color 0.3s ease;
    font-family: var(--font-sans);
}

.tour-item:hover .tour-label {
    color: var(--color-primary);
}

/* Category Sections */
.gallery-category-section {
    padding: 6rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
    scroll-margin-top: 100px;
}

.gallery-category-section:last-child {
    border-bottom: none;
}

.category-title {
    font-size: 2.4rem;
    margin-bottom: 3.5rem;
    font-family: var(--font-serif);
    font-weight: 700;
}

.category-grid-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.gallery-large-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.item-visual {
    width: 100%;
    aspect-ratio: 16/11;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
}

.gallery-large-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.item-caption {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-text);
    padding-left: 0.25rem;
    letter-spacing: -0.01em;
}

.gallery-large-item:hover img {
    transform: scale(1.04);
}

@media (max-width: 768px) {
    .category-grid-large {
        grid-template-columns: 1fr;
    }
    
    .category-title {
        font-size: 2rem;
    }
    
    .photo-tour-grid {
        display: flex;
        overflow-x: auto;
        padding-bottom: 1.5rem;
        gap: 1.25rem;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    
    .photo-tour-grid::-webkit-scrollbar {
        display: none;
    }
    
    .tour-item {
        flex: 0 0 160px;
    }
}