/* ============================
   TALAH TICKET — AKUA PARK
   Design System & Styles
   ============================ */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;900&family=Inter:wght@300;400;600;700;800&display=swap');

/* === CSS VARIABLES === */
:root {
  --forest:    #1F3D2B;
  --forest-dk: #162c1f;
  --forest-lt: #2a5239;
  --ivory:     #F5F1E4;
  --gold:      #F2CA6E;
  --gold-dk:   #d9a83a;
  --sage:      #E7EBE1;
  --gray:      #9AA39B;
  --white:     #ffffff;
  --text-dark: #1a2e23;
  --text-mid:  #3d5447;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --shadow-sm: 0 4px 16px rgba(31,61,43,0.10);
  --shadow-md: 0 8px 32px rgba(31,61,43,0.16);
  --shadow-lg: 0 16px 64px rgba(31,61,43,0.22);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Cairo', 'Inter', sans-serif;
  background: var(--ivory);
  color: var(--text-dark);
  direction: rtl;
  overflow-x: hidden;
  line-height: 1.7;
}

body.lang-en { direction: ltr; }

img { display: block; width: 100%; object-fit: cover; }

a { text-decoration: none; color: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 24px);
  width: 100%;
}

/* === BUTTONS === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dk) 100%);
  color: var(--forest-dk);
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(242,202,110,0.4);
  white-space: nowrap;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(242,202,110,0.55);
  background: linear-gradient(135deg, #f5d47e 0%, var(--gold) 100%);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--forest);
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 32px;
  border-radius: var(--radius-xl);
  border: 2px solid var(--forest);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-outline:hover {
  background: var(--forest);
  color: var(--ivory);
  transform: translateY(-2px);
}

/* === SECTION HEADERS === */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-tag {
  display: inline-block;
  background: rgba(31,61,43,0.1);
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 40px;
  margin-bottom: 14px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--forest-dk);
  margin-bottom: 12px;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 520px;
  margin: 0 auto;
}

/* ============================
   NAVBAR
   ============================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(21, 40, 28, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(242,202,110,0.15);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(21,40,28,0.97);
  box-shadow: var(--shadow-md);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
}
.logo-icon { font-size: 1.8rem; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-main {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--gold);
}
.logo-sub {
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(245,241,228,0.6);
  letter-spacing: 1px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  color: rgba(245,241,228,0.85);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 40px;
  transition: var(--transition);
}
.nav-link:hover { color: var(--gold); background: rgba(242,202,110,0.1); }
.btn-book-nav {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dk) 100%);
  color: var(--forest-dk) !important;
  padding: 9px 22px !important;
  border-radius: 40px;
}
.btn-book-nav:hover { background: rgba(242,202,110,0.1) !important; color: var(--gold) !important; }
.btn-install-nav {
  background: rgba(245, 241, 228, 0.1);
  color: var(--gold) !important;
  border: 1px dashed var(--gold);
  padding: 8px 18px !important;
  border-radius: 40px;
  cursor: pointer;
}
.btn-install-nav:hover {
  background: var(--gold);
  color: var(--forest-dk) !important;
  border-style: solid;
}
.btn-install-mobile {
  background: rgba(242, 202, 110, 0.1);
  color: var(--gold) !important;
  border: 1px dashed var(--gold);
  padding: 12px 18px !important;
  border-radius: var(--radius-md);
  margin: 6px 0;
  text-align: center;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}
.btn-install-mobile:active {
  background: var(--gold);
  color: var(--forest-dk) !important;
}
.lang-toggle {
  background: rgba(242,202,110,0.15);
  color: var(--gold);
  border: 1px solid rgba(242,202,110,0.3);
  padding: 6px 16px;
  border-radius: 40px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.lang-toggle:hover { background: var(--gold); color: var(--forest-dk); }
.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--ivory);
  font-size: 1.4rem;
  cursor: pointer;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--forest-dk);
  padding: 12px 24px 20px;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link { color: var(--ivory); }

/* ============================
   HERO
   ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 12s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(15,30,20,0.82) 0%,
    rgba(31,61,43,0.65) 50%,
    rgba(15,30,20,0.88) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 120px 24px 80px;
}
.hero-badge {
  display: inline-block;
  background: rgba(242,202,110,0.2);
  border: 1px solid rgba(242,202,110,0.5);
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 40px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  animation: fadeUp 0.8s ease both;
}
.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  color: var(--ivory);
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeUp 0.8s 0.15s ease both;
  text-shadow: 0 4px 40px rgba(0,0,0,0.3);
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(245,241,228,0.8);
  max-width: 600px;
  margin: 0 auto 36px;
  animation: fadeUp 0.8s 0.3s ease both;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  animation: fadeUp 0.8s 0.45s ease both;
}
.hero-cta { font-size: 1.05rem; padding: 16px 36px; }
.hero-cta-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(245,241,228,0.1);
  color: var(--ivory);
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 15px 36px;
  border-radius: var(--radius-xl);
  border: 2px solid rgba(245,241,228,0.4);
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}
.hero-cta-ghost:hover {
  background: rgba(245,241,228,0.2);
  border-color: var(--ivory);
  transform: translateY(-2px);
}
.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  animation: fadeUp 0.8s 0.6s ease both;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 20px 40px;
  display: inline-flex;
}
.stat { text-align: center; }
.stat-num { display: block; font-size: 1.6rem; font-weight: 900; color: var(--gold); }
.stat-lbl { font-size: 0.75rem; color: rgba(245,241,228,0.7); font-weight: 400; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(245,241,228,0.6);
  font-size: 0.8rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: fadeIn 1s 1.5s ease both;
}
.scroll-arrow {
  font-size: 1.2rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ============================
   GALLERY
   ============================ */
