/* ================================================
   CEYLON DISCOVER TOURS — style.css
   Global styles, design tokens, components
   ================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

/* ---- DESIGN TOKENS ---- */
:root {
  --teal:        #07474B;
  --teal-dark:   #053537;
  --teal-light:  rgba(7,71,75,0.85);
  --gold:        #F6A526;
  --gold-dark:   #d8891a;
  --sand:        #F5EFE3;
  --white:       #FFFFFF;
  --sage:        #E6EFEB;
  --charcoal:    #243B3D;
  --charcoal-lt: #3a5456;
  --text-body:   #243B3D;
  --text-muted:  #5a7a7d;
  --border:      rgba(7,71,75,0.12);
  --shadow-sm:   0 2px 12px rgba(7,71,75,0.08);
  --shadow-md:   0 8px 32px rgba(7,71,75,0.14);
  --shadow-lg:   0 20px 60px rgba(7,71,75,0.18);
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --transition:  0.3s ease;
  --font:        'Poppins', sans-serif;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: var(--font); }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.15; color: var(--teal); }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p  { color: var(--charcoal); font-size: 1rem; }

.text-outlined {
  -webkit-text-stroke: 2px currentColor;
  color: transparent;
}
.text-gold { color: var(--gold) !important; }
.text-white { color: var(--white) !important; }
.text-teal  { color: var(--teal) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-upper { text-transform: uppercase; letter-spacing: 0.12em; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }

/* ---- LAYOUT UTILITIES ---- */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.container--sm { max-width: 960px; }
.section { padding: 96px 0; }
.section--sm { padding: 64px 0; }
.section-bg-sand { background: var(--sand); }
.section-bg-sage { background: var(--sage); }
.section-bg-teal { background: var(--teal); }
.section-bg-white { background: var(--white); }
.flex { display: flex; }
.flex-center { align-items: center; }
.flex-between { justify-content: space-between; }
.flex-col { flex-direction: column; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

/* ---- SECTION HEADERS ---- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}
.section-header { margin-bottom: 56px; }
.section-header p { max-width: 600px; margin-top: 16px; font-size: 1.05rem; color: var(--text-muted); }
.section-header.center { text-align: center; }
.section-header.center p { margin: 16px auto 0; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--teal-dark);
}
.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(246,165,38,0.35);
}
.btn-teal {
  background: var(--teal);
  color: var(--white);
}
.btn-teal:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(7,71,75,0.3);
}
.btn-outline-white {
  border: 2px solid rgba(255,255,255,0.7);
  color: var(--white);
  padding: 12px 28px;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}
.btn-outline-teal {
  border: 2px solid var(--teal);
  color: var(--teal);
  padding: 12px 28px;
}
.btn-outline-teal:hover {
  background: var(--teal);
  color: var(--white);
}
.btn-icon { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 50%; }
.btn svg, .btn i { font-size: 1rem; flex-shrink: 0; }

/* ---- DECORATIVE ACCENTS ---- */
.rule-vertical {
  width: 2px;
  height: 64px;
  background: var(--gold);
  display: inline-block;
}
.dot-grid {
  display: grid;
  grid-template-columns: repeat(4,8px);
  gap: 8px;
}
.dot-grid span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.35;
  display: block;
}
.arrow-accent {
  display: flex;
  gap: 3px;
  align-items: center;
}
.arrow-accent span {
  width: 8px;
  height: 2px;
  background: currentColor;
  display: block;
  opacity: 0.5;
}

/* ---- CARDS ---- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.card-img {
  overflow: hidden;
  position: relative;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 24px; }
.card-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--sage);
  color: var(--teal);
  margin-bottom: 10px;
}
.card-title { font-size: 1.1rem; margin-bottom: 8px; }
.card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.card-meta span { display: flex; align-items: center; gap: 5px; }
.card-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 18px; }
.card-number {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 36px;
  height: 36px;
  background: rgba(7,71,75,0.75);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

/* ---- BADGES / PILLS ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
}
.badge-gold { background: rgba(246,165,38,0.15); color: var(--gold-dark); }
.badge-teal { background: rgba(7,71,75,0.1); color: var(--teal); }
.badge-white { background: rgba(255,255,255,0.2); color: var(--white); }

/* ---- NAVIGATION ---- */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}
#site-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 40px;
  max-width: 1440px;
  margin: 0 auto;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}
.nav-logo img { height: 60px; width: auto; object-fit: contain; }
.cdt-logo {
  display: block;
  height: 52px;
  width: auto;
  max-width: 100%;
}
.nav-logo .cdt-logo {
  height: 52px;
  width: auto;
  transition: transform var(--transition);
}
.nav-logo:hover .cdt-logo {
  transform: scale(1.02);
}

/* =====================================================
   SVG LOGO & DYNAMIC COLOR TRANSITIONS
   - Teal & Transparent backgrounds: Teal elements -> Pure White (#ffffff)
   - White backgrounds: Teal elements -> Brand Deep Teal (#07474B)
   - Gold elements: Sunset Gold (#F6A526) across all states
   - Smooth animated transition during navbar scroll
===================================================== */
.cdt-logo .logo-teal,
.cdt-logo [id^="Deep-Teal"],
.cdt-logo .logo-teal path,
.cdt-logo [id^="Deep-Teal"] path {
  fill: #07474B;
  transition: fill 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cdt-logo .logo-gold,
.cdt-logo [id^="Sunset-Gold"],
.cdt-logo .logo-gold path,
.cdt-logo [id^="Sunset-Gold"] path {
  fill: #F6A526;
  transition: fill 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =====================================================
   NAVIGATION SCROLL ANIMATION: TEAL -> WHITE
   - Top/Unscrolled (Teal): Logo White, Text White, Hamburger White
   - Scrolled State (Crisp White): Logo Deep Teal, Text Charcoal/Teal, Hamburger Teal
   - Simultaneous smooth transition between background and logo colors
===================================================== */

/* Logo Vector Base Transitions */
.cdt-logo .logo-teal,
.cdt-logo [id^="Deep-Teal"],
.cdt-logo .logo-teal path,
.cdt-logo [id^="Deep-Teal"] path {
  fill: #07474B;
  transition: fill 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cdt-logo .logo-gold,
.cdt-logo [id^="Sunset-Gold"],
.cdt-logo .logo-gold path,
.cdt-logo [id^="Sunset-Gold"] path {
  fill: #F6A526;
  transition: fill 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color 0.35s ease, background 0.2s ease;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 14px; right: 14px;
  height: 2px;
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 1px;
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta { margin-left: 12px; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  transition: background 0.35s ease;
}

/* --- STATE 1: TOP / UNSCROLLED STATE --- */
/* Inner pages: initial navigation background is TEAL */
#site-nav:not(.scrolled),
#site-nav.nav-theme-blue:not(.scrolled),
body.not-home #site-nav:not(.scrolled),
body.page-inner #site-nav:not(.scrolled) {
  background: var(--teal) !important;
  box-shadow: 0 4px 20px rgba(5, 53, 55, 0.28);
}

/* Home page ONLY: initial navigation background is TRANSPARENT over the hero slider */
body.is-home #site-nav:not(.scrolled),
#site-nav.nav-transparent:not(.scrolled) {
  background: transparent !important;
  box-shadow: none !important;
}

#site-nav:not(.scrolled) .nav-links a {
  color: var(--white) !important;
}
#site-nav:not(.scrolled) .nav-links a::after {
  background: var(--gold) !important;
}
#site-nav:not(.scrolled) .nav-links a:hover,
#site-nav:not(.scrolled) .nav-links a.active {
  color: var(--gold) !important;
}
#site-nav:not(.scrolled) .nav-hamburger span {
  background: var(--white) !important;
}

