/* ===== Narayani Waterpark - MAIN STYLESHEET ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700;800&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #0a4fa0;
  --primary-dark: #063278;
  --primary-light: #1a6fd4;
  --accent: #ff8c00;
  --accent-light: #ffa500;
  --accent-dark: #e07000;
  --white: #ffffff;
  --light: #f0f7ff;
  --text: #1a1a2e;
  --text-light: #555577;
  --success: #00c853;
  --wave: #0a4fa0;
  --shadow: 0 15px 45px rgba(10, 79, 160, 0.12);
  --shadow-dark: 0 20px 60px rgba(0,0,0,0.3);
  --radius: 20px;
  --radius-sm: 10px;
  --transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  --font-main: 'Outfit', sans-serif;
  font-family: var(--font-main);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ===== PRELOADER ===== */
#preloader {
  position: fixed; inset: 0; background: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; transition: opacity 0.6s, visibility 0.6s;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-logo { animation: pulse 1.2s ease-in-out infinite; }
.water-drops { display: flex; gap: 10px; margin-top: 20px; }
.drop { width: 12px; height: 12px; background: var(--accent); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); animation: dropBounce 1s ease-in-out infinite; }
.drop:nth-child(2) { animation-delay: 0.2s; }
.drop:nth-child(3) { animation-delay: 0.4s; }
@keyframes dropBounce { 0%,100%{transform:rotate(-45deg) translateY(0);} 50%{transform:rotate(-45deg) translateY(-20px);} }
@keyframes pulse { 0%,100%{transform:scale(1);} 50%{transform:scale(1.08);} }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0; transition: var(--transition);
  background: transparent;
}
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  bpadding: 4px 10pxox-shadow: 0 4px 30px rgba(0,0,0,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.3);
}
#navbar.scrolled .nav-links a { color: var(--primary-dark); }
#navbar.scrolled .logo-text { color: var(--primary); }
#navbar.scrolled #menuToggle span { background: var(--primary); }
.nav-logo { text-decoration: none; }
.logo-box {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 4px 18px; /* More compact logo box */
  display: inline-flex;
  align-items: center;
  gap: 10px
  transition: var(--transition);
}
.logo-box:hover { transform: scale(1.05); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
.logo-text { font-size: 1.1rem; font-weight: 800; color: var(--primary); font-family: 'Poppins', sans-serif; white-space: nowrap; }
.main-logo { height: 32px; width: auto; display: block; border-radius: 6px; }

.nav-container {
  max-width: 1400px; margin: 0 auto; padding: 15px 30px;
  display: flex; 32px: center; justify-content: space-between;
}
#navbar.scrolled .nav-container {
  padding: 8px 24px;
}
.nav-logo img { height: 60px; width: auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3)); }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  color: var(--white); font-weight: 500; font-size: 0.9rem;
  padding: 8px 16px; border-radius: 50px; transition: var(--transition);
  position: relative; letter-spacing: 0.3px;
}
.nav-links a:hover, .nav-links a.active {
  background: rgba(255,255,255,0.15); color: var(--accent-light);
}
.nav-book-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark)) !important;
  padding: 10px 24px !important; font-weight: 700 !important;
  box-shadow: 0 4px 20px rgba(255,140,0,0.4) !important;
  animation: bookPulse 2.5s ease-in-out infinite;
}
.nav-book-btn:hover { transform: translateY(-2px) scale(1.05) !important; box-shadow: 0 8px 30px rgba(255,140,0,0.6) !important; }
@keyframes bookPulse { 0%,100%{box-shadow:0 4px 20px rgba(255,140,0,0.4);} 50%{box-shadow:0 4px 35px rgba(255,140,0,0.7);} }
#menuToggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
#menuToggle span { width: 28px; height: 3px; background: white; border-radius: 2px; transition: var(--transition); }

