/* ==========================================================================
   The Barnett's Heritage Hotel (Estd. 1890) - Refactored Stylesheet
   Version: 2.0 - Logically Reorganized and Commented
   ========================================================================== */

/* ==========================================================================
   TABLE OF CONTENTS
   ==========================================================================
   1.  ROOT VARIABLES & DESIGN SYSTEM
   2.  BASE & GENERAL STYLES
   3.  HEADER & NAVIGATION
   4.  BUTTONS & CALLS TO ACTION
   5.  HOMEPAGE SECTIONS
       - Hero Section
       - History & Timeline
       - Notable Guests
       - Amenities
       - Experience Links
       - Rooms & Suites
       - Food & Beverage
       - Events & Venues
       - Testimonials
   6.  SECONDARY PAGE STYLES
       - Common Hero Styles
       - Journal Page
       - Gallery Page
       - Explore & Experiences Pages
   7.  COMPONENTS
       - Contact Section & Form
       - Footer
       - Persistent Booking Bar
       - AI Chat Widget
       - Modals & Overlays (Hours, Lightbox)
   8.  RESPONSIVE MEDIA QUERIES
       - 992px Breakpoint (Tablets)
       - 768px Breakpoint (Small Tablets)
       - 480px Breakpoint (Mobile)
   ========================================================================== */

/* ==========================================================================
   1. ROOT VARIABLES & DESIGN SYSTEM
   ========================================================================== */
/* --- NEW: Pre-Opening Banner --- */
.pre-opening-banner {
    background-color: var(--color-teal-600);
    color: var(--color-white);
    text-align: center;
    padding: 10px 40px 10px 20px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    position: relative;
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
}
.pre-opening-banner a {
    color: var(--color-white);
    text-decoration: underline;
    margin-left: 10px;
}
.banner-close {
    position: absolute;
    right: 15px;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0.8;
}

/* --- SEO & Meta Title Placeholder styling --- */
/* Ensure the hero text handles the longer headline */
.hero-headline {
    max-width: 900px;
}


   :root {
  /* Color Tokens */
  --color-white: rgba(255, 255, 255, 1);
  --color-cream-50: rgba(252, 252, 249, 1);
  --color-brown-600: rgba(94, 82, 64, 1);
  --color-slate-900: rgba(19, 52, 59, 1);
  --color-slate-500: rgba(98, 108, 113, 1);
  --color-teal-500: rgba(33, 128, 141, 1);
  --color-teal-600: rgba(29, 116, 128, 1);
  --color-red-500: rgb(137, 2, 2);
  
  /* RGB versions for opacity control */
  --color-brown-600-rgb: 94, 82, 64;
  --color-teal-500-rgb: 33, 128, 141;

  /* Semantic Colors */
  --color-background: var(--color-cream-50);
  --color-surface: var(--color-white);
  --color-text: var(--color-slate-900);
  --color-text-secondary: var(--color-slate-500);
  --color-primary: var(--color-teal-500);
  --color-primary-hover: var(--color-teal-600);
  --color-border: rgba(var(--color-brown-600-rgb), 0.2);
  --color-btn-primary-text: var(--color-white);
  --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
  --color-error: var(--color-red-500);

  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Lato', sans-serif;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;

  /* Spacing */
  --space-10: 10px; --space-12: 12px; --space-16: 16px; --space-20: 20px;
  --space-24: 24px; --space-32: 32px;

  /* Border Radius */
  --radius-sm: 6px; --radius-base: 8px; --radius-md: 10px; --radius-lg: 12px; --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04);

  /* Layout */
  --container-md: 768px; --container-xl: 1280px;
}

/* ==========================================================================
   2. BASE & GENERAL STYLES
   ========================================================================== */
/* Basic reset and box-sizing */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    padding-bottom: 80px; /* Space for persistent bar */
    /* Elegant textured gradient background for all pages */
    background-color: var(--color-background);
    background-image: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E"),
        linear-gradient(to bottom, var(--color-background), rgb(249, 247, 243));
}

body.fade-in { opacity: 1; }

/* Layout containers */
.container { width: 100%; margin: 0 auto; padding: 0 var(--space-24); max-width: var(--container-xl); }
.container.small { max-width: var(--container-md); }

/* Typography defaults */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; line-height: var(--line-height-tight); color: var(--color-text); }
h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); text-align: center; margin-bottom: 4rem; }
h2 > span { display: block; font-family: var(--font-body); font-size: 1.1rem; font-weight: 300; color: var(--color-text-secondary); margin-top: 0.75rem; }
h3 { font-size: 1.75rem; margin-bottom: var(--space-20); }
h4 { font-size: 1.25rem; margin-bottom: var(--space-10); }

p { margin-bottom: var(--space-16); }
a { color: var(--color-primary); text-decoration: none; transition: color 0.25s ease; }
a:hover { color: var(--color-primary-hover); }
img { max-width: 100%; height: auto; display: block; }
section { padding: 6rem 0; }
.alt-bg { background-color: rgba(var(--color-brown-600-rgb), 0.05); }

/* General animations */
.animate-on-scroll { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1); }
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

.text-center {
    text-align: center;
}

/* ==========================================================================
   3. HEADER & NAVIGATION
   ========================================================================== */
