/* ==========================================
   --- COMBINED GLOBAL VARIABLES & RESETS ---
   ========================================== */
:root { 
  --animation-speed: 0.6s; 
  --card-width: clamp(260px, 22vw, 340px); 
  --card-height: clamp(170px, 15vw, 220px); 
  --ring-radius: clamp(380px, 38vw, 550px); 
  --accent: #5da9e1; 
  --bg-center: #f8fafc; 
  --bg-edge: #e2e8f0; 
  --bg-card: #ffffff; 
  --border-navy: #334155; 
  --text-dark: #1e293b;
}

* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

html { 
  scroll-behavior: smooth; 
}

body { 
  font-family: Arial, sans-serif; 
  overflow-x: hidden; 
  position: relative; 
  margin: 0; 
  min-height: 100vh; 
  background: #f8fafc; 
}

/* ==========================================
   --- MAIN PAGE STYLES (NAV, HERO, INFO) ---
   ========================================== */
/* TOP NAVIGATION */
.nav { 
  position: fixed; 
  width: 100%; 
  padding: 12px 50px; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  background-color: rgba(1, 46, 77, 0); 
  transition: all 0.4s ease; 
  z-index: 1000; 
}

.nav.scrolled { 
  background-color: rgba(1, 46, 77, 1); 
  padding: 8px 50px; 
  box-shadow: 0 4px 20px rgba(0,0,0,0.1); 
}

.nav-links { 
  display: flex; 
  align-items: center; 
  gap: 60px; 
  margin: 0 auto; 
  transition: max-height 0.3s ease; 
}

.nav a { 
  color: white; 
  text-decoration: none; 
  font-size: 20px; 
  font-weight: 600; 
  position: relative; 
  padding-bottom: 5px; 
}

.nav-links a::after { 
  content: ''; 
  position: absolute; 
  width: 100%; 
  transform: scaleX(0); 
  height: 2px; 
  bottom: 0; 
  left: 0; 
  background-color: #82ccdd; 
  transform-origin: bottom center; 
  transition: transform 0.3s ease; 
}

.nav-links a:hover::after { 
  transform: scaleX(1); 
}

.logo { 
  width: 110px; 
  height: auto; 
  transition: transform 0.3s ease; 
}

.nav-btn-main { 
  background-color: #0d9488; 
  color: white !important; 
  padding: 10px 24px; 
  border-radius: 50px; 
  font-weight: 700 !important; 
  font-size: 16px !important; 
  text-decoration: none; 
  transition: transform 0.3s, background-color 0.3s !important; 
}

.nav-btn-main:hover { 
  background-color: #0f766e; 
  transform: translateY(-2px); 
}

.mobile-menu-btn { 
  display: none; 
  font-size: 30px; 
  color: white; 
  cursor: pointer; 
  user-select: none; 
}

/* BOTTOM CONTACT BAR */
.bottom-contact-bar { 
  position: fixed; 
  bottom: 0; 
  left: 0; 
  width: 100%; 
  background-color: #012441; 
  color: white; 
  padding: 15px 50px; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  z-index: 990; 
  transform: translateY(100%); 
  transition: transform var(--animation-speed) cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.2s ease; 
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5); 
  font-size: 15px; 
}

.bottom-contact-bar.show { 
  transform: translateY(0); 
}

.bottom-contact-bar.docked { 
  position: absolute; 
  bottom: 0; 
  transform: translateY(0); 
  box-shadow: none; 
  transition: none; 
}

.bottom-contact-bar.prepare { 
  transition: none !important; 
  transform: translateY(100%) !important; 
}

.bottom-contact-bar a { 
  color: #82ccdd; 
  text-decoration: none; 
  font-weight: bold; 
  transition: opacity 0.2s; 
}

.bottom-contact-bar a:hover { 
  text-decoration: underline; 
  opacity: 0.9; 
}

/* HERO SPLASH SECTION */
.home { 
  min-height: 100vh; 
  width: 100%; 
  position: relative; 
  overflow: hidden; 
  display: flex; 
  flex-direction: column; 
  color: white; 
}

.home::before { 
  content: ""; 
  position: absolute; 
  top: 0; 
  left: 0; 
  right: 0; 
  bottom: 0; 
  background-image: linear-gradient(rgba(21, 43, 138, 0.4), rgba(1, 36, 65, 0.85)), url("images/Background Front.jpg"); 
  background-size: cover; 
  background-position: center; 
  background-repeat: no-repeat; 
  z-index: -1; 
  transform: scale(1.15); 
  animation: scaleBackground 1.8s cubic-bezier(0.25, 1, 0.5, 1) forwards; 
}

