/* ==========================================================================
   WILD BIKE TOURS - ECO-FRIENDLY & CLEAN DESIGN SYSTEM
   Theme: Fresh Sri Lankan Highlands (Mint, Sage, Teal, Organic Off-White)
   ========================================================================== */

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

:root {
  /* Color Palette - Clean, Eco-friendly, Fresh */
  --color-teal: #11a598;
  --color-blue: #066696;
  --color-emerald: #36bd7b;
  --color-lime: #8ad24e; /* Slightly richer green for high contrast */
  --color-forest: #203531; /* Deep forest slate for text & headings (no pure black) */
  --color-white: #ffffff;
  
  /* Semantic Colors */
  --color-primary: var(--color-teal);
  --color-secondary: var(--color-blue);
  --color-accent: var(--color-emerald);
  --color-highlight: var(--color-lime);
  
  --bg-light: #f2faf8; /* Soft fresh mint cream */
  --bg-dark: #e6f3f0; /* Rich organic sage green (for contrasting light sections) */
  --text-dark: var(--color-forest);
  --text-light: #ffffff;
  --text-muted: #576d69; /* Muted forest-teal */
  --border-light: #d6eae6;
  --border-dark: #bfded8;

  /* Gradients - Vibrant but light and natural */
  --grad-primary: linear-gradient(135deg, var(--color-blue) 0%, var(--color-teal) 50%, var(--color-emerald) 100%);
  --grad-accent: linear-gradient(135deg, var(--color-teal) 0%, var(--color-emerald) 50%, var(--color-lime) 100%);
  --grad-eco-hero: linear-gradient(135deg, #f0faf7 0%, #e3f5f0 100%);
  
  /* Wireframe Image Placeholders (Fresh Soft Gray-Teal) */
  --grad-placeholder: linear-gradient(135deg, #ebf5f3 0%, #daeae6 100%);
  --grad-placeholder-dark: linear-gradient(135deg, #dcebe8 0%, #cbdeda 100%);

  /* Typography - Professional, Clean Sans-Serif */
  --font-sans: 'Inter', sans-serif;
  --font-display: 'Plus Jakarta Sans', sans-serif;

  /* Layout Variables */
  --nav-height: 80px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(32, 53, 49, 0.04);
  --shadow-md: 0 10px 25px rgba(32, 53, 49, 0.06);
  --shadow-lg: 0 20px 40px rgba(32, 53, 49, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-white);
  color: var(--text-dark);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-dark);
  font-weight: 800;
  line-height: 1.25;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

ul {
  list-style: none;
}

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

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

/* Eco-friendly sage alternative to black sections */
.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-dark);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-dark h2, .section-dark h3 {
  color: var(--text-dark);
}

.text-center { text-align: center; }
.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-accent {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  gap: 8px;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--grad-primary);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(17, 165, 152, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(17, 165, 152, 0.4);
  background: linear-gradient(135deg, var(--color-emerald) 0%, var(--color-teal) 50%, var(--color-blue) 100%);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--text-dark);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: var(--bg-light);
  box-shadow: var(--shadow-md);
  border-color: var(--color-teal);
}

.btn-accent {
  background: var(--color-forest);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(32, 53, 49, 0.08);
}

.btn-accent:hover {
  background: var(--color-teal);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(17, 165, 152, 0.2);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-glass {
  background: rgba(17, 165, 152, 0.08);
  color: var(--color-teal);
  border: 1px solid rgba(17, 165, 152, 0.2);
}

.btn-glass:hover {
  background: rgba(17, 165, 152, 0.15);
  border-color: var(--color-teal);
  transform: translateY(-2px);
}

/* Image Placeholders (Sage green-gray themed wireframes) */
.img-placeholder {
  position: relative;
  background: var(--grad-placeholder);
  border: 2px dashed var(--border-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-weight: 500;
  text-align: center;
  padding: 40px 20px;
  min-height: 250px;
  transition: var(--transition);
}

.img-placeholder::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(17, 165, 152, 0.04) 0%, rgba(54, 189, 123, 0.04) 100%);
  z-index: 1;
}

.img-placeholder svg {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  stroke: var(--text-muted);
  stroke-width: 1.5;
  fill: none;
  z-index: 2;
  transition: var(--transition);
}

.img-placeholder span {
  z-index: 2;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.img-placeholder:hover {
  border-color: var(--color-teal);
  color: var(--color-teal);
  background: linear-gradient(135deg, #f2faf8 0%, #e6fcf3 100%);
}

.img-placeholder:hover svg {
  stroke: var(--color-teal);
  transform: scale(1.1);
}

/* Used for placeholder contrast */
.img-placeholder-dark {
  background: var(--grad-placeholder-dark);
  border-color: var(--border-dark);
}

/* ==========================================================================
   NAVIGATION (Always Clean & Light)
   ========================================================================== */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: var(--transition);
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  pointer-events: none;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border-light);
  /* Progressive gradient blur: 0 blur at the bottom, gradually blurring as you go up */
  mask-image: linear-gradient(to bottom, black 0%, rgba(0, 0, 0, 0.85) 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, rgba(0, 0, 0, 0.85) 60%, transparent 100%);
}

header.scrolled {
  height: 70px;
}

header.scrolled::before {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  mask-image: none;
  -webkit-mask-image: none;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark);
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--grad-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-white);
  stroke-width: 2;
  fill: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
  color: var(--text-dark);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-primary);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-forest);
  position: absolute;
  transition: var(--transition);
  border-radius: 2px;
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 9px; }
.nav-toggle span:nth-child(3) { top: 18px; }

