/*
=================================
    CORRECTED & REFINED COLOR THEME
=================================
*/
:root {
    --dark-green: #1D2D35;   /* REPLACED: Deep, desaturated Navy Blue */
    --gold: #BFA884;         /* REPLACED: Softer, more elegant Muted Gold */
    --beige-bg: #F3F0EC;     /* REPLACed: A soft, warm off-white Beige */
    --dark-text: #1D2D35;     /* REPLACED: A near-black with a hint of blue */
    --white: #FFFFFF;        /* Unchanged */
    --font-serif: 'Playfair Display', serif; /* Unchanged */
    --font-sans: 'Lora', serif;              /* Unchanged */
}



body {
    margin: 0;
    background: var(--beige-bg);
    font-family: var(--font-sans);
    color: var(--dark-text);
    transition: margin-right 0.4s ease;
}
body.menu-open {
    overflow: hidden;
}
/* Remove browser default spacing that can cause white lines */
html, body {
  margin: 0;
  padding: 0;
}


.header-logo-img {
    max-height: 100px !important;
    width: auto !important;
    display: block !important;
}

/* Remove margin on header and its direct children */
/*
===================================
    FINAL, WORKING HEADER & MENU
===================================
*/

/* --- Header Container --- */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box;
    transition: background-color 0.4s ease;
}

.site-header.scrolled {
    background-color: var(--dark-green);
}

.header-left, .header-right {
    flex: 1;
}
.header-right {
    display: flex;
    justify-content: flex-end;
}
.header-center {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--white);
}

.header-btn {
    margin-right: 48px; /* or more/less as needed for the spacing */
    background: transparent;
    border: 1px solid var(--white);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}
.header-btn:hover {
    background: var(--white);
    color: var(--dark-green);
}

/* --- Menu Icon (Now independent) --- */
.menu-icon {
    width: 30px;
    height: 22px;
    cursor: pointer;
    position: fixed; /* Fixed position to stay in place */
    top: 29px; /* Adjust vertical position */
    right: 2rem; /* Adjust horizontal position */
    z-index: 1200; /* Highest z-index */
}
.menu-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
    position: absolute;
    left: 0;
}
.menu-icon span:nth-child(1) { top: 0; }
.menu-icon span:nth-child(2) { top: 10px; }
.menu-icon span:nth-child(3) { top: 20px; }

/* Active "X" State */
.menu-icon.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
    background: var(--gold);
}
.menu-icon.active span:nth-child(2) {
    opacity: 0;
}
.menu-icon.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
    background: var(--gold);
}

/* --- Side Menu Panel --- */
.side-menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    height: 100vh;
    background: var(--dark-green);
    z-index: 1100; /* Below menu icon, above header */
    transform: translateX(100%);
    transition: transform 0.5s ease;
    padding: 8rem 3rem 3rem 3rem;
    box-sizing: border-box;
}

.side-menu-panel.active {
    transform: translateX(0);
}

.main-nav a {
    display: block;
    color: var(--white);
    text-decoration: none;
    font-size: 2rem;
    font-family: var(--font-serif);
    margin-bottom: 2rem;
}

.main-nav {
    margin-bottom: auto; /* Pushes the menu-footer down */
}

.main-nav a:hover {
    color: var(--gold);
}

.menu-footer .header-btn {
    color: var(--dark-green);
    background: var(--gold);
    border-color: var(--gold);
    width: 50%;
    text-align: bottom;
    padding: 1rem;
    font-size: 1rem;
}

.menu-footer .header-btn:hover {
    background: var(--white);
    border-color: var(--dark-green);
}
#hero {
    position: relative;
    background: url('6.jpg') center/cover no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(29, 60, 52, 0.3), rgba(29, 60, 52, 0.6));
}
#hero .content {
    position: relative;
    z-index: 1;
    color: #fff;
}
#hero h2 {
    font-size: 4rem;
    font-family: var(--font-serif);
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
#hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}
.page-section {
    padding: 5rem 1.5rem;
    text-align: center;
}
.page-section h3 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-family: var(--font-serif);
}
.divider {
    border: none;
    border-top: 2px solid var(--gold);
    width: 80px;
    margin: 2rem auto;
}
.rooms-section {
    background-color: #e9e5e0;
}
.room-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0 auto;
}
.room-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 450px;
}
.room-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.room-card:hover img {
    transform: scale(1.05);
}
.room-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white);
}
.room-card h4 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin: 0 0 0.5rem 0;
    color: var(--white);
}
.room-card a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.view-all-btn {
    /* Add or confirm these properties exist */
    display: inline-block; /* Crucial for applying padding and margin correctly */
    text-decoration: none; /* Removes the underline from the link */
    text-align: center; /* Centers the text inside the button */

    /* Your existing styles */
    margin-top: 3rem;
    padding: 0.9rem 2.8rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: var(--gold);
    color: var(--dark-green);
    border: 2px solid var(--gold);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
}