/* Unscrolled Logo: Teal elements turn PURE WHITE */
#site-nav:not(.scrolled) .cdt-logo .logo-teal,
#site-nav:not(.scrolled) .cdt-logo [id^="Deep-Teal"],
#site-nav:not(.scrolled) .cdt-logo .logo-teal path,
#site-nav:not(.scrolled) .cdt-logo [id^="Deep-Teal"] path,
#footer .cdt-logo .logo-teal,
#footer .cdt-logo [id^="Deep-Teal"],
#footer .cdt-logo .logo-teal path,
#footer .cdt-logo [id^="Deep-Teal"] path,
.footer-brand .cdt-logo .logo-teal,
.footer-brand .cdt-logo [id^="Deep-Teal"],
.footer-brand .cdt-logo .logo-teal path,
.footer-brand .cdt-logo [id^="Deep-Teal"] path {
  fill: #ffffff !important;
}

/* --- STATE 2: SCROLLED STATE (Background smoothly animates from TEAL to WHITE) --- */
#site-nav.scrolled,
#site-nav.nav-transparent.scrolled,
#site-nav.nav-theme-blue.scrolled,
body.is-home #site-nav.scrolled,
body.not-home #site-nav.scrolled,
body.page-inner #site-nav.scrolled {
  background: #ffffff !important;
  box-shadow: 0 4px 25px rgba(7, 71, 75, 0.14) !important;
}

#site-nav.scrolled .nav-links a {
  color: var(--charcoal) !important;
}
#site-nav.scrolled .nav-links a::after {
  background: var(--teal) !important;
}
#site-nav.scrolled .nav-links a:hover,
#site-nav.scrolled .nav-links a.active {
  color: var(--teal) !important;
}
#site-nav.scrolled .nav-hamburger span {
  background: var(--teal) !important;
}

/* Scrolled Logo: Teal elements simultaneously smoothly transition from WHITE to DEEP TEAL (#07474B) */
#site-nav.scrolled .cdt-logo .logo-teal,
#site-nav.scrolled .cdt-logo [id^="Deep-Teal"],
#site-nav.scrolled .cdt-logo .logo-teal path,
#site-nav.scrolled .cdt-logo [id^="Deep-Teal"] path {
  fill: #07474B !important;
}

/* Navigation Dropdown */
.nav-item-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 35px rgba(7, 71, 75, 0.2);
  padding: 8px 0;
  display: none;
  flex-direction: column;
  z-index: 1050;
  margin-top: 4px;
  animation: navFadeIn 0.2s ease forwards;
}

@keyframes navFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-item-dropdown:hover .nav-dropdown-menu {
  display: flex;
}

.nav-dropdown-menu a {
  padding: 11px 18px !important;
  font-size: 0.88rem !important;
  color: var(--teal) !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  border-radius: 0 !important;
  font-weight: 600 !important;
}

.nav-dropdown-menu a::after {
  display: none !important;
}

.nav-dropdown-menu a:hover {
  background: var(--sand) !important;
  color: var(--gold-dark) !important;
  padding-left: 22px !important;
}

.nav-dropdown-menu a i {
  color: var(--gold);
  width: 18px;
  text-align: center;
  font-size: 0.95rem;
}

/* Mobile dropdown */
.nav-mobile {
  display: none;
  position: fixed;
  top: 80px; left: 0; right: 0;
  background: var(--white);
  padding: 20px 32px 28px;
  box-shadow: var(--shadow-md);
  flex-direction: column;
  gap: 4px;
  z-index: 999;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border-bottom: 1px solid var(--border);
}
.nav-mobile a:hover,
.nav-mobile a.active { color: var(--teal); background: var(--sage); }
.nav-mobile .btn-gold { margin-top: 12px; justify-content: center; }

/* ---- HERO SLIDER ---- */
#hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
}
.hero-slides { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide-bg {
  position: absolute;
  inset: 0;
}
.hero-slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}
.hero-slide.active .hero-slide-bg img { transform: scale(1.08); }
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(7,71,75,0.88) 0%, rgba(7,71,75,0.55) 55%, rgba(7,71,75,0.15) 100%);
}
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 40px;
  max-width: 1440px;
  margin: 0 auto;
  left: 0; right: 0;
}
.hero-text {
  max-width: 560px;
  color: var(--white);
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}
.hero-kicker .rule-h { width: 32px; height: 2px; background: var(--gold); }
.hero-slide.active .hero-kicker,
.hero-slide.active .hero-title,
.hero-slide.active .hero-intro,
.hero-slide.active .hero-meta,
.hero-slide.active .hero-actions { opacity: 1; transform: translateY(0); }
.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease 0.35s, transform 0.6s ease 0.35s;
}
.hero-title .outlined { -webkit-text-stroke: 2px var(--gold); color: transparent; }
.hero-intro {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.5s, transform 0.6s ease 0.5s;
}
.hero-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease 0.6s, transform 0.6s ease 0.6s;
}
.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
}
.hero-meta-item svg { color: var(--gold); flex-shrink: 0; }
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease 0.7s, transform 0.6s ease 0.7s;
}
.hero-previews {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 200px;
}
.hero-preview-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0.65;
}
.hero-preview-card.active,
.hero-preview-card:hover { opacity: 1; border-color: var(--gold); }
.hero-preview-card img {
  width: 100%;
  height: 60px;
  object-fit: cover;
}
.hero-preview-info { padding: 10px 12px; }
.hero-preview-info strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}
.hero-preview-info span {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.65);
}
.hero-controls {
  position: absolute;
  bottom: 36px;
  left: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.hero-dots { display: flex; gap: 8px; }
.hero-dot {
  width: 28px;
  height: 3px;
  background: rgba(255,255,255,0.35);
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition);
}
.hero-dot.active { background: var(--gold); width: 48px; }
.hero-nav-btns { display: flex; gap: 8px; }
.hero-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}
.hero-nav-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--teal); }
.hero-pause-btn {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.7);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.75rem;
  transition: var(--transition);
}
.hero-pause-btn:hover { background: rgba(255,255,255,0.2); color: var(--white); }
.hero-social {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-social a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  transition: var(--transition);
}
.hero-social a:hover { color: var(--gold); }

