/* --- Root Variables and Reset (FINAL) --- */
:root {
    --color-saffron: #FF9933; 
    --color-indigo: #1E2749;  
    --color-ash: #ADB5BD;     
    --color-light-ash: #0099ff; /* site background changed to a light blue */
    
    /* Typography Scale */
    --font-serif: "Merriweather", serif;
    --font-sans: "Poppins", sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
}

* {
    box-sizing: border-box; 
}

body {
        font-family: var(--font-sans);
        font-size: 14px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--color-light-ash);
    padding-top: 70px; 
    overflow-x: hidden;
    color: #333;
}

.v1_333 {
    width: 100%;
    height: 1235px;
    background: rgba(255,255,255,1);
    opacity: 1;
    position: absolute;
    top: 0px;
    left: 0px;
    overflow: hidden;
}
.v1_334 {
    width: 100%;
    height: 46px;
    background: rgba(0,0,0,0);
    opacity: 1;
    position: absolute;
    top: 84px;
    left: 0px;
    overflow: hidden;
}
.v1_335 {
    width: 100%;
    color: rgba(30,39,73,1);
    position: absolute;
    top: 0px;
    left: 0px;
    font-family: Merriweather;
    font-weight: Bold;
    font-size: 38px;
    opacity: 1;
    text-align: center;
}
.v1_336 {
    width: 100%;
    height: 484px;
    background: rgba(0,0,0,0);
    opacity: 1;
    position: absolute;
    top: 171px;
    left: 112px;
    overflow: hidden;
}
.v1_337 {
    width: 600px;
    height: 484px;
    background: rgba(129,190,255,1);
    opacity: 1;
    position: absolute;
    top: 0px;
    left: 0px;
    border-top-left-radius: 36px;
    border-top-right-radius: 36px;
    border-bottom-left-radius: 36px;
    border-bottom-right-radius: 36px;
    overflow: hidden;
}
.v1_339 {

/* Mirror layout for second card: swap left/right panels */
.v1_336.v1_mirror .v1_337 {
    left: auto;
    right: 0;
}
.v1_336.v1_mirror .v1_338 {
    left: 0;
    right: auto;
}
.v1_336.v1_mirror .v1_338 {
    /* swap corner radiuses so the curved edge faces inward on the other side */
    border-top-left-radius: 10px;
    border-top-right-radius: 100px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 100px;
}
    width: 322px;
    height: 384px;
    background: rgba(0,0,0,0);
    opacity: 1;
    position: absolute;
    top: 50px;
    left: 50px;
    overflow: hidden;
}
.v1_340 {
    width: 322px;
    height: 69px;
    background: rgba(0,0,0,0);
    opacity: 1;
    position: absolute;
    top: 24px;
    left: 0px;
    overflow: hidden;
}
.v1_341 {
    width: 322px;
    color: rgba(30,39,73,1);
    position: absolute;
    top: 0px;
    left: 0px;
    font-family: Merriweather;
    font-weight: Bold;
    font-size: 28px;
    opacity: 1;
    text-align: left;
}
.v1_342 {
    width: 322px;
    height: 201px;
    background: rgba(0,0,0,0);
    opacity: 1;
    position: absolute;
    top: 117px;
    left: 0px;
    overflow: hidden;
}
.v1_343 {
    width: 322px;
    color: rgba(51,51,51,1);
    position: absolute;
    top: 0px;
    left: 0px;
    font-family: Poppins;
    font-weight: Regular;
    font-size: 16px;
    opacity: 1;
    text-align: left;
}
.v1_344 {
    width: 160px;
    height: 49px;
    background: rgba(255,153,51,1);
    opacity: 1;
    position: absolute;
    top: 334px;
    left: 0px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    overflow: hidden;
}
.v1_345 {
    width: 112px;
    color: rgba(255,255,255,1);
    position: absolute;
    top: 12px;
    left: 24px;
    font-family: Inter;
    font-weight: Semi Bold;
    font-size: 16px;
    opacity: 1;
    text-align: center;
}
.v1_338 {
    width: 738px;
    height: 486px;
    background: rgba(230,230,230,1);
    opacity: 1;
    position: absolute;
    top: 3px;
    left: 449px;
    border: 0px solid rgba(51,51,51,1);
    border-top-left-radius: 100px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 200px;
    border-bottom-right-radius: 10px;
    overflow: hidden;
}
.name {
    color: #fff;
}