/* ===== HERO SECTION ===== */
#hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; overflow: hidden;
}
.hero-slider { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease;
  background-size: cover; background-position: center;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(6,0.92,120,0.85) 0%, rgba(10,79,0.88,0.6) 50%, rgba(0,0,0.75,0.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 160px 24px 100px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,140,0,0.25); border: 1px solid rgba(255,140,0,0.5);
  color: var(--accent-light); padding: 8px 20px; border-radius: 50px;
  font-size: 0.85rem; font-weight: 600; margin-bottom: 20px;
  animation: fadeInDown 0.8s ease; letter-spacing: 1px; text-transform: uppercase;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 900;
  line-height: 1.1; margin-bottom: 16px;
  animation: fadeInUp 0.8s ease 0.2s both;
  font-family: 'Playfair Display', serif;
}
.hero-title span { color: var(--accent-light); }
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  max-width: 600px; margin-bottom: 45px;
  animation: fadeInUp 0.8s ease 0.4s both;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5); /* Stronger shadow for readability */
  font-weight: 500;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeInUp 0.8s ease 0.6s both; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white; padding: 16px 36px; border-radius: 50px;
  font-weight: 700; font-size: 1.05rem; border: none; cursor: pointer;
  box-shadow: 0 8px 30px rgba(255,140,0,0.5); transition: var(--transition);
  display: inline-flex; align-items: center; gap: 10px;
  position: relative; /* Added for ::after positioning */
  overflow: hidden; /* Added to contain ::after */
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 210, 255, 0.4);
  background: var(--secondary-gradient);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: var(--water-blue);
  border-radius: 50%;
  opacity: 0;
  transform: translateX(-50%);
  pointer-events: none;
}

.btn-primary:hover::after {
  animation: drip 1.5s infinite;
}

@keyframes drip {
  0% { top: 100%; opacity: 1; transform: translateX(-50%) scale(1); }
  100% { top: 150%; opacity: 0; transform: translateX(-50%) scale(0.5); }
}
.btn-secondary {
  background: rgba(255,255,255,0.15); color: white;
  border: 2px solid rgba(255,255,255,0.6);
  padding: 14px 32px; border-radius: 50px;
  font-weight: 600; font-size: 1rem; cursor: pointer;
  backdrop-filter: blur(8px); transition: var(--transition);
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-secondary:hover { background: rgba(255,255,255,0.25); transform: translateY(-3px); }
.hero-stats {
  display: flex; 
  gap: 50px; 
  margin-top: 50px; /* Increased gap to prevent button overlap */
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.8s both;
}
.stat-item { color: white; border-left: 3px solid var(--accent); padding-left: 20px; }
.stat-num { font-size: 2.2rem; font-weight: 900; color: var(--accent-light); line-height: 1; margin-bottom: 5px; }
.stat-label { font-size: 0.8rem; opacity: 0.9; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; color: #fff; }
.hero-scroll {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: white; text-align: center; cursor: pointer;
  animation: bounce 2s ease-in-out infinite;
}
.scroll-arrow { font-size: 1.8rem; }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0);} 50%{transform:translateX(-50%) translateY(-10px);} }
.hero-dots { position: absolute; right: 30px; top: 50%; transform: translateY(-50%); z-index: 2; display: flex; flex-direction: column; gap: 10px; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: var(--transition); }
.hero-dot.active { background: var(--accent-light); transform: scale(1.3); }

/* ===== COUNTDOWN ===== */
#countdown {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 30px 0; color: white; text-align: center;
}
.countdown-text { font-size: 1rem; opacity: 0.85; margin-bottom: 16px; font-weight: 500; text-transform: uppercase; letter-spacing: 2px; }
.countdown-timer { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.time-block { text-align: center; min-width: 80px; }
.time-block .num { font-size: 3rem; font-weight: 800; color: var(--accent-light); line-height: 1; }
.time-block .label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; opacity: 0.7; }