.main-header { position: fixed; width: 100%; top: 0; z-index: 1000; padding: var(--space-20) 0; transition: background-color 0.5s ease, box-shadow 0.5s ease, padding 0.5s ease; }
.main-header.solid { background-color: var(--color-background); box-shadow: 0 2px 10px rgba(0,0,0,0.05); padding: var(--space-12) 0; }
.main-header.transparent { background-color: transparent; }
.main-header .container { display: flex; justify-content: space-between; align-items: center; }
.header-logo img { height: 80px; width: auto; transition: height 0.5s ease; }
.main-header.solid .header-logo img { height: 40px; }
.main-nav ul { list-style: none; display: flex; align-items: center; gap: var(--space-32); }
.main-nav a { color: var(--color-text); font-weight: 500; font-family: var(--font-body); font-size: 0.95rem; position: relative; padding: 4px 0; transition: color 0.25s ease; }
.main-nav a.active { color: var(--color-primary); }
.main-header.transparent .main-nav a { color: var(--color-white); text-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.mobile-nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.mobile-nav-toggle span { display: block; width: 25px; height: 2px; background-color: var(--color-text); margin: 5px 0; transition: all 0.25s ease-in-out; }
.main-header.transparent .mobile-nav-toggle span { background-color: var(--color-white); }

/* ==========================================================================
   4. BUTTONS & CALLS TO ACTION
   ========================================================================== */
.cta-button { display: inline-flex; align-items: center; justify-content: center; padding: var(--space-12) var(--space-32); border-radius: var(--radius-base); font-weight: 500; transition: all 0.25s ease; border: 1px solid transparent; text-align: center; cursor: pointer; font-family: var(--font-body); font-size: 0.9rem; letter-spacing: 1px; text-transform: uppercase; line-height: var(--line-height-normal); text-decoration: none; }
.cta-button.primary, .main-nav .cta-button { background-color: var(--color-primary); border-color: var(--color-primary); color: var(--color-btn-primary-text); box-shadow: var(--shadow-sm); }
.cta-button.primary:hover, .main-nav .cta-button:hover { background-color: var(--color-primary-hover); border-color: var(--color-primary-hover); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cta-button.secondary { border-color: var(--color-error); color: var(--color-error); background: transparent; }
.cta-button.secondary:hover { background-color: var(--color-error); color: var(--color-white); transform: translateY(-3px); }

/* ==========================================================================
   5. HOMEPAGE SECTIONS
   ========================================================================== */
/* --- HERO SECTION --- */
.hero-section { min-height: 100vh; display: flex; justify-content: center; align-items: center; text-align: center; padding: 120px var(--space-20) var(--space-32); position: relative; overflow: hidden; }
.hero-section::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.2)); z-index: 2; }
.hero-video { position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; object-fit: cover; transform: translate(-50%, -50%); z-index: 1; }
.hero-content { position: relative; z-index: 3; color: var(--color-white); max-width: var(--container-xl); }
.hero-brand-name { font-family: var(--font-body); font-weight: 300; font-size: clamp(1rem, 4vw, 1.25rem); letter-spacing: 3px; text-transform: uppercase; color: var(--color-white); opacity: 0.9; margin-bottom: 1rem; }
.hero-content h1, .hero-content .hero-subheadline { color: var(--color-white); text-shadow: 0 2px 20px rgba(0,0,0,0.5); }
.hero-headline { margin-bottom: var(--space-20); }
.hero-subheadline { font-family: var(--font-body); font-size: 1.25rem; font-weight: 300; margin-bottom: var(--space-24); }
.hero-description { font-size: 1.1rem; margin: 0 auto 2.5rem auto; max-width: 700px; line-height: 1.8; opacity: 0.95; }
.hero-buttons { display: flex; gap: var(--space-20); justify-content: center; margin-bottom: 4rem; flex-wrap: wrap; }
.scroll-indicator { font-family: var(--font-body); font-size: 12px; letter-spacing: 1px; opacity: 0.8; animation: pulse 2.5s infinite; }
@keyframes pulse { 0%, 100% { transform: translateY(0); opacity: 0.8; } 50% { transform: translateY(5px); opacity: 1; } }

/* --- HISTORY & TIMELINE --- */
.history-timeline-section { background-color: var(--color-brown-600); color: var(--color-white); padding: 6rem 0; }
.history-timeline-section h2, .history-timeline-section h2 > span { color: var(--color-white); }
.timeline-item p { margin-bottom: 0; font-size: 14px; line-height: 1.7; }

.timeline-container-wrapper { position: relative; padding-bottom: 60px; }
.timeline-container { overflow-x: auto; scroll-snap-type: x mandatory; cursor: grab; scrollbar-width: none; }
.timeline-container::-webkit-scrollbar { display: none; }
.timeline { display: flex; width: max-content; gap: var(--space-32); padding: var(--space-32) var(--space-24); }
.timeline-item { background: var(--color-background); color: var(--color-text); padding: var(--space-32); border-radius: var(--radius-md); width: 350px; flex-shrink: 0; box-shadow: 0 10px 30px rgba(0,0,0,0.1); text-align: left; border-top: 4px solid var(--color-primary); scroll-snap-align: start; }
.timeline-item h4 { font-family: var(--font-heading); font-size: 3rem; color: var(--color-primary); margin-bottom: var(--space-20); line-height: 1; }
.timeline-item p { margin-bottom: 0; font-size: 14px; line-height: 1.7; }
.timeline-controls { display: flex; justify-content: center; align-items: center; gap: 1rem; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); }
.timeline-controls .timeline-nav-btn { background-color: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.4); color: rgba(255, 255, 255, 0.8); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; transition: all 0.3s ease; display: flex; justify-content: center; align-items: center; }
.timeline-controls .timeline-nav-btn:hover:not(:disabled) { background-color: rgba(255, 255, 255, 0.2); }
.timeline-controls .timeline-nav-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* ==========================================================================
   COMPONENT: Story Narrative Introduction
   ========================================================================== */

/* Styles for the section wrapper itself */
.story-narrative-section {
    padding: 1rem 0; /* Reduced padding to bring it closer to the hero and history sections */
    background-color: transparent; /* Sits on the main body background */
}

/* The main container for the text block */
.story-narrative {
    text-align: center;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    /*padding: 1rem 0;*/
}

/* Styles for the standard supporting paragraphs */
.story-narrative .story p {
    font-size: 1.1rem;
    line-height: 1.8;
    font-style: italic;
    color: #eccfb0
    color: var(--color-text-secondary);
    max-width: 90%; /* Narrows the line width for better readability */
    margin-left: auto;
    margin-right: auto;
}

/* --- NOTABLE GUESTS --- */
.notable-guests-section { margin-top: 6rem; text-align: center}
.notable-guests-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--space-32); }
.guest-card { text-align: center; color: var(--color-white); transition: transform 0.3s ease; }
.guest-card:hover { transform: translateY(-8px); }
.guest-image { width: 120px; height: 120px; margin: 0 auto var(--space-24); border-radius: var(--radius-full); overflow: hidden; border: 4px solid var(--color-primary); }
.guest-image img { width: 100%; height: 100%; object-fit: cover; }
.guest-info h4 { color: var(--color-white); font-size: 1.5rem; }
.guest-info .guest-title { color: var(--color-white); }
.guest-info .guest-description { color: rgba(255,255,255,0.8); margin: 0; }

/* --- AMENITIES SECTION --- */
.amenities-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: var(--space-32); 
}

.amenity-card { 
    position: relative; 
    min-height: 350px; /* ENHANCEMENT: Taller cards */
    border-radius: var(--radius-md); 
    overflow: hidden; 
    display: flex; 
    align-items: flex-end; 
    padding: var(--space-32); 
    text-align: left; 
    color: var(--color-white); 
    background-size: cover; 
    background-position: center; 
    transition: transform var(--duration-normal) ease; 
}