/* --- TYPOGRAPHY SCALE --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
    margin: var(--spacing-md) 0;
    color: var(--color-indigo);
}

h1 { font-size: 3.2rem; letter-spacing: -0.02em; }
h2 { font-size: 2.4rem; letter-spacing: -0.01em; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin: var(--spacing-sm) 0;
    line-height: 1.8;
}

/* --- BUTTON & LINK STYLES --- */
.cta-button, button, a.cta-button {
    font-family: var(--font-sans);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    background-color: var(--color-saffron);
    color: white;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(255, 153, 51, 0.2);
}

.cta-button:hover, 
.cta-button:focus,
button:hover,
button:focus,
a.cta-button:hover,
a.cta-button:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 153, 51, 0.35);
    outline: 2px solid var(--color-saffron);
    outline-offset: 2px;
}

.cta-button:active,
button:active {
    transform: translateY(0);
}

/* Focus visible for accessibility */
.cta-button:focus-visible,
button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--color-indigo);
    outline-offset: 2px;
}

/* Old card-details-reveal system removed - using expanded-panel instead */

/* --- EXPANDING PANEL (Modal Overlay System) --- */

.expanded-panel {
    /* Hidden by default - positioned fixed for modal behavior */
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.96);
    width: min(980px, 92vw);
    max-height: 86vh;
    background: var(--color-indigo);
    color: white;
    border-radius: 12px;
    /* No internal scroll area in the panel */
    overflow: hidden;
    padding: 20px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.45);
    
    /* Hidden state */
    opacity: 0;
    pointer-events: none;
    z-index: 3000;
    
    transition: opacity 260ms ease, transform 260ms ease;
}

.expanded-panel.open {
    /* Visible state */
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

/* Ensure all content inside is interactive */
.expanded-panel.open * {
    pointer-events: auto;
}

/* When a card wrapper becomes active, just mark it */
.accommodation-card-wrapper.active {
    z-index: 1;
}

/* IMPORTANT: raise the wrapper stacking context above the backdrop when open,
   otherwise clicks inside the panel can land on the backdrop and close it. */
.accommodation-card-wrapper.opening {
    z-index: 3001;
}

/* Modal backdrop (click outside to close) */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: transparent;
    opacity: 0;
    transition: opacity 200ms ease;
    z-index: 2500;
}

.modal-backdrop.visible {
    opacity: 1;
}

/* Hide card when expanded */
.accommodation-card.hide {
    opacity: 0.3;
    pointer-events: none;
}

/* Expanded Content - visible immediately when panel opens */
.expanded-content {
    opacity: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Header row inside expanded panel (holds the close button) */
.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
}

.panel-title {
    margin: 0;
    color: #fff;
    font-size: 1.4rem;
    line-height: 1.2;
}

/* Normalize typography spacing inside expanded panels */
.expanded-content h3 {
    margin: 0;
    color: #fff;
}

.expanded-content h4 {
    color: #fff;
}

.expanded-content p {
    margin: 0;
}