.gallery-section {
  padding: 100px 0;
  background: var(--white);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 280px 280px;
  gap: 16px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.gallery-large {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-caption {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,30,20,0.75) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 18px;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-caption { opacity: 1; }
.caption-text {
  color: var(--ivory);
  font-size: 0.9rem;
  font-weight: 700;
}

/* ============================
   ATTRACTIONS
   ============================ */
.attractions-section {
  padding: 100px 0;
  background: var(--sage);
}
.attractions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.attraction-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 2px solid transparent;
}
.attraction-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.attraction-icon { font-size: 2.8rem; margin-bottom: 16px; }
.attraction-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--forest-dk);
  margin-bottom: 10px;
}
.attraction-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ============================
   PRICING
   ============================ */
.pricing-section {
  padding: 100px 0;
  background: var(--forest);
}
.pricing-section .section-tag {
  background: rgba(242,202,110,0.2);
  color: var(--gold);
}
.pricing-section .section-header h2 { color: var(--ivory); }
.pricing-section .section-header p { color: rgba(245,241,228,0.65); }
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: rgba(255,255,255,0.07);
  border: 2px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  color: var(--ivory);
  transition: var(--transition);
  position: relative;
}
.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(242,202,110,0.4);
  background: rgba(255,255,255,0.1);
}
.pricing-card.featured {
  background: var(--ivory);
  border-color: var(--gold);
  color: var(--forest-dk);
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured:hover { transform: scale(1.04) translateY(-6px); }
.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dk) 100%);
  color: var(--forest-dk);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 18px;
  border-radius: 40px;
  white-space: nowrap;
}
.pricing-emoji { font-size: 2.5rem; margin-bottom: 14px; }
.pricing-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 16px; }
.price { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin-bottom: 8px; }
.price-num { font-size: 3rem; font-weight: 900; color: var(--gold); }
.pricing-card.featured .price-num { color: var(--forest-dk); }
.price-currency { font-size: 1rem; font-weight: 600; opacity: 0.7; }
.pricing-card > p { font-size: 0.82rem; opacity: 0.6; margin-bottom: 24px; }
.price-features { list-style: none; text-align: right; }
body.lang-en .price-features { text-align: left; }
.price-features li { padding: 6px 0; font-size: 0.88rem; opacity: 0.8; border-bottom: 1px solid rgba(255,255,255,0.08); }
.pricing-card.featured .price-features li { border-bottom-color: rgba(31,61,43,0.08); }