.amenity-card::before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent 50%); /* ENHANCEMENT: Stronger gradient */
    z-index: 1;
    transition: opacity 0.4s ease;
}

.amenity-card:hover { 
    transform: scale(1.03); 
}
.amenity-card:hover::before {
    opacity: 0.8;
}

.amenity-content { 
    position: relative; 
    z-index: 2; 
    transform: translateY(10px); /* ENHANCEMENT: Animate content up on hover */
    transition: transform 0.4s ease;
}
.amenity-card:hover .amenity-content {
    transform: translateY(0);
}

.amenity-content h4 { 
    font-family: var(--font-heading);
    color: var(--color-white); 
    font-size: 1.75rem;
    margin-bottom: var(--space-10);
}

.amenity-content p { 
    font-family: var(--font-body);
    font-size: 0.95rem; 
    line-height: 1.6; 
    margin-bottom: 0; 
    color: rgba(255,255,255,0.9);
    opacity: 0; /* ENHANCEMENT: Fade in text on hover */
    transition: opacity 0.4s ease;
}
.amenity-card:hover .amenity-content p {
    opacity: 1;
}


/* --- EXPERIENCE LINKS --- */
.experience-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--space-32); }
.experience-card { background: var(--color-surface); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--color-card-border); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.experience-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.experience-image { width: 100%; height: 250px; overflow: hidden; }
.experience-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.experience-card:hover .experience-image img { transform: scale(1.05); }
.experience-content { padding: var(--space-32); }
.experience-content h3 { font-size: 1.75rem; }

/* --- ROOMS & SUITES --- */
.rooms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--space-32); }
.room-card { background: var(--color-surface); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--color-card-border); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.room-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.room-image { width: 100%; height: 250px; overflow: hidden; }
.room-image img { width: 100%; height: 100%; object-fit: cover; }
.room-content { padding: var(--space-32); }
.room-content h4 { font-size: 1.5rem; }
.room-features { list-style: none; padding: 0; margin-top: var(--space-24); }
.room-features li { padding: 4px 0 4px var(--space-24); position: relative; font-size: 0.9rem; color: var(--color-text-secondary); }
.room-features li::before { content: '•'; position: absolute; left: 0; color: var(--color-primary); font-size: 1.2rem; top: 50%; transform: translateY(-50%); }

/* --- FOOD & BEVERAGE --- */
.food-beverage-section { background-color: var(--color-surface); }

/* Main Showcase Title & Philosophy */
.fb-main-showcase {
    background: var(--color-background);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}
.fb-main-showcase h2 { font-size: 2.5rem; text-align: center; }
.fb-main-showcase h3 { font-size: 2rem; text-align: center;}
.fb-main-showcase p { font-size: 2rem; text-align: center; font-style: italic;}
.fb-main-showcase .fb-subtitle { font-size: 1.1rem; color: var(--color-text-secondary); margin-bottom: 2rem; text-align: center; }
.fb-main-showcase .fb-philosophy { margin-bottom: 3rem; }
.fb-main-showcase .fb-philosophy blockquote { border-left: 3px solid var(--color-primary); padding: 1.5rem; font-size: 1.1rem; font-style: italic; background-color: var(--color-surface); border-radius: 0 var(--radius-md) var(--radius-md) 0; }

/* New Two-Card Layout Styles */
.fb-layout-card {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    align-items: center;
    background-color: var(--color-surface);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-card-border);
    margin-top: 2.5rem;
}

.fb-layout-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
    min-height: 450px;
}

.fb-layout-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.fb-layout-content h4 {
    border-bottom: none;
    margin-top: 0;
    text-align: center;
    margin-bottom: 1.5rem;
}
.fb-layout-content .featured-buttons {
    margin-top: auto; /* Pushes buttons to the bottom */
    padding-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Modifier class to switch image position */
.fb-layout-card.image-on-right .fb-layout-image {
    order: 2;
}

.signature-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2rem;
    margin-top: 1rem;
}
.dish-item strong { display: block; font-weight: 600; margin-bottom: 0.25rem; }
.dish-item p { font-size: 0.9rem; line-height: 1.6; color: var(--color-text-secondary); margin: 0; }
.dish-item p {text-align: left; } /* Overrides any centered alignment from parent elements */

/* Other Culinary Destinations 
.fb-other-heading { text-align: center; margin: 6rem 0 3rem 0; font-size: 2rem; }
.fb-other-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; }
.fb-other-card { display: grid; grid-template-columns: 1fr 1.5fr; gap: 1.5rem; align-items: center; background: var(--color-background); border: 1px solid var(--color-card-border); border-radius: var(--radius-md); padding: 1.5rem; transition: transform 0.4s ease, box-shadow 0.4s ease; }
.fb-other-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.fb-other-image img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; border-radius: var(--radius-base); }
.fb-other-content h4 { font-size: 1.75rem; margin-bottom: 1rem; }
.fb-other-content p { color: var(--color-text-secondary); margin-bottom: 1.5rem; line-height: 1.7;font-style: italic; }
.fb-buttons { display: flex; gap: 12px; }
*/
/* --- FOOD & BEVERAGE: OTHER DESTINATIONS FIX --- */
.fb-other-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); /* Widened to allow horizontal layout */
    gap: 2rem; 
}

.fb-other-card { 
    display: grid; 
    grid-template-columns: 200px 1fr; /* Give the image a fixed-width column */
    gap: 1.5rem; 
    align-items: stretch; /* Stretch content to match heights */
    background: var(--color-surface); 
    border: 1px solid var(--color-card-border); 
    border-radius: var(--radius-md); 
    padding: 1.5rem; 
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
}

.fb-other-card:hover { 
    transform: translateY(-8px); 
    box-shadow: var(--shadow-lg); 
}

.fb-other-image {
    width: 200px;
    height: 100%; /* Fill the height of the card */
    min-height: 200px;
    border-radius: var(--radius-base);
    overflow: hidden;
}

.fb-other-image img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; /* Fills the square/rectangle perfectly */
    object-position: center;
    transition: transform 0.5s ease;
}

.fb-other-card:hover .fb-other-image img {
    transform: scale(1.1);
}

.fb-other-content { 
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers text vertically against the image */
    text-align: left;
}

.fb-other-content h4 { 
    font-size: 1.5rem; 
    margin-bottom: 0.5rem; 
    margin-top: 0;
}