/* Room specifications list */
.room-specs {
    list-style: none;
    padding: 0;
    margin: 0;
    color: white;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.room-specs li {
    padding: 8px 12px;
    border-bottom: none;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.room-specs li:last-child {
    border-bottom: none;
}

.room-specs strong {
    color: var(--color-saffron);
}

/* Gallery inside expanded view */
.expanded-gallery {
    display: block;
    margin: 0 0 18px;
}
.expanded-gallery img {
    width: calc(33.333% - 7px);
    min-width: 150px;
    border-radius: 8px;
    height: 150px;
    object-fit: cover;
    transition: transform 0.2s ease;
}

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

/* Hero-style gallery inside expanded panels */
.panel-gallery {
    margin: 0 0 18px;
    /* Neat left/right padding for the main image section */
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.panel-image-panel {
    width: 100%;
    /* Responsive height so it looks good on both mobile + desktop */
    height: clamp(180px, 24vw, 300px);
    border-radius: 12px 12px 10px 10px;
    background-size: cover;
    background-position: center;
}

.panel-image-desc {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
}

.panel-thumbs {
    margin: 0;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox: hide bar */
}

.panel-thumbs::-webkit-scrollbar {
    display: none; /* WebKit: hide bar */
}

.panel-thumb {
    width: 84px;
    height: 58px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background-size: cover;
    background-position: center;
    background-color: rgba(255, 255, 255, 0.08);
    flex: 0 0 auto;
    cursor: pointer;
    opacity: 0.7;
    box-shadow: 0 6px 16px rgba(0,0,0,0.28);
    transition: opacity var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.panel-thumb:hover,
.panel-thumb:focus {
    opacity: 1;
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

.panel-thumb.active {
    opacity: 1;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.35);
}

/* Close Button */
.close-expanded {
    position: static;
    font-size: 22px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    cursor: pointer;
    transition: box-shadow var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
    padding: 8px 12px;
    border-radius: 4px;
    z-index: 3100;
    pointer-events: auto;
}

.close-expanded:hover, .close-expanded:focus {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.2);
    outline: 2px solid white;
    outline-offset: 2px;
    box-shadow: none;
}

.close-expanded:active {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

/* Book Now Button */
.book-btn {
    display: inline-block;
    width: auto;
    margin-top: 0;
    background: var(--color-saffron);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-base);
    box-shadow: 0 6px 18px rgba(255, 153, 51, 0.3);
    z-index: 3100;
    pointer-events: auto;
    position: relative;
}

.book-btn:hover, .book-btn:focus {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 28px rgba(255, 153, 51, 0.5);
    outline: 2px solid white;
    outline-offset: 2px;
}

.book-btn:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 6px 18px rgba(255, 153, 51, 0.3);
}

/* When opening, allow the wrapper to show the absolute panel outside clipping */
.accommodation-card-wrapper.opening {
    overflow: visible;
    z-index: 3001;
}

/* Responsive adjustments for gallery */
@media (max-width: 700px) {
    .expanded-gallery img { width: 48%; }
    .expanded-panel.open { padding: 16px; }

    .panel-gallery { padding: 0 6px; }
    .panel-image-panel { height: 220px; }
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.nav-list a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color var(--transition-base), border-bottom var(--transition-base);
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
}

.nav-list a:hover, .nav-list a:focus {
    color: var(--color-indigo);
    border-bottom-color: var(--color-saffron);
    outline: none;
}

.menu-toggle {
    display: none; /* hidden by default; shown only on small screens via media query */
    font-size: 1.8em;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-saffron);
    font-weight: bold;
    line-height: 1;
    z-index: 1120;
    position: relative;
}

/* Keep main nav visible by default on wide screens */
.main-nav {
    display: block;
}

/* --- CAROUSEL STYLES (REPLACING HERO SECTION) --- */
/* --- HERO SECTION (full-bleed, overlay + CTA) --- */
.hero {
    position: relative;
    height: 60vh;
    background: var(--color-light-ash);
    display: flex;
    align-items: center;
    padding: 2.5rem 5%; /* add vertical spacing so panels don't touch edges */
    padding-top: 100px; /* extra top padding to clear the navbar */
    margin-top: 0; /* remove negative margin that was causing overlap */
    color: #fff;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* vertically center content */
    width: 50%;
}
.hero {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: center; /* ensure children are vertically centered */
}

.hero-image-wrap {
    width: 45%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
}

.hero-image-panel {
    width: 100%;
    height: 85%;
    min-height: 320px;
    margin: 0; /* ensure centering is handled by flex container */
    align-self: center;
    max-height: calc(100% - 40px); /* keep 20px space top/bottom */
    background-size: contain; /* show image at original aspect/size */
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    z-index: 2;
}

/* Description text under the hero image */
.hero-image-desc {
    width: 100%;
    max-width: 100%;
    padding: 10px 12px;
    color: #fff;
    font-size: 0.95rem;
    text-align: center;
    background: rgba(0,0,0,0.18);
    border-radius: 8px;
    align-self: center;
    margin-top: 8px;
}
.hero-title {
    color: rgb(221, 77, 11);
    font-size: 3.6rem;
    margin: 0 0 10px 0;
    line-height: 1.05;
    text-shadow: 0 6px 18px rgba(255, 0, 0, 0.45);
}
.hero-sub {
    margin: 0 0 18px 0;
    font-size: 1.05rem;
    max-width: 48ch;
}
.hero-cta {
    --cta-bg: var(--color-saffron);
    background: var(--cta-bg);
    color: #111;
    padding: 8px 14px; /* reduced size */
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-block;
    box-shadow: 0 8px 22px rgba(0,0,0,0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.hero-cta:hover, .hero-cta:focus {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

/* Hero thumbnail row (small faded images under the right image panel) */
.hero-thumbs {
    width: 100%;
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 14px;
    z-index: 3;
    padding-bottom: 2px;
    overflow-x: auto;
    overflow-y: hidden; /* prevent vertical scrolling when JS scrolls horizontally */
}
.hero-thumbs::-webkit-scrollbar { display: none; }
.hero-thumb {
    width: 64px;
    height: 44px;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    opacity: 0.55; /* faded look */
    border: 2px solid rgba(255,255,255,0.08);
    transition: opacity 150ms ease, transform 150ms ease;
    flex: 0 0 auto;
}
.hero-thumb:hover, .hero-thumb:focus {
    opacity: 1;
    transform: translateY(-4px);
}

/* active thumbnail state + panel fade transition */
.hero-thumb.active {
    opacity: 1;
    transform: translateY(-6px) scale(1.06);
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
    border-color: rgba(255,255,255,0.18);
}

.hero-image-panel {
    transition: opacity 420ms ease, background-image 200ms ease;
}

@media (max-width: 900px) {
    .hero { height: auto; margin-top: 0; padding: 1.5rem 5%; }
    .hero-title { font-size: 1.6rem; }
    .hero-sub { font-size: 0.95rem; }
    .hero-content { padding: 18px 6px; }

    /* stack and center on mobile */
    .hero { flex-direction: column; align-items: center; text-align: center; }
    .hero-content { width: 100%; max-width: 680px; text-align: center; }
    .hero-image-wrap { width: 100%; }
    .hero-image-panel { width: 100%; height: auto; min-height: 320px; max-height: 80vh; margin-top: 12px; border-radius: 12px; background-size: cover; }
    .hero-thumbs { justify-content: center; }
}

.carousel-container {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
    /* Move content up behind fixed header */
    margin-top: -70px;
}

.carousel-track {
    display: flex;
    height: 100%;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0 5%;
    align-items: center;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}
.carousel-track {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* ----- Slide Base ----- */
.slide {
    min-width: 90%; /* Slides take up most of the screen */
    height: 80%;
    background: white;
    border-radius: 30px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    scroll-snap-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    margin: 0 20px;
    overflow: hidden;
}

/* Alternating layout */
.slide.odd { flex-direction: row; }
.slide.even { flex-direction: row-reverse; }

/* ----- Slide Content Layout ----- */
.img-section {
    flex: 1;
    height: 100%;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.2); 
}

.desc-section {
    flex: 1;
    padding: 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}
.desc-section h2 {
    font-size: 24px;
    color: var(--color-indigo);
    margin-bottom: 10px;

/* --- Hero carousel adjustments: make hero-carousel fill hero and images cover --- */
.hero {
    height: 75vh; /* increase hero height */
    min-height: 520px;
}
.hero-content {
    position: relative;
    z-index: 3; /* keep content above carousel */
}
.carousel-container.hero-carousel {
    position: absolute;
    inset: 0; /* fill the hero area */
    height: 100%;
    margin-top: 0;
    z-index: 0;
    overflow: hidden;
}
.carousel-container.hero-carousel .carousel-track {
    padding: 0;
    align-items: stretch;
}
.carousel-container.hero-carousel .slide {
    min-width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    display: block;
    scroll-snap-align: start;
}
.carousel-container.hero-carousel .img-section {
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 0;
    box-shadow: none;
}
.carousel-container.hero-carousel .dots { display: none; }

@media (max-width: 900px) {
    .hero { height: 55vh; min-height: 360px; }
    .hero-content { max-width: 90%; }
    .carousel-container.hero-carousel .slide { min-width: 100%; }
}
}
.desc-section p {
    color: #444;
}

/* --- Slideshow Dots (positioned relative to the Carousel Container) --- */
.dots {
    position: absolute;
    bottom: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 50;
}

.dots span {
    width: 12px;
    height: 12px;
    background: var(--color-ash);
    border-radius: 50%;
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
}

.dots span:hover {
    background: var(--color-indigo);
    transform: scale(1.3);
}

.dots span.active {
    background: var(--color-indigo);
    transform: scale(1.4);
    box-shadow: 0 0 12px rgba(30, 39, 73, 0.4);
}


/* --- 3. Accommodation Section Styling --- */
.accommodation-section {
    padding: 60px 5%;
    background-color: var(--color-light-ash);
    text-align: center;
}

.section-description {
    max-width: 800px;
    margin: 15px auto 40px auto;
    color: #555;
    font-size: 1.1em;
}

.accommodation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Ensure grid items stretch to equal height so cards match sizes */
.accommodation-grid {
    align-items: stretch;
    align-content: start;
}

/* Wrapper for interaction */
.accommodation-card-wrapper {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
    display: flex; /* allow child .accommodation-card to stretch */
    align-items: stretch;
}
.accommodation-card-wrapper:active {
    box-shadow: 0 0 0 3px var(--color-saffron); 
}

.accommodation-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: left;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    cursor: pointer;
    display: flex; /* layout card vertically so image + content align */
    flex-direction: column;
    width: 100%;
    height: 100%; /* fill the wrapper so all cards have equal height */
}

.accommodation-card-wrapper:not(.active) .accommodation-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.card-image {
    height: 180px;
    background-color: #ccc;
    background-size: cover;
    background-position: center;
}

.card-content { 
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* keep call-to-action at bottom */
    flex: 1; /* allow content to grow so cards equalize height */
}

.distance-info {
    font-weight: bold;
    color: var(--color-indigo);
    margin: 10px 0;
    padding: 5px 0;
    border-top: 1px solid var(--color-ash);
}

.card-cta {
    display: block;
    text-align: center;
    margin-top: 15px;
}

/* --- CARD DETAILS REVEAL - Handled by expanded-panel system --- */

/* Reveal content layout */
.card-details-reveal .reveal-content {
    display: flex;
    gap: 16px;
    width: 100%;
    align-items: stretch;
}
.card-details-reveal .reveal-gallery {
    position: relative;
    width: 55%;
    min-height: 180px;
    border-radius: 8px;
    overflow: hidden;
    background: #222;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.38s ease, transform 0.38s ease;
}
.card-details-reveal.active .reveal-gallery {
    opacity: 1;
    transform: translateY(0);
}
.card-details-reveal .reveal-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: none;
}
.card-details-reveal .reveal-slide.active { display: block; }
.reveal-prev, .reveal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.reveal-prev { left: 10px; }
.reveal-next { right: 10px; }

.card-details-reveal .reveal-info {
    width: 45%;
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.card-details-reveal .reveal-info p { color: #fff; margin-bottom: 12px; }
.book-now {
    display: inline-block;
    padding: 10px 16px;
    background: #1e90ff; /* blue */
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
}
.book-now:hover { background: #0f78e6; }

/* Make reveal stack vertically on small cards/mobile */
.card-details-reveal .reveal-content { align-items: stretch; }
.card-details-reveal .reveal-gallery, .card-details-reveal .reveal-info { min-height: 160px; }

/* Card wrapper handles click target */
.accommodation-card-wrapper {
    position: relative;
    transition: all 0.4s ease;
}

/* Base card */
.accommodation-card {
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
    z-index: 1;
}

/* Hover overlay on the image to provide a simple quick-reveal */
.card-image {
    position: relative;
    transition: transform var(--transition-base);
}
.card-image::after {
    content: "View details";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) translateY(8px);
    background: rgba(0,0,0,0.55);
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base), transform var(--transition-base);
}
.accommodation-card-wrapper:not(.active) .accommodation-card:hover .card-image::after {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
}

/* Close button handled by .close-expanded below */


/* --- 4. Alternating Feature Section (Asymmetrical Layout) --- */
.feature-section-container {
    padding: 60px 0; 
    background-color: #fff;
    text-align: center;
}
.feature-section-container h2 {
    margin-bottom: 40px;
}

/* Container for horizontal layout */
.features-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex: 1 1 calc(50% - 15px);
    min-width: 500px;
    margin: 0;
    position: relative;
    overflow: hidden; 
}

/* Styling for the skew */
.feature-item .description-box {
    padding: 50px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--color-light-ash);
    position: relative;
    z-index: 10;
}
/* When a description has an inline image, lay out image + text side-by-side */
.feature-item .description-box.has-img {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    /* default: image at start; specific layouts override below */
}
/* place thumbnail on the opposite inner side for standard/reversed layouts */
.feature-item.layout-standard .description-box.has-img { flex-direction: row-reverse; }
.feature-item.layout-reversed .description-box.has-img { flex-direction: row; }

.feature-desc-img {
    width: 160px;
    height: 110px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
    transform: translateY(-8px);
    transition: transform 200ms ease, box-shadow 200ms ease;
}
.feature-desc-img:hover, .feature-desc-img:focus {
    transform: translateY(-12px);
    box-shadow: 0 26px 60px rgba(0,0,0,0.18);
}
.feature-desc-img + .desc-text { display: block; }

@media (max-width: 900px) {
    .feature-item .description-box.has-img { flex-direction: column; }
    .feature-desc-img { width: 100%; height: auto; transform: translateY(0); box-shadow: 0 8px 22px rgba(0,0,0,0.08); }
}
.feature-item .image-box {
    background-size: cover;
    background-position: center;
    min-height: 350px;
    position: relative;
    z-index: 5;
}

/* --- STANDARD LAYOUT (Description Left / Image Right) --- */
.layout-standard .image-box:before {
    content: '';
    position: absolute;
    top: 0;
    left: -10%; 
    width: 20%;
    height: 100%;
    background-color: var(--color-light-ash);
    transform: skewX(-5deg); 
    transform-origin: top left;
}


/* --- REVERSED LAYOUT (Image Left / Description Right) --- */
.layout-reversed {
    grid-template-areas: "image description";
}
.layout-reversed .image-box {
    grid-area: image;
}
.layout-reversed .description-box {
    grid-area: description;
}
.layout-reversed .image-box:before {
    content: '';
    position: absolute;
    top: 0;
    right: -10%; 
    width: 20%;
    height: 100%;
    background-color: var(--color-light-ash);
    transform: skewX(5deg); 
    transform-origin: top right;
}


/* --- 5. Testimonial Section Styling --- */
.testimonial-section {
    padding: 60px 5%;
    background-color: white;
    text-align: center;
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch; 
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-slider::-webkit-scrollbar { display: none; }
.testimonial-slider { -ms-overflow-style: none; scrollbar-width: none; }

.testimonial-card {
    flex: 0 0 350px; 
    padding: 30px;
    border-radius: 10px;
    background-color: #fcfcfc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-ash);
    text-align: left;
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--color-saffron);
}

.testimonial-card .rating {
    font-size: 1.2em;
    color: gold;
    display: block;
    margin-bottom: 10px;
}

.testimonial-card .author {
    margin-top: 15px;
    font-weight: bold;
    color: var(--color-indigo);
}

/* --- 6. Map Section Styling --- */
.map-section {
    padding: 60px 5%;
    background-color: var(--color-light-ash);
    text-align: center;
}

.map-placeholder {
    width: 100%;
    max-width: 1000px;
    height: 450px;
    margin: 20px auto;
    background-color: #ccc; 
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    color: #555;
    border: 5px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-key-distance {
    background-color: #fff;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    border: 1px solid var(--color-saffron);
    color: var(--color-indigo);
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 15px;
}

/* --- 7. Enquiry Section Styling --- */
.enquiry-section {
    padding: 60px 5%;
    background-color: #ffffff;
}

.enquiry-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.form-column h3, .contact-column h3 {
    color: var(--color-indigo);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-ash);
}

.enquiry-form input, 
.enquiry-form select,
.enquiry-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-fast);
}