.nav-toggle.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION (Bright, Fresh & Eco-friendly)
   ========================================================================== */

/* ==========================================================================
   TRANSPARENT HEADER FOR HOME PAGE HERO
   ========================================================================== */

body.home-page header {
  background: transparent;
  border-bottom: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.home-page header::before {
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

body.home-page header .logo {
  color: var(--color-white);
}

body.home-page header .logo-icon {
  background: var(--color-white);
}

body.home-page header .logo-icon svg {
  stroke: var(--color-teal);
}

body.home-page header .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

body.home-page header .nav-link::after {
  background: var(--color-white);
}

body.home-page header .nav-link:hover {
  color: var(--color-white);
}

body.home-page header .nav-link.active {
  color: var(--color-teal);
}

body.home-page header .nav-link.active::after {
  background: var(--color-teal);
}

body.home-page header .nav-toggle span {
  background-color: var(--color-white);
}

body.home-page header .btn-accent {
  background: var(--color-white);
  color: var(--color-forest);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body.home-page header .btn-accent:hover {
  background: var(--color-teal);
  color: var(--color-white);
  box-shadow: 0 6px 18px rgba(17, 165, 152, 0.3);
}

/* Scrolled State - Returns to Clean White Theme */
body.home-page header.scrolled {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  box-shadow: none;
}

body.home-page header.scrolled::before {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  mask-image: none;
  -webkit-mask-image: none;
}

body.home-page header.scrolled .logo {
  color: var(--text-dark);
}

body.home-page header.scrolled .logo-icon {
  background: var(--grad-primary);
}

body.home-page header.scrolled .logo-icon svg {
  stroke: var(--color-white);
}

body.home-page header.scrolled .nav-link {
  color: var(--text-dark);
}

body.home-page header.scrolled .nav-link::after {
  background: var(--grad-primary);
}

body.home-page header.scrolled .nav-link:hover,
body.home-page header.scrolled .nav-link.active {
  color: var(--color-teal);
}

body.home-page header.scrolled .nav-toggle span {
  background-color: var(--color-forest);
}

body.home-page header.scrolled .btn-accent {
  background: var(--color-forest);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(32, 53, 49, 0.08);
}

body.home-page header.scrolled .btn-accent:hover {
  background: var(--color-teal);
  color: var(--color-white);
  box-shadow: 0 8px 20px rgba(17, 165, 152, 0.2);
}

/* ==========================================================================
   HERO SECTION (Dribbble Inspired Image Fade & Destination Cards Layout)
   ========================================================================== */

.hero {
  position: relative;
  background-color: var(--color-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  padding-bottom: 80px;
}

.hero-bg-container {
  position: relative;
  width: 100%;
  height: 82vh;
  min-height: 520px;
  max-height: 840px;
  overflow: hidden;
  z-index: 1;
}

.hero-fullscreen-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  z-index: 1;
}

.hero-fullscreen-img.active {
  opacity: 1;
  z-index: 2;
}

.hero-fullscreen-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* An ultra-soft, gradual easing curve (scrim) fading from 55% to 100% height to prevent any sharp lines, with a soft top vignette for readability */
  background: linear-gradient(
    to bottom,
    rgba(16, 28, 26, 0.38) 0%, /* Dark tint at the absolute top for transparent header contrast */
    rgba(16, 28, 26, 0.05) 15%,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0) 55%,
    rgba(255, 255, 255, 0.08) 67%,
    rgba(255, 255, 255, 0.22) 77%,
    rgba(255, 255, 255, 0.45) 86%,
    rgba(255, 255, 255, 0.75) 94%,
    var(--color-white) 100%
  );
  z-index: 3;
}

/* Content Container containing floating components and copy */
.hero-content-container {
  position: relative;
  z-index: 3;
  width: 100%;
  margin-top: -110px; /* Pulls elements up into the image fade area */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Country Badge & Tag */
.hero-country-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

.hero-country-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(32, 53, 49, 0.08);
  border: 2.5px solid var(--color-white);
  z-index: 4;
  margin-bottom: 8px;
  transition: transform 0.3s ease;
}

.hero-country-badge:hover {
  transform: scale(1.1) rotate(5deg);
}

.hero-country-badge svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-teal);
  stroke-width: 2.2;
}

