/* Optimized Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html, body {
  width: 100%;
  /* Fix: only apply overflow-x to html/body level, never the * selector */
  overflow-x: hidden; 
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  color: #333;
 
}




/* 1. The Base Class: How elements look before scrolling to them */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.95); /* Slide down and slightly smaller */
  filter: blur(5px); /* Optional: Adds a premium "soft" entrance */
  transition: all 1.0s cubic-bezier(0.165, 0.84, 0.44, 1); /* "God-level" smoothness */
  will-change: transform, opacity; /* Optimizes browser performance */
}

/* 2. The Active Class: Added by JavaScript when the element is scrolled into view */
.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* 3. Optional: Staggered Delay for Grids (like your 8 Gallery images) */
/* This makes items pop up one-by-one instead of all at once */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }


/* --- Pre-loader Styles --- */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff; /* Matches your clean theme */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s;
}

.loader-content {
  text-align: center;
  width: 200px;
}

.loader-logo {
  width: 100px;
  margin-bottom: 20px;
  animation: pulse 1.5s infinite ease-in-out;
}

.loader-bar {
  height: 2px;
  width: 100%;
  background: #f3f3f3;
  position: relative;
  overflow: hidden;
}

.loader-bar::after {
  content: '';
  position: absolute;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #EAC452; /* Your gold color */
  animation: loading 1.5s infinite;
}

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

@keyframes loading {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* --- Scroll Reveal Styles --- */
.reveal {
  position: relative;
  transform: translateY(50px);
  opacity: 0;
  transition: all 1s ease;
}

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

/* Hide loader class */
.loader-hidden {
  opacity: 0;
  visibility: hidden;
}


/* Logo Styling */
.logo img {
  height: 70px;
  width: auto; 
  display: block;
  transition: transform 0.3s ease;
}

/* Optional: Slight hover effect like the reference site */
.logo img:hover {
  transform: scale(1.05);
}



/* Mobile Responsive adjustment */
@media (max-width: 768px) {
  .logo img {
      height: 60px; /* Smaller logo for mobile screens */
  }
}

/* Navbar */
header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  max-width: 1200px;
  margin: auto;
}


/* --- Desktop Settings --- */
.menu-toggle {
  display: none; 
  cursor: pointer;
  
}

/* --- Mobile Responsive (Max Width 768px) --- */
@media (max-width: 768px) {
  .menu-toggle {
      display: block; /* Show icon on mobile */
  }

  #nav-menu { 
    position: fixed;
    top: 5vh; 
    left: 0;
    height: 90vh; 
    width: 280px; 
    display: flex; /* Keep it flex to allow links to show */
    flex-direction: column;
    padding: 80px 30px;
    z-index: 1001;

    /* Glass + Blur */
    background: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 0 20px 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.2);

    /* Smooth Pop-out Transition */
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* This is what the JS triggers */
#nav-menu.active {
    transform: translateX(0);
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
    z-index: 1000;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

  .nav-links li {
      margin: 15px 0;
  }

 
}