.enquiry-form input:focus, 
.enquiry-form select:focus,
.enquiry-form textarea:focus {
    outline: none;
    border-color: var(--color-saffron);
    box-shadow: 0 0 0 3px rgba(255, 153, 51, 0.1);
    transform: scale(1.01);
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all var(--transition-base);
    font-weight: 500;
}

.contact-link .icon {
    font-size: 1.4rem;
}

.whatsapp-link {
    background-color: #f0f0f0;
    color: #25d366;
    border-color: #25d366;
}

.whatsapp-link:hover, .whatsapp-link:focus {
    background-color: #25d366;
    color: white;
    transform: translateX(6px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
}

.mail-link {
    background-color: #f0f0f0;
    color: #1E2749;
    border-color: #1E2749;
}

.mail-link:hover, .mail-link:focus {
    background-color: var(--color-indigo);
    color: white;
    transform: translateX(6px);
    box-shadow: 0 6px 18px rgba(30, 39, 73, 0.3);
}

/* --- Footer Styling --- */
footer {
    background-color: var(--color-indigo);
    color: white;
    text-align: center;
    padding: 20px;
}

/* --- Floating Quick Contact Styling --- */
.qc-whatsapp-fixed {
    position: fixed;
    bottom: 30px; 
    right: 30px; 
    z-index: 9999; 
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25d366; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); 
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.whatsapp-logo-img {
    width: 35px;
    height: 35px;
    transform: rotate(15deg); 
}

/* =================================================== */
/* --- RESPONSIVENESS (Mobile View) --- */
/* =================================================== */

@media (max-width: 900px) { 
    
    /* Header: Show Trishula, Hide full Nav */
    .main-nav { display: none; }
    .menu-toggle { display: block; margin-left: auto; }
    /* When toggled on mobile, show nav as overlay */
    .main-nav.active {
        display: block;
        position: absolute;
        top: 70px;
        right: 5%;
        background: #ffffff;
        padding: 12px 18px;
        border-radius: 8px;
        box-shadow: 0 6px 18px rgba(0,0,0,0.12);
        z-index: 1090;
    }
    .main-nav.active .nav-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    /* Carousel Adjustments */
    .carousel-container {
        margin-top: 0; 
    }
    .slide {
        flex-direction: column; 
        height: auto; 
        min-height: 600px;
        min-width: 100%; 
        margin: 0;
        border-radius: 0;
    }
    .slide.odd, .slide.even {
        flex-direction: column;
    }

    .img-section {
        order: 1;
        min-height: 250px;
        border-radius: 0;
    }
    .desc-section {
        order: 2;
        padding: 30px 5%;
    }
    
    /* --- Asymmetrical Layout (STACKING) --- */
    .features-wrapper {
        flex-direction: column;
    }
    
    .feature-item {
        grid-template-columns: 1fr; 
        grid-template-areas: 
            "image"
            "description";
        min-width: 100%;
    }
    .feature-item .description-box {
        grid-area: description;
        padding: 30px 5%;
    }
    .feature-item .image-box {
        grid-area: image;
        min-height: 250px;
    }
    .feature-item .image-box:before {
        content: none;
    }
    .layout-reversed {
        grid-template-areas: 
            "image"
            "description";
    }

    /* Enquiry Section Stack */
    .enquiry-container {
        grid-template-columns: 1fr; 
    }

    /* Testimonial slider adjustment */
    .testimonial-card {
        flex: 0 0 85vw;
    }
}

/* --- Header / Navigation Fixed Top --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    z-index: 1100;
    display: flex;
    align-items: center;
    padding: 0 5%;
    background-color: #ffffff;
    border-bottom: 3px solid var(--color-saffron);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo-area { display: flex; align-items: center; gap: 10px; }
.header-logo-img {
    height: 48px;
    width: 48px;
    border-radius: 50%;
    border: 3px solid var(--color-saffron);
    object-fit: cover;
    display: block;
}

.site-title {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(1.2rem, 2.2vw, 1.7rem);
    font-weight: 700;
    color: var(--color-indigo);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0;
    z-index: 1110;
    white-space: nowrap;
    text-align: center;
    max-width: calc(100% - 240px);
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
}

.main-nav { margin-left: auto; }

@media (max-width: 900px) {
    .site-title {
        max-width: calc(100% - 180px);
        font-size: clamp(1rem, 2vw, 1.4rem);
    }
}

@media (max-width: 600px) {
    .site-title {
        max-width: calc(100% - 160px);
        font-size: clamp(0.9rem, 1.8vw, 1.2rem);
    }
}

/* Floating mute toggle (left side) */
.mute-toggle {
    position: fixed;
    left: 18px;
    bottom: 18px;
    width: 56px;
    height: 56px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    z-index: 1400;
    cursor: pointer;
}
.mute-toggle:hover { transform: translateY(-3px); }
.mute-toggle[aria-pressed="true"] { background: rgba(0,0,0,0.85); }

@media (max-width: 600px) {
    .mute-toggle { left: 12px; bottom: 12px; width: 48px; height: 48px; font-size: 18px; }
}

/* ==========================================================
   🔥 CRITICAL FIX: EXPANDED ACCOMMODATION PANEL
   This OVERRIDES conflicting rules above
========================================================== */

/* Lock background when modal is open */
body.modal-open {
    overflow: hidden;
}

/* ==========================================================
   🕉️ SACRED LOCATION HIGHLIGHTS SECTION WITH MANDALA DESIGN
========================================================== */

.location-highlights-section {
    position: relative;
    background: linear-gradient(135deg, #fef5e7 0%, #fff9f0 100%);
    padding: 4rem 2rem;
    margin: 3rem 0;
    overflow: hidden;
}

/* Mandala-inspired decorative borders */
.mandala-border-top,
.mandala-border-bottom {
    position: relative;
    height: 60px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--color-saffron) 20%, 
        var(--color-indigo) 50%, 
        var(--color-saffron) 80%, 
        transparent 100%);
    opacity: 0.3;
}