/* ---- WHY US SECTION ---- */
#why-us { background: var(--white); }
#why-us .grid-2 { gap: 72px; }
.why-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 580px;
}
.why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.why-image-badge {
  position: absolute;
  bottom: 28px;
  left: 28px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
}
.why-image-badge .badge-icon {
  width: 48px;
  height: 48px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  flex-shrink: 0;
}
.why-image-badge strong { display: block; font-size: 1.2rem; color: var(--teal); }
.why-image-badge span { font-size: 0.78rem; color: var(--text-muted); }
.why-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; }
.why-benefit {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--sage);
  transition: var(--transition);
}
.why-benefit:hover { background: rgba(7,71,75,0.07); }
.why-benefit-icon {
  width: 44px;
  height: 44px;
  background: var(--teal);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.why-benefit-text h4 { font-size: 0.95rem; margin-bottom: 4px; color: var(--teal); }
.why-benefit-text p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

/* ---- PACKAGES SECTION ---- */
#packages { background: var(--sand); }
.packages-editorial {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
.pkg-card-featured {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
}
.pkg-card-featured img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.pkg-card-featured:hover img { transform: scale(1.04); }
.pkg-card-featured::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 70%;
  background: linear-gradient(to top, rgba(7,71,75,0.92), transparent);
}
.pkg-card-featured-body {
  position: relative;
  z-index: 2;
  padding: 32px;
  color: var(--white);
}
.pkg-card-featured-body .card-tag {
  background: var(--gold);
  color: var(--teal-dark);
}
.pkg-card-featured-body h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 8px; }
.pkg-card-featured-body p { font-size: 0.88rem; color: rgba(255,255,255,0.8); margin-bottom: 16px; }
.pkg-smalls { display: flex; flex-direction: column; gap: 20px; }
.pkg-small-card {
  display: flex;
  gap: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  flex: 1;
}
.pkg-small-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}
.pkg-small-card .img-wrap {
  width: 130px;
  flex-shrink: 0;
  overflow: hidden;
}
.pkg-small-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.pkg-small-card:hover .img-wrap img { transform: scale(1.06); }
.pkg-small-info { padding: 16px 18px; display: flex; flex-direction: column; justify-content: center; }
.pkg-small-info .card-tag { margin-bottom: 6px; }
.pkg-small-info h4 { font-size: 0.95rem; margin-bottom: 4px; }
.pkg-small-info .meta { font-size: 0.78rem; color: var(--text-muted); }
.packages-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 0; }
.packages-footer { text-align: center; margin-top: 48px; }

/* ---- TAILOR MADE SECTION ---- */
#tailor-made {
  background: var(--teal);
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 520px;
  display: flex;
  align-items: stretch;
}
.tailor-bg {
  position: absolute;
  inset: 0;
}
.tailor-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}
.tailor-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 32px;
  gap: 64px;
}
.tailor-text .section-label { color: var(--gold); }
.tailor-text h2 { color: var(--white); margin-bottom: 20px; }
.tailor-text p { color: rgba(255,255,255,0.8); margin-bottom: 32px; font-size: 1.02rem; }
.tailor-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.tailor-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--gold);
  backdrop-filter: blur(8px);
}
.tailor-step-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
  width: 36px;
}
.tailor-step h4 { color: var(--white); margin-bottom: 4px; font-size: 0.95rem; }
.tailor-step p { color: rgba(255,255,255,0.7); font-size: 0.82rem; line-height: 1.5; margin: 0; }
.tailor-decorative {
  position: absolute;
  top: 20px; right: 20px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  pointer-events: none;
}

/* ---- REVIEWS SECTION ---- */
#reviews { background: var(--white); }
.reviews-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}
.facebook-rating-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
@media (max-width: 768px) {
  .facebook-rating-summary {
    align-items: flex-start;
  }
}
.fb-badge-official {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(24, 119, 242, 0.08);
  color: #1877F2;
  border: 1px solid rgba(24, 119, 242, 0.22);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.fb-sync-telemetry {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.fb-last-updated {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.fb-source-mode-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--teal);
  background: rgba(7, 71, 75, 0.07);
  padding: 2px 8px;
  border-radius: 100px;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 992px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}
.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.review-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(24, 119, 242, 0.35);
  transform: translateY(-4px);
}
.review-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.reviewer-avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(7, 71, 75, 0.1);
}
.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--teal);
  border: 1px solid rgba(7, 71, 75, 0.15);
  overflow: hidden;
}
.reviewer-info {
  flex-grow: 1;
}
.reviewer-info strong {
  display: block;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1.3;
}
.review-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.review-stars {
  margin-left: auto;
  font-size: 0.95rem;
  display: inline-flex;
  gap: 2px;
  flex-shrink: 0;
}
.star-filled { color: #f59e0b; }
.star-empty { color: #d1d5db; }

.fb-rec-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #1877F2;
  background: rgba(24, 119, 242, 0.08);
  border: 1px solid rgba(24, 119, 242, 0.18);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.fb-rec-tag.rec-negative {
  color: #dc2626;
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.2);
}

.review-text-wrap {
  position: relative;
  margin-bottom: 14px;
}
.review-text {
  font-size: 0.88rem;
  color: var(--charcoal);
  line-height: 1.7;
  font-style: italic;
  margin: 0;
}
.review-text-wrap[data-collapsed="true"] .review-text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.btn-read-more {
  background: none;
  border: none;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  padding: 4px 0 0;
  display: inline-block;
  text-decoration: underline;
  transition: color 0.2s ease;
}
.btn-read-more:hover {
  color: #1877F2;
}

.review-card-footer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(7, 71, 75, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.fb-verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  color: #1877F2;
  font-weight: 600;
}
.btn-see-original {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #1877F2;
  background: rgba(24, 119, 242, 0.08);
  border: 1px solid rgba(24, 119, 242, 0.25);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-see-original:hover,
.btn-see-original:focus-visible {
  background: #1877F2;
  color: #FFFFFF;
  border-color: #1877F2;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.25);
}

.reviews-empty-state {
  background: var(--white);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 48px 24px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.reviews-empty-state h3 {
  color: var(--teal);
  margin-bottom: 8px;
  font-size: 1.25rem;
}
.reviews-empty-state p {
  color: var(--charcoal);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.google-icon { display: inline-block; font-size: 1.1rem; font-weight: 900; letter-spacing: -1px; }
.google-icon .g { color: #4285f4; }
.google-icon .o1 { color: #ea4335; }
.google-icon .o2 { color: #fbbc04; }
.google-icon .g2 { color: #4285f4; }
.google-icon .l { color: #34a853; }
.google-icon .e { color: #ea4335; }
.reviews-footer { text-align: center; margin-top: 40px; }

/* ---- FOOTER ---- */
#footer {
  background: var(--teal);
  color: var(--white);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .footer-logo {
  margin-bottom: 8px;
  display: inline-block;
}
.footer-brand .footer-logo a {
  display: inline-block;
  line-height: 1;
  text-decoration: none;
}
.footer-brand .footer-logo .cdt-logo {
  height: 56px;
  width: auto;
  max-width: 100%;
  display: block;
  background: transparent;
  transition: transform var(--transition);
}
.footer-brand .footer-logo a:hover .cdt-logo {
  transform: scale(1.02);
}
.footer-brand .footer-logo img {
  height: 64px;
  background: transparent;
}
.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--teal); }
.footer-col h5 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links a::before {
  content: '→';
  font-size: 0.75rem;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-4px);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-links a:hover::before { opacity: 1; transform: translateX(0); }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
}
.footer-contact-item .icon {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.8rem;
  color: var(--gold);
}
.footer-contact-item a { color: rgba(255,255,255,0.75); }
.footer-contact-item a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p, .footer-bottom a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a:hover { color: var(--gold); }
.footer-legal { display: flex; gap: 20px; }

/* ---- PAGE HERO BANNER ---- */
.page-hero {
  position: relative;
  height: 440px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 56px;
  overflow: hidden;
  margin-top: 80px;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
}
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,71,75,0.9) 0%, rgba(7,71,75,0.45) 60%, transparent 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}
.page-hero-content .section-label { color: var(--gold); }
.page-hero-content h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3.2rem); }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: rgba(255,255,255,0.65); margin-top: 12px; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { opacity: 0.5; }

/* ---- DISCOVER CEYLON — PACKAGES PAGE ---- */
#discover-intro { background: var(--sand); padding: 56px 0; }
.discover-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.search-bar-wrap { margin: 40px 0 0; }
.search-bar {
  display: flex;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 2px solid transparent;
  transition: var(--transition);
}
.search-bar:focus-within { border-color: var(--gold); }
.search-bar input {
  flex: 1;
  padding: 16px 20px;
  border: none;
  outline: none;
  font-size: 0.95rem;
  background: transparent;
}
.search-bar button {
  padding: 14px 28px;
  background: var(--gold);
  color: var(--teal-dark);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.search-bar button:hover { background: var(--gold-dark); }
.filters-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  padding: 28px 0 0;
}
.filter-select {
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  background: var(--white);
  color: var(--charcoal);
  cursor: pointer;
  outline: none;
  transition: var(--transition);
  min-width: 160px;
}
.filter-select:focus { border-color: var(--teal); }
.filter-reset {
  font-size: 0.85rem;
  color: var(--text-muted);
  background: none;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.filter-reset:hover { color: var(--teal); border-color: var(--teal); }
.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.results-count { font-size: 0.88rem; color: var(--text-muted); }
.results-count strong { color: var(--teal); font-weight: 700; }
.sort-select { padding: 8px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 0.88rem; background: var(--white); color: var(--charcoal); cursor: pointer; outline: none; }
.empty-state {
  text-align: center;
  padding: 80px 0;
}
.empty-state svg { font-size: 4rem; color: var(--sage); margin-bottom: 20px; }
.empty-state h3 { color: var(--teal); margin-bottom: 10px; }
.empty-state p { color: var(--text-muted); margin-bottom: 24px; }

/* ---- THINGS TO DO PAGE ---- */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 20px;
}
.activity-tile {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  height: 280px;
  transition: transform var(--transition);
}
.activity-tile:hover { transform: translateY(-4px); }
.activity-tile.tall { grid-row: span 2; height: auto; min-height: 580px; }
.activity-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.activity-tile:hover img { transform: scale(1.06); }
.activity-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,71,75,0.82) 0%, rgba(7,71,75,0.15) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  color: var(--white);
}
.activity-tile-body .category {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 6px;
}
.activity-tile-body h3 { font-size: 1.05rem; color: var(--white); }
.activity-tile-body .explore-hint {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---- THINGS TO DO CATEGORIES ---- */
.ttd-category-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 10px auto 36px;
}

.ttd-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--charcoal);
  padding: 12px 24px;
  border-radius: 40px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  user-select: none;
}

