/* ===============================================================
   MA IDANA TOUR & TRAVELS — Premium Theme
   Dark / Light Mode | Glassmorphism | Cinematic Aesthetic
   =============================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---------- CSS Custom Properties (Theme Variables) ---------- */
:root {
  /* === Light Mode (default) === */
  --color-bg-primary:        #fafaf9;
  --color-bg-secondary:      #ffffff;
  --color-bg-tertiary:       #f1f5f9;
  --color-bg-glass:          rgba(255, 255, 255, 0.18);
  --color-bg-glass-border:   rgba(255, 255, 255, 0.40);

  --color-text-primary:      #0c0a09;
  --color-text-secondary:    #44403c;
  --color-text-muted:        #a8a29e;

  --color-accent:            #b8860b;       /* premium gold */
  --color-accent-hover:      #d4a017;
  --color-accent-light:      rgba(184, 134, 11, 0.12);

  --color-border:            #e7e5e4;
  --color-border-light:      #f0efed;

  --color-success:           #16a34a;
  --color-error:             #dc2626;
  --color-warning:           #f59e0b;

  --shadow-sm:               0 1px 3px rgba(0,0,0,0.06);
  --shadow-md:               0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg:               0 12px 48px rgba(0,0,0,0.10);
  --shadow-xl:               0 24px 80px rgba(0,0,0,0.14);

  --glass-blur:              16px;

  --font-heading:            'Playfair Display', Georgia, serif;
  --font-body:               'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:               'JetBrains Mono', monospace;

  --radius-sm:               8px;
  --radius-md:               16px;
  --radius-lg:               24px;
  --radius-xl:               32px;
  --radius-full:             9999px;

  --ease-smooth:             cubic-bezier(0.23, 1, 0.32, 1);
  --transition-fast:         0.2s var(--ease-smooth);
  --transition-base:         0.4s var(--ease-smooth);
  --transition-slow:         0.6s var(--ease-smooth);

  --navbar-height:           72px;
}

/* === Dark Mode === */
[data-theme="dark"] {
  --color-bg-primary:        #0c0a09;
  --color-bg-secondary:      #1c1917;
  --color-bg-tertiary:       #292524;
  --color-bg-glass:          rgba(28, 25, 23, 0.65);
  --color-bg-glass-border:   rgba(120, 113, 108, 0.30);

  --color-text-primary:      #fafaf9;
  --color-text-secondary:    #d6d3d1;
  --color-text-muted:        #78716c;

  --color-accent:            #f0b429;       /* brighter gold in dark */
  --color-accent-hover:      #facc15;
  --color-accent-light:      rgba(240, 180, 41, 0.12);

  --color-border:            #44403c;
  --color-border-light:      #292524;

  --shadow-sm:               0 1px 3px rgba(0,0,0,0.30);
  --shadow-md:               0 4px 20px rgba(0,0,0,0.40);
  --shadow-lg:               0 12px 48px rgba(0,0,0,0.50);
  --shadow-xl:               0 24px 80px rgba(0,0,0,0.60);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.7;
  transition: background-color var(--transition-base), color var(--transition-base);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--color-accent-hover); }

ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  font-weight: 600;
  color: var(--color-text-primary);
}

.heading-xl { font-size: clamp(2.8rem, 6vw, 5rem); }
.heading-lg  { font-size: clamp(2rem, 4vw, 3.5rem); }
.heading-md  { font-size: clamp(1.5rem, 2.5vw, 2.2rem); }
.heading-sm  { font-size: clamp(1.1rem, 1.5vw, 1.4rem); }

.body-lg    { font-size: 1.125rem; }
.body-base   { font-size: 1rem; }
.body-sm     { font-size: 0.875rem; }
.body-xs     { font-size: 0.75rem; }

.font-heading { font-family: var(--font-heading); }
.font-body    { font-family: var(--font-body); }

.text-accent { color: var(--color-accent); }
.text-muted  { color: var(--color-text-muted); }
.text-balance { text-wrap: balance; }