/* ===== SECTIONS COMMON ===== */
section { padding: 65px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-tag { color: var(--primary); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 12px; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 16px; font-family: 'Playfair Display', serif; }
.section-title span { color: var(--primary); }
.section-sub { color: var(--text-light); font-size: 1.05rem; max-width: 600px; }
.section-header { margin-bottom: 40px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* ===== ABOUT ===== */
#about { background: var(--light); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-images { position: relative; }
.about-img-main { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-dark); height: 450px; }
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-float {
  position: absolute; bottom: -30px; right: -30px;
  width: 200px; height: 200px; border-radius: 16px; overflow: hidden;
  border: 5px solid white; box-shadow: var(--shadow);
}
.about-img-float img { width: 100%; height: 100%; object-fit: cover; }
.about-badge-float {
  position: absolute; top: 20px; left: -20px;
  background: var(--accent); color: white; padding: 16px 20px;
  border-radius: 12px; box-shadow: 0 8px 25px rgba(255,140,0,0.4);
  text-align: center; font-weight: 700;
}
.about-badge-float .num { font-size: 2rem; line-height: 1; }
.about-badge-float .txt { font-size: 0.7rem; text-transform: uppercase; }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.feature-item { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 500; }
.feature-icon { width: 36px; height: 36px; background: var(--primary); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }

/* --- Animated Waves System --- */
.waves-container {
  position: absolute;
  width: 100%;
  height: 120px;
  left: 0;
  overflow: hidden;
  z-index: 5; /* Lowered below stats and content */
}
.wave-bottom { bottom: -2px; }
.wave-top { top: -2px; transform: rotate(180deg); }

.animated-waves {
  position: relative;
  width: 100%;
  height: 120px;
  margin-bottom: -7px; /* Fix for safari gap */
  min-height: 100px;
  max-height: 150px;
}

.parallax-waves > use {
  animation: wave-move 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
.parallax-waves > use:nth-child(1) { animation-delay: -2s; animation-duration: 7s; }
.parallax-waves > use:nth-child(2) { animation-delay: -3s; animation-duration: 10s; }
.parallax-waves > use:nth-child(3) { animation-delay: -4s; animation-duration: 13s; }
.parallax-waves > use:nth-child(4) { animation-delay: -5s; animation-duration: 20s; }

@keyframes wave-move {
  0% { transform: translate3d(-90px,0,0); }
  100% { transform: translate3d(85px,0,0); }
}

/* ===== RIDES ===== */
#rides { background: var(--white); position: relative; }
.rides-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.ride-card {
  border-radius: var(--radius); overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s;
  display: flex; flex-direction: column;
}
.ride-card:hover { transform: translateY(-15px) scale(1.02); box-shadow: 0 30px 60px rgba(10,79,160,0.15); }
.ride-img { height: 260px; overflow: hidden; position: relative; }
.ride-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.8s; }
.ride-card:hover .ride-img img { transform: scale(1.1); filter: brightness(1.1); }
.ride-badge { position: absolute; top: 15px; right: 15px; background: var(--accent); color: white; padding: 6px 16px; border-radius: 50px; font-size: 0.8rem; font-weight: 700; z-index: 2; box-shadow: 0 4px 15px rgba(255,140,0,0.3); }
.ride-info { padding: 30px; flex-grow: 1; }
.ride-info h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; font-family: 'Playfair Display', serif; color: var(--primary-dark); }
.ride-info p { color: var(--text-light); font-size: 1rem; line-height: 1.6; }
.ride-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.ride-tag { background: var(--light); color: var(--primary); font-size: 0.8rem; padding: 5px 14px; border-radius: 50px; font-weight: 600; border: 1px solid rgba(10, 79, 160, 0.1); }