.ttd-cat-btn i {
  color: var(--teal);
  font-size: 1rem;
}

.ttd-cat-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(7,71,75,0.12);
}

.ttd-cat-btn.active {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(7,71,75,0.25);
}

.ttd-cat-btn.active i {
  color: var(--gold);
}

.ttd-cat-btn .badge-count {
  background: rgba(0,0,0,0.08);
  font-size: 0.74rem;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
}

.ttd-cat-btn.active .badge-count {
  background: rgba(255,255,255,0.22);
  color: var(--white);
}

.ttd-cat-banner {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}

.ttd-cat-banner-content h3 {
  color: var(--teal);
  margin-bottom: 6px;
  font-size: 1.25rem;
  font-weight: 700;
}

.ttd-cat-banner-content p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 780px;
}

.ttd-cat-banner-btn {
  white-space: nowrap;
}

/* Activity Popup */
.activity-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7,71,75,0.6);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.activity-popup-overlay.open { display: flex; }
.activity-popup {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: popIn 0.3s ease;
}
@keyframes popIn {
  from { opacity: 0; transform: scale(0.94) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.popup-img { height: 320px; position: relative; }
.popup-img img { width: 100%; height: 100%; object-fit: cover; }
.popup-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(7,71,75,0.7);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition);
}
.popup-close:hover { background: var(--teal); }
.popup-body { padding: 32px; }
.popup-body h2 { font-size: 1.6rem; margin-bottom: 12px; }
.popup-locations { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.popup-locations .badge { font-size: 0.78rem; }
.popup-desc { font-size: 0.95rem; color: var(--charcoal); line-height: 1.75; margin-bottom: 24px; }
.popup-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---- ABOUT PAGE ---- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.story-image { position: relative; }
.story-image img { border-radius: var(--radius-lg); width: 100%; height: 580px; object-fit: cover; }
.story-image-accent {
  position: absolute;
  bottom: -24px; right: -24px;
  width: 180px;
  height: 180px;
  background: var(--sand);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.story-text h2 { margin-bottom: 20px; }
.story-text p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.story-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 36px; }
.story-stat { text-align: center; padding: 20px; background: var(--sage); border-radius: var(--radius-md); }
.story-stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--teal); }
.story-stat span { font-size: 0.82rem; color: var(--text-muted); }
.vision-mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.vm-panel { padding: 48px 40px; border-radius: var(--radius-lg); position: relative; overflow: hidden; }
.vm-panel.vision { background: var(--teal); color: var(--white); }
.vm-panel.mission { background: var(--sand); }
.vm-panel h3 { font-size: 1.4rem; margin-bottom: 16px; }
.vm-panel.vision h3 { color: var(--gold); }
.vm-panel.mission h3 { color: var(--teal); }
.vm-panel p { line-height: 1.8; font-size: 0.97rem; }
.vm-panel.vision p { color: rgba(255,255,255,0.82); }
.vm-panel.mission p { color: var(--text-muted); }
.vm-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
  display: block;
}
.vm-deco {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  opacity: 0.08;
}
.vm-panel.vision .vm-deco { background: var(--white); }
.vm-panel.mission .vm-deco { background: var(--teal); }
.about-cta {
  background: var(--teal);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about-cta h2 { color: var(--white); margin-bottom: 12px; }
.about-cta p { color: rgba(255,255,255,0.8); margin-bottom: 28px; }

/* ---- CONTACT PAGE ---- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.contact-form-wrap h2 { margin-bottom: 8px; }
.contact-form-wrap > p { color: var(--text-muted); margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 6px;
}
.form-label .required { color: var(--gold); margin-left: 2px; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(7,71,75,0.08);
}
.form-input.error, .form-textarea.error { border-color: #e53e3e; }
.form-error { font-size: 0.78rem; color: #e53e3e; margin-top: 4px; display: none; }
.form-error.show { display: block; }
.form-textarea { min-height: 130px; resize: vertical; }
.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}
.form-success.show { display: block; }
.form-success .success-icon { font-size: 3rem; margin-bottom: 16px; }
.form-success h3 { color: var(--teal); margin-bottom: 8px; }
.form-success p { color: var(--text-muted); }
.contact-details h2 { margin-bottom: 28px; }
.contact-info-group { margin-bottom: 36px; }
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.contact-info-icon {
  width: 44px; height: 44px;
  background: var(--teal);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  font-size: 1rem;
}
.contact-info-text strong { display: block; font-size: 0.88rem; color: var(--teal); margin-bottom: 2px; }
.contact-info-text a, .contact-info-text p { font-size: 0.9rem; color: var(--text-muted); }
.contact-info-text a:hover { color: var(--teal); }
.social-links-contact { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.social-link-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  border: 1.5px solid var(--border);
  color: var(--charcoal);
  transition: var(--transition);
}
.social-link-btn:hover { border-color: var(--teal); color: var(--teal); background: var(--sage); }
.whatsapp-btn {
  background: #25d366;
  color: var(--white);
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
}
.whatsapp-btn:hover { background: #1ebe5a; transform: translateY(-2px); }

/* ---- PLAN MY TRIP PAGE ---- */
.planner-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
  margin-top: 40px;
}
.planner-main { min-width: 0; }
.progress-bar-wrap { margin-bottom: 40px; }
.progress-steps {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
}
.progress-steps::before {
  content: '';
  position: absolute;
  top: 20px; left: 20px; right: 20px;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  position: relative;
  z-index: 1;
  cursor: pointer;
}
.step-circle {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
}
.progress-step.active .step-circle {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}
.progress-step.done .step-circle {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--teal);
}
.step-label { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; text-align: center; max-width: 80px; }
.progress-step.active .step-label { color: var(--teal); font-weight: 600; }
.planner-step-content { display: none; }
.planner-step-content.active { display: block; animation: fadeUp 0.35s ease; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.planner-step-header { margin-bottom: 28px; }
.planner-step-header h2 { font-size: 1.6rem; }
.planner-step-header p { color: var(--text-muted); margin-top: 6px; }
.planner-grid { display: grid; gap: 16px; }
.planner-grid.col-2 { grid-template-columns: 1fr 1fr; }
.planner-grid.col-3 { grid-template-columns: 1fr 1fr 1fr; }
.option-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.option-card:hover { border-color: var(--teal); background: var(--sage); }
.option-card.selected { border-color: var(--gold); background: rgba(246,165,38,0.07); }
.option-card.selected .option-icon { background: var(--gold); color: var(--teal); }
.option-icon {
  width: 40px; height: 40px;
  background: var(--sage);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.option-text strong { display: block; font-size: 0.92rem; font-weight: 600; color: var(--teal); }
.option-text p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; margin-top: 2px; }
.dest-tile {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 160px;
  cursor: pointer;
  border: 3px solid transparent;
  transition: var(--transition);
}
.dest-tile.selected { border-color: var(--gold); }
.dest-tile img { width: 100%; height: 100%; object-fit: cover; }
.dest-tile-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7,71,75,0.5);
  display: flex;
  align-items: flex-end;
  padding: 12px;
}
.dest-tile.selected .dest-tile-overlay { background: rgba(246,165,38,0.35); }
.dest-tile-overlay span { color: var(--white); font-size: 0.88rem; font-weight: 600; }
.dest-tile .check-badge {
  position: absolute;
  top: 10px; right: 10px;
  width: 26px; height: 26px;
  background: var(--gold);
  border-radius: 50%;
  display: none;
  align-items: center; justify-content: center;
  color: var(--teal);
  font-size: 0.75rem;
}
.dest-tile.selected .check-badge { display: flex; }
.planner-nav { display: flex; justify-content: space-between; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); }
/* Trip Summary Sidebar */
.trip-summary {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  overflow: hidden;
  position: sticky;
  top: 100px;
}
.trip-summary-header {
  background: var(--teal);
  padding: 20px 24px;
  color: var(--white);
}
.trip-summary-header h3 { color: var(--white); font-size: 1rem; margin-bottom: 4px; }
.trip-summary-header p { font-size: 0.78rem; color: rgba(255,255,255,0.7); }
.trip-disclaimer {
  background: rgba(246,165,38,0.1);
  border-left: 3px solid var(--gold);
  padding: 10px 14px;
  font-size: 0.78rem;
  color: var(--charcoal);
  margin: 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.trip-summary-body { padding: 16px 20px 20px; }
.trip-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.trip-item:last-child { border-bottom: none; }
.trip-item-icon { color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.trip-item-text strong { display: block; color: var(--teal); }
.trip-item-text span { color: var(--text-muted); font-size: 0.8rem; }
.trip-empty { color: var(--text-muted); font-size: 0.85rem; text-align: center; padding: 20px 0; }

/* ---- PACKAGE DETAIL PAGE ---- */
.pkg-detail-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
  margin-top: 0;
}
.pkg-hero-large { height: 560px; position: relative; overflow: hidden; margin-top: 80px; }
.pkg-hero-large img { width: 100%; height: 100%; object-fit: cover; }
.pkg-hero-large-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,71,75,0.85) 0%, rgba(7,71,75,0.3) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 48px;
}
.pkg-hero-info { color: var(--white); }
.pkg-hero-info .section-label { color: var(--gold); }
.pkg-hero-info h1 { color: var(--white); font-size: clamp(1.8rem, 3.5vw, 3rem); margin-bottom: 12px; }
.pkg-hero-info p { color: rgba(255,255,255,0.85); max-width: 600px; }
.pkg-hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.pkg-main-content { padding: 48px 0; }
.pkg-overview, .pkg-itinerary, .pkg-inclusions, .pkg-gallery-section { margin-bottom: 56px; }
.pkg-overview h2, .pkg-itinerary h2, .pkg-inclusions h2, .pkg-gallery-section h2 { margin-bottom: 20px; }
.pkg-highlights { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.pkg-highlight {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--sage);
  border-radius: 100px;
  font-size: 0.82rem;
  color: var(--teal);
  font-weight: 500;
}
.pkg-highlight::before { content: '✓'; color: var(--gold); font-weight: 700; }
/* Itinerary */
.itinerary-timeline { position: relative; }
.itinerary-item {
  position: relative;
  padding-left: 48px;
  padding-bottom: 32px;
}
.itinerary-item::before {
  content: '';
  position: absolute;
  left: 16px; top: 36px; bottom: 0;
  width: 2px;
  background: var(--border);
}
.itinerary-item:last-child::before { display: none; }
.itinerary-day-num {
  position: absolute;
  left: 0; top: 0;
  width: 32px; height: 32px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  z-index: 1;
}
.itinerary-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 12px 16px;
  background: var(--sage);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.itinerary-item-header:hover { background: rgba(7,71,75,0.08); }