.hero-destinations-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: var(--font-sans);
}

/* Destinations Cards Row */
.hero-cards-row {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1140px;
  padding: 12px 24px;
  margin-bottom: 54px;
}

.hero-dest-card {
  position: relative;
  width: 170px;
  height: 125px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(32, 53, 49, 0.06);
  display: flex;
  align-items: flex-end;
  padding: 14px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  border: 2px solid transparent;
  background-color: var(--border-light);
  cursor: pointer;
  text-decoration: none;
}

.card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(16, 28, 26, 0.7) 0%, rgba(16, 28, 26, 0.2) 50%, transparent 100%);
  z-index: 2;
}

.card-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-white);
  z-index: 3;
  position: relative;
  transition: transform 0.4s ease;
}

.hero-dest-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(32, 53, 49, 0.12);
}

.hero-dest-card:hover .card-bg {
  transform: scale(1.06);
}

/* Active Highlight Card (Middle Ella equivalent) */
.hero-dest-card.active {
  width: 195px;
  height: 145px;
  border: 2.5px solid var(--color-white);
  box-shadow: 0 20px 40px rgba(32, 53, 49, 0.15);
  z-index: 2;
  outline: 2px solid var(--color-teal);
}

.hero-dest-card.active .card-name {
  font-size: 1.05rem;
}

/* Copy & Actions below */
.hero-text-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: left;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 18px;
  line-height: 1.15;
  letter-spacing: -1.5px;
  color: var(--color-forest);
}

.hero-description {
  font-size: 1.02rem;
  margin-bottom: 38px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.7;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: flex-start;
}

/* Hero Bike Showcase */
.hero-bike-image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bike-image-wrapper::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(17, 165, 152, 0.12) 0%, rgba(17, 165, 152, 0.01) 70%, transparent 100%);
  border-radius: 50%;
  z-index: 1;
}