/* ============================
   BOOKING SECTION
   ============================ */
.booking-section {
  padding: 100px 0 120px;
  background: var(--ivory);
}

/* Progress bar */
.booking-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  text-align: center;
}
.pstep-circle {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--sage);
  border: 3px solid rgba(31,61,43,0.15);
  color: var(--gray);
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.progress-step.active .pstep-circle,
.progress-step.done .pstep-circle {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--gold);
}
.progress-step span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray);
}
.progress-step.active span,
.progress-step.done span { color: var(--forest); }
.progress-line {
  flex: 1;
  height: 3px;
  background: rgba(31,61,43,0.12);
  margin-bottom: 28px;
  border-radius: 2px;
  transition: var(--transition);
}
.progress-line.done { background: var(--forest); }

/* Booking card */
.booking-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 48px 52px;
  max-width: 680px;
  margin: 0 auto;
  border: 1px solid rgba(31,61,43,0.06);
}
.booking-step { display: none; }
.booking-step.active { display: block; animation: fadeUp 0.4s ease both; }
.step-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--forest-dk);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--sage);
}

/* Form */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-mid);
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(31,61,43,0.12);
  border-radius: var(--radius-md);
  font-family: 'Cairo', sans-serif;
  font-size: 0.95rem;
  background: var(--ivory);
  color: var(--text-dark);
  transition: var(--transition);
  outline: none;
  text-align: right;
}
body.lang-en .form-input { text-align: left; }
.form-input:focus {
  border-color: var(--forest);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(31,61,43,0.08);
}
.form-input.error { border-color: #e05252; box-shadow: 0 0 0 4px rgba(224,82,82,0.1); }
.field-error {
  display: none;
  color: #e05252;
  font-size: 0.8rem;
  margin-top: 6px;
  font-weight: 600;
}
.field-error.show { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Phone */
.phone-input-wrap {
  display: flex;
  align-items: center;
  border: 2px solid rgba(31,61,43,0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ivory);
  transition: var(--transition);
}
.phone-input-wrap:focus-within {
  border-color: var(--forest);
  box-shadow: 0 0 0 4px rgba(31,61,43,0.08);
}
.phone-prefix {
  background: var(--sage);
  padding: 14px 14px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--forest);
  border-left: none;
  white-space: nowrap;
}
body.lang-en .phone-prefix { border-left: none; border-right: none; }
.phone-input {
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  flex: 1;
}

/* Visitor counters */
.visitors-section { margin-bottom: 28px; }
.visitor-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: var(--sage);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  transition: var(--transition);
}
.visitor-row:hover { background: var(--ivory); }
.visitor-info { display: flex; align-items: center; gap: 14px; }
.visitor-icon { font-size: 1.8rem; }
.visitor-label { font-weight: 800; font-size: 0.95rem; color: var(--forest-dk); }
.visitor-sub { font-size: 0.78rem; color: var(--gray); }
.counter { display: flex; align-items: center; gap: 12px; }
.counter-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--forest);
  background: var(--white);
  color: var(--forest);
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  line-height: 1;
}
.counter-btn:hover { background: var(--forest); color: var(--gold); }
.counter-val { font-size: 1.2rem; font-weight: 900; color: var(--forest-dk); min-width: 24px; text-align: center; }

/* Order summary */
.order-summary {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-lt) 100%);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 28px;
  color: var(--ivory);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 6px 0;
}
.summary-divider { border-bottom: 1px solid rgba(255,255,255,0.2); margin: 10px 0; }
.summary-total { font-weight: 800; font-size: 1.05rem; }
.total-num { color: var(--gold); font-size: 1.2rem; }