/* ===== GALLERY ===== */
#gallery { background: var(--light); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: auto; gap: 16px; }
.gallery-item { border-radius: 12px; overflow: hidden; position: relative; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after { content: '🔍'; position: absolute; inset: 0; background: rgba(10,79,160,0.6); display: flex; align-items: center; justify-content: center; font-size: 2rem; opacity: 0; transition: var(--transition); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.g1 { height: 200px; } .g2 { height: 200px; } .g3 { height: 420px; } .g4 { height: 200px; }
.g5 { height: 200px; } .g6 { height: 200px; height:200px; grid-column: span 2; }

/* ===== PRICING ===== */
#pricing { background: white; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.price-card {
  border-radius: 20px; padding: 40px 32px; text-align: center;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s, box-shadow 0.4s;
  position: relative; overflow: hidden;
}
.price-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.price-card.featured {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-color: var(--primary); color: white;
  transform: scale(1.05);
  box-shadow: 0 20px 60px rgba(10,79,160,0.35);
}
.price-card.featured::before { background: linear-gradient(90deg, var(--accent), var(--accent-light)); }
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.price-card.featured:hover { transform: scale(1.05) translateY(-8px); }
.popular-badge { position: absolute; top: 20px; right: 20px; background: var(--accent); color: white; padding: 4px 14px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; }
.price-icon { font-size: 3rem; margin-bottom: 16px; }
.price-name { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.price-amount { font-size: 3.5rem; font-weight: 900; color: var(--accent-light); line-height: 1; }
.price-card.featured .price-amount { color: var(--accent-light); }
.price-currency { font-size: 1.5rem; vertical-align: top; margin-top: 10px; display: inline-block; }
.price-period { font-size: 0.85rem; opacity: 0.7; margin-top: 4px; }
.price-features { margin: 24px 0; text-align: left; }
.price-features li { padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.06); font-size: 0.9rem; display: flex; gap: 10px; align-items: center; }
.price-card.featured .price-features li { border-color: rgba(255,255,255,0.1); }
.price-features li::before { content: '✓'; color: var(--success); font-weight: 700; flex-shrink: 0; }
.price-card.featured .price-features li::before { color: var(--accent-light); }
.btn-book {
  width: 100%; padding: 14px; border-radius: 50px; border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white; font-weight: 700; font-size: 1rem; cursor: pointer;
  transition: var(--transition); margin-top: 8px;
}
.btn-book:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255,140,0,0.5); }
.price-card .btn-book.outline {
  background: transparent; border: 2px solid var(--primary); color: var(--primary);
}
.price-card .btn-book.outline:hover { background: var(--primary); color: white; }