.home-overlay { 
  flex: 1; 
  width: 100%; 
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
  align-items: center; 
  background: rgba(0, 0, 0, 0.1); 
}

.home-content { 
  text-align: center; 
  max-width: 1100px; 
  padding: 0 20px; 
  margin-top: 60px; 
  position: relative; 
  z-index: 10; 
}

.main-headline, .description, .hero-btns, .stats-bar { 
  opacity: 0; 
  transform: translateY(40px); 
  animation: fadeInUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards; 
}

.main-headline { 
  font-size: clamp(2.5rem, 6vw, 5rem); 
  font-weight: 800; 
  line-height: 1.1; 
  margin-bottom: 20px; 
  text-transform: capitalize; 
  letter-spacing: -1px; 
  animation-delay: 0.2s; 
}

.highlight { 
  color: #82ccdd; 
}

.description { 
  font-size: 1.2rem; 
  max-width: 750px; 
  margin: 0 auto 45px auto; 
  font-weight: 300; 
  line-height: 1.6; 
  animation-delay: 0.4s; 
}

.hero-btns { 
  display: flex; 
  justify-content: center; 
  flex-wrap: wrap; 
  gap: 15px; 
  margin-bottom: 50px; 
  animation-delay: 0.6s; 
}

.btn-primary { 
  background-color: #0d9488; 
  color: rgb(255, 255, 255); 
  padding: 15px 35px; 
  border-radius: 50px; 
  text-decoration: none; 
  font-weight: 700; 
  transition: 0.3s; 
  border: none; 
  cursor: pointer; 
  font-size: 16px; 
  font-family: inherit; 
}

.btn-primary:hover { 
  background-color: #0f766e; 
  transform: translateY(-2px); 
}

.btn-secondary { 
  background: rgba(255, 255, 255, 0.1); 
  border: 1px solid rgba(255, 255, 255, 0.3); 
  color: white; 
  padding: 15px 35px; 
  border-radius: 50px; 
  text-decoration: none; 
  transition: 0.3s; 
  font-size: 16px;
}

.btn-secondary:hover { 
  background: rgba(255, 255, 255, 0.2); 
}

.stats-bar { 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  flex-wrap: wrap; 
  gap: 20px 30px; 
  margin-top: 20px; 
  padding-top: 30px; 
  border-top: 1px solid rgba(255, 255, 255, 0.2); 
  animation-delay: 0.8s; 
}

.stat-item { 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  gap: 5px; 
}

.stat-item h3 { 
  font-size: 1.5rem; 
  margin-bottom: 5px; 
}

.stat-item h6 { 
  font-size: 0.7rem; 
  font-weight: 300; 
  text-transform: uppercase; 
  letter-spacing: 2px; 
  color: #ffffffc2; 
  margin: 0; 
}

.stat-divider { 
  width: 1px; 
  height: 35px; 
  background: rgba(255, 255, 255, 0.3); 
}

/* CONTENT SECTIONS */
#resort-info { 
  position: relative; 
  width: 100%; 
  min-height: 50vh; 
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
  align-items: center; 
  color: #334155; 
  margin: 0; 
  padding: 100px 20px; 
  text-align: center; 
  background: #f8fafc; 
}

.action-buttons { 
  display: flex; 
  gap: 15px; 
  justify-content: center; 
  flex-wrap: wrap; 
  margin-top: 10px; 
}

/* ENTRANCE RATES CARDS */
.rates-container { 
  width: 100%; 
  max-width: 1100px; 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  z-index: 2; 
  position: relative; 
  margin: 40px 0; 
}

.rates-grid { 
  display: flex; 
  flex-wrap: nowrap; 
  justify-content: center; 
  gap: 20px; 
  width: 100%; 
}

.rate-card { 
  background: white; 
  border-radius: 20px; 
  padding: 30px 20px; 
  flex: 1; 
  box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
  border-top: 6px solid #0d9488; 
  transition: transform 0.3s ease, box-shadow 0.3s ease; 
  text-align: center; 
}

.rate-card:hover { 
  transform: translateY(-10px); 
  box-shadow: 0 20px 40px rgba(0,0,0,0.1); 
}

.rate-time { 
  font-size: 1.5rem; 
  font-weight: 900; 
  color: #012441; 
  margin-bottom: 5px; 
  text-transform: uppercase; 
}

.rate-hours { 
  font-size: 0.85rem; 
  color: #64748b; 
  margin-bottom: 20px; 
  font-weight: 600; 
  text-transform: uppercase; 
  letter-spacing: 2px; 
}