/* ---------- Glassmorphism ---------- */
.glass {
  background: var(--color-bg-glass);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--color-bg-glass-border);
  border-radius: var(--radius-md);
}

.glass-card {
  background: var(--color-bg-glass);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--color-bg-glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-transform: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(184, 134, 11, 0.35);
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 6px 24px rgba(184, 134, 11, 0.45);
  transform: translateY(-1px);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--color-text-primary);
  border: 1.5px solid var(--color-border);
}
.btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
}
.btn-outline:hover {
  background: var(--color-accent);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-secondary);
  padding: 0.5rem 1rem;
}
.btn-ghost:hover {
  background: var(--color-accent-light);
  color: var(--color-accent);
}

.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.8125rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.0625rem; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-height);
  z-index: 1000;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}
.navbar.scrolled {
  background: var(--color-bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-bg-glass-border);
  box-shadow: var(--shadow-sm);
}

/* Navbar text white when transparent over hero (dark overlay is always dark) */
.navbar:not(.scrolled) .navbar-brand,
.navbar:not(.scrolled) .nav-links a,
.navbar:not(.scrolled) .theme-toggle,
.navbar:not(.scrolled) .menu-toggle {
  color: #fff;
}
.navbar:not(.scrolled) .theme-toggle {
  border-color: rgba(255,255,255,0.3);
}
.navbar:not(.scrolled) .nav-links a:hover,
.navbar:not(.scrolled) .nav-links a.active {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 1.5rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text-primary);
}
.navbar-brand:hover { color: var(--color-accent); }
.navbar-brand .brand-icon {
  width: 40px;
  height: 40px;
  background: var(--color-accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  color: var(--color-text-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--color-accent-light);
  color: var(--color-accent);
}

/* Theme Toggle */
.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background: transparent;
  color: var(--color-text-secondary);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
  margin-left: 0.75rem;
}
.theme-toggle:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-accent-light);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--color-text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ---------- Language Selector ---------- */
.lang-selector{position:relative;}.lang-btn{display:flex;align-items:center;gap:0.35rem;padding:0.35rem 0.65rem;border-radius:var(--radius-full);border:1.5px solid var(--color-border);background:transparent;color:var(--color-text-secondary);font-size:0.8rem;font-weight:600;cursor:pointer;transition:all var(--transition-fast);font-family:var(--font-body);}.lang-btn:hover,.lang-selector.open .lang-btn{border-color:var(--color-accent);color:var(--color-accent);background:var(--color-accent-light);}.lang-btn i{font-size:0.9rem;}.lang-dropdown{position:absolute;top:calc(100% + 6px);right:0;background:var(--color-bg-secondary);border:1px solid var(--color-border);border-radius:var(--radius-md);box-shadow:var(--shadow-lg);padding:0.35rem;display:none;z-index:100;min-width:150px;}.lang-selector.open .lang-dropdown{display:flex;flex-direction:column;gap:2px;}.lang-option{display:flex;align-items:center;gap:0.5rem;padding:0.5rem 1rem;border:none;background:transparent;color:var(--color-text-primary);font-size:0.85rem;font-weight:500;cursor:pointer;border-radius:var(--radius-sm);transition:all var(--transition-fast);text-align:left;width:100%;font-family:var(--font-body);white-space:nowrap;}.lang-option:hover{background:var(--color-accent-light);color:var(--color-accent);}.lang-option.active{background:var(--color-accent-light);color:var(--color-accent);font-weight:600;}[data-theme="dark"] .lang-dropdown{border-color:#44403c;}.navbar:not(.scrolled) .lang-btn{color:rgba(255,255,255,0.9);border-color:rgba(255,255,255,0.3);}.navbar:not(.scrolled) .lang-btn:hover,.navbar:not(.scrolled) .lang-selector.open .lang-btn{background:rgba(255,255,255,0.15);color:#fff;}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(1.1);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12,10,9,0.25) 0%,
    rgba(12,10,9,0.55) 50%,
    rgba(12,10,9,0.85) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  padding: 0 1.5rem;
}
.hero-content h1 {
  color: #fff;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}
.hero-content p {
  color: rgba(255,255,255,0.85);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}
.hero-badge {
  display: inline-block;
  padding: 0.35rem 1.25rem;
  border-radius: var(--radius-full);
  background: var(--color-bg-glass);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: float 2s ease-in-out infinite;
}
.scroll-indicator .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  position: relative;
}
.scroll-indicator .mouse::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: rgba(255,255,255,0.5);
  border-radius: 2px;
  animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-6px); }
}
@keyframes scrollWheel {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* ---------- Section Shared ---------- */
.section {
  padding: 6rem 1.5rem;
}
.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
}
.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.0625rem;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ---------- Tour Cards ---------- */
.tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.tour-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-secondary);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  cursor: pointer;
  border: 1px solid var(--color-border-light);
}
.tour-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.tour-card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.tour-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}
.tour-card:hover .tour-card-image img {
  transform: scale(1.08);
}