.fb-other-content p { 
    font-size: 0.95rem;
    color: var(--color-text-secondary); 
    margin-bottom: 1.2rem; 
    line-height: 1.6;
    font-style: italic; 
}

.fb-other-content .fb-buttons { 
    margin-top: auto; /* Pushes buttons to the bottom */
}

/* Responsive Fix for Mobile */
@media (max-width: 550px) {
    .fb-other-card {
        grid-template-columns: 1fr; /* Stack vertically on small phones */
        text-align: center;
    }
    .fb-other-image {
        width: 100%;
        height: 220px;
    }
    .fb-other-content {
        text-align: center;
    }
    .fb-other-content .fb-buttons {
        justify-content: center;
    }
}

/* --- EVENTS & VENUES --- */
.events-venues-section { background-color: var(--color-background); }
.venues-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; }
.venue-card-revert { background: var(--color-surface); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.3s ease, box-shadow 0.3s ease; border: 1px solid var(--color-card-border); display: flex; flex-direction: column; }
.venue-card-revert:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.venue-card-revert .venue-image { width: 100%; height: 250px; overflow: hidden; }
.venue-card-revert .venue-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.venue-card-revert:hover .venue-image img { transform: scale(1.05); }
.venue-card-revert .venue-content { padding: var(--space-24); flex-grow: 1; display: flex; flex-direction: column; }
.venue-card-revert .venue-content h4 { font-size: 1.5rem; margin-bottom: var(--space-12); }
.venue-card-revert .venue-details { display: flex; gap: var(--space-12); margin-bottom: var(--space-16); flex-wrap: wrap; }
.venue-card-revert .venue-details span { background: rgba(var(--color-brown-600-rgb), 0.08); color: var(--color-text-secondary); padding: 6px 12px; border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 500; }
.venue-card-revert .venue-content p { margin-bottom: 0; line-height: 1.7; flex-grow: 1; }

/* --- TESTIMONIALS --- 
.testimonials-carousel { max-width: var(--container-md); margin: 0 auto; padding-bottom: 2rem; }
.testimonial { text-align: center; }*/

.testimonials-carousel {
    max-width: var(--container-md);
    margin: 0 auto;
    padding-bottom: 2rem; /* ENHANCEMENT: Space for pagination */
}

.testimonial { 
    text-align: center; 
    padding: 0 var(--space-15);
}

.testimonial blockquote { 
    font-size: clamp(1.5rem, 1.5vw, 2rem); /* ENHANCEMENT: Responsive font size */
    font-style: italic; 
    font-family: var(--font-heading); 
    color: var(--color-text); 
    margin-bottom: var(--space-24);
    line-height: 1.4;
}

.testimonial cite { 
    display: block; 
    font-family: var(--font-body);
    font-style: normal; 
    font-weight: 300; 
    color: var(--color-text-secondary); /* ENHANCEMENT: Subtler color for cite */
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.swiper-pagination-bullet {
    transition: all 0.3s ease;
}
.swiper-pagination-bullet-active { 
    background-color: var(--color-primary) !important; 
    transform: scale(1.2);
}

/* ==========================================================================
   6. SECONDARY PAGE STYLES
   ========================================================================== */
/* --- Story Page Specific Styles --- */
.story-page .main-header.solid {
    /* Ensures header has a background on story pages */
    background-color: var(--color-background);
    box-shadow: var(--shadow-sm);
}

.story-article main {
    /* Fixes header overlap issue by adding padding to the top of the main content */
    padding-top: 100px; 
}

.story-header {
    height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    color: var(--color-white);
}

.story-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

.story-header-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.story-header-content h1 {
    color: var(--color-white);
    text-shadow: 0 2px 15px rgba(0,0,0,0.6);
    font-size: clamp(2.5rem, 6vw, 4rem);
}

.story-header-category {
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.story-meta {
    font-family: var(--font-body);
    font-style: italic;
    color: rgba(255,255,255,0.8);
    margin-top: 1rem;
}

.story-body-wrapper {
    padding: 4rem 0;
}

.story-navigation {
    margin-bottom: 3rem;
}

.back-to-journal-link {
    font-weight: 700;
    color: var(--color-text-secondary);
    text-decoration: none;
}
.back-to-journal-link:hover {
    color: var(--color-primary);
}

.story-content .story-intro {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--color-text);
    border-left: 3px solid var(--color-primary);
    padding-left: 2rem;
    margin-bottom: 2.5rem;
}

.story-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.story-content blockquote {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    margin: 3rem auto;
    max-width: 80%;
    line-height: 1.5;
    color: var(--color-primary);
    border: none;
    padding: 0;
    background: none;
}

.story-content hr {
    border: 0;
    height: 1px;
    background: var(--color-border);
    margin: 4rem 0;
}

.story-cta {
    text-align: center;
    background-color: var(--color-surface);
    padding: 3rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-card-border);
}

.story-cta h3 {
    margin-bottom: 1rem;
}

.story-cta p {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    color: var(--color-text-secondary);
}


/* --- Common Hero Styles for All Secondary Pages --- */
.page-hero-section, 
.explore-hero-section,
.experience-hero-section {
    position: relative;
    padding-top: 180px;
    padding-bottom: 100px;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    background-color: var(--color-slate-900); /* Fallback color */
}

/* Dark overlay for text legibility on all hero images */
.page-hero-section::before,
.explore-hero-section::before,
.experience-hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.3));
    z-index: 1;
}

/* Ensure content is above the overlay */
.page-hero-section .container,
.explore-hero-content,
.experience-hero-content {
    position: relative;
    z-index: 2;
}

/* --- Applying Specific Background Images Using Body Classes --- */
.gallery-page .page-hero-section {
    background-image: url('assets/hotel-facade-sketch.jpg');
}
.explore-page .explore-hero-section {
    background-image: url('assets/prayagraj1.jpg');
}
.journal-page .page-hero-section {
    background-image: url('assets/journal.jpg');
}
.experience-page .experience-hero-section {
    background-image: url('assets/experiences-hero.jpg');
}


/* --- Text Styling for Hero Sections --- */
.page-hero-section h1,
.explore-hero-content h1,
.experience-hero-content h1 {
    color: var(--color-white); 
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.page-hero-section p,
.explore-hero-content p,
.experience-hero-content p {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 5px rgba(0,0,0,0.4);
}
.intro-content .story-intro { font-family: var(--font-heading); font-size: 1.3rem; font-style: italic; color: var(--color-text); margin-bottom: 2rem; }
.intro-content .story-intro2 { font-family: var(--font-heading); font-size: 1.0rem; font-style: italic; color: var(--color-text); margin-bottom: 2rem; }

/* Image Overlay Text Legibility Fix --- */

.gallery-overlay h4,
.gallery-overlay p {
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);
}