.itinerary-item-header h4 { font-size: 0.95rem; color: var(--teal); }
.itinerary-item-header .toggle-icon { color: var(--text-muted); transition: transform var(--transition); }
.itinerary-item.open .toggle-icon { transform: rotate(180deg); }
.itinerary-item-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.itinerary-item.open .itinerary-item-body { max-height: 2000px; }
.itinerary-body-inner {
  padding: 16px;
  display: flex;
  gap: 20px;
}
.itinerary-body-inner img {
  width: 160px;
  height: 110px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.itinerary-body-inner p { font-size: 0.88rem; color: var(--charcoal); line-height: 1.7; }
/* Inclusions */
.inclusions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.inclusions-panel { padding: 24px; background: var(--sage); border-radius: var(--radius-md); }
.inclusions-panel.excluded { background: #fff5f5; }
.inclusions-panel h4 { margin-bottom: 16px; font-size: 0.95rem; }
.inclusions-list { display: flex; flex-direction: column; gap: 10px; }
.inclusions-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--charcoal);
}
.inclusions-list li .ic { flex-shrink: 0; font-size: 0.9rem; }
.included .ic { color: #22c55e; }
.excluded .ic { color: #ef4444; }
/* Gallery */
.pkg-gallery-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: 480px; }
.pkg-gallery-grid .g-item {
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.pkg-gallery-grid .g-item:first-child { grid-row: 1 / 3; }
.pkg-gallery-grid .g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.pkg-gallery-grid .g-item:hover img { transform: scale(1.04); }
/* Booking Widget */
.booking-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 20px;
}
.booking-widget-header {
  background: var(--teal);
  padding: 24px;
  color: var(--white);
}
.booking-widget-header h3 { color: var(--white); margin-bottom: 4px; }
.booking-widget-header p { font-size: 0.82rem; color: rgba(255,255,255,0.75); }
.booking-widget-body { padding: 24px; }
.booking-note {
  background: rgba(246,165,38,0.1);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 10px 14px;
  font-size: 0.78rem;
  color: var(--charcoal);
  margin-bottom: 20px;
}
.booking-form .form-group { margin-bottom: 16px; }
.booking-form .form-label { font-size: 0.8rem; }
.booking-form .form-input { padding: 10px 14px; font-size: 0.88rem; }
.booking-submit { width: 100%; padding: 16px; font-size: 1rem; border-radius: var(--radius-sm); }
.booking-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--white);
  padding: 14px 24px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  z-index: 100;
}
.booking-mobile-cta .btn { width: 100%; justify-content: center; }
/* Image Viewer */
.image-viewer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
}
.image-viewer-overlay.open { display: flex; }
.image-viewer img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--radius-sm); }
.image-viewer-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
}
.image-viewer-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
}
.image-viewer-nav.prev { left: 20px; }
.image-viewer-nav.next { right: 20px; }