.view-all-btn:hover {
    background: transparent;
    color: var(--dark-text);
    border-color: var(--dark-text);
}
.things-to-do-section {
  background: #f5f5f0;
  padding: 5rem 1.5rem;
  text-align: center;
}

.things-to-do-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto 0 auto;
}

.things-to-do-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.things-to-do-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.things-to-do-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.things-to-do-content h4 {
  font-size: 1.2rem;
  font-family: var(--font-serif);
  color: var(--dark-green);
  margin-bottom: 0.7rem;
}

.things-to-do-content p {
  font-size: 1rem;
  color: var(--dark-text);
  margin-bottom: 1.2rem;
}

.things-to-do-link {
  color: var(--gold);
  font-weight: bold;
  text-decoration: none;
  margin-top: auto;
  letter-spacing: 1px;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.things-to-do-link:hover {
  color: var(--dark-green);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .things-to-do-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .things-to-do-grid {
    grid-template-columns: 1fr;
  }
  .things-to-do-card img {
    height: 200px;
  }
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 3rem auto 0 auto;
}
.feature-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.feature-card h4 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--dark-green);
    margin: 0;
}
/*
=================================
    THEME-MATCHED FOOTER STYLES
=================================
*/

.new-site-footer {
    background-color: var(--dark-green); /* MATCHED: Using your site's dark green */
    color: #a0a0a0;
    font-family: var(--font-sans); /* MATCHED: Using your site's primary sans-serif font (Lora) */
    margin-top: 5rem;
    padding-top: 4rem;
}

/* Map Styling */
.footer-map-container {
    max-width: 1200px;
    margin: 0 auto 4rem auto;
    padding: 0 2rem;
}


.footer-map-wrapper iframe {
    display: block;
    width: 100%;
    height: 600px;
    border-radius: 4px;
}

/* Details Grid Styling */
.footer-grid-container {
    display: grid;
    /* MODIFIED: Changed 1fr to auto so columns do not expand */
    grid-template-columns: repeat(auto-fit, minmax(250px, auto)); 
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    justify-content: center; /* MODIFIED: This property will now work correctly */
}

.footer-column {
    padding: 0 1rem;
}

.footer-logo-text {
    font-family: var(--font-serif); /* MATCHED: Using your site's decorative font (Playfair Display) */
    color: var(--white);
    font-size: 2.5rem;
    margin: 0 0 1rem 0;
    line-height: 1;
}

.footer-about-text {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 300px;
}

.footer-heading {
    font-family: var(--font-sans); /* MATCHED: Using Lora */
    font-weight: 600;
    font-size: 1rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 1.5rem 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold); /* MATCHED: Using your gold for hover effects */
}

.footer-social-icons a {
    display: inline-block;
    color: #a0a0a0;
    border: 1px solid #444;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    margin-right: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-icons a:hover {
    background-color: var(--gold); /* MATCHED: Gold background on hover */
    border-color: var(--gold);
    color: var(--dark-green);
}

.footer-copyright-bar {
    text-align: center;
    padding: 1.5rem;
    margin-top: 4rem;
    background-color: #111; /* A slightly different dark for contrast */
    font-size: 0.85rem;
    color: #666;
}

.footer-copyright-bar p {
    margin: 0;
    color: #ffffff;
}


@media (max-width: 900px) {
    .room-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    .header-center { display: none; }
    .site-header { justify-content: space-between; }
    #hero h2 { font-size: 2.5rem; }
    .room-grid {
        grid-template-columns: 1fr;
    }
}

/* Initial hidden state for elements that will be animated */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Show class triggers the animation */
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/*
===================================
    ROOMS PAGE STYLES
===================================
*/

/* --- Hero Image for Rooms Page --- */
.rooms-hero {
    background: url('https://images.unsplash.com/photo-1566073771259-6a8506099945?q=80&w=2070') center/cover no-repeat;
}