.gallery-overlay h4 {color: var(--color-white)!important;font-weight: 600;}
.gallery-overlay p {color: rgba(255, 255, 255, 0.9);}

/* ==========================================================================
   7. COMPONENTS (Contact, Footer, Widgets, etc.)
   ========================================================================== */
.contact-section { background-color: var(--color-background); }
.contact-header { text-align: center; margin-bottom: 3rem; }
.contact-header h2 { margin-bottom: 1rem; }
.contact-header p { font-size: 1.1rem; color: var(--color-text-secondary); max-width: 600px; margin-left: auto; margin-right: auto; }
.contact-wrapper-card { background: var(--color-surface); border: 1px solid var(--color-card-border); border-radius: var(--radius-lg); padding: 3rem; box-shadow: var(--shadow-lg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; }
.contact-info { display: flex; flex-direction: column; gap: 2.5rem; border-right: 1px solid var(--color-border); padding-right: 3rem; }
.contact-info-block { display: flex; gap: 1.5rem; align-items: flex-start; }
.contact-info-block i { font-size: 1.5rem; color: var(--color-primary); margin-top: 5px; width: 25px; text-align: center; }
.contact-info-block .info-text h4 { font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: 0.75rem; color: var(--color-text); }
.contact-info-block .info-text p { margin-bottom: 0.5rem; line-height: 1.7; color: var(--color-text-secondary); }
.contact-info-block .info-text p a { color: var(--color-text-secondary); text-decoration: none; transition: color 0.3s ease; }
.contact-info-block .info-text p a:hover { color: var(--color-primary); }
.contact-info-block .whatsapp-link-button { margin-top: 1rem; font-size: 0.9rem; padding: 10px 20px; }
.contact-form { display: flex; flex-direction: column; gap: 1.75rem; }
.contact-form .form-field { position: relative; }
.contact-form label { display: block; font-family: var(--font-body); font-weight: 700; font-size: 0.85rem; color: var(--color-text-secondary); margin-bottom: 0.5rem; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 1rem 0.5rem; border: none; border-bottom: 1px solid var(--color-border); border-radius: 0; font-family: var(--font-body); font-size: 1rem; background: transparent; color: var(--color-text); transition: border-color 0.3s ease, box-shadow 0.3s ease; -webkit-appearance: none; -moz-appearance: none; appearance: none; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--color-text-secondary); opacity: 0.6; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-bottom-color: var(--color-primary); box-shadow: 0 4px 6px -6px rgba(var(--color-teal-500-rgb), 0.5); }
.contact-form .select-wrapper { position: relative; }
.contact-form .select-wrapper::after { content: ''; position: absolute; top: 50%; right: 10px; transform: translateY(-50%); width: 12px; height: 12px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23626c71' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-size: contain; background-repeat: no-repeat; pointer-events: none; }
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form .cta-button.full-width { width: 100%; padding: 1rem; margin-top: 1rem; }
.main-footer { background: var(--color-brown-600); color: var(--color-white); padding: 4rem 0; text-align: center; }
.main-footer .container { display: flex; flex-direction: column; align-items: center; gap: 2.5rem; }
.footer-logo img { height: 80px; width: auto; }
.footer-social a { color: var(--color-white); margin: 0 var(--space-16); font-size: 1.25rem; transition: color 0.25s ease, transform 0.25s ease; display: inline-block; }
.footer-social a:hover { color: var(--color-primary); transform: translateY(-3px); }
.as-seen-in span { font-size: 11px; letter-spacing: 2px; color: rgba(255, 255, 255, 0.5); display: block; margin-bottom: var(--space-10); }
.as-seen-in p { font-family: var(--font-heading); margin: 0; font-size: 1.1rem; font-style: italic; }
.persistent-booking-bar { position: fixed; bottom: 0; left: 0; width: 100%; background-color: var(--color-slate-900); padding: var(--space-16) 0; box-shadow: 0 -5px 20px rgba(0,0,0,0.1); z-index: 999; transform: translateY(100%); transition: transform 0.5s ease; }
.persistent-booking-bar.visible { transform: translateY(0); }
.persistent-booking-bar .container { display: flex; justify-content: center; align-items: center; gap: var(--space-24); }
.persistent-booking-bar p { color: var(--color-white); font-family: var(--font-heading); font-size: 1.2rem; margin: 0; }
.hours-modal { display: none; position: fixed; z-index: 1002; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.6); backdrop-filter: blur(5px); }
.gallery-item { cursor: pointer; }

/* --- COMPONENT: Lightbox (Enhanced with Side Info Panel) --- */
.lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(19, 21, 21, 0.9);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease;
}

.lightbox-content {
    position: relative;
    width: 100%;
    max-width: 80vw;
    max-height: 80vh;
    display: grid;
    grid-template-columns: 2fr 1fr; /* 2 parts image, 1 part text */
    gap: 2rem;
    align-items: center;
    transform: scale(0.95);
    transition: transform 0.4s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-image-container {
    width: 100%;
    height: 100%;
    max-height: 80vh;
}

.lightbox-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.lightbox-info {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    color: var(--color-white);
    height: 100%;
}

.lightbox-info h4 {
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1.3;
    color: var(--color-white) !important; /* Force white color */
    margin-bottom: 1rem;
}

.lightbox-info p {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8) !important; /* Force light grey color */
    margin: 0;
}

.lightbox-close {
    position: absolute;
    top: -1rem;
    right: -1rem;
    color: white;
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    z-index: 10000;
}

.lightbox-close:hover {
    opacity: 1;
}