.rate-price { 
  font-size: 1rem; 
  color: #334155; 
  margin: 10px 0; 
  display: flex; 
  justify-content: space-between; 
  border-bottom: 1px dashed #e2e8f0; 
  padding-bottom: 8px; 
}

.rate-price:last-child { 
  border-bottom: none; 
}

.rate-price span { 
  font-weight: 700; 
  color: #0d9488; 
}

/* GALLERY */
#gallery { 
  display: flex; 
  flex-direction: column; 
  width: 100%; 
}

.gallery-part { 
  min-height: 50vh; 
  display: flex; 
  flex-direction: row; 
  justify-content: center; 
  align-items: center; 
  padding: 60px 40px; 
}

.gallery-part:nth-of-type(even) { 
  flex-direction: row-reverse; 
}

.gallery-image-container { 
  flex: 1; 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  padding: 0 20px; 
}

.gallery-content { 
  flex: 1; 
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
  padding: 0 5vw; 
}

.gallery-circular-image { 
  width: 100%; 
  max-width: 400px; 
  aspect-ratio: 1 / 1; 
  height: auto; 
  border-radius: 20px; 
  background-color: #82ccdd; 
  box-shadow: 0 15px 30px rgba(0,0,0,0.15); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  color: #012441; 
  font-weight: bold; 
  font-size: 1.2rem; 
  text-transform: uppercase; 
  letter-spacing: 2px; 
}

.gallery-large-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.gallery-content p { 
  font-size: 1.25rem; 
  line-height: 1.8; 
  margin-top: 20px; 
  font-weight: 400; 
}

/* Made Gallery Part 1 Darker to match requested styling */
.gallery-part-1 { background-color: #1a4a75; color: white; } 
.gallery-part-2 { background-color: #f8fafc; color: #334155; } 
.gallery-part-3 { background-color: #1a4a75; color: white; }

/* OVERRIDE FOR WHITE TITLES IN DARK GALLERIES */
.gallery-part-1 .header-title, .gallery-part-3 .header-title { 
  color: white; 
}

#footer-spacer { 
  width: 100%; 
  background-color: #1a4a75; 
}

/* INFO MODALS CONTENT */
.modal-card { 
  width: 90%; 
  max-width: 650px; 
  max-height: 85vh; 
  overflow-y: auto; 
  background: white; 
  border-radius: 20px; 
  display: flex; 
  flex-direction: column; 
  position: relative; 
  transform: scale(0.8); 
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
  padding: 50px 40px; 
  text-align: left; 
  color: #334155; 
  box-shadow: 0 25px 50px rgba(0,0,0,0.2); 
}

.modal-overlay.active .modal-card { 
  transform: scale(1); 
}

.modal-content h2 { 
  color: #0d9488; 
  font-size: 2rem; 
  margin-bottom: 25px; 
  border-bottom: 2px solid #e2e8f0; 
  padding-bottom: 10px; 
}

.modal-content h3 { 
  color: #012441; 
  font-size: 1.3rem; 
  margin-top: 20px; 
  margin-bottom: 10px; 
  border-bottom: 1px solid #e2e8f0; 
  padding-bottom: 5px; 
}

.modal-content ul { 
  list-style-type: none; 
  padding-left: 0; 
  margin: 0; 
  margin-bottom: 20px; 
}

.modal-content li { 
  margin-bottom: 15px; 
  font-size: 1rem; 
  line-height: 1.6; 
  padding-left: 20px; 
  position: relative; 
}

.modal-content li::before { 
  content: "•"; 
  color: #0d9488; 
  font-size: 1.5rem; 
  position: absolute; 
  left: 0; 
  top: -4px; 
}

.modal-content p { 
  font-size: 1rem; 
  line-height: 1.6; 
  margin-bottom: 15px; 
}

.price-cat h3 { 
  color: #0d9488; 
  margin-top: 25px; 
  border-bottom: 2px solid #e2e8f0; 
  padding-bottom: 5px; 
}

.price-item { 
  display: flex; 
  justify-content: space-between; 
  padding: 8px 0; 
  border-bottom: 1px solid #f1f5f9; 
  color: #334155; 
  font-weight: 500;
}

/* ==========================================
   --- BOOKING SYSTEM STYLES (AMENITIES) ---
   ========================================== */
#amenities {
  position: relative; 
  width: 100%; 
  min-height: 850px; /* Increased so the cards aren't squished by the new header */
  background: radial-gradient(circle at center, var(--bg-center) 0%, var(--bg-edge) 100%);
  display: flex; 
  flex-direction: column; 
  justify-content: flex-start; 
  align-items: center;
  overflow: hidden; 
  color: var(--text-dark); 
  margin: 0; 
  padding-bottom: 100px; /* Or some large number */
  min-height: 100vh;
}
/* NEW: Dedicated class for separated but blended section titles */
/* NEW: Dedicated class for separated but blended section titles */
/* UPDATED: Clean, perfectly centered, and ready to blend */
.section-divider-header {
  width: 100%;
  padding: 60px 20px; /* Equal top and bottom padding fixes the off-center issue */
  text-align: center;
  position: relative; 
  z-index: 10;
  /* Removed the blue border line, the dark background, and the shadow! */
}

.scroll-nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100vw;
  margin-top: 60px; /* <--- ADD THIS LINE */
}

