/* ============================================
   WANDERLUST TOURS — TROPICAL ADVENTURE THEME
   ============================================ */

/* Fonts loaded via <link> in HTML for non-blocking render */

/* ── CSS VARIABLES ── */
:root {
  --teal: #0B8A8A;
  --teal-light: #14B8B8;
  --teal-dark: #065F5F;
  --forest: #2D6A4F;
  --forest-light: #40916C;
  --sand: #F4E0C0;
  --sand-dark: #E8C99A;
  --coral: #E07A5F;
  --coral-dark: #C05C42;
  --bg: #0F1E1E;
  --bg-card: #162828;
  --bg-mid: #1D3535;
  --bg-light: #254040;
  --text: #EFF6F4;
  --text-muted: #7AADA0;
  --white: #FFFFFF;
  --success: #34C98A;
  --danger: #E05C5C;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-teal: 0 8px 28px rgba(11, 138, 138, 0.3);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Josefin Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--teal);
  border-radius: 4px;
}

/* ── TYPOGRAPHY ── */
h1,
h2,
h3,
h4 {
  font-family: 'Lora', serif;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600;
}

p {
  font-size: 0.97rem;
  font-weight: 300;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* ── UTILITY ── */
.accent {
  color: var(--teal-light);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 90px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 56px;
}

.section-title p {
  color: var(--text-muted);
  margin-top: 10px;
  font-size: 1rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-teal);
}

.btn-forest {
  background: var(--forest);
  color: var(--white);
}

.btn-forest:hover {
  background: var(--forest-light);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
}

.btn-outline:hover {
  border-color: var(--teal-light);
  color: var(--teal-light);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.78rem;
}

.btn-danger {
  background: var(--danger);
  color: white;
  border: none;
}

.btn-success {
  background: var(--success);
  color: var(--bg);
  border: none;
}

/* ══════════════════
   NAVBAR
══════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  background: rgba(52, 52, 52, 0.5);
}

.navbar.scrolled {
  background: rgba(15, 30, 30, 0.6);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(11, 138, 138, 0.18);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 24px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark img {
  width: 110px;
  height: 50px;
  object-fit: cover;
  /* 👈 important */
  border-radius: 10px;
  display: block;
  transition: transform 0.3s ease;
}

.logo-mark img:hover {
  transform: scale(1.1);
}

.logo-mark {
  background: var(--teal);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.logo-text {
  font-family: 'Lora', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
}

.logo-text span {
  color: var(--teal-light);
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex: 1;
  justify-content: center;
}

.nav-links li a {
  display: block;
  padding: 7px 13px;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(239, 246, 244, 0.7);
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--teal-light);
  background: rgba(11, 138, 138, 0.1);
}

/* Nav right */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

#userMenu {
  display: none;
  align-items: center;
  gap: 10px;
}

#navUserName {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--teal-light);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-size: 1.3rem;
  font-family: 'Lora', serif;
  font-weight: 600;
  color: var(--text);
}

.mobile-nav a:hover {
  color: var(--teal-light);
}

.mobile-close {
  position: fixed;
  top: 20px;
  right: 22px;
  font-size: 32px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 2001;
}

/* ══════════════════
   HERO
══════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    url('https://images.unsplash.com/photo-1501854140801-50d01698950b?w=1800&auto=format&fit=crop') center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(15, 30, 30, 0.25) 0%,
      rgba(15, 30, 30, 0.45) 40%,
      rgba(15, 30, 30, 0.82) 78%,
      rgba(15, 30, 30, 1) 100%);
}

/* All hero content sits at bottom */
.hero-body {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 72px;
  padding-top: 100px;
  /* ensures it clears navbar on small viewports */
}

.hero-content {
  max-width: 660px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 16px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 26px;
  height: 2px;
  background: var(--teal-light);
  flex-shrink: 0;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 18px;
}

.hero-content h1 em {
  font-style: italic;
  color: var(--sand);
}

.hero-content>p {
  color: rgba(239, 246, 244, 0.72);
  font-size: 1rem;
  max-width: 480px;
  margin-bottom: 34px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: 'Lora', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--sand);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-scroll {
  position: absolute;
  bottom: 26px;
  right: 32px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(239, 246, 244, 0.38);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 36px;
  height: 1px;
  background: rgba(239, 246, 244, 0.25);
}

/* ══════════════════
   SEARCH BAR
══════════════════ */
.search-section {
  background: var(--bg);
  padding: 48px 0 0;
}

.search-card {
  background: var(--bg-card);
  border: 1px solid rgba(11, 138, 138, 0.2);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
}