/* Responsive adjustments for the lightbox on smaller screens */
@media (max-width: 992px) {
    .lightbox-content {
        grid-template-columns: 1fr; /* Stack image and text vertically */
        max-width: 80vw;
        max-height: 90vh;
        gap: 1rem;
        overflow-y: auto;
    }
    .lightbox-image-container {
        max-height: 60vh; /* Limit image height on mobile */
    }
    .lightbox-info {
        padding: 1rem 0;
        text-align: center;
    }
    .lightbox-close {
        top: 0rem;
        right: 0rem;
    }
}
.ambience-accordion .accordion-item { border-bottom: 1px solid var(--color-border); }
.ambience-accordion .accordion-item:first-of-type { border-top: 1px solid var(--color-border); }
.ambience-accordion .accordion-header { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 1rem 0; cursor: pointer; font-family: var(--font-body); font-weight: 600; font-size: 1rem; }
.ambience-accordion .accordion-header::-webkit-details-marker { display: none; }
.accordion-icon { display: inline-block; width: 1.25em; height: 1.25em; border: 1.5px solid var(--color-text-secondary); border-radius: 50%; position: relative; transition: transform 0.3s ease; }
.accordion-icon::before, .accordion-icon::after { content: ''; position: absolute; top: 50%; left: 50%; background-color: var(--color-text-secondary); transition: transform 0.3s ease; }
.accordion-icon::before { width: 50%; height: 1.5px; transform: translate(-50%, -50%); }
.accordion-icon::after { width: 1.5px; height: 50%; transform: translate(-50%, -50%); }
.accordion-item[open] .accordion-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion-item[open] .accordion-icon { transform: rotate(135deg); }
.accordion-content { padding: 0 0 1.5rem 0; font-size: 0.95rem; line-height: 1.7; color: var(--color-text-secondary); }
.accordion-content p { margin: 0; }


/* --- CHAT WIDGET */
.chat-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1001;
}

.chat-bubble { 
    width: 60px; 
    height: 60px; 
    background-color: var(--color-slate-900); 
    color: var(--color-white); 
    border-radius: var(--radius-full); 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    cursor: pointer; 
    box-shadow: var(--shadow-lg); 
    transition: transform 0.25s ease; 
    border: none; 
}
.chat-bubble i { font-size: 1.5rem; }

.chat-bubble:hover { 
    transform: scale(1.1); 
}

.chat-window { 
    position: absolute; 
    bottom: 80px; 
    right: 0; 
    width: 90vw; 
    max-width: 350px; 
    height: 70vh; 
    max-height: 500px; 
    background: var(--color-surface); 
    border-radius: var(--radius-lg); 
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    display: flex; 
    flex-direction: column; 
    overflow: hidden; 
    transform: scale(0.95) translateY(10px); 
    opacity: 0;
    visibility: hidden;
    transform-origin: bottom right; 
    transition: transform 0.25s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.25s ease, visibility 0s 0.25s; 
    border: 1px solid var(--color-border);
}

.chat-window.open { 
    transform: scale(1) translateY(0);
    opacity: 1;
    visibility: visible;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.chat-header { 
    background: var(--color-brown-600); 
    color: var(--color-white); 
    padding: var(--space-16); 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-shrink: 0;
}

.chat-header h3 { 
    font-family: var(--font-heading);
    font-size: 1.1rem; 
    color: var(--color-white); 
    margin: 0; 
}

.chat-close { 
    background: none; 
    border: none; 
    color: var(--color-white); 
    font-size: 1.5rem; 
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}
.chat-close:hover {
    opacity: 1;
}

.chat-body { 
    flex-grow: 1; 
    padding: var(--space-16); 
    overflow-y: auto; 
}

.chat-messages { 
    display: flex; 
    flex-direction: column; 
    gap: var(--space-12); 
}

.chat-messages .message { 
    padding: var(--space-10) var(--space-16); 
    border-radius: 18px; 
    max-width: 85%; 
    line-height: 1.5; 
    word-wrap: break-word; 
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.chat-messages .message.bot { 
    background: rgba(var(--color-brown-600-rgb), 0.1); 
    color: var(--color-text); 
    border-bottom-left-radius: var(--radius-sm); 
    align-self: flex-start; 
}

.chat-messages .message.user { 
    background: var(--color-slate-900); 
    color: var(--color-white); 
    border-bottom-right-radius: var(--radius-sm); 
    align-self: flex-end; 
}

.chat-footer { 
    display: flex; 
    padding: var(--space-12); 
    border-top: 1px solid var(--color-border); 
    flex-shrink: 0;
}

#chatInput {
    flex-grow: 1; 
    border: none; 
    padding: var(--space-10); 
    outline: none; 
    background: transparent; 
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.95rem;
}

#chatSend {
    background: var(--color-primary); 
    color: var(--color-btn-primary-text); 
    border: none; 
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full); 
    cursor: pointer; 
    flex-shrink: 0;
    transition: background-color 0.3s ease;
}
#chatSend:hover {
    background-color: var(--color-primary-hover);
}

.whatsapp-link-button { 
    display: inline-block; 
    background-color: #25D366; 
    color: white; 
    padding: var(--space-12) var(--space-20); 
    border-radius: var(--radius-base); 
    text-decoration: none; 
    font-weight: 500; 
    font-size: 0.9rem;
    font-family: var(--font-body);
    transition: background-color 0.25s ease;
}
.whatsapp-link-button:hover {
    background-color: #128C7E;
}
.whatsapp-link-button i {
    margin-right: var(--space-10);
}

/* ==========================================================================
   8. RESPONSIVE MEDIA QUERIES
   ========================================================================== */

   @media(max-width: 992px) {
    .fb-layout-card {grid-template-columns: 1fr;}
    .fb-layout-card.image-on-right .fb-layout-image {order: -1;} /* On mobile, image should always be on top */
    .signature-showcase-grid { grid-template-columns: 1fr; }
    .ambience-experience-wrapper { grid-template-columns: 2fr; }
    .fb-main-grid, .contact-grid { grid-template-columns: 1fr; }
    .fb-main-image { order: -1; }
    .mobile-nav-toggle { display: block; z-index: 1002; }
    .main-nav { display: none; }
    .main-nav.active { display: flex; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: var(--color-background); flex-direction: column; justify-content: center; align-items: center; }
    .main-nav.active ul { flex-direction: column; gap: var(--space-32); }
    .main-nav.active a { font-size: 1.5rem; color: var(--color-text); text-shadow: none; }
    .contact-info { border-right: none; padding-right: 0; border-bottom: 1px solid var(--color-border); padding-bottom: 2rem; gap: 2rem; }
}
@media (max-width: 768px) {
    .container { padding: 0 var(--space-20); }
    .hero-buttons, .featured-buttons { flex-direction: column; align-items: center; }
    .persistent-booking-bar .container { flex-direction: column; text-align: center; gap: var(--space-12); }
    .rooms-grid, .venues-grid, .amenities-grid, .experience-grid, .fb-other-grid { grid-template-columns: 1fr; }
    .fb-other-card { grid-template-columns: 1fr; text-align: center; }
    .fb-other-card .fb-buttons { justify-content: center; flex-direction: row; }
    .timeline-controls .timeline-nav-btn { width: 35px; height: 35px; font-size: 0.8rem; }
    .contact-wrapper-card { padding: 2rem; }
    .signature-showcase-grid { grid-template-columns: 1fr; }
    .ambience-experience-wrapper { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .container { padding: 0 var(--space-16); }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    .timeline-item { width: 80vw; }
}


/* style.css (Additions for Expert History Page) */

/* ==========================================================================
   9. HISTORY PAGE STYLES (Expert Version)
   ========================================================================== */

/* --- Previous history styles remain the same --- */

/* --- Gallery of Legends (Replaces Distinguished Guests) --- */
.guest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem; /* Increased gap */
    margin-top: 3rem;
}