.nav-arrow-btn {
  background: none; 
  border: none; 
  color: var(--accent); 
  font-size: 1.5rem; 
  cursor: pointer; 
  padding: 5px 15px; 
  z-index: 10; 
  display: none; /* Hidden by default on desktop */
}

.section-nav { 
  position: relative; 
  display: flex; 
  justify-content: flex-start; 
  gap: clamp(15px, 4vw, 40px); 
  z-index: 9; 
  max-width: 100vw; 
  overflow-x: auto; 
  padding: 0 10px; 
  margin-bottom: 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.section-nav::-webkit-scrollbar { 
  display: none; 
}

.carousel-header { 
  position: relative; 
  text-align: center; 
  z-index: 105; 
  margin-bottom: 15px; 
}

.header-title { 
  font-size: clamp(1.8rem, 4vw, 3rem); 
  font-weight: 900; 
  text-transform: uppercase; 
  letter-spacing: 3px; 
  margin: 0; 
  color: var(--border-navy); 
}

.header-subtitle { 
  font-size: clamp(1rem, 1.5vw, 1.2rem); 
  font-weight: 500; 
  color: rgba(30, 41, 59, 0.8); 
  margin-top: 5px; 
}

.nav-item {
  cursor: pointer; 
  color: rgba(51, 65, 85, 0.6); 
  text-transform: uppercase; 
  font-weight: 800;
  font-size: clamp(0.7rem, 1.1vw, 0.9rem); 
  letter-spacing: 2px; 
  transition: 0.3s; 
  padding-bottom: 8px;
  border-bottom: 2px solid transparent; 
  white-space: nowrap; 
  flex-shrink: 0;
}

.nav-item.active { 
  color: var(--text-dark); 
  font-weight: 900;
  border-bottom: 2px solid var(--accent); 
}

/* 3D Container & Cards */
.scene { 
  position: relative; 
  width: var(--card-width); 
  height: var(--card-height); 
  perspective: 2500px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  margin-top: 40px; 
  z-index: 200; 
  touch-action: pan-y; 
}

.carousel { 
  width: 100%; 
  height: 100%; 
  position: absolute; 
  transform-style: preserve-3d; 
}

.card {
  position: absolute; 
  width: var(--card-width); 
  height: var(--card-height); 
  background: var(--bg-card);
  border: 1px solid rgba(0,0,0,0.05); 
  border-radius: 12px; 
  display: flex; 
  flex-direction: column;
  align-items: center; 
  justify-content: flex-start; 
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  cursor: pointer; 
  text-align: center; 
  color: var(--border-navy); 
  overflow: hidden;
  transform: rotateY(var(--rY)) translateZ(var(--ring-radius));
  transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s, box-shadow 0.3s, opacity 1s; 
}

.card:hover { 
  border-color: var(--accent); 
  background: #ffffff; 
  box-shadow: 0 20px 45px rgba(0,0,0,0.12); 
  transform: rotateY(var(--rY)) translateZ(var(--ring-radius)) scale(1.05) !important;
}

.card-img-wrapper { 
  width: 100%; 
  height: 60%; 
  overflow: hidden; 
  border-bottom: 2px solid rgba(0,0,0,0.05); 
  background: #e2e8f0; 
}

.card-img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1); 
}

.card:hover .card-img { 
  transform: scale(1.15); 
}

.card-content { 
  width: 100%; 
  height: 40%; 
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
  align-items: center; 
  padding: 5px 10px; 
}

.controls-unified-row { 
  position: relative; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 20px; 
  margin-top: 60px; 
  z-index: 110; 
  width: 100%; 
  max-width: 600px; 
}