/* --- General Text & Intro Section --- */
.text-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 5rem 2rem;
}
.intro-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* --- Room Detail Section Layout --- */
.room-detail-section {
    padding: 4rem 2rem;
}
.room-detail-section:nth-child(even) {
    background-color: #f9f7f5; /* Subtle background color for alternating sections */
}

.room-detail-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap; /* Allows stacking on smaller screens */
}

.room-image-column,
.room-text-column {
    flex: 1;
    min-width: 300px; /* Ensures columns don't get too narrow */
    text-align: left;
}

.room-image-column img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.room-text-column h3 {
    font-size: 2.5rem;
    font-family: var(--font-serif);
    margin-bottom: 1rem;
}
.room-text-column p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* --- Amenities List --- */
.amenities-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns for amenities */
    gap: 1rem;
}
.amenities-list li {
    padding-left: 1.5rem;
    position: relative;
    font-weight: 600;
}
.amenities-list li::before {
    content: '✔';
    color: var(--gold);
    position: absolute;
    left: 0;
}

/* --- Alternate Layout (Image on Right) --- */
.alternate-layout .room-detail-container {
    flex-direction: row-reverse;
}

/* --- Responsive Adjustments for Rooms Page --- */
@media (max-width: 768px) {
    .room-detail-container,
    .alternate-layout .room-detail-container {
        flex-direction: column; /* Stack columns on smaller screens */
    }
    .room-text-column h3 {
        font-size: 2rem;
    }
    .amenities-list {
        grid-template-columns: 1fr; /* Single column for amenities on small screens */
    }
}

/*
===================================
    ROOMS OVERVIEW SECTION STYLES
===================================
*/
.rooms-overview-section {
    text-align: center;
    background: #fff; /* A clean white background to start */
}
.overview-intro {
    max-width: 700px;
    margin: 0 auto 3rem auto;
}
.overview-intro h3 {
    font-size: 2.8rem;
    font-family: var(--font-serif);
}
.overview-intro p {
    font-size: 1.1rem;
    color: #555;
}

.room-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.overview-card {
    background: var(--beige-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: left;
}
.overview-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.overview-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.overview-card-content {
    padding: 1.5rem;
}
.overview-card-content h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
}
.overview-card-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Smooth scrolling behavior */
html {
    scroll-behavior: smooth;
}
.rooms-page .site-header {
    background-color: var(--dark-green); /* Use your solid header color */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Optional: add a subtle shadow */
}

/*
===================================
    REDESIGNED STARGAZING PAGE
===================================
*/

.stargazing-page .site-header {
    background-color: transparent;
    transition: background-color 0.4s ease;
}

.stargazing-page .site-header.scrolled {
    background-color: var(--dark-green);
}

#stargazing-hero {
    background: url('7.jpg') center/cover no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

#stargazing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

#stargazing-hero .content {
    position: relative;
    z-index: 1;
    color: #fff;
}

#stargazing-hero h2 {
    font-size: 5rem;
    font-family: var(--font-serif);
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.7);
    animation: fadeInDown 1.5s ease-out;
}

#stargazing-hero p {
    font-size: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 1.5s ease-out;
}

.celestial-highlights-section {
    background: #f9f7f5;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.highlight-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.highlight-icon {
    margin-bottom: 1.5rem;
}

.highlight-icon .material-icons {
    font-size: 3rem;
    color: var(--gold);
}

.highlight-card h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin: 0 0 1rem;
    color: var(--dark-green);
}

.stargazing-gallery {
    padding: 5rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.gallery-item-2 { grid-column: 3 / 4; grid-row: 1 / 2; }
.gallery-item-3 { grid-column: 4 / 5; grid-row: 1 / 2; }
.gallery-item-4 { grid-column: 3 / 5; grid-row: 2 / 3; }

.booking-details-section {
    background: var(--dark-green);
    color: var(--white);
    padding: 6rem 2rem;
}

.booking-details-container {
    display: flex;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.booking-column-details,
.booking-column-action {
    flex: 1;
    min-width: 300px;
}

.booking-details-section h3 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--white);
}

.booking-details-section p {
    color: #ccc;
}

.booking-details-section .amenities-list li::before {
    color: var(--gold);
}