.guest-card-detailed {
    text-align: center;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    border: 1px solid var(--color-card-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guest-card-detailed:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.guest-card-detailed img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 5px solid var(--color-surface); /* Adjusted for card background */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.guest-card-detailed h4 { font-size: 1.4rem; }
.guest-card-detailed p { 
    color: var(--color-text-secondary); 
    max-width: 300px; 
    margin-left: auto; 
    margin-right: auto;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Anecdotes Section --- */
.anecdotes-section {
    padding: 6rem 0;
}

.anecdotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.anecdote-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border: 1px dashed var(--color-primary); /* Dashed border for a classic feel */
    border-radius: var(--radius-md);
    background-color: rgba(var(--color-brown-600-rgb), 0.03);
}

.anecdote-card i {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.anecdote-card h4 {
    font-size: 1.3rem;
    color: var(--color-text);
}

.anecdote-card p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* --- Other History Page Styles (from previous response) --- */
/* (Ensure the styles for hero, intro, timeline, and stories are also in your CSS file) */
.history-hero-section {padding: 180px 0 120px; background-color: var(--color-slate-900); background-size: cover; background-position: center; text-align: center; color: var(--color-white); position: relative;}
.history-hero-section::before {content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.3));}
.history-hero-content {position: relative; z-index: 2;}
.history-hero-content h1 {color: var(--color-white); text-shadow: 0 2px 15px rgba(0,0,0,0.5);}
.history-hero-content p {font-size: 1.25rem; max-width: 700px; margin: 1rem auto 0; line-height: 1.7; opacity: 0.9;}
.history-intro-section {padding: 6rem 0; text-align: center;}
.history-intro-section .story-intro {font-family: var(--font-heading); font-size: 1.5rem; font-style: italic; line-height: 1.6; color: var(--color-text); margin-bottom: 2rem;}
.history-timeline-full-section {padding: 6rem 0;}
.timeline-wrapper {position: relative; max-width: 900px; margin: 0 auto;}
.timeline-wrapper::after {content: ''; position: absolute; width: 4px; background-color: var(--color-primary); opacity: 0.3; top: 0; bottom: 0; left: 50%; margin-left: -2px;}
.timeline-event {padding: 10px 40px; position: relative; width: 50%;}
.timeline-dot {content: ''; position: absolute; width: 20px; height: 20px; right: -10px; background-color: var(--color-surface); border: 4px solid var(--color-primary); top: 25px; border-radius: 50%; z-index: 1;}
.timeline-event:nth-child(odd) {left: 0; text-align: right;}
.timeline-event:nth-child(even) {left: 50%; text-align: left;}
.timeline-event:nth-child(even) .timeline-dot {left: -10px;}
.timeline-content {padding: 20px 30px; background-color: var(--color-surface); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--color-card-border);}
.timeline-content h3 { font-size: 1.5rem; }
.timeline-content p { margin: 0; }
.history-stories-section {padding: 6rem 0;}
.story-layout {display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-bottom: 4rem;}
.story-layout:last-child {margin-bottom: 0;}
.story-layout.reverse .story-image {order: 2;}
.story-image img {width: 100%; border-radius: var(--radius-md); box-shadow: var(--shadow-lg);}
.story-text h3 {font-size: 2rem; margin-bottom: 1.5rem;}
.story-text p {font-size: 1.1rem; line-height: 1.8; margin-bottom: 2rem;}
.history-cta-section {padding: 6rem 0;}

@media (max-width: 768px) {
    .timeline-wrapper::after {left: 15px;}
    .timeline-event {width: 100%; padding-left: 50px; padding-right: 15px;}
    .timeline-event:nth-child(odd), .timeline-event:nth-child(even) {left: 0; text-align: left;}
    .timeline-dot, .timeline-event:nth-child(even) .timeline-dot {left: 5px;}
    .story-layout, .story-layout.reverse {grid-template-columns: 1fr;}
    .story-layout.reverse .story-image {order: 1;}
}


/* --- Gallery of Legends - Refined for More Guests --- */
.guest-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* Adjusted for 4-across on wider screens */
}

.guest-card-detailed {
    display: flex;
    flex-direction: column;
}

.guest-card-detailed p {
    flex-grow: 1; /* Ensures cards in the same row have the same height */
}

/* --- NEW: Share Your Chapter Section --- */
#share-story-section {
    padding: 6rem 0;
    background-color: var(--color-surface);
    text-align: center;
}
.share-story-content {
    max-width: 700px;
    margin: 0 auto;
}
.share-story-content > i {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}
.share-story-content h2 {
    margin-bottom: 1rem;
}
.share-story-content > p {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 3rem;
}

.story-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}
.story-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.story-form input,
.story-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-base);
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--color-background);
}
.story-form input:focus,
.story-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(var(--color-teal-500-rgb), 0.2);
}

/* Custom File Upload Button */
.file-input {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}
.file-label {
    display: block;
    padding: 1rem;
    border: 1px dashed var(--color-text-secondary);
    border-radius: var(--radius-base);
    cursor: pointer;
    text-align: center;
    color: var(--color-text-secondary);
    transition: all 0.3s ease;
}
.file-label:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background-color: rgba(var(--color-teal-500-rgb), 0.05);
}
.file-label i {
    margin-right: 0.5rem;
}

.story-form .cta-button {
    width: 100%;
}
.form-disclaimer {
    font-size: 0.8rem;
    text-align: center;
    color: var(--color-text-secondary);
    opacity: 0.8;
}

@media (max-width: 600px) {
    .story-form .form-row {
        grid-template-columns: 1fr;
    }
}


/* --- NEW: Whispers from the Walls Section --- */
#whispers-section {
    padding: 6rem 0;
}
#whispers-section h2 {
    margin-bottom: 3rem;
}
.whispers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}
.whisper-card {
    background: var(--color-surface);
    padding: 2.5rem;
    border-radius: var(--radius-base);
    border-left: 4px solid var(--color-primary);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whisper-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.whisper-card i {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    display: block;
}
.whisper-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}
.whisper-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin: 0;
}
/* Font Awesome music icon fix if needed */
.fa-music { /* A better generic icon for Ravi Shankar */
    }