.carousel-nav-btn { 
  background: #ffffff; 
  border: 2px solid var(--border-navy); 
  color: var(--border-navy); 
  width: 55px; 
  height: 55px; 
  border-radius: 50%; 
  cursor: pointer; 
  font-size: 1.5rem; 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  transition: 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); 
}

.carousel-nav-btn:hover { 
  background: var(--border-navy); 
  color: white; 
  transform: scale(1.1); 
}

.center-book-btn { 
  background-color: var(--accent); 
  color: white; 
  border: none; 
  padding: 16px 30px; 
  border-radius: 50px; 
  font-size: 0.9rem; 
  font-weight: 800; 
  text-transform: uppercase; 
  letter-spacing: 1px; 
  cursor: pointer; 
  transition: 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); 
  min-width: 180px; 
  text-align: center; 
}

.center-book-btn:hover { 
  background-color: #3b82f6; 
  transform: scale(1.05) translateY(-2px); 
}

/* FLOATING CART */
.floating-cart {
  position: fixed; 
  bottom: 40px; 
  right: 30px; 
  background: #334155;
  color: white; 
  padding: 15px 25px; 
  border-radius: 12px; 
  display: none;
  justify-content: center; 
  align-items: center; 
  font-size: 16px; 
  font-weight: bold; 
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2); 
  z-index: 995; 
  transition: 0.3s; 
  gap: 10px; 
  border: 2px solid #5da9e1;
}

.floating-cart:hover { 
  transform: scale(1.05); 
  background: #1e293b; 
}

.cart-badge { 
  background: #ef4444; 
  color: white; 
  font-size: 12px; 
  font-weight: bold; 
  padding: 3px 8px; 
  border-radius: 20px; 
}

/* GLOBAL MODAL STYLES */
.modal-overlay {
  position: fixed; 
  inset: 0; 
  background: rgba(30, 41, 59, 0.8); 
  display: flex; 
  justify-content: center; 
  align-items: center;
  opacity: 0; 
  visibility: hidden; 
  transition: 0.4s; 
  z-index: 9999; 
  backdrop-filter: blur(10px);
}

.modal-overlay.active { 
  opacity: 1; 
  visibility: visible; 
}

.close-btn { 
  position: absolute; 
  top: 15px; 
  right: 20px; 
  font-size: 1.8rem; 
  cursor: pointer; 
  color: #94a3b8; 
  z-index: 100; 
  font-weight: bold; 
  transition: 0.2s; 
}

.close-btn:hover { 
  color: #ef4444; 
  transform: scale(1.1); 
}

.blur { 
  filter: blur(20px); 
  pointer-events: none; 
}

/* BOOK LAYOUT MODAL */
.book-layout { 
  width: 95%; 
  max-width: 850px; 
  background: white; 
  border-radius: 20px; 
  display: flex; 
  flex-direction: row; 
  position: relative; 
  transform: scale(0.8); 
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
  padding: 0; 
  box-shadow: 0 25px 50px rgba(0,0,0,0.3); 
  overflow: hidden; 
  max-height: 90vh; 
}

.modal-overlay.active .book-layout { 
  transform: scale(1); 
}

.book-page { 
  flex: 1; 
  padding: 40px; 
  display: flex; 
  flex-direction: column; 
  overflow-y: auto; 
}

.book-left { 
  background: white; 
}

.book-right { 
  background: #f8fafc; 
  border-left: 2px solid #e2e8f0; 
  position: relative; 
  box-shadow: inset 10px 0 20px -10px rgba(0,0,0,0.05); 
} 

.modal-img-container { 
  width: 100%; 
  height: 200px; 
  border-radius: 12px; 
  overflow: hidden; 
  border: 2px solid #e2e8f0; 
  margin-bottom: 15px; 
  flex-shrink: 0;
}

.modal-img-container img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
}

.benefits-box { 
  background: #e0f2fe; 
  color: #0369a1; 
  padding: 15px; 
  border-radius: 10px; 
  text-align: left; 
  font-weight: 700; 
  font-size: 0.9rem; 
  border: 2px dashed #7dd3fc; 
  margin-bottom: 20px; 
  line-height: 1.6;
}

.action-btn { 
  background: var(--border-navy); 
  color: white; 
  border: none; 
  padding: 15px; 
  border-radius: 50px; 
  font-weight: 900; 
  text-transform: uppercase; 
  cursor: pointer; 
  transition: 0.3s; 
  margin-top: 15px; 
  width: 100%; 
}

.action-btn:hover { 
  background: var(--accent); 
  transform: translateY(-2px); 
}

.action-btn.secondary { 
  background: white; 
  color: var(--border-navy); 
  border: 2px solid var(--border-navy); 
}