.hero-bike-img {
  width: 100%;
  max-width: 540px;
  height: auto;
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 15px 35px rgba(32, 53, 49, 0.08));
  transition: transform 0.4s ease;
}

.hero-bike-img:hover {
  transform: translateY(-6px) scale(1.02);
}



/* Minimalist Button Elements */
.btn-primary-min {
  background-color: var(--color-forest);
  color: var(--color-white);
  border: none;
  box-shadow: 0 4px 15px rgba(32, 53, 49, 0.15);
  border-radius: 50px;
  padding: 14px 36px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.btn-primary-min:hover {
  background-color: var(--color-teal);
  box-shadow: 0 8px 25px rgba(17, 165, 152, 0.3);
  transform: translateY(-2px);
}

.btn-outline-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-forest);
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.btn-outline-text svg {
  transition: transform 0.3s ease;
}

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

.btn-outline-text:hover svg {
  transform: translateX(4px);
}

/* Responsive layout adjustments */
@media (max-width: 1024px) {
  /* Responsive swipeable list for destinations cards on tablets/mobile */
  .hero-cards-row {
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 16px 24px;
    gap: 16px;
    width: 100vw;
    -webkit-overflow-scrolling: touch;
  }
  
  .hero-cards-row::-webkit-scrollbar {
    display: none; /* Hide scrollbars for carousel feel */
  }
  
  .hero-dest-card {
    scroll-snap-align: center;
    flex-shrink: 0;
  }
  
  .hero-dest-card.active {
    width: 170px;
    height: 125px;
    transform: none;
    outline: none;
    border-color: var(--color-teal);
  }
  
  .hero-dest-card.active .card-name {
    font-size: 0.95rem;
  }

  .hero-text-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    max-width: 760px;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-bottom: 60px;
  }

  .hero-bg-container {
    height: 65vh;
  }
  
  .hero-content-container {
    margin-top: -80px;
  }

  .hero-title {
    font-size: 2.3rem;
  }
  
  .hero-description {
    font-size: 0.95rem;
    margin-bottom: 28px;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    align-items: stretch;
  }

  .hero-actions .btn-primary-min {
    text-align: center;
    width: 100%;
  }

  .hero-actions .btn-outline-text {
    justify-content: center;
    width: 100%;
    padding: 10px 0;
  }
}

/* ==========================================================================
   CARDS & GRID LAYOUT
   ========================================================================== */

.section-title-wrapper {
  margin-bottom: 60px;
}

.section-tag {
  color: var(--color-teal);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  color: var(--color-forest);
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 32px;
}

/* Tour Card */
.tour-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tour-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-teal);
}

.tour-card-img-wrapper {
  position: relative;
}

.tour-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--grad-primary);
  color: var(--color-white);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 3;
  box-shadow: var(--shadow-sm);
}

.tour-card-placeholder {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border: none;
  min-height: 220px;
}

.tour-meta {
  display: flex;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-light);
  background-color: var(--bg-light);
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.tour-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tour-meta-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-teal);
  stroke-width: 2;
  fill: none;
}

.tour-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tour-card-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.35;
  color: var(--color-forest);
}

.tour-card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.tour-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.tour-price-info {
  display: flex;
  flex-direction: column;
}

.tour-price-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.tour-price-amount {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-blue);
  font-family: var(--font-display);
}

.tour-price-amount span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.tour-card-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-forest);
  transition: var(--transition);
}

.tour-card:hover .tour-card-btn {
  background: var(--grad-primary);
  color: var(--color-white);
  transform: translateX(4px);
}

/* ==========================================================================
   WHY CHOOSE US & INFO SECTIONS
   ========================================================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 50px;
}

.feature-card {
  padding: 40px 30px;
  background-color: #fafdfd;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  background-color: var(--color-white);
  border-color: var(--color-teal);
  box-shadow: var(--shadow-md);
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(17, 165, 152, 0.1) 0%, rgba(6, 102, 150, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-icon-wrapper svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-teal);
  stroke-width: 2;
  fill: none;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--color-forest);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Split layout content */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-text h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  color: var(--color-forest);
}