.booking-column-action .view-all-btn {
    background: var(--gold);
    color: var(--dark-green);
    border-color: var(--gold);
}

.booking-column-action .view-all-btn:hover {
    background: var(--white);
    color: var(--dark-green);
    border-color: var(--white);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    #stargazing-hero h2 {
        font-size: 3.5rem;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .gallery-item-1, .gallery-item-2, .gallery-item-3, .gallery-item-4 {
        grid-column: auto;
        grid-row: auto;
        height: 300px;
    }
}

/*
===================================
    RESORT EXPERIENCES SECTION
===================================
*/
.resort-experiences-section {
  background: #fdfcfb; /* A slightly different, elegant background */
  padding: 5rem 1.5rem;
  text-align: center;
}

.experience-grid {
  display: grid;
  /* This grid is set for one main item but can easily accommodate more */
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 800px; /* Centered and not too wide for a single premium feature */
  margin: 3rem auto 0 auto;
}

.experience-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.experience-card img {
  width: 100%;
  height: 500px; /* A taller image for a more premium feel */
  object-fit: cover;
  display: block;
}

.experience-card-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.experience-card-content h4 {
  font-size: 1.5rem; /* Larger heading */
  font-family: var(--font-serif);
  color: var(--dark-green);
  margin-bottom: 0.7rem;
}

.experience-card-content p {
  font-size: 1rem;
  color: var(--dark-text);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* Adjust grid for larger screens if more experience cards are added in the future */
@media (min-width: 1200px) {
  .experience-grid {
    /* If you add another card, you can uncomment this to make it a 2-column grid */
    /* grid-template-columns: 1fr 1fr; */
  }
}

/*
===================================
    HORIZONTAL SCROLLING GALLERY
===================================
*/
.gallery-section {
    padding-bottom: 5rem;
}

.scrolling-gallery-container {
    position: relative;
    max-width: 100%;
    margin: 3rem auto 0 auto;
}

.scrolling-gallery {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    /* Add some padding so the shadows aren't cut off */
    padding: 1rem 2rem;
    /* Hide the scrollbar */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    /* Snapping effect when scrolling */
    scroll-snap-type: x mandatory;
}

.scrolling-gallery::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari and Opera */
}

.gallery-image {
    flex: 0 0 350px; /* Prevents images from shrinking/growing */
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    scroll-snap-align: center; /* Center the image when snapping */
    transition: transform 0.3s ease;
    /* This leverages your existing animation script! */
    opacity: 0;
    transform: translateY(30px);
}

.gallery-image.visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-image:hover {
    transform: scale(1.02) translateY(0) !important;
}

.gallery-image:hover img {
    transform: scale(1.05);
}

/* Staggered animation for a cooler effect */
.gallery-image.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.gallery-image.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.gallery-image.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.gallery-image.animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.gallery-image.animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }
.gallery-image.animate-on-scroll:nth-child(7) { transition-delay: 0.6s; }


@media (max-width: 768px) {
    .gallery-image {
        flex-basis: 280px;
        height: 380px;
    }
    .scrolling-gallery {
        padding: 1rem; /* Adjust padding for smaller screens */
    }
}

/*
===================================
    DEDICATED DINING PAGE (ZAIKA)
===================================
*/

.dining-page .site-header {
    background-color: var(--dark-green);
}

#dining-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.pexels.com/photos/1267320/pexels-photo-1267320.jpeg') center/cover no-repeat;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

#dining-hero h2 {
    font-size: 5rem;
    font-family: var(--font-serif);
    margin-bottom: 0.5rem;
}

#dining-hero p {
    font-size: 1.5rem;
}


.culinary-highlights-section .highlights-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.culinary-highlights-section .highlight-card {
    background: #fff;
    padding: 0;
    text-align: left;
}

.culinary-highlights-section .highlight-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.culinary-highlights-section .highlight-card h4,
.culinary-highlights-section .highlight-card p {
    padding: 0 2rem;
}

.culinary-highlights-section .highlight-card p {
    padding-bottom: 2rem;
}

.signature-experience-section {
    background: #f9f7f5;
    padding: 6rem 2rem;
}

main > .page-section:nth-of-type(even) {
    background-color: #f5f5f0; 
}

/*
===================================
    CONSTRAINED TEXT CONTAINER
===================================
*/
.text-content-container {
    max-width: 800px;
    margin: 0 auto;
}