.tour-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 1rem;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
}

.tour-card-body {
  padding: 1.5rem;
}
.tour-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.tour-card-body p {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tour-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-light);
}
.tour-card-price {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-accent);
}
.tour-card-price small {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-text-muted);
  font-family: var(--font-body);
}
.tour-card-duration {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

/* ---------- Destination Grid ---------- */
.destination-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.destination-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 340px;
  cursor: pointer;
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
}
.destination-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.destination-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}
.destination-card:hover img {
  transform: scale(1.08);
}
.destination-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.8) 100%);
}
.destination-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  color: #fff;
}
.destination-card-content h3 {
  color: #fff;
  margin-bottom: 0.25rem;
}
.destination-card-content p {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* ---------- Blog Grid & Cards ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.blog-card {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}
.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}
.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 1.25rem;
}
.blog-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.blog-card-body p {
  color: var(--color-text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-meta {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.blog-card-meta i {
  margin-right: 0.35rem;
}

/* ---------- User Reviews ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.review-card {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}
.review-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.review-stars {
  color: var(--color-warning);
  font-size: 1rem;
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}

.review-text {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  font-style: italic;
  flex: 1;
  margin-bottom: 1rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-light);
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.review-author strong {
  font-size: 0.9rem;
  display: block;
}
.review-author span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* ---------- Features / Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-item h3 {
  font-size: 2.5rem;
  color: var(--color-accent);
}
.stat-item p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* ---------- Booking Form ---------- */
.booking-form {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 0.4rem;
  color: var(--color-text-secondary);
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-text-primary);
  background: var(--color-bg-primary);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-light);
}
.form-control::placeholder { color: var(--color-text-muted); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.price-summary {
  padding: 1.5rem;
  background: var(--color-bg-tertiary);
  border-radius: var(--radius-md);
  margin-top: 1.5rem;
}
.price-summary .line-item {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 0.95rem;
}
.price-summary .line-item.total {
  border-top: 2px solid var(--color-accent);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-accent);
}

/* ---------- Multi-step ---------- */
.step-indicator {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border);
  transition: all var(--transition-fast);
}
.step-dot.active { background: var(--color-accent); width: 28px; border-radius: 5px; }
.step-dot.done { background: var(--color-accent); }

.step-content { display: none; }
.step-content.active { display: block; }