.mandala-border-top {
    margin-bottom: 2rem;
}

.mandala-border-bottom {
    margin-top: 2rem;
}

/* Create mandala pattern using pseudo-elements */
.mandala-border-top::before,
.mandala-border-top::after,
.mandala-border-bottom::before,
.mandala-border-bottom::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-saffron);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.mandala-border-top::before {
    left: 10%;
    box-shadow: 
        0 0 0 8px rgba(255, 153, 51, 0.2),
        0 0 0 16px rgba(255, 153, 51, 0.1);
}

.mandala-border-top::after {
    right: 10%;
    box-shadow: 
        0 0 0 8px rgba(255, 153, 51, 0.2),
        0 0 0 16px rgba(255, 153, 51, 0.1);
}

.mandala-border-bottom::before {
    left: 10%;
    box-shadow: 
        0 0 0 8px rgba(30, 39, 73, 0.2),
        0 0 0 16px rgba(30, 39, 73, 0.1);
    border-color: var(--color-indigo);
}

.mandala-border-bottom::after {
    right: 10%;
    box-shadow: 
        0 0 0 8px rgba(30, 39, 73, 0.2),
        0 0 0 16px rgba(30, 39, 73, 0.1);
    border-color: var(--color-indigo);
}

.location-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.1),
        inset 0 0 0 2px rgba(255, 153, 51, 0.2);
    border: 3px solid transparent;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 153, 51, 0.03) 10px, rgba(255, 153, 51, 0.03) 20px),
        repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(30, 39, 73, 0.03) 10px, rgba(30, 39, 73, 0.03) 20px);
    background-clip: padding-box;
}