.search-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 16px;
  align-items: end;
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.search-field label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-light);
}

.search-field input,
.search-field select {
  padding: 12px 15px;
  background: var(--bg-mid);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  color: var(--text);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
  width: 100%;
  height: 46px;
}

.search-field input::placeholder {
  color: var(--text-muted);
}

.search-field input:focus,
.search-field select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(11, 138, 138, 0.14);
}

.search-field select option {
  background: var(--bg-mid);
}

/* make button same height as inputs */
.search-card .btn {
  height: 46px;
  padding: 0 24px;
  align-self: end;
}

/* ══════════════════
   TOURS
══════════════════ */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.tour-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.tour-card:hover {
  transform: translateY(-6px);
  border-color: rgba(11, 138, 138, 0.3);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.tour-img {
  position: relative;
  height: 210px;
  overflow: hidden;
  flex-shrink: 0;
}

.tour-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.tour-card:hover .tour-img img {
  transform: scale(1.06);
}

.tour-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--teal);
  color: var(--white);
  padding: 4px 11px;
  border-radius: 5px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.tour-badge.d {
  background: var(--coral);
}

.tour-wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: rgba(15, 30, 30, 0.6);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  color: rgba(239, 246, 244, 0.55);
  font-size: 0.85rem;
  transition: var(--transition);
}

.tour-wishlist:hover,
.tour-wishlist.active {
  color: var(--coral);
}

.tour-body {
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tour-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 9px;
}

.tour-meta span {
  display: flex;
  align-items: center;
  gap: 3px;
}

.tour-title {
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.35;
}

.tour-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  display: -webkit-box;
  /* -webkit-line-clamp: 2; */
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

.tour-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
}

.tour-price .amount {
  font-family: 'Lora', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--sand);
}

.tour-price .per {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.tour-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.81rem;
}

.stars {
  color: var(--coral);
}

/* ══════════════════
   DESTINATIONS
══════════════════ */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 260px 260px;
  gap: 14px;
}

.dest-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
}

.dest-card:first-child {
  grid-row: span 2;
}

.dest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.dest-card:hover img {
  transform: scale(1.07);
}

.dest-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 30, 30, 0.88) 0%, transparent 52%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
}

.dest-country {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 4px;
}

.dest-name {
  font-family: 'Lora', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}

.dest-count {
  font-size: 0.76rem;
  color: rgba(239, 246, 244, 0.5);
}

/* ══════════════════
   FEATURES
══════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  transition: var(--transition);
}

.feature-card:hover {
  text-shadow:
    0 0 5px #ff0000,
    /* Inner white glow */
    0 0 5px rgb(0, 159, 159),
    /* Cyan glow layer 1 */
    0 0 5px rgb(0, 159, 159);
  /* Cyan glow layer 2 */
  /* 0 0 5px rgb(0, 159, 159);   Cyan glow layer 3 */
  color: rgb(0, 173, 173) border-color rgba(11, 138, 138, 0.28);
  transform: translateY(-3px);
}

.feature-icon {
  width: 54px;
  height: 54px;
  background: rgba(11, 138, 138, 0.1);
  border: 1px solid rgba(11, 138, 138, 0.22);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text);
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ══════════════════
   TESTIMONIALS
══════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.testimonial-card {
  background: var(--bg-mid);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.testimonial-text {
  font-family: 'Lora', serif;
  font-style: italic;
  color: rgba(239, 246, 244, 0.78);
  font-size: 0.91rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--teal-dark);
  border: 2px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  flex-shrink: 0;
}

.author-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}

.author-location {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ══════════════════
   NEWSLETTER
══════════════════ */
.newsletter {
  background: var(--bg-mid);
  border: 1px solid rgba(11, 138, 138, 0.18);
  border-radius: var(--radius-lg);
  padding: 56px 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% -10%, rgba(11, 138, 138, 0.12) 0%, transparent 68%);
  pointer-events: none;
}

.newsletter h2 {
  position: relative;
  z-index: 1;
}

.newsletter>p {
  color: var(--text-muted);
  margin-top: 10px;
  position: relative;
  z-index: 1;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 440px;
  margin: 26px auto 0;
  position: relative;
  z-index: 1;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 18px;
  background: var(--bg-light);
  border: 1px solid rgba(11, 138, 138, 0.22);
  border-radius: 8px;
  color: var(--text);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.newsletter-form input::placeholder {
  color: var(--text-muted);
}

.newsletter-form input:focus {
  border-color: var(--teal);
}

/* ══════════════════
   FOOTER
══════════════════ */
.footer {
  background: var(--bg-card);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 58px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 44px;
}

.footer-brand p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 14px 0 20px;
}