/* ---------- Footer ---------- */
.footer {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  padding: 4rem 1.5rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-brand .brand-icon {
  width: 48px;
  height: 48px;
  background: var(--color-accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.footer-brand h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.footer-brand p { color: var(--color-text-muted); font-size: 0.9rem; }
.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  padding: 0.25rem 0;
  transition: color var(--transition-fast);
}
.footer-col a:hover { color: var(--color-accent); }

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ---------- Map ---------- */
.map-container {
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.map-container .leaflet-container {
  height: 100%;
  width: 100%;
}

/* ---------- Image Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 0.75rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.gallery-grid .gallery-item:first-child {
  grid-row: 1 / -1;
}
.gallery-item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-smooth);
}
.gallery-item:hover img { transform: scale(1.05); }

/* ---------- Inquiry Form ---------- */
.inquiry-form {
  max-width: 680px;
  margin: 0 auto;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

/* ---------- Auth Pages ---------- */
.auth-card {
  max-width: 440px;
  margin: 4rem auto;
  padding: 2.5rem;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

/* ---------- Admin Dashboard ---------- */
.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}
.admin-sidebar {
  background: var(--color-bg-secondary);
  border-right: 1px solid var(--color-border);
  padding: 1.5rem;
}
.admin-sidebar a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  transition: all var(--transition-fast);
}
.admin-sidebar a:hover,
.admin-sidebar a.active {
  background: var(--color-accent-light);
  color: var(--color-accent);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}
.data-table th,
.data-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border-light);
  font-size: 0.9rem;
}
.data-table th {
  font-weight: 600;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-status {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-status.pending { background: rgba(245, 158, 11, 0.15); color: var(--color-warning); }
.badge-status.resolved { background: rgba(22, 163, 74, 0.15); color: var(--color-success); }
.badge-status.closed { background: rgba(168, 162, 158, 0.2); color: var(--color-text-muted); }
.badge-status.paid { background: rgba(22, 163, 74, 0.15); color: var(--color-success); }
.badge-status.failed { background: rgba(220, 38, 38, 0.15); color: var(--color-error); }

/* ---------- Toast / Notifications ---------- */
.close-modal {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s;
}
.close-modal:hover { color: var(--color-text-primary); }

.toast-container {
  position: fixed;
  top: calc(var(--navbar-height) + 1rem);
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.toast {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: slideInRight 0.3s var(--ease-smooth);
  min-width: 300px;
}
.toast.success { background: var(--color-success); color: #fff; }
.toast.error { background: var(--color-error); color: #fff; }
.toast.info { background: var(--color-accent); color: #fff; }

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ---------- Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Generic Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 90%;
  max-width: 480px;
  animation: modalIn 0.25s var(--ease-smooth);
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border-light);
}
.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
}
.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s;
}
.modal-close:hover { color: var(--color-text-primary); }
.modal-body {
  padding: 1.5rem;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(-10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ---------- Payment Modal ---------- */
.payment-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease-smooth);
}
.payment-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.payment-modal {
  background: var(--color-bg-secondary);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 480px;
  width: 90%;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s var(--ease-smooth);
}
.payment-modal-overlay.open .payment-modal {
  transform: scale(1);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px; }
  .gallery-grid .gallery-item:first-child { grid-row: span 1; }
  .tour-layout { grid-template-columns: 1fr !important; }
  .hero-content p { font-size: 1.05rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-toggle { display: grid; place-items: center; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    background: var(--color-bg-secondary);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem;
    gap: 0.25rem;
    box-shadow: var(--shadow-lg);
    animation: mobileNavIn 0.25s var(--ease-smooth);
  }
  @keyframes mobileNavIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .nav-links a {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    width: 100%;
  }

  .section { padding: 3rem 1rem; }

  .hero { min-height: 60vh; }
  .hero-content p { font-size: 1rem; max-width: 100%; }
  .hero-content h1 { margin-bottom: 0.75rem; }
  .hero-content .btn-lg { padding: 0.75rem 1.5rem; font-size: 0.9375rem; }

  .tour-grid { grid-template-columns: 1fr; }
  .destination-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }

  .tour-layout { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .tour-layout #booking { position: static !important; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .stat-item h3 { font-size: 1.8rem; }

  .section-subtitle { font-size: 0.95rem; margin-bottom: 2rem; }

  .form-row { grid-template-columns: 1fr; }

  .booking-form { padding: 1.5rem; }

  .included-excluded-grid { grid-template-columns: 1fr !important; }

  .footer { padding: 2rem 1rem 1.25rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand .brand-icon { width: 36px; height: 36px; font-size: 1rem; margin-bottom: 0.5rem; }
  .footer-brand h4 { font-size: 1rem; margin-bottom: 0.25rem; }
  .footer-brand p { font-size: 0.8rem; max-width: 100%; }
  .footer-col h5 { font-size: 0.85rem; margin-bottom: 0.5rem; }
  .footer-col a { font-size: 0.8rem; padding: 0.15rem 0; }
  .footer-bottom { margin-top: 1.25rem; padding-top: 1rem; flex-direction: column; gap: 0.35rem; text-align: center; font-size: 0.75rem; }

  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 140px 140px; }

  .map-section { grid-template-columns: 1fr !important; }
  .map-container { height: 280px !important; }

  .navbar .container { padding: 0 1rem; }
  .navbar-brand { font-size: 1.1rem; }
  .navbar-brand .brand-icon { width: 34px; height: 34px; font-size: 1rem; }

  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }

  .whatsapp-popup { width: 300px; right: 0; bottom: 64px; }
  .whatsapp-btn { width: 48px; height: 48px; font-size: 24px; }
  .whatsapp-widget { bottom: 16px; right: 16px; }
  .lang-btn span { display: none; }
  .lang-dropdown { right: auto; left: 0; }
}

@media (max-width: 480px) {
  .destination-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .destination-card { height: 260px; }

  .hero-content h1 { font-size: 2rem; }
  .hero-content .hero-badge { font-size: 0.7rem; padding: 0.25rem 1rem; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .stat-item h3 { font-size: 1.5rem; }

  .section { padding: 2.5rem 0.75rem; }

  .tour-card-image { height: 200px; }
  .tour-card-body { padding: 1rem; }
  .tour-card-body h3 { font-size: 1.1rem; }
  .tour-card-price { font-size: 1.2rem; }

  .booking-form { padding: 1.25rem; border-radius: var(--radius-lg); }

  .toast { min-width: unset; width: calc(100vw - 2rem); font-size: 0.85rem; padding: 0.75rem 1rem; }
  .toast-container { right: 0; left: 0; padding: 0 1rem; top: calc(var(--navbar-height) + 0.5rem); }

  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 120px 120px; }

  .footer { padding: 1.5rem 0.75rem 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .footer-brand .brand-icon { width: 30px; height: 30px; font-size: 0.9rem; margin-bottom: 0.35rem; }
  .footer-brand h4 { font-size: 0.9rem; }
  .footer-brand p { font-size: 0.75rem; }
  .footer-col h5 { font-size: 0.8rem; margin-bottom: 0.4rem; }
  .footer-col a { font-size: 0.75rem; padding: 0.1rem 0; }
  .footer-bottom { margin-top: 1rem; padding-top: 0.75rem; font-size: 0.7rem; }

  .hero { min-height: 55vh; }

  .whatsapp-popup { width: 290px; }
  .lang-btn span { display: none; }
}

/* ===============================================================
   HERO CAROUSEL
   =============================================================== */
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(1.1);
  opacity: 0;
  transition: opacity 1.2s var(--ease-smooth), transform 1.2s var(--ease-smooth);
  transform: scale(1.05);
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}
.hero-indicators {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
}
.hero-dot.active {
  background: var(--color-accent);
  width: 28px;
  border-radius: 5px;
}

/* ===============================================================
   FAQ ACCORDION
   =============================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition-fast);
}
.faq-item:hover {
  box-shadow: var(--shadow-sm);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  cursor: pointer;
  text-align: left;
  gap: 1rem;
  transition: color var(--transition-fast);
}
.faq-question i {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  transition: transform 0.3s var(--ease-smooth);
  flex-shrink: 0;
}
.faq-item.open .faq-question i {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-smooth), padding 0.35s var(--ease-smooth);
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}
.faq-answer p {
  color: var(--color-text-secondary);
  font-size: 0.925rem;
  line-height: 1.7;
}
.faq-answer a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* ===============================================================
   FLOATING BOOKING WIDGET
   =============================================================== */
.float-booking {
  position: fixed;
  bottom: 90px;
  right: 80px;
  z-index: 9997;
}
.float-booking-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: 0 4px 16px rgba(184,134,11,0.35);
  transition: all var(--transition-fast);
  text-decoration: none;
}
.float-booking-btn:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(184,134,11,0.45);
  color: #fff;
}