/* --- Hero Section - Video & Image Support --- */
.history-hero-section {
    position: relative;
    padding: 180px 0 120px;
    background-color: var(--color-slate-900);
    /* For Image Background (default) */
    background-image: url('assets/history-hero-image.jpg'); /* CHANGE THIS IMAGE */
    background-size: cover;
    background-position: center;
    text-align: center;
    color: var(--color-white);
    overflow: hidden;
}

.history-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.history-hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
    z-index: 1; /* Sits above video/image */
}

.history-hero-content {
    position: relative;
    z-index: 2; /* Sits above overlay */
}

/* --- NEW: Narrative Story Section --- */
.history-narrative-section {
    padding: 6rem 0;
    background-color: var(--color-surface);
}
.story-content-full .story-intro {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--color-text);
    border-left: 3px solid var(--color-primary);
    padding-left: 2rem;
    margin-bottom: 2.5rem;
}
.story-content-full p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--color-text-secondary);
}
.story-content-full p:last-child {
    margin-bottom: 0;
}
.story-content-full blockquote {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    text-align: center;
    margin: 3rem auto;
    max-width: 85%;
    line-height: 1.5;
    color: var(--color-text);
    border: none;
    padding: 0;
    background: none;
    font-style: italic;
}

/* ==========================================================================
   10. VISUAL ENHANCEMENTS & "LIFE" (Expert Implementation)
   ========================================================================== */

/* --- 1. Global Ambiance & Body Texture --- */
body.history-page {
    background-color: #fdfcf9; /* A slightly warmer, aged paper base */
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWYmJitbW1oaGhpaWp7e3uAgIDV1dXb29vBwcGtra2np6eHh4d/f3/FxcXExMS3t7dMAwKOAAAAB3RSTlMAAAAAAPsAl+cKwI4AAAAJcEhZcwAALiMAAC4jAXilP3YAAABqSURBVEiL7dI5AkAgDAVRMcosmy5d3/vP7JMONJqYAiMZCMi8jDRVl4B85Jj1Gg2gD8P6GjAXD+h4vOFwAZg/wP6GGB5gLA5A1/dMjILH39745YAnjuAOe+TiH0BKyAEKgIZZdYK8wQoGHcJrvoH2l4l10oBCBMAAAAASUVORK5CYII=');
}

/* --- 2. Narrative Story Section Enhancement --- */
.history-narrative-section {
    background-color: transparent;
    padding: 4rem 0 6rem 0;
}

.story-content-full {
    background-color: rgba(255, 255, 255, 0.6); /* Slightly transparent to hint at the texture below */
    padding: 3rem 4rem;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 4px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.05);
}

/* The Decorative Drop Cap */
.story-content-full p.story-intro::first-letter {
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    font-weight: 600;
    color: var(--color-primary);
    float: left;
    line-height: 0.8;
    margin-right: 1rem;
    margin-top: 0.5rem;
}

/* The Evocative Blockquote */
.story-content-full blockquote {
    position: relative;
    padding-left: 3rem;
    border: none;
    font-size: 1.5rem;
}
.story-content-full blockquote::before {
    content: '“';
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    color: var(--color-primary);
    opacity: 0.2;
    position: absolute;
    left: -0.5rem;
    top: -1.5rem;
    line-height: 1;
}

/* --- 3. Timeline Visual Upgrade --- */
.history-timeline-full-section {
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.02), rgba(0,0,0,0.04));
}
.timeline-wrapper::after {
    background: linear-gradient(to bottom, transparent, var(--color-primary), transparent);
}
.timeline-dot {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.timeline-event:hover .timeline-dot {
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(var(--color-teal-500-rgb), 0.5);
}
.timeline-content {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.timeline-event:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* --- 4. "Gallery of Legends" - Living History Effect --- */
.guest-card-detailed img {
    filter: grayscale(100%);
    transition: filter 0.5s ease, transform 0.5s ease;
}
.guest-card-detailed:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}
.guest-card-detailed h4 {
    transition: color 0.3s ease;
}
.guest-card-detailed:hover h4 {
    color: var(--color-primary);
}

/* --- 5. "Whispers from the Walls" - Ethereal Feel --- */
#whispers-section {
    padding: 6rem 0;
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.04), rgba(0,0,0,0.02));
}

.whispers-grid {
    /* Staggered Masonry-like effect with pure CSS */
    column-count: 2;
    column-gap: 2rem;
}

.whisper-card {
    display: inline-block;
    width: 100%;
    margin-bottom: 2rem;
    break-inside: avoid; /* Prevents cards from breaking across columns */
}
@media (max-width: 992px) {
    .whispers-grid {
        column-count: 2;
    }
}
@media (max-width: 768px) {
    .whispers-grid {
        column-count: 1;
    }
}


/* --- 6. "Share Your Chapter" - An Elegant Invitation --- */
#share-story-section {
    padding: 6rem 0;
    position: relative;
    background-color: transparent;
}
#share-story-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0,0,0,0.15), transparent);
}

.share-story-content {
    border: 1px solid rgba(0,0,0,0.1);
    padding: 4rem;
    border-radius: var(--radius-base);
    background: var(--color-surface);
}

.share-story-content h2 {
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

/* ==========================================================================
   11. CLICKABLE GOOGLE MAP ENHANCEMENT
   ========================================================================== */

.map-container {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 2.5rem;
    border: 1px solid var(--color-card-border);
    box-shadow: var(--shadow-sm);
}

.map-container a {
    display: block;
    position: relative;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 250px;
    border: none;
    /* This is the magic trick: it makes the iframe non-interactive,
       so clicks "pass through" to the parent <a> link. */
    pointer-events: none;
}

/* --- Interactive Overlay to Signal Clickability --- */
.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(19, 52, 59, 0.7); /* Dark overlay, matches brand color */
    color: var(--color-white);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1; /* Sits above the iframe */
}

.map-container:hover .map-overlay {
    opacity: 1;
}

.map-overlay-content {
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.4s ease;
}

.map-container:hover .map-overlay-content {
    transform: scale(1);
}

.map-overlay-content i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.map-overlay-content span {
    display: block;
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.hero--experiences { background-image: url('assets/experiences-hero.jpg'); }
.hero--explore { background-image: url('assets/prayagraj1.jpg'); }