.footer-socials {
  display: flex;
  gap: 9px;
}

.social-link {
  width: 36px;
  height: 36px;
  background: var(--bg-mid);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--teal);
  color: var(--white);
}

.footer-col h4 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 9px;
}

.footer-col ul li a {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-col ul li a:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ══════════════════
   MODALS
══════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: var(--bg-card);
  border: 1px solid rgba(11, 138, 138, 0.2);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn 0.26s ease both;
}

.modal-lg {
  max-width: 740px;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.modal-header {
  padding: 24px 26px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h2 {
  font-size: 1.2rem;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.05rem;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--text);
}

.modal-body {
  padding: 22px 26px;
}

.modal-footer {
  padding: 14px 26px 24px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ── FORMS (modals) ── */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-mid);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  color: var(--text);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.form-group textarea {
  resize: vertical;
  min-height: 86px;
}

.form-group input::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(11, 138, 138, 0.12);
}

.form-group select option {
  background: var(--bg-mid);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.form-divider {
  text-align: center;
  position: relative;
  margin: 16px 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.form-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
}

.form-divider span {
  background: var(--bg-card);
  padding: 0 12px;
  position: relative;
  z-index: 1;
}

.form-link {
  color: var(--teal-light);
  cursor: pointer;
}

.form-link:hover {
  text-decoration: underline;
}

.error-msg {
  color: var(--danger);
  font-size: 0.8rem;
  margin-top: 5px;
  display: none;
}

.error-msg.show {
  display: block;
}

/* Tour detail */
.tour-detail-img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  margin-bottom: 18px;
}

.tour-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 16px;
}

.detail-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(11, 138, 138, 0.1);
  border: 1px solid rgba(11, 138, 138, 0.2);
  color: var(--teal-light);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
}

.itinerary {
  margin-top: 18px;
}

.itinerary-day {
  display: flex;
  gap: 13px;
  margin-bottom: 16px;
}

.day-num {
  width: 30px;
  height: 30px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.77rem;
  font-weight: 700;
  flex-shrink: 0;
}

.day-content h4 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.day-content p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* (page loader removed — content renders immediately) */

/* ══════════════════
   TOAST
══════════════════ */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.toast {
  background: var(--bg-mid);
  border: 1px solid rgba(11, 138, 138, 0.22);
  border-radius: var(--radius);
  padding: 13px 17px;
  min-width: 260px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.86rem;
  box-shadow: var(--shadow);
  animation: slideInRight 0.28s ease;
}

.toast.success {
  border-color: rgba(52, 201, 138, 0.3);
}

.toast.error {
  border-color: rgba(224, 92, 92, 0.3);
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(32px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ══════════════════
   ANIMATIONS
══════════════════ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.fade-in {
  animation: fadeInUp 0.5s ease both;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.4
  }

  50% {
    opacity: 0.8
  }
}

/* ══════════════════
   RESPONSIVE
══════════════════ */
@media (max-width: 1024px) {
  .tours-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .dest-card:first-child {
    grid-row: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

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

  .nav-inner {
    gap: 12px;
  }

  .nav-logo {
    gap: 10px;
    flex-shrink: 1;
    min-width: 0;
  }

  .logo-mark img {
    width: 90px;
  }

  .logo-text {
    font-size: 1.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .logo-text h6 {
    margin: 0;
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-actions {
    display: flex;
    margin-left: auto;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }


  .nav-actions .btn {
    display: inline-flex;
  }

  .hamburger {
    display: flex;
  }

  .search-grid {
    grid-template-columns: 1fr;
  }

  .search-card {
    padding: 20px 18px;
  }

  .search-card .btn {
    width: 100%;
  }

  .tours-grid {
    grid-template-columns: 1fr;
  }

  .destinations-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 22px;
    padding-top: 20px;
  }

  .newsletter {
    padding: 36px 22px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 9px;
    text-align: center;
  }

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

  .hero-scroll {
    display: none;
  }

  .hero-body {
    padding-bottom: 44px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    gap: 14px;
  }

  .section {
    padding: 60px 0;
  }
}

/* 🌞 LIGHT MODE */
body.light-mode {
  --bg: #ffffff;
  --bg-card: #f5f7f6;
  --bg-mid: #e9efee;

  --text: #1a1a1a;
  --text-muted: #666;

  --teal: #0b8a8a;
  --teal-light: #14b8a6;

  --navy-light: #e0f2f1;
}