.action-btn.secondary:hover { 
  background: #f1f5f9; 
}

/* MAP POPUP & RESPONSIVE SCALING */
.map-container { 
  width: 95%; 
  max-width: 540px; 
  height: 90vh; 
  max-height: 800px; 
  background: #e2e8f0; 
  border-radius: 20px; 
  position: relative; 
  overflow: hidden; 
  display: flex; 
  flex-direction: column; 
  transform: scale(0.8); 
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

.modal-overlay.active .map-container { 
  transform: scale(1); 
}

.map-header { 
  padding: 20px; 
  background: var(--border-navy); 
  color: white; 
  text-align: center; 
  position: relative; 
}

.map-area { 
  flex-grow: 1; 
  position: relative; 
  background-color: #6be35b; 
  background-size: 100% 100%; 
  background-position: center; 
  background-repeat: no-repeat; 
  overflow: hidden; 
}

.map-category-card *, .food-menu-card *, .map-room-btn * { 
  pointer-events: none; 
}

.map-category-card { 
  position: absolute; 
  background: white; 
  border: 2px solid #000000; 
  border-radius: 12px; 
  cursor: pointer; 
  box-shadow: 0 10px 20px rgba(0,0,0,0.25); 
  transition: 0.2s; 
  transform: translate(-50%, -50%); 
  display: flex; 
  flex-direction: column; 
  width: clamp(90px, 25vw, 150px); 
  height: clamp(60px, 16vw, 100px); 
  z-index: 10; 
  overflow: hidden; 
}

.map-category-card:hover { 
  border-color: var(--accent); 
  transform: translate(-50%, -50%) scale(1.1); 
  z-index: 15; 
}

.map-card-img-wrapper { 
  width: 100%; 
  height: 55%; 
  border-bottom: 2px solid #000000; 
  background: #e2e8f0; 
}

.map-card-img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
}

.map-card-content { 
  width: 100%; 
  height: 45%; 
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
  align-items: center; 
  padding: 2px 5px; 
}

.map-marker-text { 
  font-size: clamp(0.55rem, 1.8vw, 0.75rem); 
  font-weight: 900; 
  text-transform: uppercase; 
  color: #000000; 
  line-height: 1.1; 
  text-align: center; 
}

/* --- BRAND NEW FOOD MENU CARDS (COMPACT SIZING) --- */
.food-menu-card {
  position: absolute; 
  background: #fdf8eb; 
  border: 2px solid var(--border-navy); 
  border-radius: 8px; 
  cursor: pointer; 
  box-shadow: 0 4px 10px rgba(0,0,0,0.15); 
  transition: 0.2s;
  transform: translate(-50%, -50%); 
  display: flex; 
  flex-direction: column;
  width: 46%; 
  max-width: 230px; 
  z-index: 10; 
  padding: 6px; 
  color: var(--border-navy);
  overflow: hidden; 
}

.food-menu-card:hover { 
  transform: translate(-50%, -50%) scale(1.05); 
  z-index: 15; 
  border-color: var(--accent);
}

.food-card-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  margin-bottom: 5px; 
  flex-wrap: wrap; 
}

.food-card-title {
  background: white;
  border: 1px solid var(--border-navy);
  border-radius: 12px;
  padding: 2px 6px;
  font-weight: 900;
  font-size: 0.75rem; 
  text-transform: uppercase;
}

.food-card-price {
  color: #0ea5e9;
  font-weight: 900;
  font-size: 0.85rem; 
}

.food-options-list {
  list-style: none;
  text-align: left;
  font-size: 0.65rem; 
  font-weight: 800;
  line-height: 1.3; 
}

.food-options-list li {
  margin-bottom: 2px;
  text-transform: uppercase;
  word-wrap: break-word; 
}

.map-room-btn { 
  position: absolute; 
  background: #ffffff; 
  border: 2px solid #000000; 
  border-radius: 8px; 
  cursor: pointer; 
  box-shadow: 0 4px 10px rgba(0,0,0,0.15); 
  transition: background 0.15s ease, color 0.15s ease; 
  transform: translate(-50%, -50%); 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  z-index: 5; 
  text-align: center; 
  padding: 5px; 
}

.map-room-btn:hover { 
  background: #040b4d; 
}

.map-room-btn:hover .room-btn-text { 
  color: #ffffff; 
}

.room-btn-text { 
  font-size: clamp(0.6rem, 2vw, 0.85rem); 
  font-weight: 800; 
  text-transform: uppercase; 
  color: #000000; 
  transition: color 0.15s ease; 
}