/* ---- SCROLL-TO-TOP ---- */
#scroll-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 500;
  border: none;
}
#scroll-top.visible { opacity: 1; transform: translateY(0); }
#scroll-top:hover { background: var(--gold); color: var(--teal); }

/* ---- ANIMATIONS ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ================================================
   FLEET MANAGEMENT & LIVE OPERATIONS
   Inspired by Tour Operations Fleet Dashboard
   ================================================ */

.section-fleet {
  background: linear-gradient(175deg, #042B2E 0%, #07474B 50%, #053336 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.section-fleet::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    radial-gradient(rgba(246, 165, 38, 0.08) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: 0 0, 16px 16px;
  pointer-events: none;
  opacity: 0.6;
}

.fleet-container {
  position: relative;
  z-index: 2;
}

/* Header & Intro */
.fleet-header {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 40px auto;
}

.fleet-header .section-label {
  color: var(--gold);
}

.fleet-header h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.fleet-header p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Mode Switcher Tabs */
.fleet-mode-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.fleet-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50px;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}

.fleet-tab-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(246, 165, 38, 0.5);
  transform: translateY(-2px);
}

.fleet-tab-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--teal-dark);
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(246, 165, 38, 0.35);
}

.fleet-tab-badge {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  color: inherit;
  font-weight: 700;
}

.fleet-tab-btn.active .fleet-tab-badge {
  background: rgba(7, 71, 75, 0.2);
  color: var(--teal-dark);
}

/* Streamlit-inspired Live Telemetry HUD */
.fleet-hud {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 44px;
}

.hud-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  backdrop-filter: blur(10px);
  transition: transform var(--transition), border-color var(--transition);
}

.hud-card:hover {
  transform: translateY(-3px);
  border-color: rgba(246, 165, 38, 0.4);
}

.hud-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(246, 165, 38, 0.15);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.hud-value-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hud-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hud-lbl {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.hud-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.15);
  padding: 2px 8px;
  border-radius: 20px;
}

/* Status Pulse Indicator */
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.pulse-dot.green {
  background: #4ade80;
  box-shadow: 0 0 0 rgba(74, 222, 128, 0.6);
  animation: pulse-green 1.8s infinite;
}

.pulse-dot.yellow {
  background: #fbbf24;
  box-shadow: 0 0 0 rgba(251, 191, 36, 0.6);
  animation: pulse-yellow 1.8s infinite;
}

.pulse-dot.blue {
  background: #60a5fa;
  box-shadow: 0 0 0 rgba(96, 165, 250, 0.6);
  animation: pulse-blue 1.8s infinite;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

@keyframes pulse-yellow {
  0% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(251, 191, 36, 0); }
  100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0); }
}

@keyframes pulse-blue {
  0% { box-shadow: 0 0 0 0 rgba(96, 165, 250, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(96, 165, 250, 0); }
  100% { box-shadow: 0 0 0 0 rgba(96, 165, 250, 0); }
}

/* Category Filter Bar */
.fleet-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.fleet-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.fleet-pill {
  padding: 8px 18px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.fleet-pill:hover, .fleet-pill.active {
  background: rgba(246, 165, 38, 0.18);
  border-color: var(--gold);
  color: var(--gold);
}

.fleet-live-clock {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.25);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Vehicle Cards Grid */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.fleet-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  color: var(--text-body);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.fleet-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

/* Vehicle Visual Header */
.fleet-card-visual {
  position: relative;
  height: 210px;
  background: linear-gradient(135deg, #07474B 0%, #17383B 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
}

.fleet-card-bg-art {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image: 
    radial-gradient(circle at 80% 20%, #F6A526 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, #ffffff 0%, transparent 50%);
  pointer-events: none;
}

.fleet-card-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.fleet-type-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  backdrop-filter: blur(6px);
}

.fleet-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
}

.fleet-status-pill.available {
  background: rgba(74, 222, 128, 0.2);
  color: #22c55e;
  border: 1px solid rgba(74, 222, 128, 0.4);
}

.fleet-status-pill.on-tour {
  background: rgba(251, 191, 36, 0.2);
  color: #f59e0b;
  border: 1px solid rgba(251, 191, 36, 0.4);
}

.fleet-status-pill.reserved {
  background: rgba(96, 165, 250, 0.2);
  color: #3b82f6;
  border: 1px solid rgba(96, 165, 250, 0.4);
}

.fleet-card-center-icon {
  position: relative;
  z-index: 2;
  text-align: center;
  margin: 10px 0;
}

.fleet-card-icon-svg {
  width: 90px;
  height: 60px;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.3));
  transition: transform 0.4s ease;
}

.fleet-card:hover .fleet-card-icon-svg {
  transform: scale(1.08) translateX(4px);
}

/* Sri Lanka Number Plate Badge */
.fleet-plate-badge {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  background: #FFF;
  border: 2px solid #111;
  border-radius: 4px;
  padding: 2px 6px;
  font-family: 'Poppins', monospace, sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: #111;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.fleet-plate-prov {
  background: #0284c7;
  color: #FFF;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 0 4px;
  border-radius: 2px;
  margin-right: 5px;
}

/* Vehicle Card Body */
.fleet-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.fleet-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 4px;
  line-height: 1.25;
}