/* Terms */
.terms-box {
  background: var(--sage);
  border-radius: var(--radius-md);
  padding: 24px;
  max-height: 280px;
  overflow-y: auto;
  margin-bottom: 20px;
  border: 1px solid rgba(31,61,43,0.1);
}
.terms-box::-webkit-scrollbar { width: 5px; }
.terms-box::-webkit-scrollbar-track { background: transparent; }
.terms-box::-webkit-scrollbar-thumb { background: var(--forest); border-radius: 10px; }
.terms-content h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--forest-dk);
  margin-bottom: 10px;
  margin-top: 16px;
}
.terms-content h4:first-child { margin-top: 0; }
.terms-content ul { margin-right: 16px; }
body.lang-en .terms-content ul { margin-right: 0; margin-left: 16px; }
.terms-content li {
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-bottom: 6px;
  line-height: 1.6;
}
.terms-agree {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--forest-dk);
  margin-bottom: 24px;
  padding: 14px 18px;
  background: rgba(31,61,43,0.05);
  border-radius: var(--radius-md);
  border: 2px solid rgba(31,61,43,0.1);
  transition: var(--transition);
}
.terms-agree:hover { border-color: var(--forest); background: rgba(31,61,43,0.08); }
.terms-agree input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: var(--forest);
  cursor: pointer;
}

/* Payment */
.booking-summary-box {
  background: var(--sage);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 24px;
  border: 1px solid rgba(31,61,43,0.1);
}
.bsummary-title {
  font-weight: 800;
  color: var(--forest-dk);
  margin-bottom: 12px;
  font-size: 0.95rem;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(31,61,43,0.1);
}
.bsummary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 5px 0;
  color: var(--text-mid);
}
.bsummary-divider { border-bottom: 1px solid rgba(31,61,43,0.1); margin: 10px 0; }
.bsummary-total { font-weight: 800; color: var(--forest-dk); font-size: 1rem; }
.confirm-total-num { color: var(--forest); font-size: 1.1rem; }
.payment-methods { margin-bottom: 24px; }
.payment-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-mid);
  margin-bottom: 12px;
}
.payment-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.payment-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 10px;
  border-radius: var(--radius-md);
  border: 2px solid rgba(31,61,43,0.12);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-mid);
  background: var(--ivory);
  text-align: center;
}
.payment-option input { display: none; }
.payment-option:hover,
.payment-option.selected {
  border-color: var(--forest);
  background: var(--white);
  color: var(--forest);
  box-shadow: var(--shadow-sm);
}
.pay-icon { font-size: 1.4rem; }
.card-fields { margin-bottom: 20px; }
.secure-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 24px;
  background: var(--sage);
  padding: 10px 16px;
  border-radius: 40px;
}

/* Step nav */
.step-nav {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 8px;
}
.step-nav .btn-primary,
.step-nav .btn-outline { flex: 1; }
.step-next { width: 100%; }

/* ============================
   SUCCESS MODAL
   ============================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,30,20,0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.modal-overlay.open { display: flex; }
.modal-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 0;
  max-width: 560px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

/* Perforated ticket */
.ticket-stub {
  display: flex;
  background: linear-gradient(135deg, var(--forest-dk) 0%, var(--forest) 100%);
  min-height: 160px;
  position: relative;
  overflow: hidden;
}
.ticket-left {
  flex: 0 0 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  gap: 6px;
  position: relative;
}
.ticket-logo { font-size: 2.5rem; }
.ticket-brand { font-size: 1.05rem; font-weight: 900; color: var(--gold); }
.ticket-park { font-size: 0.72rem; color: rgba(245,241,228,0.6); }
.ticket-perf {
  width: 2px;
  background-image: linear-gradient(to bottom, rgba(242,202,110,0.4) 50%, transparent 50%);
  background-size: 2px 10px;
  position: relative;
}
.ticket-perf::before,
.ticket-perf::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  background: var(--white); /* blends into the modal card background */
  border-radius: 50%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}
.ticket-perf::before {
  top: -12px;
}
.ticket-perf::after {
  bottom: -12px;
}
.ticket-right {
  flex: 1;
  padding: 20px 24px;
  display: flex;
  gap: 16px;
}
.ticket-conf { margin-bottom: 10px; }
.ticket-conf-label { font-size: 0.68rem; color: rgba(245,241,228,0.6); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.ticket-conf-num { font-size: 1.1rem; font-weight: 900; color: var(--gold); letter-spacing: 2px; }
.ticket-details { flex: 1; }
.td-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(245,241,228,0.85);
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.td-row span:first-child { color: rgba(245,241,228,0.55); }
.ticket-qr { text-align: center; flex: 0 0 90px; }
.qr-box {
  width: 80px; height: 80px;
  background: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  position: relative;
  overflow: hidden;
}
.qr-hint { font-size: 0.65rem; color: rgba(245,241,228,0.55); }

/* Success msg */
.success-msg {
  padding: 32px 40px 20px;
  text-align: center;
}
.success-icon { font-size: 3rem; margin-bottom: 12px; }
.success-msg h3 {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--forest-dk);
  margin-bottom: 10px;
}
.success-msg p { font-size: 0.9rem; color: var(--gray); line-height: 1.7; }