.split-text p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-weight: 500;
}

.bullet-list svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-emerald);
  stroke-width: 2.5;
  fill: none;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ==========================================================================
   DYNAMIC TOUR DETAIL PAGE
   ========================================================================== */

.detail-header {
  padding: 160px 0 60px;
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-light);
}

.detail-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-teal);
  font-weight: 600;
  margin-bottom: 24px;
}

.detail-nav-back:hover {
  transform: translateX(-4px);
}

.detail-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--color-forest);
  letter-spacing: -1px;
}

.detail-subtitle-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: var(--text-muted);
  font-weight: 500;
}

.detail-subtitle-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-subtitle-meta svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-teal);
  stroke-width: 2;
  fill: none;
}

.detail-grid {
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: 48px;
  padding: 60px 0;
}

.detail-description {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 40px;
}

.detail-section-title {
  font-size: 1.8rem;
  margin: 40px 0 20px;
  position: relative;
  padding-bottom: 10px;
  color: var(--color-forest);
}

.detail-section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--grad-primary);
  border-radius: 2px;
}

/* Itinerary Timeline */
.timeline {
  position: relative;
  padding-left: 32px;
  margin: 30px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 10px;
  width: 2px;
  height: calc(100% - 24px);
  background-color: var(--border-light);
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
}

.timeline-dot {
  position: absolute;
  left: -32px;
  top: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-white);
  border: 4px solid var(--color-teal);
  z-index: 2;
}

.timeline-item:hover .timeline-dot {
  background: var(--color-emerald);
}

.timeline-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--color-forest);
}

.timeline-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Activities Bullet List */
.activities-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.activity-item {
  display: flex;
  gap: 12px;
  background-color: var(--bg-light);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--color-teal);
  font-weight: 500;
}

.activity-item svg {
  stroke: var(--color-teal);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Route Info Box */
.route-info-box {
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.route-info-item h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.route-info-item p {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-blue);
}

/* Booking Widget Card */
.widget-card {
  background-color: var(--color-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 110px;
}

.widget-title {
  font-size: 1.4rem;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-forest);
}

.widget-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-blue);
  font-family: var(--font-display);
}

.widget-price span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.widget-form-group {
  margin-bottom: 20px;
}

.widget-form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.widget-form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.widget-form-input:focus {
  border-color: var(--color-teal);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(17, 165, 152, 0.15);
}

.price-breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.price-breakdown-row.total {
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
  margin-top: 16px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-dark);
}

.price-breakdown-val {
  font-weight: 600;
  color: var(--text-dark);
}

.price-breakdown-row.total .price-breakdown-val {
  color: var(--color-blue);
  font-size: 1.4rem;
  font-family: var(--font-display);
}

.tier-chart-toggle {
  background: none;
  border: none;
  color: var(--color-teal);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
  margin-top: 12px;
  display: block;
}

.tier-chart-container {
  display: none;
  background-color: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-top: 12px;
  font-size: 0.85rem;
}

.tier-chart-title {
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.tier-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed var(--border-light);
}
.tier-row:last-child {
  border-bottom: none;
}
.tier-row.active {
  font-weight: 700;
  color: var(--color-emerald);
}

/* ==========================================================================
   BOOKING FLOW PAGE
   ========================================================================== */