/* CHECKOUT UI */
.checkout-card { 
  width: 95%; 
  max-width: 900px; 
  background: white; 
  border-radius: 20px; 
  position: relative; 
  overflow: hidden; 
  display: flex; 
  min-height: 500px; 
  transform: scale(0.8); 
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

.modal-overlay.active .checkout-card { 
  transform: scale(1); 
}

.checkout-left { 
  flex: 1; 
  background: #f8fafc; 
  padding: 40px; 
  border-right: 1px solid #e2e8f0; 
  display: flex; 
  flex-direction: column; 
}

.checkout-right { 
  flex: 1; 
  padding: 40px; 
  background: white; 
}

.cart-list { 
  list-style: none; 
  margin-bottom: 20px; 
  flex-grow: 1; 
  overflow-y: auto; 
  max-height: 300px; 
}

.cart-item { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 12px 0; 
  border-bottom: 1px solid #e2e8f0; 
}

.remove-item-btn { 
  background: none; 
  border: none; 
  color: #ef4444; 
  font-weight: bold; 
  cursor: pointer; 
  padding: 4px 8px; 
  border-radius: 4px; 
  transition: 0.2s; 
}

.remove-item-btn:hover { 
  background: #fee2e2; 
}

.cart-total-row { 
  display: flex; 
  justify-content: space-between; 
  font-size: 1.5rem; 
  font-weight: 900; 
  border-top: 2px solid var(--border-navy); 
  padding-top: 20px; 
  color: var(--border-navy); 
}

.form-group { 
  margin-bottom: 12px; 
  text-align: left;
}

.form-group label { 
  display: block; 
  font-weight: 700; 
  margin-bottom: 5px; 
  font-size: 0.85rem; 
}

.form-group input { 
  width: 100%; 
  padding: 10px; 
  border: 2px solid #e2e8f0; 
  border-radius: 10px; 
  outline: none; 
}

.form-group input:focus { 
  border-color: var(--accent); 
}

.date-picker-group { 
  display: flex; 
  gap: 10px; 
}

.date-picker-group select { 
  flex: 1; 
  padding: 10px; 
  border: 2px solid #e2e8f0; 
  border-radius: 10px; 
  outline: none; 
  background: white; 
  font-family: Arial, sans-serif; 
  cursor: pointer; 
}

.date-picker-group select:focus { 
  border-color: var(--accent); 
}

/* FACEBOOK SUCCESS POPUP */
.success-popup { 
  width: 90%; 
  max-width: 450px; 
  background: white; 
  border-radius: 20px; 
  padding: 30px; 
  text-align: center; 
  position: relative; 
  box-shadow: 0 25px 50px rgba(0,0,0,0.3); 
  transform: scale(0.8); 
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

.modal-overlay.active .success-popup { 
  transform: scale(1); 
}

.success-icon { 
  font-size: 3rem; 
  margin-bottom: 10px; 
}

.messenger-btn { 
  background: #0084FF; 
  color: white; 
  border: none; 
  padding: 12px 25px; 
  border-radius: 50px; 
  font-weight: bold; 
  text-decoration: none; 
  display: inline-block; 
  margin-top: 15px; 
  width: 100%; 
  transition: 0.3s; 
}

.messenger-btn:hover { 
  background: #006bce; 
  transform: scale(1.05); 
}

/* TERMS MODAL */
.terms-popup { 
  width: 90%; 
  max-width: 600px; 
  background: white; 
  border-radius: 20px; 
  padding: 30px; 
  text-align: left; 
  position: relative; 
  box-shadow: 0 25px 50px rgba(0,0,0,0.3); 
  transform: scale(0.8); 
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
  max-height: 80vh; 
  overflow-y: auto; 
  color: var(--text-dark); 
}

.modal-overlay.active .terms-popup { 
  transform: scale(1); 
}

/* ANIMATIONS */
@keyframes fadeInUp { 
  0% { opacity: 0; transform: translateY(40px); } 
  100% { opacity: 1; transform: translateY(0); } 
}

@keyframes scaleBackground { 
  0% { transform: scale(1.15); } 
  100% { transform: scale(1); } 
}

/* ==========================================
   --- COMBINED MOBILE RESPONSIVE FIXES --- 
   ========================================== */
@media (max-width: 950px) {
  .nav-links { gap: 20px; }
  .nav a { font-size: 16px; }
  .rates-grid { flex-wrap: wrap; }
  .rate-card { min-width: 250px; }
}

@media (max-width: 768px) {
  :root { 
    --card-width: 220px; 
    --card-height: 145px; 
    --ring-radius: 270px; 
  }
  
  /* TOP NAV */
  .nav { padding: 10px 20px; flex-wrap: nowrap; } 
  .logo { width: 80px; order: 1; }
  .nav-btn-main { display: block; order: 2; margin-left: auto; margin-right: 15px; padding: 8px 16px; font-size: 14px !important; }
  .mobile-menu-btn { display: block; order: 3; }
  .nav-links { 
    position: absolute; 
    top: 100%; 
    left: 0; 
    width: 100%; 
    background-color: rgba(1, 46, 77, 0.95); 
    flex-direction: column; 
    padding: 0; 
    gap: 0; 
    overflow: hidden; 
    max-height: 0; 
  }
  .nav-links.active { 
    max-height: 250px; 
    border-top: 1px solid rgba(255,255,255,0.1); 
  }
  .nav-links a { 
    padding: 15px; 
    display: block; 
    width: 100%; 
    text-align: center; 
    border-bottom: 1px solid rgba(255,255,255,0.05); 
  }
  
  /* HERO SECTION */
  .home-overlay { justify-content: flex-start; padding-top: 120px; padding-bottom: 40px; }
  .home-content { margin-top: 0; }
  .main-headline { font-size: 2.2rem; margin-bottom: 15px; }
  .description { font-size: 1rem; padding: 0 10px; margin-bottom: 25px; }
  .hero-btns { flex-direction: column; gap: 10px; align-items: center; margin-bottom: 30px; }
  .hero-btns a { width: 100%; max-width: 300px; text-align: center; }
  .stats-bar { gap: 15px 15px; padding-top: 20px; }
  .stat-divider { display: none; } 
  .stat-item { width: 45%; min-width: 120px; }
  
  /* Modals & Cart */
  .modal-card { padding: 30px 20px; }
  .bottom-contact-bar { flex-direction: column; gap: 8px; text-align: center; padding: 15px; font-size: 12px; }
  
  /* Nav Scroll Arrows */
  .nav-arrow-btn { display: block; }
  .section-nav { justify-content: flex-start; }
  
  .checkout-card { flex-direction: column; height: 90vh; overflow-y: auto; }
  .checkout-left { border-right: none; border-bottom: 1px solid #e2e8f0; }
  .book-layout { flex-direction: column; overflow-y: auto; }
  .book-page { overflow-y: visible; height: auto; }
  .book-right { border-left: none; border-top: 2px solid #e2e8f0; box-shadow: inset 0 10px 20px -10px rgba(0,0,0,0.05); }

  /* -----------------------------------------------
     SERVICES/MENU BOX TEXT ADJUSTMENTS FOR MOBILE 
     ----------------------------------------------- */
  .nav-item { 
    font-size: 0.65rem !important; 
  }
  .card-content span { 
    font-size: 0.85rem !important; 
  }
  .card-content strong { 
    font-size: 0.8rem !important; 
  }

  /* Food Tray Mobile Map Fix */
  .food-menu-card {
    padding: 4px;
    width: 48%; 
    max-height: 20%; /* Prevents height from causing overlap */
    overflow-y: auto; /* Allows scrolling inside if it gets too long */
  }
  .food-menu-card::-webkit-scrollbar { display: none; } /* Hide tiny scrollbars */
  .food-card-title {
    font-size: 0.55rem !important;
    padding: 1px 3px;
  }
  .food-card-price {
    font-size: 0.6rem !important;
  }
  .food-options-list {
    font-size: 0.5rem !important;
    line-height: 1.1;
    margin-top: 2px;
  }
  .food-options-list li { margin-bottom: 1px; }
  .food-card-header { margin-bottom: 2px; }
}

@media (max-width: 550px) {
  .gallery-part, .gallery-part:nth-of-type(even) { flex-direction: column; padding: 40px 20px; text-align: center; }
  .gallery-image-container { width: 100%; padding: 0; }
  .gallery-circular-image { width: 100%; max-width: 250px; margin: 0 auto; aspect-ratio: 1/1; height: auto; }
  .gallery-content { padding: 30px 10px 0 10px; width: 100%; }
  .rates-grid { flex-direction: column; align-items: center; }
  .rate-card { width: 100%; max-width: 100%; }
  .action-buttons { flex-direction: column; align-items: center; }
  .action-buttons button { width: 100%; max-width: 300px; margin-top: 0 !important; }
}

@media (max-width: 480px) {
  :root { 
    --card-width: 190px; 
    --card-height: 125px; 
    --ring-radius: 240px; 
  }
}