@media (max-width: 768px) {
  .float-booking { display: none; }
}

/* ===============================================================
   WHATSAPP FLOATING WIDGET
   =============================================================== */
.whatsapp-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.whatsapp-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  border: none;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  z-index: 2;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
}

.whatsapp-btn:active {
  transform: scale(0.95);
}

.whatsapp-popup {
  position: absolute;
  bottom: 68px;
  right: 0;
  width: 340px;
  max-width: calc(100vw - 48px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
  overflow: hidden;
  display: none;
  flex-direction: column;
  animation: whatsappSlideUp 0.3s ease;
  transform-origin: bottom right;
}

.whatsapp-popup.open {
  display: flex;
}

@keyframes whatsappSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.whatsapp-header {
  background: #075E54;
  color: #fff;
  padding: 16px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.whatsapp-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.whatsapp-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.whatsapp-header h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  font-family: 'Inter', sans-serif;
}

.whatsapp-status {
  font-size: 11px;
  opacity: 0.85;
}

.whatsapp-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  opacity: 0.8;
}

.whatsapp-close:hover {
  opacity: 1;
}

.whatsapp-body {
  background: #e5ddd5;
  padding: 14px;
  max-height: 260px;
  overflow-y: auto;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1IiBoZWlnaHQ9IjUiPjxwYXRoIGQ9Ik0wIDBoNXY1SDB6IiBmaWxsPSIjZmZmIi8+PHBhdGggZD0iTTAgMGw1IDVtMC01TDAgNSIgc3Ryb2tlPSIjZTBlMGVlIiBzdHJva2Utd2lkdGg9IjEiLz48L3N2Zz4=');
}