.om-symbol {
    font-size: 4rem;
    color: var(--color-saffron);
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.1),
        0 0 20px rgba(255, 153, 51, 0.3);
    margin-bottom: 1rem;
    animation: pulse-om 3s ease-in-out infinite;
}

@keyframes pulse-om {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
}

.location-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--color-indigo);
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.location-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    font-style: italic;
}

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

.distance-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    background-image: 
        linear-gradient(white, white),
        linear-gradient(135deg, var(--color-saffron), var(--color-indigo));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.distance-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 153, 51, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.distance-card:hover::before {
    opacity: 1;
}

.distance-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(255, 153, 51, 0.2);
}

.distance-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.distance-card h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-indigo);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.distance-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-saffron);
    margin: 0.5rem 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.location-detail {
    font-size: 1rem;
    color: #666;
    margin-top: 0.5rem;
}

.blessing-text {
    margin-top: 3rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.1), rgba(30, 39, 73, 0.1));
    border-radius: 10px;
    border-left: 4px solid var(--color-saffron);
    border-right: 4px solid var(--color-indigo);
}

.blessing-text p {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--color-indigo);
    font-style: italic;
    margin: 0;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .location-highlights-section {
        padding: 2rem 1rem;
    }
    
    .location-title {
        font-size: 1.8rem;
    }
    
    .location-subtitle {
        font-size: 1rem;
    }
    
    .om-symbol {
        font-size: 3rem;
    }
    
    .distance-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .distance-card {
        padding: 1.5rem;
    }
    
    .blessing-text p {
        font-size: 1.1rem;
    }
}