.fleet-card-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Specs Matrix */
.fleet-specs-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 14px;
  background: #F8FAF9;
  border: 1px solid rgba(7, 71, 75, 0.08);
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--charcoal);
  font-weight: 500;
}

.spec-icon {
  font-size: 1rem;
  color: var(--teal);
}

/* Chauffeur Mini Profile */
.fleet-chauffeur-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--sage);
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}

.chauffeur-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--gold);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(7, 71, 75, 0.2);
}

.chauffeur-details {
  flex-grow: 1;
  min-width: 0;
}

.chauffeur-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.chauffeur-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chauffeur-stars {
  color: #f59e0b;
  font-size: 0.72rem;
  font-weight: 700;
}

.chauffeur-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* Card Pricing & Action */
.fleet-card-footer {
  margin-top: auto;
  border-top: 1px solid rgba(7, 71, 75, 0.08);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fleet-price {
  display: flex;
  flex-direction: column;
}

.price-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.price-amount {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--teal);
}

.price-unit {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.fleet-card-actions {
  display: flex;
  gap: 8px;
}

.btn-fleet-detail {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: #F0F4F4;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(7, 71, 75, 0.15);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-fleet-detail:hover {
  background: var(--teal);
  color: var(--white);
}

.btn-fleet-book {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-fleet-book:hover {
  background: var(--gold-dark);
  color: var(--white);
  transform: translateY(-1px);
}

/* ================================================
   VIEW 2: STREAMLIT LIVE OPERATIONS DASHBOARD
   ================================================ */

.fleet-ops-view {
  background: rgba(4, 38, 41, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.ops-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.ops-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ops-title h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin: 0;
}

.ops-live-pulse {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.3);
  padding: 4px 12px;
  border-radius: 20px;
}

.ops-controls-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.ops-search-input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  padding: 8px 18px;
  color: var(--white);
  font-size: 0.85rem;
  width: 240px;
  transition: all var(--transition);
}

.ops-search-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--gold);
  width: 280px;
}

.ops-search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.ops-filter-select {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  padding: 8px 16px;
  color: var(--white);
  font-size: 0.85rem;
  cursor: pointer;
}

.ops-filter-select option {
  background: #07474B;
  color: #FFF;
}

.btn-ops-simulate {
  padding: 8px 18px;
  border-radius: 24px;
  background: rgba(246, 165, 38, 0.2);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-ops-simulate:hover {
  background: var(--gold);
  color: var(--teal-dark);
}

/* Operations Table */
.ops-table-wrap {
  overflow-x: auto;
  margin-bottom: 24px;
}

.ops-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.ops-table th {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
}

.ops-table td {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  vertical-align: middle;
}

.ops-table tr:hover td {
  background: rgba(255, 255, 255, 0.04);
}

.ops-veh-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ops-plate-tag {
  background: #FFF;
  color: #111;
  font-family: monospace;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #000;
}

.ops-telemetry-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

/* ================================================
   VIEW 3: SMART VEHICLE MATCHER & CALCULATOR
   ================================================ */

.fleet-calc-view {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  color: var(--text-body);
}

.calc-inputs-pane {
  padding: 44px;
  background: #FFF;
}

.calc-inputs-pane h3 {
  font-size: 1.6rem;
  color: var(--teal);
  margin-bottom: 8px;
}

.calc-inputs-pane p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.calc-group {
  margin-bottom: 24px;
}

.calc-group-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 10px;
}

.calc-btn-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

.calc-choice-btn {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #F5EFE3;
  border: 2px solid transparent;
  color: var(--charcoal);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.calc-choice-btn:hover {
  background: #E8DFCF;
  border-color: rgba(7, 71, 75, 0.2);
}

.calc-choice-btn.active {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(7, 71, 75, 0.25);
}

.calc-choice-btn.active span {
  color: var(--gold);
}

.calc-choice-btn span {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 400;
}

.calc-select-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.calc-field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(7, 71, 75, 0.18);
  font-size: 0.9rem;
  color: var(--text-body);
  background: #FAFAFA;
  cursor: pointer;
  transition: border-color var(--transition);
}

.calc-field select:focus {
  outline: none;
  border-color: var(--teal);
}

/* Calculator Output Result Card */
.calc-result-pane {
  background: linear-gradient(145deg, #07474B 0%, #032A2D 100%);
  color: var(--white);
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.calc-result-pane::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(circle at 90% 10%, rgba(246, 165, 38, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.calc-result-header {
  position: relative;
  z-index: 2;
  margin-bottom: 24px;
}

.calc-match-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(246, 165, 38, 0.2);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.calc-rec-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.calc-rec-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 6px;
  line-height: 1.5;
}

.calc-price-box {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.calc-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}

.calc-price-lbl {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.calc-total-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
}

.calc-breakdown {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 8px;
  display: flex;
  justify-content: space-between;
}

.calc-perks-list {
  position: relative;
  z-index: 2;
  margin-bottom: 28px;
}

.calc-perk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 8px;
}

.calc-perk-icon {
  color: #4ade80;
  font-size: 0.95rem;
}

.calc-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ================================================
   FLEET MODAL (SPECS, CHAUFFEUR & BOOKING)
   ================================================ */

.fleet-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(6px);
}

.fleet-modal-overlay.open {
  display: flex;
  animation: modal-fade-in 0.25s ease-out forwards;
}

@keyframes modal-fade-in {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.fleet-modal-dialog {
  background: #FFF;
  border-radius: var(--radius-lg);
  max-width: 780px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
}

.fleet-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--teal);
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition);
}

.fleet-modal-close:hover {
  background: var(--teal);
  color: var(--white);
}

.fleet-modal-hero {
  background: linear-gradient(135deg, #07474B 0%, #032A2D 100%);
  color: var(--white);
  padding: 36px 36px 28px 36px;
  position: relative;
}

.fleet-modal-hero h3 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.fleet-modal-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.fleet-modal-body {
  padding: 32px 36px;
}

.fleet-modal-section-title {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fleet-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.modal-spec-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  background: #F7FAF9;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
}

.modal-spec-lbl {
  color: var(--text-muted);
}

.modal-spec-val {
  font-weight: 600;
  color: var(--teal);
}

.fleet-modal-chauffeur-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--sand);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 28px;
}

.fleet-modal-booking-form {
  border-top: 1px solid rgba(7, 71, 75, 0.12);
  padding-top: 24px;
}

.modal-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.modal-form-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 5px;
}

.modal-form-field input, .modal-form-field select {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(7, 71, 75, 0.15);
  font-size: 0.88rem;
  box-sizing: border-box;
}

.modal-form-field input:focus, .modal-form-field select:focus {
  outline: none;
  border-color: var(--teal);
}

/* =====================================================
   TRANSPORT SERVICE NAVIGATION BUTTON (HIGHLIGHTED)
   ===================================================== */
#site-nav .nav-links a.nav-btn-transport {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

#site-nav .nav-links a.nav-btn-transport::after {
  display: none !important;
}

/* Unscrolled state (transparent on homepage hero, deep teal on inner pages) */
#site-nav:not(.scrolled) .nav-links a.nav-btn-transport {
  background: rgba(246, 165, 38, 0.16) !important;
  color: #FFFFFF !important;
  border: 1.5px solid var(--gold) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