/* ===== CONTACT ===== */
#contact { background: var(--light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contact-info h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 24px; }
.info-item { display: flex; gap: 16px; margin-bottom: 24px; }
.info-icon { width: 48px; height: 48px; background: var(--primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.info-text strong { display: block; font-weight: 700; margin-bottom: 2px; }
.info-text span { color: var(--text-light); font-size: 0.9rem; }
.social-links { display: flex; gap: 12px; margin-top: 32px; }
.social-btn { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; transition: var(--transition); text-decoration: none; }
.social-btn.whatsapp { background: #25D366; color: white; }
.social-btn.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: white; }
.social-btn.facebook { background: #1877F2; color: white; }
.social-btn:hover { transform: translateY(-4px) scale(1.1); }
.contact-form { background: white; border-radius: 20px; padding: 40px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 18px; border: 2px solid #e8eef7;
  border-radius: 10px; font-family: inherit; font-size: 0.95rem;
  transition: var(--transition); background: var(--light); outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); background: white; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===== BOOKING MODAL ===== */
#bookingModal {
  display: none; position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(8px);
  align-items: center; justify-content: center; padding: 20px;
}
#bookingModal.open { display: flex; }
.modal-box {
  background: white; border-radius: 24px; padding: 48px 40px;
  max-width: 520px; width: 100%; max-height: 90vh; overflow-y: auto;
  animation: modalIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}
@keyframes modalIn { from{transform:scale(0.8) translateY(30px);opacity:0;} to{transform:scale(1) translateY(0);opacity:1;} }
.modal-close { position: absolute; top: 20px; right: 20px; width: 36px; height: 36px; background: var(--light); border: none; border-radius: 50%; cursor: pointer; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.modal-close:hover { background: #ffeeee; color: red; }
.modal-title { font-size: 1.8rem; font-weight: 800; margin-bottom: 8px; color: var(--primary); font-family: 'Playfair Display', serif; }
.modal-sub { color: var(--text-light); margin-bottom: 28px; font-size: 0.9rem; }
.ticket-counter { display: flex; align-items: center; justify-content: space-between; border: 2px solid var(--light); border-radius: 12px; padding: 16px 20px; margin-bottom: 16px; }
.ticket-info { flex: 1; }
.ticket-name { font-weight: 700; font-size: 1rem; }
.ticket-price { color: var(--primary); font-size: 0.85rem; font-weight: 600; }
.counter { display: flex; align-items: center; gap: 12px; }
.counter-btn { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--primary); background: white; color: var(--primary); font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; font-weight: 700; transition: var(--transition); }
.counter-btn:hover { background: var(--primary); color: white; }
.counter-val { font-size: 1.2rem; font-weight: 700; min-width: 30px; text-align: center; }
.total-row { background: var(--light); border-radius: 12px; padding: 16px 20px; margin: 20px 0; display: flex; justify-content: space-between; align-items: center; }
.total-label { font-weight: 600; }
.total-amount { font-size: 1.8rem; font-weight: 800; color: var(--primary); }
.pay-btn {
  width: 100%; padding: 18px; background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white; border: none; border-radius: 50px; font-size: 1.1rem;
  font-weight: 700; cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.pay-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(10,79,160,0.4); }
.or-divider { text-align: center; color: var(--text-light); margin: 16px 0; font-size: 0.9rem; }
.wa-btn {
  width: 100%; padding: 16px; background: #25D366; color: white;
  border: none; border-radius: 50px; font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.wa-btn:hover { background: #128C7E; transform: translateY(-2px); }

/* ===== FLOATING WHATSAPP ===== */
.float-wa {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 60px; height: 60px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
  box-shadow: 0 6px 25px rgba(37,211,102,0.5); text-decoration: none;
  transition: var(--transition); animation: floatBounce 3s ease-in-out infinite;
}
.float-wa:hover { transform: scale(1.15); }
@keyframes floatBounce { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-8px);} }

/* ===== FOOTER ===== */
footer {
  background: var(--primary-dark); color: white; padding: 40px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand img { height: 70px; margin-bottom: 16px; filter: brightness(10); }
.footer-brand p { opacity: 0.75; font-size: 0.9rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: 1rem; font-weight: 700; margin-bottom: 20px; color: var(--accent-light); letter-spacing: 1px; text-transform: uppercase; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { opacity: 0.75; font-size: 0.9rem; transition: var(--transition); }
.footer-col ul li a:hover { opacity: 1; color: var(--accent-light); padding-left: 4px; }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 14px; align-items: flex-start; }
.footer-contact-item span:first-child { font-size: 1rem; margin-top: 2px; }
.footer-contact-item span:last-child { font-size: 0.85rem; opacity: 0.75; line-height: 1.5; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: gap; }
.footer-bottom p { opacity: 0.6; font-size: 0.85rem; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { opacity: 0.6; font-size: 0.8rem; transition: var(--transition); }
.footer-bottom-links a:hover { opacity: 1; color: var(--accent-light); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown { from{opacity:0;transform:translateY(-20px);} to{opacity:1;transform:translateY(0);} }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s, transform 0.8s; }
.reveal-active { opacity: 1 !important; transform: translateY(0) !important; animation: fadeUp 0.8s ease-out forwards; }

/* ===== WAVE DIVIDER ===== */
.wave-divider { width: 100%; overflow: hidden; line-height: 0; }
.wave-divider svg { display: block; width: 100%; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .price-card.featured { transform: scale(1); }
}
@media (max-width: 768px) {
  section { padding: 35px 0; }
  .nav-links { display: none; position: fixed; top: 0; right: 0; bottom: 0; width: 280px; background: rgba(6,50,120,0.98); backdrop-filter: blur(12px); flex-direction: column; justify-content: flex-start; gap: 8px; padding: 100px 24px 40px; transform: translateX(100%); transition: transform 0.4s ease; box-shadow: -10px 0 30px rgba(0,0,0,0.3); border-left: 1px solid rgba(255,255,255,0.1); }
  .nav-links.open { transform: translateX(0); display: flex; }
  .nav-links a { padding: 14px 20px; font-size: 1.1rem; background: rgba(255,255,255,0.05); border-radius: 12px; transition: var(--transition); border: 1px solid rgba(255,255,255,0.02); }
  .nav-links a:hover, .nav-links a.active { background: rgba(255,255,255,0.15); transform: translateX(5px); }
  .nav-book-btn { background: linear-gradient(135deg, var(--accent), var(--accent-dark)) !important; transform: none !important; margin-top: 10px; text-align: center; justify-content: center; }
  #menuToggle { display: flex; z-index: 1001; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-float { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.tall { grid-row: span 1; height: 200px; }
  .gallery-item.wide { grid-column: span 2; }
  .hero-stats { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1/-1; }
  .modal-box { padding: 32px 24px; max-height: 85vh; }
  .features-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 30px 24px; }
}
@media (max-width: 480px) {
  section { padding: 35px 0; }
  .hero-title { font-size: clamp(2.3rem, 10vw, 3rem); }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.wide { grid-column: span 1; }
  .pricing-grid { max-width: 100%; }
  .hero-stats { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-wa { width: 50px; height: 50px; bottom: 20px; right: 20px; font-size: 1.5rem; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .about-img-main { height: 300px; }
  .price-card { padding: 30px 20px; }
  .modal-title { font-size: 1.5rem; }
  .ticket-counter { padding: 12px 16px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .counter { width: 100%; justify-content: space-between; }
}

/* ===== REVELATION ===== */
.reveal, .ride-card, .price-card, .gallery-item, .section-header, .about-content {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
  visibility: hidden;
}

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

.section-header.reveal-active { transition-delay: 0.1s; }

.rides-grid .ride-card:nth-child(1) { transition-delay: 0.1s; }
.rides-grid .ride-card:nth-child(2) { transition-delay: 0.2s; }
.rides-grid .ride-card:nth-child(3) { transition-delay: 0.3s; }

/* ===== DARK MODE & GLASSMORPHISM ===== */
body.dark-mode {
  --white: #121212;
  --light: #1e1e1e;
  --text: #ffffff;
  --text-light: #b0b0b0;
  --shadow: 0 10px 40px rgba(0,0,0,0.6);
  --primary: #4a90e2;
  --primary-dark: #0a4fa0;
  background-color: var(--white);
  color: var(--text);
}

body.dark-mode footer,
body.dark-mode #pricing,
body.dark-mode #about,
body.dark-mode #gallery,
body.dark-mode #contact {
  background-color: var(--white) !important;
}

body.dark-mode .reopening-section {
  background: linear-gradient(135deg, #1a2a1a, #0d1a0d);
}

body.dark-mode .section-header h2 span { color: var(--accent-light); }
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, body.dark-mode h4 { color: #ffffff; }

body.dark-mode #navbar.scrolled {
  background: rgba(18, 18, 18, 0.9);
  backdrop-filter: blur(10px);
}

body.dark-mode .ride-card, 
body.dark-mode .price-card, 
body.dark-mode .contact-form,
body.dark-mode .modal-box,
body.dark-mode .logo-box,
body.dark-mode .legal-box {
  background: rgba(30, 30, 30, 0.7);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

body.dark-mode .stat-item { background: rgba(255,255,255,0.05); }

body.dark-mode input, 
body.dark-mode textarea, 
body.dark-mode select {
  background: #2a2a2a;
  border-color: #333;
  color: white;
}

body.dark-mode .footer-brand > div { background: rgba(255,255,255,0.1) !important; }

body.dark-mode #pricingNote {
  background: linear-gradient(135deg, #2a2600, #1a1500);
  border-color: #444;
  color: #f7c52a;
}

body.dark-mode .glass {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Enhancing contact form with glassmorphism in dark mode */
body.dark-mode .contact-form {
  background: rgba(30,30,30,0.8);
  backdrop-filter: blur(20px);
}


body.dark-mode .tile-bg { background: rgba(255,255,255,0.08); backdrop-filter: blur(10px); }
body.dark-mode .logo-box-footer { background: rgba(255,255,255,0.1); }

/* ===== FISH MASCOT ===== */
.fish-mascot {
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  display: flex;
  align-items: center; justify-content: center;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s;
  visibility: hidden; /* Shown by JS */
  width: 90px;
  height: 90px;
}
.fish-mascot svg {
  animation: swimSway 3s ease-in-out infinite;
}
@keyframes swimSway {
  0%, 100% { transform: translateY(0) rotate(0); }
  25% { transform: translateY(-5px) rotate(-4deg); }
  75% { transform: translateY(5px) rotate(4deg); }
}

@media (min-width: 1024px) {
  .fish-mascot { visibility: visible; }
}

/* ===== LEGAL MODALS ===== */
.legal-modal {
  display: none; position: fixed; inset: 0; z-index: 20000;
  background: rgba(0,0,0,0.8); backdrop-filter: blur(10px);
  align-items: center; justify-content: center; padding: 20px;
}
.legal-modal.open { display: flex; }
.legal-box {
  background: white; border-radius: 20px; padding: 40px;
  max-width: 800px; width: 100%; max-height: 80vh; overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.legal-box h2 { font-family: 'Playfair Display', serif; color: var(--primary); margin-bottom: 20px; }
.legal-box h3 { margin: 20px 0 10px; color: var(--primary-dark); font-size: 1.1rem; }
.legal-box p, .legal-box li { color: var(--text-light); line-height: 1.6; margin-bottom: 12px; font-size: 0.95rem; }
.legal-box ul { margin-left: 20px; }

/* Dark mode overrides for legal */
body.dark-mode .legal-box { background: #1a1a1a; color: #eee; }
body.dark-mode .legal-box h2, body.dark-mode .legal-box h3 { color: var(--accent-light); }
body.dark-mode .legal-box p, body.dark-mode .legal-box li { color: #ccc; }
/* ===== WATER EFFECTS ===== */
#ripple-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transform: scale(0);
  animation: rippleEffect 0.8s ease-out forwards;
}

@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.bubble {
  position: fixed;
  bottom: -20px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  animation: bubbleRising var(--duration) linear infinite;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.3);
}

@keyframes bubbleRising {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-110vh) translateX(20px); opacity: 0; }
}

/* ===== RESPONSIVE FIXES ===== */
@media (max-width: 991px) {
  .hero-content { padding-top: 140px; padding-bottom: 60px; }
  .logo-box { padding: 4px 10px; }
  .logo-text { font-size: 1rem; }
  .main-logo { height: 32px; }
}

@media (max-width: 768px) {
  .hero-content { padding-top: 130px; text-align: center; }
  .hero-title { font-size: 2.8rem; }
  .hero-badge { margin-bottom: 12px; }
  .logo-text { display: none; } /* Hide text on very small screens to prevent overlap */
  .fish-mascot {
  position: fixed;
  top: 0; left: 0;
  width: 65px; height: 65px; /* Slightly smaller to not block text */
  z-index: 9999;
  pointer-events: none;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
  visibility: hidden;
  transition: opacity 0.3s ease;
  animation: swimBob 3s ease-in-out infinite;
}

@keyframes swimBob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}
}


/* ===== LANGUAGE SWITCHER IN NAV ===== */
.nav-lang-item {
  list-style: none;
}
.nav-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.18) !important;
  border: 1.5px solid rgba(255,255,255,0.5) !important;
  color: white !important;
  padding: 8px 18px !important;
  border-radius: 50px !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
}
.nav-lang-btn:hover {
  background: rgba(255,255,255,0.3) !important;
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.8) !important;
}
#navbar.scrolled .nav-lang-btn {
  color: var(--primary-dark) !important;
  border-color: var(--primary) !important;
  background: rgba(10,79,160,0.08) !important;
}

/* ===== MOBILE NAV SPACING ===== */
@media (max-width: 768px) {
  .nav-links a,
  .nav-links .nav-lang-btn {
    margin-bottom: 4px;
  }
  .nav-links li {
    margin-bottom: 6px;
  }
  .nav-lang-btn {
    background: rgba(255,255,255,0.1) !important;
    border-color: rgba(255,255,255,0.3) !important;
    color: white !important;
    width: 100% !important;
    justify-content: center;
    font-size: 1.05rem !important;
    padding: 14px 20px !important;
    border-radius: 12px !important;
  }
  .nav-lang-btn:hover {
    background: rgba(255,255,255,0.2) !important;
    transform: translateX(5px);
  }
}

/* ===== INSTAGRAM SECTION FIX ===== */
#instagram .section-header { opacity:1!important; visibility:visible!important; transform:none!important; }
.insta-item { opacity:1!important; visibility:visible!important; transform:none!important; border-radius:12px; overflow:hidden; background:var(--light); }
.insta-item img { width:100%; height:100%; object-fit:cover; }

.reopening-section.reveal, .reopening-section .reveal { opacity:1!important; visibility:visible!important; transform:none!important; }
.reopening-section img { opacity:1!important; visibility:visible!important; }
.insta-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:12px; margin-top:28px; }

.reopening-section, .reopening-section h2, .reopening-section p, .reopening-section img { opacity:1!important; visibility:visible!important; transform:none!important; }
.reopening-section { background: var(--white); }
.reopening-section img { max-width:100%; height:auto; display:block; margin:0 auto; }
.insta-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:12px; margin-top:28px; }