.booking-hero {
  padding: 140px 0 60px;
  background: var(--grad-eco-hero);
  color: var(--text-dark);
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.booking-hero h1 {
  color: var(--color-forest);
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.booking-content-grid {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 48px;
  padding: 60px 0;
}

.booking-form-card {
  background-color: var(--color-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.booking-form-section-title {
  font-size: 1.4rem;
  margin: 32px 0 20px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-forest);
}

.booking-form-section-title span {
  width: 28px;
  height: 28px;
  background: var(--grad-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

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

.booking-summary-sidebar {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 30px;
  height: fit-content;
  position: sticky;
  top: 110px;
}

.booking-summary-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
  color: var(--color-forest);
}

.booking-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.booking-summary-row.total {
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  margin-top: 16px;
  font-weight: 700;
  font-size: 1.15rem;
}

.booking-success-message {
  text-align: center;
  padding: 60px 40px;
}

.booking-success-icon {
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(54, 189, 123, 0.1) 0%, rgba(54, 189, 123, 0.02) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.booking-success-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--color-emerald);
  stroke-width: 2.5;
  fill: none;
}

/* ==========================================================================
   ADMIN DASHBOARD
   ========================================================================== */

.admin-header {
  padding: 120px 0 30px;
  background: linear-gradient(135deg, #e3f3f0 0%, #d5eae5 100%);
  border-bottom: 1px solid var(--border-light);
  color: var(--text-dark);
}

.admin-header h1 {
  color: var(--color-forest);
}

.admin-tabs {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.admin-tab {
  padding: 10px 24px;
  background-color: rgba(17, 165, 152, 0.08);
  border-radius: 30px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid rgba(17, 165, 152, 0.15);
}

.admin-tab:hover,
.admin-tab.active {
  background-color: var(--color-teal);
  color: var(--color-white);
  border-color: var(--color-teal);
}

.admin-section {
  display: none;
  padding: 50px 0;
}

.admin-section.active {
  display: block;
}

/* Admin Table */
.admin-table-container {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  margin-top: 24px;
}

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

.admin-table th {
  background-color: var(--bg-light);
  padding: 18px 24px;
  font-weight: 700;
  color: var(--color-forest);
  border-bottom: 1px solid var(--border-light);
}

.admin-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-dark);
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tr:hover {
  background-color: #f7fcfb;
}

/* Booking Status Badge */
.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.status-badge.pending {
  background-color: #fef3c7;
  color: #b45309;
}

.status-badge.confirmed {
  background-color: #d1fae5;
  color: #065f46;
}

.status-badge.cancelled {
  background-color: #fee2e2;
  color: #991b1b;
}

/* Forms in Admin */
.admin-form {
  background-color: var(--color-white);
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  max-width: 800px;
  margin: 0 auto;
}

.admin-form-group {
  margin-bottom: 24px;
}

.admin-form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-forest);
}

.admin-form-control {
  width: 100%;
  padding: 12px 18px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  background-color: var(--bg-light);
  color: var(--text-dark);
  transition: var(--transition);
}

.admin-form-control:focus {
  border-color: var(--color-teal);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(17, 165, 152, 0.15);
}

/* Admin Actions Buttons */
.admin-actions {
  display: flex;
  gap: 12px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: 4px;
}

/* ==========================================================================
   FOOTER (Clean & Eco-friendly)
   ========================================================================== */

footer {
  background-color: var(--bg-light);
  color: var(--text-muted);
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-light);
}

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

.footer-logo {
  color: var(--color-forest);
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-title {
  color: var(--color-forest);
  font-size: 1.15rem;
  margin-bottom: 24px;
  font-weight: 700;
  font-family: var(--font-sans);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a:hover {
  color: var(--color-teal);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-teal);
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  flex-wrap: wrap;
  gap: 20px;
}

/* ==========================================================================
   MEDIA QUERIES (MOBILE RESPONSIVENESS)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.4rem;
  }
  .split-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .booking-content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
  }
  .section {
    padding: 60px 0;
  }
  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background-color: var(--color-white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transition: var(--transition);
    z-index: 999;
    border-top: 1px solid var(--border-light);
  }
  .nav-menu.open {
    left: 0;
  }
  .nav-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-description {
    font-size: 0.95rem;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .detail-title {
    font-size: 2.2rem;
  }
  .booking-form-card {
    padding: 24px;
  }
  .booking-form-grid-2 {
    grid-template-columns: 1fr;
  }
  .admin-form {
    padding: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