#site-nav:not(.scrolled) .nav-links a.nav-btn-transport:hover {
  background: var(--gold) !important;
  color: var(--teal-dark) !important;
  border-color: var(--gold) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(246, 165, 38, 0.4);
}

#site-nav:not(.scrolled) .nav-links a.nav-btn-transport.active {
  background: var(--gold) !important;
  color: var(--teal-dark) !important;
  border-color: var(--gold) !important;
  box-shadow: 0 4px 14px rgba(246, 165, 38, 0.35);
}

/* Scrolled state (crisp white navbar) */
#site-nav.scrolled .nav-links a.nav-btn-transport {
  background: var(--teal) !important;
  color: #FFFFFF !important;
  border: 1.5px solid var(--teal) !important;
  box-shadow: 0 3px 12px rgba(7, 71, 75, 0.2);
}

#site-nav.scrolled .nav-links a.nav-btn-transport:hover {
  background: var(--gold) !important;
  color: var(--teal-dark) !important;
  border-color: var(--gold) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(246, 165, 38, 0.4);
}

#site-nav.scrolled .nav-links a.nav-btn-transport.active {
  background: var(--teal-dark) !important;
  color: var(--gold) !important;
  border-color: var(--gold) !important;
}

/* Keyboard focus states */
#site-nav .nav-links a.nav-btn-transport:focus-visible,
.nav-mobile a.nav-btn-transport:focus-visible {
  outline: 2px solid var(--gold) !important;
  outline-offset: 3px !important;
}

/* Mobile Menu Transport Service Button */
.nav-mobile a.nav-btn-transport {
  background: var(--teal) !important;
  color: #FFFFFF !important;
  border: 1.5px solid var(--teal) !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  padding: 12px 18px !important;
  margin: 6px 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  border-bottom: none !important;
  box-shadow: 0 3px 12px rgba(7, 71, 75, 0.16);
  transition: all 0.25s ease;
}

.nav-mobile a.nav-btn-transport:hover {
  background: var(--gold) !important;
  color: var(--teal-dark) !important;
  border-color: var(--gold) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(246, 165, 38, 0.35);
}

.nav-mobile a.nav-btn-transport.active {
  background: var(--teal-dark) !important;
  color: var(--gold) !important;
  border-color: var(--gold) !important;
}

/* Responsive Desktop Spacing (1025px - 1240px) */
@media (min-width: 1025px) and (max-width: 1240px) {
  #site-nav .nav-inner {
    padding: 0 20px;
  }
  .nav-links {
    gap: 4px;
  }
  .nav-links a {
    padding: 7px 9px;
    font-size: 0.82rem;
  }
  #site-nav .nav-links a.nav-btn-transport {
    padding: 7px 12px;
    font-size: 0.82rem;
  }
  .nav-cta {
    margin-left: 6px;
    padding: 10px 18px;
    font-size: 0.82rem;
  }
}

/* =====================================================
   GALLERY PAGE & MASONRY GRID STYLES
   ===================================================== */
.gallery-section {
  padding: 64px 0 96px;
  background: #fbfbf9;
}

.gallery-info-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.gallery-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.gallery-badge.count {
  background: var(--sage);
  color: var(--teal);
}

.gallery-badge.shuffle {
  background: rgba(246, 165, 38, 0.15);
  color: var(--gold-dark);
}

/* Masonry Columns */
.gallery-masonry {
  column-count: 4;
  column-gap: 22px;
  width: 100%;
  margin-top: 40px;
}

@media (max-width: 1200px) {
  .gallery-masonry {
    column-count: 3;
    column-gap: 18px;
  }
}

@media (max-width: 768px) {
  .gallery-masonry {
    column-count: 2;
    column-gap: 14px;
    margin-top: 28px;
  }
}

@media (max-width: 480px) {
  .gallery-masonry {
    column-count: 1;
    column-gap: 12px;
  }
}

/* Individual Masonry Item */
.gallery-item {
  break-inside: avoid;
  margin-bottom: 22px;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--sand);
  box-shadow: 0 4px 18px rgba(7, 71, 75, 0.07);
  transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.35s ease;
  cursor: pointer;
  outline: none;
}

@media (max-width: 768px) {
  .gallery-item {
    margin-bottom: 14px;
    border-radius: var(--radius-sm);
  }
}

.gallery-item:hover,
.gallery-item:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(7, 71, 75, 0.18);
}

.gallery-item:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.04);
}

/* Hover / Focus Overlay */
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 71, 75, 0.92) 0%, rgba(7, 71, 75, 0.3) 50%, rgba(7, 71, 75, 0) 100%);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: var(--white);
  pointer-events: none;
}

@media (max-width: 768px) {
  .gallery-item-overlay {
    padding: 14px;
  }
}

.gallery-item:hover .gallery-item-overlay,
.gallery-item:focus-visible .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transform: scale(0.7);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover .gallery-item-icon,
.gallery-item:focus-visible .gallery-item-icon {
  transform: scale(1);
  opacity: 1;
}

.gallery-item-caption {
  font-size: 0.86rem;
  line-height: 1.45;
  font-weight: 500;
  color: #FFFFFF;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  transform: translateY(8px);
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover .gallery-item-caption,
.gallery-item:focus-visible .gallery-item-caption {
  transform: translateY(0);
}

/* =====================================================
   LIGHTBOX MODAL
   ===================================================== */
body.lightbox-open {
  overflow: hidden !important;
  touch-action: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 53, 55, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: lbFadeIn 0.25s ease forwards;
}

.lightbox-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-width: 1400px;
  display: flex;
  flex-direction: column;
  padding: 20px 24px;
  box-sizing: border-box;
  animation: lbScaleIn 0.25s ease forwards;
}

@keyframes lbFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes lbScaleIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 12px;
  z-index: 10;
}

.lightbox-counter {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  padding: 6px 16px;
  border-radius: 100px;
  letter-spacing: 0.05em;
}

.lightbox-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.lightbox-btn:hover,
.lightbox-btn:focus-visible {
  background: var(--gold);
  color: var(--teal-dark);
  border-color: var(--gold);
  transform: scale(1.08);
}

.lightbox-btn:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.lightbox-close {
  width: 44px;
  height: 44px;
}

.lightbox-viewport {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  min-height: 0;
  gap: 16px;
}

.lightbox-media {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.lightbox-media img {
  max-width: 90vw;
  max-height: 76vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lightbox-media img.loading {
  opacity: 0.5;
  transform: scale(0.98);
}

.lightbox-prev,
.lightbox-next {
  flex-shrink: 0;
  z-index: 10;
}

.lightbox-bottom-bar {
  margin-top: 14px;
  text-align: center;
  z-index: 10;
}

.lightbox-caption {
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 500;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.5;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  background: rgba(5, 53, 55, 0.6);
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  display: inline-block;
}

/* Lightbox Mobile Adjustments */
@media (max-width: 768px) {
  .lightbox-dialog {
    padding: 14px 12px;
  }
  .lightbox-viewport {
    gap: 8px;
  }
  .lightbox-btn {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }
  .lightbox-media img {
    max-width: 96vw;
    max-height: 68vh;
  }
  .lightbox-caption {
    font-size: 0.82rem;
    padding: 6px 14px;
  }
}