.whatsapp-message {
  background: #fff;
  border-radius: 8px 8px 8px 0;
  padding: 10px 12px;
  max-width: 90%;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  position: relative;
}

.whatsapp-message p {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.5;
  color: #303030;
  font-family: 'Inter', sans-serif;
}

.whatsapp-message p:last-child {
  margin-bottom: 0;
}

.whatsapp-time {
  display: block;
  text-align: right;
  font-size: 10px;
  color: #999;
  margin-top: 4px;
}

.whatsapp-footer {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-top: 1px solid #e0e0e0;
  background: #f0f0f0;
  gap: 8px;
}

.whatsapp-footer input {
  flex: 1;
  border: none;
  border-radius: 24px;
  padding: 10px 14px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  outline: none;
  background: #fff;
  color: #303030;
}

.whatsapp-footer input::placeholder {
  color: #aaa;
}

.whatsapp-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  border: none;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.whatsapp-send:hover {
  background: #1ebe5d;
}

.whatsapp-send:active {
  transform: scale(0.92);
}

[data-theme="dark"] .whatsapp-popup {
  background: #1f2c33;
}

[data-theme="dark"] .whatsapp-body {
  background: #0b141a;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1IiBoZWlnaHQ9IjUiPjxwYXRoIGQ9Ik0wIDBoNXY1SDB6IiBmaWxsPSIjMTgyOTJhIi8+PHBhdGggZD0iTTAgMGw1IDVtMC01TDAgNSIgc3Ryb2tlPSIjMjUzYjNkIiBzdHJva2Utd2lkdGg9IjEiLz48L3N2Zz4=');
}

[data-theme="dark"] .whatsapp-message {
  background: #1f2c33;
}

[data-theme="dark"] .whatsapp-message p {
  color: #e9edef;
}

[data-theme="dark"] .whatsapp-message .whatsapp-time {
  color: #8696a0;
}

[data-theme="dark"] .whatsapp-footer {
  background: #1f2c33;
  border-top-color: #2a3942;
}

[data-theme="dark"] .whatsapp-footer input {
  background: #2a3942;
  color: #e9edef;
}

[data-theme="dark"] .whatsapp-footer input::placeholder {
  color: #8696a0;
}