/* SMS preview */
.sms-preview {
  margin: 0 40px 24px;
  background: var(--sage);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(31,61,43,0.1);
}
.sms-header {
  background: var(--forest);
  color: var(--ivory);
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sms-body {
  padding: 16px;
  font-size: 0.82rem;
  color: var(--text-dark);
  line-height: 1.8;
  white-space: pre-line;
  direction: rtl;
}
body.lang-en .sms-body { direction: ltr; }

.modal-actions {
  display: flex;
  gap: 12px;
  padding: 0 40px 36px;
}
.modal-actions .btn-primary,
.modal-actions .btn-outline { flex: 1; }

/* ============================
   FOOTER
   ============================ */
.footer {
  background: var(--forest-dk);
  color: var(--ivory);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-brand p { font-size: 0.88rem; color: rgba(245,241,228,0.6); line-height: 1.7; }
.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col a,
.footer-col span {
  display: block;
  font-size: 0.85rem;
  color: rgba(245,241,228,0.65);
  margin-bottom: 8px;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(245,241,228,0.4);
}

/* ============================
   ANIMATIONS
   ============================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================
   RESPONSIVE — ALL BREAKPOINTS
   1024px  Tablet landscape
   768px   Tablet portrait
   600px   Large phone
   480px   Phone (iPhone 14 Pro etc)
   390px   iPhone 14 / Pixel 7
   360px   Galaxy S series
   320px   iPhone SE (smallest)
   ============================ */

/* ---- 1024px ---- */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .gallery-large {
    grid-column: span 2;
    grid-row: span 1;
    height: 280px;
  }
  .gallery-item { height: 200px; }
  .attractions-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
    gap: 20px;
  }
  .pricing-card.featured { transform: scale(1); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ---- 768px — Tablet portrait / large phones landscape ---- */
@media (max-width: 768px) {
  /* NAV */
  .nav-links { display: none; }
  .hamburger { display: block; }
  .nav-inner { padding: 0 16px; }
  .logo-main { font-size: 1rem; }

  /* HERO */
  .hero-content { padding: 100px 16px 60px; }
  .hero-title { font-size: clamp(2.2rem, 10vw, 3.5rem); }
  .hero-subtitle { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; align-items: center; gap: 12px; }
  .hero-cta, .hero-cta-ghost { width: 100%; max-width: 320px; font-size: 0.95rem; padding: 14px 24px; }
  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 16px 20px;
    width: 100%;
  }
  .stat-divider { display: none; }
  .stat { min-width: 80px; }
  .stat-num { font-size: 1.3rem; }

  /* SECTIONS */
  .gallery-section,
  .attractions-section,
  .pricing-section,
  .booking-section { padding: 64px 0; }
  .section-header { margin-bottom: 36px; }
  .section-header h2 { font-size: 1.7rem; }

  /* GALLERY */
  .gallery-grid { grid-template-columns: 1fr; gap: 12px; }
  .gallery-large { grid-column: span 1; height: 240px; }
  .gallery-item { height: 185px; }

  /* ATTRACTIONS */
  .attractions-grid { grid-template-columns: 1fr; gap: 14px; }
  .attraction-card { padding: 28px 20px; }
  .attraction-icon { font-size: 2.2rem; }

  /* PRICING */
  .pricing-cards { max-width: 380px; gap: 16px; }

  /* BOOKING */
  .booking-card { padding: 28px 20px; border-radius: var(--radius-lg); }
  .booking-progress { gap: 0; margin-bottom: 32px; }
  .pstep-circle { width: 36px; height: 36px; font-size: 0.9rem; }
  .progress-step span { font-size: 0.72rem; }
  .visitor-row { padding: 14px 12px; }
  .visitor-icon { font-size: 1.5rem; }
  .visitor-label { font-size: 0.88rem; }
  .visitor-sub { font-size: 0.72rem; }
  .counter-btn { width: 32px; height: 32px; font-size: 1rem; }
  .counter-val { font-size: 1.1rem; }
  .payment-options { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .payment-option { padding: 12px 8px; font-size: 0.72rem; }
  .pay-icon { font-size: 1.2rem; }
  .step-nav { flex-direction: column-reverse; gap: 10px; }
  .step-nav .btn-primary,
  .step-nav .btn-outline { width: 100%; }
  .step-next { width: 100%; }

  /* MODAL */
  .modal-overlay { padding: 12px; align-items: flex-end; }
  .modal-card {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-width: 100%;
    max-height: 92vh;
    overflow-y: auto;
  }
  .ticket-stub { flex-direction: column; }
  .ticket-left {
    border-left: none;
    border-right: none;
    border-bottom: 2px dashed rgba(242,202,110,0.3);
    flex-direction: row;
    padding: 14px 20px;
    gap: 12px;
  }
  .ticket-right { flex-wrap: wrap; padding: 16px; gap: 12px; }
  .ticket-qr { flex: 0 0 70px; }
  .qr-box { width: 64px; height: 64px; }
  .success-msg { padding: 20px 16px 12px; }
  .success-msg h3 { font-size: 1.2rem; }
  .success-msg p { font-size: 0.85rem; }
  .sms-preview { margin: 0 16px 16px; }
  .modal-actions { padding: 0 16px 24px; flex-direction: column; gap: 10px; }
  .modal-actions .btn-primary,
  .modal-actions .btn-outline { width: 100%; }

  /* FOOTER */
  .footer { padding: 48px 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ---- 600px — Large phones ---- */
@media (max-width: 600px) {
  .hero-badge { font-size: 0.78rem; padding: 6px 14px; }
  .booking-card { padding: 24px 16px; }
  .step-title { font-size: 1.1rem; margin-bottom: 20px; }
  .form-input { padding: 12px 14px; font-size: 0.9rem; }
  .order-summary { padding: 16px 18px; }
  .terms-box { padding: 18px 16px; max-height: 220px; }
  .terms-agree { padding: 12px 14px; font-size: 0.85rem; }
  .booking-summary-box { padding: 16px 18px; }
  .card-fields .form-row { grid-template-columns: 1fr; }
  .secure-badge { font-size: 0.75rem; }
  .pricing-cards { max-width: 340px; }
  .gallery-large { height: 200px; }
  .gallery-item { height: 165px; }
}

/* ---- 480px — Standard phones (iPhone 14, Pixel) ---- */
@media (max-width: 480px) {
  html { font-size: 15px; }

  /* NAV */
  .nav-inner { height: 60px; }
  .logo-icon { font-size: 1.5rem; }
  .logo-main { font-size: 0.9rem; }
  .logo-sub { display: none; }
  .lang-toggle { padding: 5px 12px; font-size: 0.8rem; }

  /* HERO */
  .hero-content { padding: 88px 14px 50px; }
  .hero-title { font-size: clamp(2rem, 12vw, 2.8rem); }
  .hero-scroll-hint { display: none; }

  /* SECTIONS */
  .gallery-section,
  .attractions-section,
  .pricing-section,
  .booking-section { padding: 52px 0; }
  .section-header { margin-bottom: 28px; }

  /* BOOKING PROGRESS */
  .booking-progress { margin-bottom: 24px; }
  .progress-step span { display: none; }
  .pstep-circle { width: 32px; height: 32px; font-size: 0.82rem; }
  .progress-line { margin-bottom: 20px; }

  /* BOOKING CARD */
  .booking-card {
    padding: 20px 14px;
    border-radius: var(--radius-md);
    margin: 0 -4px;
  }
  .visitor-row {
    padding: 12px 10px;
    border-radius: var(--radius-sm);
  }
  .counter { gap: 8px; }
  .counter-btn { width: 30px; height: 30px; font-size: 0.95rem; }

  /* FORM */
  .form-group { margin-bottom: 16px; }
  .form-group label { font-size: 0.82rem; }
  .form-input { font-size: 0.88rem; padding: 11px 12px; }
  .phone-prefix { padding: 11px 12px; font-size: 0.85rem; }

  /* PAYMENT */
  .payment-options { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .payment-option { padding: 10px 6px; font-size: 0.7rem; }
  .pay-icon { font-size: 1.1rem; }
  .card-fields .form-row { grid-template-columns: 1fr; }

  /* TICKET MODAL */
  .ticket-conf-num { font-size: 0.95rem; letter-spacing: 1px; }
  .td-row { font-size: 0.72rem; }
  .ticket-brand { font-size: 0.88rem; }
  .ticket-park { font-size: 0.65rem; }

  /* ATTRACTIONS */
  .attraction-card { padding: 24px 16px; }
  .attraction-card h3 { font-size: 1rem; }
  .attraction-card p { font-size: 0.82rem; }

  /* PRICING */
  .pricing-cards { max-width: 100%; }
  .pricing-card { padding: 28px 20px; }
  .price-num { font-size: 2.5rem; }
  .price-features li { font-size: 0.82rem; }
}

/* ---- 390px — iPhone 14 / Pixel 7 ---- */
@media (max-width: 390px) {
  .container { padding: 0 12px; }

  .hero-title { font-size: clamp(1.8rem, 13vw, 2.4rem); }
  .hero-subtitle { font-size: 0.88rem; }
  .hero-stats { gap: 10px; padding: 14px 12px; }
  .stat-num { font-size: 1.1rem; }
  .stat-lbl { font-size: 0.68rem; }

  .booking-card { padding: 18px 12px; margin: 0; }
  .step-title { font-size: 1rem; padding-bottom: 12px; margin-bottom: 16px; }
  .visitor-row { gap: 8px; }
  .visitor-info { gap: 10px; }
  .visitor-icon { font-size: 1.3rem; }
  .visitor-label { font-size: 0.82rem; }
  .visitor-sub { font-size: 0.68rem; }
  .counter-btn { width: 28px; height: 28px; font-size: 0.9rem; }
  .counter-val { font-size: 1rem; }

  .summary-row { font-size: 0.82rem; }
  .total-num { font-size: 1.05rem; }

  .form-input { padding: 10px 12px; font-size: 0.85rem; }
  .phone-prefix { padding: 10px 10px; font-size: 0.8rem; }

  .payment-option { padding: 9px 5px; font-size: 0.65rem; }
  .pay-icon { font-size: 1rem; }

  .section-header h2 { font-size: 1.5rem; }
  .section-header p { font-size: 0.88rem; }

  .attraction-icon { font-size: 2rem; }
  .attraction-card h3 { font-size: 0.95rem; }

  .sms-body { font-size: 0.78rem; }
  .ticket-right { padding: 12px; }
  .success-msg h3 { font-size: 1.05rem; }
}

/* ---- 360px — Galaxy S series ---- */
@media (max-width: 360px) {
  .logo-text { display: none; }
  .hero-title { font-size: clamp(1.6rem, 14vw, 2.2rem); }
  .hero-badge { display: none; }
  .hero-cta, .hero-cta-ghost { max-width: 100%; font-size: 0.88rem; padding: 12px 16px; }
  .hero-stats { padding: 12px 10px; gap: 8px; }
  .booking-card { padding: 16px 10px; }
  .pstep-circle { width: 28px; height: 28px; font-size: 0.75rem; }
  .visitor-row { flex-direction: row; align-items: center; }
  .payment-options { gap: 6px; }
  .payment-option { padding: 8px 4px; }
}

/* ---- 320px — iPhone SE (smallest supported) ---- */
@media (max-width: 320px) {
  html { font-size: 14px; }
  .container { padding: 0 10px; }
  .nav-inner { padding: 0 10px; }
  .hero-content { padding: 80px 10px 44px; }
  .hero-title { font-size: 1.7rem; }
  .booking-card { padding: 14px 10px; }
  .step-title { font-size: 0.92rem; }
  .form-input { padding: 9px 10px; font-size: 0.82rem; }
  .counter-btn { width: 26px; height: 26px; font-size: 0.85rem; }
  .payment-options { grid-template-columns: 1fr 1fr; }
  .payment-option { font-size: 0.62rem; }
  .btn-primary, .btn-outline { font-size: 0.88rem; padding: 12px 16px; }
  .section-header h2 { font-size: 1.35rem; }
  .modal-overlay { padding: 0; }
  .modal-card {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    max-height: 95vh;
  }
}

/* ---- Touch / hover fix for mobile ---- */
@media (hover: none) {
  .attraction-card:hover { transform: none; box-shadow: var(--shadow-sm); }
  .btn-primary:hover { transform: none; }
  .btn-outline:hover { transform: none; }
  .gallery-item:hover img { transform: none; }
  .gallery-caption { opacity: 1; }
  .pricing-card:hover { transform: none; }
}

/* ---- Landscape phones ---- */
@media (max-width: 768px) and (orientation: landscape) {
  .hero { min-height: 100svh; }
  .hero-content { padding: 75px 20px 40px; }
  .hero-title { font-size: 2.4rem; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; }
  .stat-divider { display: none; }
  .modal-overlay { align-items: center; padding: 10px; }
  .modal-card {
    border-radius: var(--radius-lg);
    max-height: 94vh;
    overflow-y: auto;
  }
}

/* ============================
   LOADING OVERLAY
   ============================ */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,30,20,0.8);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: var(--ivory);
}
.loading-overlay.show { display: flex; }
.spinner {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 4px solid rgba(242,202,110,0.2);
  border-top-color: var(--gold);
  animation: spin 0.85s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { font-size: 1rem; font-weight: 700; color: rgba(245,241,228,0.8); }

/* ============================
   SAFE AREA (Notch / Dynamic Island / Home Bar)
   ============================ */
.navbar {
  padding-top: env(safe-area-inset-top, 0px);
}
.nav-inner {
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
}
.footer-bottom {
  padding-bottom: max(20px, env(safe-area-inset-bottom));
}
.modal-card {
  padding-bottom: max(0px, env(safe-area-inset-bottom));
}
.mobile-menu {
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
}

/* QR grid pattern */
.qr-pattern {
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(45deg, #333 25%, transparent 25%),
    linear-gradient(-45deg, #333 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #333 75%),
    linear-gradient(-45deg, transparent 75%, #333 75%);
  background-size: 8px 8px;
  background-position: 0 0, 0 4px, 4px -4px, -4px 0px;
  border-radius: 4px;
}

/* Payment Countdown Timer Banner */
.payment-timer-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(224, 82, 82, 0.08);
  border: 1.5px solid rgba(224, 82, 82, 0.2);
  color: #e05252;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 16px rgba(224, 82, 82, 0.05);
  animation: pulseTimer 2s infinite ease-in-out;
}

.timer-countdown {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
}

@keyframes pulseTimer {
  0% { transform: scale(1); }
  50% { transform: scale(1.015); box-shadow: 0 4px 20px rgba(224, 82, 82, 0.1); }
  100% { transform: scale(1); }
}

/* Booking Tabs Toggle */
.booking-tab-btn {
  background: var(--sage);
  color: var(--forest);
  border: 1px solid rgba(31,61,43,0.12);
  padding: 10px 24px;
  border-radius: 40px;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
}
.booking-tab-btn:hover {
  background: rgba(31,61,43,0.06);
  transform: translateY(-1px);
}
.booking-tab-btn.active {
  background: var(--forest);
  color: var(--gold);
  border-color: var(--forest);
  box-shadow: 0 4px 16px rgba(31,61,43,0.15);
}

.pay-later-btn {
  border-color: var(--gray) !important;
  color: var(--text-mid) !important;
}
.pay-later-btn:hover {
  background: var(--sage) !important;
  color: var(--forest) !important;
  border-color: var(--forest) !important;
}