.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li a {
  text-decoration: none;
  color: rgb(207, 152, 2);
  padding: 0.5rem 1rem;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links li a:hover {
  color: #1dcc89;
}



/* Hero Section */
.hero {
  height: 100vh;
  /* Keeping your original image and dark overlay */
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
              url('/images/IMG-20260325-WA0004.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Adds a subtle parallax-like effect on scroll */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 900px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- The Rectangle Div (Glassmorphism) --- */
.hero-text-box {
  background: rgba(255, 255, 255, 0.1); /* Very transparent white */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  margin-top: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-text-box p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin: 0;
}

/* --- Dual Button Styling --- */
.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  text-decoration: none;
  border-radius: 40px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

/* Primary Button (Gold) */
.btn-primary {
  background: #d4af37;
  color: #fff;
  border: 2px solid #d4af37;
}

.btn-primary:hover {
  background: #b8962e;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Secondary Button (Outline) */
.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-secondary:hover {
  background: #fff;
  color: #333;
  transform: translateY(-3px);
}

/* --- Scroll Down Indicator --- */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
  40% {transform: translateY(-10px) translateX(-50%);}
  60% {transform: translateY(-5px) translateX(-50%);}
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .hero-content h1 { font-size: 2.5rem; }
  .hero-text-box { padding: 25px; width: 95%; }
  .hero-btns { flex-direction: column; width: 100%; }
  .btn { width: 100%; }
}

/* --- Section Titles --- */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #1a1a1a;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-subtitle {
  text-align: center;
  color: #d4af37; /* Gold */
  margin-bottom: 50px;
  font-style: italic;
}

/* --- The Grid (MODIFIED FOR 2-COLUMN DESKTOP) --- */
.grid-container {
  display: grid;
  /* Default 2 columns for desktop */
  grid-template-columns: repeat(2, 1fr); 
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- The Elegant Card --- */
.card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* --- Image & Video Overlay --- */
.card-img {
  height: 350px; /* Slightly taller for 2-column view */
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover .video-overlay {
  opacity: 1;
}

/* Play Button Styling */
.play-btn {
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.play-btn i {
  font-size: 3.5rem;
  color: #d4af37;
  transition: transform 0.3s ease;
}

.play-btn span {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 1px solid #d4af37;
  padding-bottom: 5px;
}

.play-btn:hover i {
  transform: scale(1.15);
}

/* --- Card Info --- */
.card-info {
  padding: 30px;
  text-align: center;
  border-top: 1px solid #eee;
}

.card-info h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.card-info p {
  color: #888;
  font-size: 1rem;
}

/* --- Modal & Lightbox Styles --- */
.modal {
  display: none;
  position: fixed;
  z-index: 9999; /* Higher than nav-menu */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
}

.close-modal {
  position: absolute;
  top: -50px;
  right: 0;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .grid-container {
      grid-template-columns: 1fr; /* Stacks on mobile */
  }
  .card-img {
      height: 250px;
  }
  .video-overlay {
      opacity: 1; /* Always visible on touch screens */
      background: rgba(0, 0, 0, 0.3);
  }
}

/* --- Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

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









/* --- Compact Packages Styling --- */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Adaptive but smaller min-width */
  gap: 20px;
  max-width: 1000px; /* Reduced overall container width */
  margin: 0 auto;
}








.package-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* --- Package Header Container --- */
.package-header {
  padding: 30px 20px;
  text-align: center;
  background: #fcfcfc; /* Subtle off-white to contrast the body */
  border-bottom: 1px solid #eee;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* --- The Luxury/Standard Badge --- */
.package-label {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(212, 175, 55, 0.1); /* Very light gold tint */
  color: #d4af37; /* MMBR Gold */
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 50px; /* Pill shape */
  border: 1px solid rgba(212, 175, 55, 0.3);
}

/* --- The Title --- */
.package-header h3 {
  font-size: 1.5rem; /* Mobile-friendly size */
  color: #1a1a1a;
  margin: 0;
  font-weight: 700;
  line-height: 1.2;
}

/* --- Desktop Enhancements (768px and up) --- */
@media (min-width: 768px) {
  .package-header {
      padding: 40px 30px;
  }

  .package-header h3 {
      font-size: 1.8rem; /* Slightly larger for desktop grids */
  }

  .package-label {
      font-size: 0.75rem;
      letter-spacing: 2px;
  }
}

/* --- The Body Fix --- */
.package-body {
  padding: 15px 20px; /* Reduced padding to shrink height and width feel */
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.package-desc {
  font-size: 0.9rem; /* Smaller text */
  margin-bottom: 15px;
  color: #666;
}

.package-features {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.package-features li {
  font-size: 0.85rem; /* Compact text size */
  margin-bottom: 8px; /* Reduced vertical spacing between items */
  display: flex;
  align-items: center;
  gap: 10px;
}

.package-features li i {
  color: #d4af37; /* MMBR Gold */
  font-size: 0.8rem;
}


/*=================================*/
.package-card:hover {
    transform: translateY(-10px); /* Lifts the card up */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12); /* Deeper, softer shadow */
    border-color: #d4af37; /* Changes border to MMBR Gold if visible */
}

/* 2. Header Color Shift */
.package-card:hover .package-header {
    background-color: #ffffff;
    transition: background-color 0.4s ease;
}

/* 3. Icon "Wiggle" or Scale */
.package-card:hover .package-features li i {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

/* 5. Featured Card Specific Hover */
.package-card.featured:hover {
  transform: translateY(-12px) scale(1.03); /* Slightly more emphasis */
  box-shadow: 0 25px 50px rgba(212, 175, 87, 0.15);
}

/* --- Added subtle transition for icons --- */
.package-features li i {
  transition: transform 0.3s ease;
}








/* Button */
.popup-btn {
  padding: 14px 30px;
  background: #b88a44;
  color: #fff;
  border: none;

  
  border-radius: 0 28px 0 28px;

  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

/* Hover Effect */
.popup-btn:hover {
  background: #9c7437;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(184, 138, 68, 0.25);

  /* Reverse curve on hover */
  border-radius: 28px 0 28px 0;
}

/* Popup Wrapper */
.image-popup {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Dark Background */
.popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
}

/* Popup Box */
.popup-box {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  z-index: 2;
  animation: zoomIn 0.35s ease;
}

/* Image */
.popup-box img {
  width: 100%;
  max-width: 700px;
  max-height: 85vh;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

/* Close Button */
.close-btn {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 38px;
  height: 38px;
  background: #fff;
  color: #111;
  font-size: 24px;
  font-weight: bold;
  border-radius: 50%;
  text-align: center;
  line-height: 38px;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(0,0,0,0.25);
}

/* Animation */
@keyframes zoomIn {
  from {
      transform: scale(0.7);
      opacity: 0;
  }
  to {
      transform: scale(1);
      opacity: 1;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .popup-box img {
      max-width: 95vw;
      border-radius: 4px;
  }

  .close-btn {
      width: 34px;
      height: 34px;
      line-height: 34px;
      font-size: 22px;
  }
}




/* WRAPPER */
.title-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  margin-bottom: 10px;
  position: relative;
}

/* HEADING */
.curly-heading {
  position: relative;
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: rgb(207, 152, 2);
  font-weight: 600;
  padding: 12px 30px;
  letter-spacing: 0.5px;
}

/* CURLY DECOR */
.curly-heading::before,
.curly-heading::after {
  content: "";
  position: absolute;
  width: 55px;
  height: 55px;
  border: 2px solid rgb(207, 152, 2);
  border-radius: 50%;
  opacity: 0.35;
}

/* top-left curl */
.curly-heading::before {
  top: -18px;
  left: -35px;
  border-right: none;
  border-bottom: none;
}

/* bottom-right curl */
.curly-heading::after {
  bottom: -18px;
  right: -35px;
  border-left: none;
  border-top: none;
}

/* SUBTITLE */
.section-subtitle {
  text-align: center;
  font-size: 0.95rem;
  color: #1dcc89;
  max-width: 520px;
  margin: 10px auto 40px;
  line-height: 1.7;
  letter-spacing: 0.3px;
}

/* TABLET */
@media (min-width: 600px) {
  .curly-heading {
      font-size: 2.5rem;
  }

  .section-subtitle {
      font-size: 1rem;
  }
}

/* DESKTOP */
@media (min-width: 900px) {
  .curly-heading {
      font-size: 3rem;
  }

  .section-subtitle {
      font-size: 1.05rem;
      max-width: 600px;
  }
}

/* LARGE SCREENS */
@media (min-width: 1200px) {
  .curly-heading {
      font-size: 3.3rem;
  }
}





/* --- About Flex Container --- */
.about-flex {
  display: flex;
  justify-content: center;
  align-items: stretch; /* Forces both cards to have the same height */
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Base card styling */
.about-card {
  flex: 1; /* Makes them share equal width */
  position: relative;
  background: #fff;
  border-radius: 5px;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Keeps buttons at the bottom */
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid #f0f0f0;
  min-height: 400px; /* Ensures a good presence on desktop */
}


/* --- Check Our Rooms Button --- */
.btn-rooms {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 25px;
  padding: 12px 28px;
  background: transparent;
  color: #1a1a1a;
  border: 2px solid #d4af37; /* Start with Gold border */
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-rooms i {
  font-size: 0.8rem;
  transition: transform 0.4s ease;
}

/* Hover State */
.btn-rooms:hover {
  color: #fff;
  border-color: #1dcc89; /* Border flips to Mint */
  background: #1dcc89;   /* Background fills with Mint */
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(29, 204, 137, 0.2);
}

.btn-rooms:hover i {
  transform: translateX(5px); /* Arrow slides out slightly */
}

/* Inside the About Card Hover State */
/* This ensures the button remains visible and elegant when the whole card flips color */
.about-card:hover .btn-rooms {
  border-color: #fff;
  color: #fff;
}

.about-card:hover .btn-rooms:hover {
  background: #fff;
  color: #1dcc89;
}

/* The Animated Glow Border */
.card-border-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px; /* Top accent bar */
  background: linear-gradient(90deg, #d4af37, #1dcc89, #d4af37);
  background-size: 200% auto;
  transition: 0.5s;
  opacity: 0.7;
}

/* Card Hover Interactions */
.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1dcc89 0%, #16a085 50%, #1a1a1a 100%);
  z-index: -1;
  opacity: 0;
  transform: scale(0.9) translateY(20px);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* 2. The "Gold Flash" Accent Line */
.about-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
      90deg, 
      transparent, 
      rgba(212, 175, 55, 0.2), 
      transparent
  );
  transition: 0.8s;
  z-index: 2;
}


.about-card:hover {
  transform: translateY(-20px) scale(1.02);
  border-color: transparent;
  box-shadow: 0 30px 60px rgba(29, 204, 137, 0.25);
}

.about-card:hover::before {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Sweep the gold light across the card on hover */
.about-card:hover::after {
  left: 100%;
}

/* Text color interpolation on hover */
.about-card:hover .about-tag {
  color: #ffffff;
  letter-spacing: 5px; 
  opacity: 0.8;
}

.about-card:hover h3 {
  color: #ffffff;
  transform: translateZ(30px);
}

.about-card:hover p {
  color: rgba(255, 255, 255, 0.9);
}

/* Subtle icon/bullet point pop */
.about-card:hover li i {
  color: #ffffff;
  transform: rotate(360deg);
  transition: 0.6s;
}

.about-card h3 {
  font-size: 2rem;
  color: rgb(207, 152, 2);
  margin-bottom: 20px;
  font-weight: 700;
  transition: 0.4s;
}

.about-card p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #000000;
  transition: 0.4s;
}


/* --- Mobile Responsiveness --- */
@media (max-width: 1024px) {
  .gallery-grid {
      grid-template-columns: repeat(2, 1fr); /* 2x4 on tablets */
  }
  .about-flex {
      flex-direction: column;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
      grid-template-columns: 1fr; /* 1 column on mobile */
  }
  .about-card {
      padding: 30px 20px;
  }
}



/* --- The Safety Wrapper --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px; /* Safety buffer from screen walls */
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 on desktop */
  gap: 20px;
}

.gallery-item {
  border-radius: 2px;
  overflow: hidden;
  height: 300px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Pop-In Animation Logic --- */
.reveal {
  opacity: 0;
  /* Start small and shifted down */
  transform: scale(0.8) translateY(30px); 
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1); /* Bouncy "Pop" curve */
}

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

/* --- Mobile Responsiveness --- */
@media (max-width: 992px) {
  .gallery-grid {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .container {
      padding: 0 15px; /* Slightly smaller gap on tiny phones */
  }
  .gallery-grid {
      grid-template-columns: 1fr;
  }
  .gallery-item {
      height: 250px;
  }
}



/* --- Booking CTA Section --- */
.cta-section {
  padding: 100px 0;
  background-color: #f9f9f9;
}

/* Safety Container - Prevents wall-touching */
.cta-section .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px; 
}

.cta-parent {
  display: flex;
  background: #fff;
  border-radius: 5px;
  overflow: hidden; /* Important: keeps image inside rounded corners */
  box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

/* Container for the image side to allow absolute positioning of text */
.cta-image-side {
  position: relative;
  flex: 1;
  overflow: hidden;
}

/* The New Heading Style */
.image-title-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, transparent 100%);
  padding: 30px 20px 60px 20px; 
  z-index: 2;
  text-align: center;
}

.image-title-overlay h3 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 15px 20px;
  display: inline-block;
  backdrop-filter: blur(2px); 
  background: rgba(0, 0, 0, 0.1);
}

/* Ensure the image is slightly darkened so the white text pops */
.image-overlay-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.4));
  z-index: 1;
}

/* Mobile Adjustment */
@media (max-width: 768px) {
  .image-title-overlay h3 {
      font-size: 1.1rem;
      letter-spacing: 2px;
      padding: 10px 15px;
  }
}

.cta-text-side {
  flex: 1;
  padding: 60px;
  display: flex;
  align-items: center;
}

.cta-tag {
  color: #1dcc89; /* Your Brand Mint */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  display: block;
  margin-bottom: 15px;
}

.cta-text-side h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.cta-main-desc {
  margin-bottom: 30px;
  color: #555;
}

/* Perfection Badge */
.perfection-badge {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fcfbf8;
  border-left: 4px solid #d4af37;
  border-radius: 4px;
}

.badge-number {
  font-size: 2rem;
  font-weight: 600;
  color: #d4af37;
}

.badge-text strong {
  display: block;
  color: #1a1a1a;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 992px) {
  .cta-parent {
      flex-direction: column; /* Stacks image on top of text */
  }

  .cta-image-side {
      min-height: 300px;
  }

  .cta-text-side {
      padding: 40px 25px;
  }

  .cta-text-side h2 {
      font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .perfection-badge {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
  }
  
  .cta-section {
      padding: 60px 0;
  }
}




/* --- Process Section Layout --- */
.process-section {
  padding: 100px 0;
  background-color: #ffffff;
  overflow: hidden;
}

.process-header {
  text-align: center;
  margin-bottom: 80px;
}

.process-tag {
  color: #1dcc89; /* Mint Green */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
}

.process-header h4 {
  font-size: 2.5rem;
  margin-top: 10px;
  color: #1a1a1a;
}

/* --- Steps Container & Connector Line --- */
.steps-container {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  gap: 30px;
}

/* Horizontal line connecting steps on Desktop */
.steps-container::before {
  content: '';
  position: absolute;
  top: 55px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: #f0f0f0;
  z-index: 1;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Step Number Badge */
.step-number {
  position: absolute;
  top: -15px;
  right: 25%;
  background: #d4af37; /* Gold */
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.step-img {
  width: 150px;
  height: 150px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.process-step:hover .step-img {
  transform: translateY(-5px);
  border-color: #d4af37;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.step-img img {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

.step-info h5 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.step-info p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

/* Footer Button */
.process-footer {
  text-align: center;
  margin-top: 60px;
}

.btn-direction {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #1a1a1a;
  color: #fff;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s;
}

.btn-direction:hover {
  background: #d4af37;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 850px) {
  .steps-container {
      flex-direction: column;
      gap: 60px;
  }

  /* Hide horizontal line, show vertical line */
  .steps-container::before {
      width: 2px;
      height: 80%;
      left: 50%;
      top: 0;
      transform: translateX(-50%);
  }

  .step-number {
      right: 40%;
  }
}



/* Distinct Scroll Animation */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s cubic-bezier(0.2, 1, 0.3, 1);
}

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




/* --- Directions Section Styling --- */
#directions {
  padding: 80px 0;
  margin-bottom: 100px; /* Ensures it doesn't touch the section below */
  background-color: #fdfdfd;
}

.directions-wrapper {
  display: flex;
  gap: 40px;
  background: #fff;
  padding: 40px;
  border-radius: 5px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  align-items: stretch;
}

.directions-info {
  flex: 1.2; /* Gives text a bit more room */
}

/* Direction List Items */
.dir-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.dir-number {
  background: #d4af37; /* MMBR Gold */
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.dir-item strong {
  display: block;
  color: #1a1a1a;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.dir-item p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.4;
}

.welcome-text {
  margin-top: 30px;
  font-weight: 800;
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Map Styling - Matching the previous card style */
.map-container {
  flex: 1;
  min-height: 400px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 992px) {
  #directions {
      margin-bottom: 60px; /* Smaller margin on mobile */
  }
  
  .directions-wrapper {
      flex-direction: column;
      padding: 25px;
      gap: 30px;
  }

  .map-container {
      min-height: 300px;
      height: 300px;
  }
}

@media (max-width: 480px) {
  .directions-wrapper {
      padding: 20px 15px;
  }
  
  .dir-item strong {
      font-size: 1rem;
  }
}





/* --- Grand Footer Styling --- */
.main-footer {
  background-color: #111; /* Deep charcoal */
  color: #fff;
  padding: 80px 0 0 0;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 60px 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr; /* Giving the brand column more room */
  gap: 40px;
}

/* Footer Columns */
.footer-col h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.footer-col h3 span {
  color: #d4af37; /* MMBR Gold */
}

.footer-col h4 {
  color: #d4af37;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 25px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background: #d4af37;
}

/* Lists and Links */
.footer-about {
  line-height: 1.8;
  color: #999;
  margin-bottom: 25px;
}

.contact-links, .footer-nav {
  list-style: none;
  padding: 0;
}

.contact-links li, .footer-nav li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #999;
  transition: 0.3s;
}

.footer-nav a {
  text-decoration: none;
  color: #999;
  transition: 0.3s;
}

.footer-nav a:hover, .contact-links li:hover {
  color: #1dcc89; 
  transform: translateX(5px);
}

/* Social Icons */
.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: 0.4s;
}

.footer-socials a:hover {
  background: #d4af37;
  transform: translateY(-5px);
}

/* Bottom Copyright Bar */
.footer-bottom {
  background: #07965f;
  text-align: center;
  padding: 25px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom p {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
  .footer-container {
      grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-container {
      grid-template-columns: 1fr;
      text-align: center;
  }

  .footer-col h4::after {
      left: 50%;
      transform: translateX(-50%);
  }

  .contact-links li {
      justify-content: center;
  }

  .footer-socials {
      justify-content: center;
  }
  
  .main-footer {
      padding-top: 50px;
  }
}





/* --- Back to Top Button --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #d4af37; /* MMBR Gold */
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  opacity: 0; /* Hidden by default */
  visibility: hidden;
  transition: all 0.4s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  bottom: 40px; /* Slight bounce up when appearing */
}

.back-to-top:hover {
  background-color: #1a1a1a; /* Turns black on hover */
  transform: translateY(-5px);
}

/* Adjust for mobile so it doesn't block content */
@media (max-width: 768px) {
  .back-to-top {
      bottom: 20px;
      right: 20px;
      width: 45px;
      height: 45px;
  }
}
























































