/* 
  GoToNature - Premium Design System
  Nature-inspired, Modern, Premium Aesthetics
*/

:root {
  /* Color Palette */
  --primary: #2d5a27;
  /* Forest Green */
  --primary-light: #4c8c43;
  --primary-dark: #1b3a17;
  --accent: #f9b132;
  /* Vibrant Sun/Leaf Accent */
  --accent-light: #ffce74;
  --dark: #121811;
  /* Deep Charcoal/Green */
  --light: #f8fcf8;
  /* Soft White */
  --text: #2d3436;
  --text-muted: #636e72;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);

  /* Typography */
  --font-main: 'Montserrat', 'Noto Sans Thai', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  background-color: var(--light);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  word-break: break-word;
  overflow-wrap: break-word;
}

input, select, button, textarea {
  font-family: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-xl {
  padding: 1.2rem 3rem;
  font-size: 1.2rem;
}

.btn-full {
  width: 100%;
}

.btn-gradient {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(45, 90, 39, 0.3);
}

.btn-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(45, 90, 39, 0.4);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-primary-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-primary-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-outline-green {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  font-family: inherit;
}

.btn-outline-green:hover {
  background: var(--primary);
  color: var(--white);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 0.8rem 0;
  box-shadow: var(--shadow);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-logo {
  height: 40px;
}

.nav-brand-text {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--dark);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta-btn {
  background: var(--primary);
  color: var(--white) !important;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
}

.nav-cta-btn:hover {
  background: var(--primary-light);
  transform: scale(1.05);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  padding-top: 100px;
  /* Space for the navbar */
  padding-bottom: 80px;
  /* Space for scroll hint */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  padding: 0 1rem;
}

.hero-badge {
  display: inline-block;
  background: rgba(45, 90, 39, 0.8);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  font-weight: 600;
  backdrop-filter: blur(5px);
}

.hero-title {
  font-size: 5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-title-accent {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  /* Fix buttons overflowing on mobile */
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 2rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }

  40% {
    transform: translateY(-10px) translateX(-50%);
  }

  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}

/* Seasonal Themes */
.seasonal-themes {
  padding: 5rem 0;
  background: var(--white);
  margin-top: -80px;
  position: relative;
  z-index: 20;
  border-radius: 40px 40px 0 0;
}

/* Destinations Section (replaces themes) */
.destinations-section {
  padding: 5rem 0;
  background: var(--white);
  margin-top: -80px;
  position: relative;
  z-index: 20;
  border-radius: 40px 40px 0 0;
}

.destinations-section .section-header {
  margin-bottom: 2rem;
}

.destinations-scroll-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dest-scroll-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: var(--white);
  color: var(--primary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.dest-scroll-btn:hover {
  background: var(--primary);
  color: var(--white);
}

.destinations-scroll {
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0;
}

.destinations-scroll::-webkit-scrollbar {
  height: 6px;
}

.destinations-scroll::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 3px;
}

.destinations-scroll::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 3px;
}

.destinations-track {
  display: flex;
  gap: 1.25rem;
  padding: 0 0.25rem;
  min-width: max-content;
}

.dest-card {
  flex-shrink: 0;
  width: 260px;
  cursor: pointer;
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.dest-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.dest-card-img {
  width: 100%;
  height: 160px;
  background-size: cover;
  background-position: center;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
}

.dest-card-info {
  padding: 1rem;
}

.dest-card-info strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.dest-country {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.dest-count {
  display: block;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-top: 0.5rem;
}

.themes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  /* Add scrolling for mobile instead of stacked cards */
}

.theme-card {
  padding: 2rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.theme-card:hover {
  transform: translateY(-10px);
}

.theme-winter {
  background: #e3f2fd;
  color: #1565c0;
}

.theme-green {
  background: #e8f5e9;
  color: #2e7d32;
}

.theme-sea {
  background: #e0f7fa;
  color: #00838f;
}

.theme-culture {
  background: #fff3e0;
  color: #ef6c00;
}

.theme-icon {
  font-size: 2.5rem;
}

.theme-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.5);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
}

/* Search Section */
.search-section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.search-box {
  background: var(--white);
  padding: 2rem;
  border-radius: 30px;
  box-shadow: var(--shadow);
  margin-bottom: 3rem;
}

.search-main {
  display: flex;
  gap: 1rem;
  background: #f1f3f1;
  padding: 0.5rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  /* allow wrapping on mobile */
}

.search-icon {
  padding: 1rem;
  font-size: 1.2rem;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  font-size: 1.1rem;
  outline: none;
}

.filter-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.filter-select {
  padding: 0.8rem;
  border: 1px solid #dcdde1;
  border-radius: 12px;
  outline: none;
  font-family: inherit;
}

/* Tour Cards */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  font-family: var(--font-main);
}

.tour-card {
  background: var(--white);
  border-radius: 25px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.tour-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.card-image-wrap {
  position: relative;
  height: 250px;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #ff4757;
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.8rem;
}

.card-theme-tag {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.card-body {
  padding: 1.5rem;
}

.card-header-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.card-highlight {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid #f1f2f6;
  gap: 1rem;
  /* Prevent price and button from crushing together */
}

.price-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.price-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
}

.price-per {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Why Us */
.why-us {
  padding: 5rem 0;
  background: var(--primary-dark);
  color: var(--white);
}
.why-us .section-title {
  color: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.why-card {
  text-align: center;
  padding: 2rem;
}

.why-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 2fr 2fr;
  gap: 3rem 3rem;
  margin-bottom: 4rem;
  align-items: start;
}

.footer-brand {
  min-width: 0;
}

.footer-logo {
  height: 42px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  display: block;
}

.footer-tagline {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.footer-desc {
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.5;
  margin: 0;
}

.footer-heading {
  margin: 0 0 1.25rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-links,
.footer-contacts {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.footer-links li a {
  color: inherit;
  text-decoration: none;
}

.footer-links li:hover a {
  opacity: 1;
}

.footer-col:last-child {
  min-width: 260px;
}

.footer-contacts li {
  margin-bottom: 0.75rem;
  opacity: 0.9;
  line-height: 1.5;
  white-space: nowrap;
}

.footer-contacts li:has(br) {
  white-space: normal;
}

.footer-contacts li a {
  color: inherit;
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  opacity: 0.7;
  line-height: 1.5;
}

.footer-bottom p {
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-col:last-child {
    min-width: unset;
  }
}

@media (max-width: 768px) {

  /* Navbar */
  .nav-menu {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero */
  .hero {
    padding-bottom: 120px;
    /* Add extra space for the scroll hint on mobile */
  }

  .hero-badge {
    margin-bottom: 1rem;
  }

  .hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    margin-bottom: 2rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
  }

  .hero-stat-divider {
    display: none;
  }

  /* Theme Cards */
  .themes-grid {
    display: flex;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
    margin: 0 -5%;
    /* pull out to screen edges */
    padding: 0 5% 1rem 5%;
  }

  .theme-card {
    min-width: 280px;
    scroll-snap-align: center;
  }

  /* Search */
  .search-box {
    padding: 1.5rem;
    border-radius: 20px;
  }

  .search-main {
    border-radius: 20px;
    padding: 1rem;
  }

  .search-input {
    width: 100%;
  }

  .search-main .btn {
    width: 100%;
  }

  /* Tours */
  .tours-grid {
    grid-template-columns: 1fr;
  }

  .card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }

  .card-footer .btn {
    width: 100%;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-col {
    text-align: center;
  }

  .footer-contacts li {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto 1.5rem;
  }
}

/* ===================================================
   ANIMATE-IN (scroll observer)
=================================================== */
.tour-card,
.theme-card,
.why-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.tour-card.animate-in,
.theme-card.animate-in,
.why-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================
   MOBILE NAV ACTIVE
=================================================== */
.nav-menu.mobile-active {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.97);
  justify-content: center;
  align-items: center;
  gap: 2rem;
  z-index: 999;
  backdrop-filter: blur(12px);
}

/* White nav links (on transparent hero navbar) */
.navbar:not(.scrolled) .nav-link {
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.navbar:not(.scrolled) .nav-brand-text {
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.navbar:not(.scrolled) .nav-toggle span {
  background: var(--white);
}

/* ===================================================
   BADGE VARIANTS (index + tour-detail)
=================================================== */
.card-badge.badge-promo {
  background: #ff4757;
}

.card-badge.badge-new {
  background: #2ecc71;
}

.card-badge.badge-premium {
  background: #f9b132;
  color: var(--dark);
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
}

.badge-promo {
  background: #ff4757;
  color: #fff;
}

.badge-winter {
  background: #e3f2fd;
  color: #1565c0;
}

/* ===================================================
   RESULTS INFO / SORT (index)
=================================================== */
.results-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-family: var(--font-main);
}

.sort-group {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.sort-select {
  padding: 0.5rem 1rem;
  border: 1px solid #dcdde1;
  border-radius: 12px;
  font-family: inherit;
  outline: none;
  cursor: pointer;
}

.active-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.filter-tag {
  background: var(--primary);
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.85rem;
  cursor: pointer;
}

.load-more-wrap {
  text-align: center;
  margin-top: 3rem;
}

/* ===================================================
   TESTIMONIALS (index)
=================================================== */
.testimonials {
  padding: 5rem 0;
  background: var(--light);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.testimonial-stars {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  color: var(--text);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ===================================================
   CONTACT STRIP (index)
=================================================== */
.contact-strip {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 4rem 0;
}

.contact-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-strip-text h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.contact-strip-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

/* Social links in footer */
.social-links {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
}

.social-btn.fb {
  background: #1877f2;
}

.social-btn.ig {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-btn.line {
  background: #06c755;
}

/* ===================================================
   PAGE HERO (contact + quotation)
=================================================== */
.page-hero {
  position: relative;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 0;
  padding-top: 80px;
  /* account for fixed navbar */
}

.contact-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
}

.quotation-hero {
  background: linear-gradient(135deg, #1a5276 0%, var(--primary) 50%, var(--primary-light) 100%);
}

.reviews-hero {
  background: var(--primary-dark);
}

.reviews-hero .page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.6;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.page-hero-content h1 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 0.8rem;
}

.page-hero-content p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* ===================================================
   CONTACT SECTION
=================================================== */
.contact-section {
  padding: 4rem 0;
}

.trust-banner {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow);
  margin-bottom: 3rem;
  text-align: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.trust-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
}

.trust-lbl {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-card {
  background: var(--white);
  border-radius: 25px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.company-logo-wrap {
  margin-bottom: 1.5rem;
}

.company-logo {
  height: 50px;
}

.company-name {
  font-size: 1.4rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.license-row {
  margin-bottom: 2rem;
}

.license-badge-sm {
  background: #e8f5e9;
  color: var(--primary);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.channel-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem;
  border-radius: 16px;
  border-left: 4px solid transparent;
  background: var(--light);
  transition: var(--transition);
}

.channel-card:hover {
  transform: translateX(4px);
}

.channel-phone {
  border-color: #27ae60;
}

.channel-email {
  border-color: #2980b9;
}

.channel-line {
  border-color: #06c755;
  flex-wrap: wrap;
}

.channel-fb {
  border-color: #1877f2;
}

.channel-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.channel-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.channel-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  display: block;
}

.channel-sub {
  font-size: 0.83rem;
  color: var(--text-muted);
}

/* LINE QR */
.line-qr-wrap {
  width: 100%;
  margin-top: 0.8rem;
}

.line-qr-placeholder {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.qr-mock {
  width: 64px;
  height: 64px;
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 6px;
  position: relative;
}

.qr-grid {
  width: 100%;
  height: 100%;
  position: relative;
  background: repeating-linear-gradient(0deg,
      transparent, transparent 4px, #eee 4px, #eee 5px),
    repeating-linear-gradient(90deg,
      transparent, transparent 4px, #eee 4px, #eee 5px);
}

.qr-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 3px solid #333;
}

.qr-tl {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

.qr-tr {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
}

.qr-bl {
  bottom: 0;
  left: 0;
  border-right: none;
  border-top: none;
}

.qr-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: #06c755;
}

.hours-card {
  background: var(--light);
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.hours-title {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.hours-table td {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e8e8e8;
  color: var(--text-muted);
}

.hours-table td:last-child {
  text-align: right;
  color: var(--dark);
}

.emergency-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #c0392b;
  font-weight: 600;
  background: #fdf2f2;
  padding: 0.7rem 1rem;
  border-radius: 10px;
}

.address-card {
  margin-top: 1.5rem;
  background: var(--light);
  border-radius: 16px;
  padding: 1.5rem;
}

.address-card h3 {
  font-size: 1rem;
  margin-bottom: 0.8rem;
  color: var(--primary-dark);
}

.address-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.contact-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.map-placeholder {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.quick-contact-card {
  background: var(--white);
  border-radius: 25px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.quick-contact-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
}

.quotation-cta-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border-radius: 20px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.qcta-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.quotation-cta-card h3 {
  margin-bottom: 0.3rem;
}

.quotation-cta-card p {
  opacity: 0.9;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* ===================================================
   FORM CONTROLS (shared contact + quotation)
=================================================== */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.required {
  color: #e74c3c;
}

.form-control {
  padding: 0.8rem 1rem;
  border: 1.5px solid #e0e0e0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--light);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-control:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===================================================
   QUOTATION PAGE
=================================================== */
.quotation-section {
  padding: 4rem 0;
}

.quotation-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}

.quotation-form-wrap {
  background: var(--white);
  border-radius: 25px;
  padding: 3rem;
  box-shadow: var(--shadow);
}

.form-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #f1f2f6;
}

.form-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}

.form-section-title {
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

/* Stepper (traveler count) */
.stepper {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid #e0e0e0;
  border-radius: 14px;
  overflow: hidden;
  max-width: 180px;
}

.stepper-btn {
  width: 44px;
  height: 48px;
  background: var(--light);
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--primary);
  transition: background 0.2s;
  flex-shrink: 0;
}

.stepper-btn:hover {
  background: #e8f5e9;
}

.stepper-display {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  background: #fff;
  height: 48px;
}

.stepper-num {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
}

.stepper-unit {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.traveler-summary {
  margin-top: 1rem;
  padding: 0.8rem 1.2rem;
  background: #e8f5e9;
  border-radius: 12px;
  font-size: 0.9rem;
  color: var(--primary-dark);
}

/* Checkbox group */
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

.terms-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.link-green {
  color: var(--primary);
  text-decoration: underline;
}

.form-submit-wrap {
  text-align: center;
  margin-top: 2rem;
}

.submit-hint {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.btn-spinner {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Quotation sidebar */
.quotation-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 90px;
}

.sidebar-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.sidebar-card h3 {
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 1.2rem;
}

.trust-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.trust-list li {
  font-size: 0.9rem;
  color: var(--text);
}

.contact-options {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.contact-opt-btn {
  display: block;
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  color: var(--white);
}

.phone-btn {
  background: #27ae60;
}

.phone-btn:hover {
  background: #229954;
}

.line-btn {
  background: #06c755;
}

.line-btn:hover {
  background: #05b34a;
}

.email-btn {
  background: #2980b9;
  color: #fff;
}

.email-btn:hover {
  background: #2471a3;
}

.hours-info {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.8;
  background: var(--light);
  padding: 1rem;
  border-radius: 10px;
}

.license-badge {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.license-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.license-card {
  background: #e8f5e9;
}

.license-card strong {
  color: var(--primary-dark);
}

/* Success message */
.success-message {
  text-align: center;
  padding: 4rem 2rem;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.success-message h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.success-detail {
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

/* ===================================================
   TOUR DETAIL PAGE
=================================================== */
.breadcrumb-bar {
  background: var(--light);
  padding: 0.8rem 0;
  border-bottom: 1px solid #eee;
  margin-top: 70px;
  /* navbar height */
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--primary);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.tour-header-section {
  padding: 3rem 0 2rem;
  background: var(--white);
}

.tour-header-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: start;
}

.tour-badges-row {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.tour-main-title {
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.tour-meta-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.tour-meta-item {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.tour-header-price {
  margin-bottom: 0.8rem;
}

.price-label-lg {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: block;
}

.price-value-lg {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
}

.price-per-lg {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-left: 0.3rem;
}

.tour-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rating-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Quick book card (top right) */
.quick-book-card {
  background: var(--white);
  border: 2px solid #e8f5e9;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  min-width: 300px;
  text-align: center;
  overflow: hidden;
}

.qb-price {
  margin-bottom: 1.2rem;
}

.qb-price span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.qb-price strong {
  font-size: 2rem;
  color: var(--primary);
  font-weight: 900;
}

.qb-price small {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.qb-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0.8rem 0;
  font-style: italic;
}

.qb-features {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
  margin-top: 1.2rem;
}

.qb-feat {
  font-size: 0.88rem;
  color: var(--primary-dark);
}

/* Gallery */
.tour-gallery-section {
  padding: 2rem 0;
  background: var(--dark);
}

.gallery-carousel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gallery-main {
  position: relative;
  height: 450px;
  border-radius: 20px;
  overflow: hidden;
}

.gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: var(--transition);
  box-shadow: var(--shadow);
  line-height: 1;
}

.gallery-nav:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
  left: 1rem;
}

.gallery-next {
  right: 1rem;
}

.gallery-counter {
  position: absolute;
  bottom: 1rem;
  right: 1.2rem;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.85rem;
}

.gallery-thumbs {
  display: flex;
  gap: 0.8rem;
}

.gallery-thumb {
  flex: 1;
  height: 80px;
  min-width: 0;
  /* Critical for flex images to shrink */
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  opacity: 0.65;
  transition: var(--transition);
  border: 3px solid transparent;
}

.gallery-thumb:hover,
.gallery-thumb.active {
  opacity: 1;
  border-color: var(--accent);
}

/* Tour content layout */
.tour-content-layout {
  padding: 3rem 0;
}

.tour-content-grid {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 3rem;
  align-items: start;
}

.tour-content-main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Content cards (detail page sections) */
.content-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.content-title {
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 0.8rem;
}

/* Highlight pills */
.highlight-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.pill {
  background: #e8f5e9;
  color: var(--primary-dark);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Accordion */
.accordion-itinerary {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.accordion-item {
  border: 1.5px solid #e0e0e0;
  border-radius: 14px;
  overflow: hidden;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  cursor: pointer;
  background: var(--light);
  transition: background 0.2s;
  user-select: none;
}

.accordion-item.active .accordion-header {
  background: #e8f5e9;
}

.accordion-header:hover {
  background: #e8f5e9;
}

.accordion-day {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.day-badge {
  background: var(--primary);
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
}

.day-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
}

.accordion-icon {
  font-size: 1.2rem;
  color: var(--primary);
  flex-shrink: 0;
}

.accordion-body {
  padding: 1.5rem;
  border-top: 1px solid #e0e0e0;
}

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 65px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-light), #e0e0e0);
}

.timeline-item {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 30px;
  padding: 1.5rem 0;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 60px;
  top: 1.8rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--primary-light);
  z-index: 2;
}

.timeline-time {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  padding-top: 0.2rem;
  text-align: right;
}

.timeline-content strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--dark);
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Inclusions / Exclusions */
.inc-exc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.inc-title {
  color: #27ae60;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.exc-title {
  color: #e74c3c;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.inc-list,
.exc-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.inc-list li,
.exc-list li {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
}

/* Notes */
.notes-card {
  background: #fffbf0;
  border: 1px solid #f9e4b0;
}

.notes-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.note-item {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
  padding-left: 0.3rem;
}

/* Tour sidebar (sticky) */
.tour-sidebar {
  position: sticky;
  top: 90px;
}

.sticky-cta-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.sticky-price {
  text-align: center;
  margin-bottom: 1.2rem;
}

.price-big {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  display: block;
}

.sticky-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 1.2rem 0;
}

.sticky-divider {
  border: none;
  border-top: 1px solid #eee;
  margin: 1.2rem 0;
}

.sticky-contact {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.sticky-contact p {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}

.btn-line {
  background: #06c755;
  color: var(--white) !important;
}

.btn-line:hover {
  background: #05b34a;
}

/* Mobile sticky CTA */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 0.8rem 1rem;
  box-sizing: border-box;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
  z-index: 500;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.mobile-cta-price {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  min-width: 0;
}

.mobile-cta-price span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.mobile-cta-price strong {
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 900;
  white-space: nowrap;
}

.mobile-sticky-cta .btn {
  flex: 1 1 0%;
  min-width: 0;
  padding: 0.7rem;
  font-size: 0.95rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Similar tours */
.similar-tours {
  padding: 4rem 0;
  background: var(--light);
}

.similar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.tour-card.mini .card-image-wrap {
  height: 180px;
}

/* ===================================================
   REVIEWS PAGE
=================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.review-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.review-img-wrap {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.review-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.review-card:hover .review-img-wrap img {
  transform: scale(1.05);
}

.review-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.review-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--primary-light);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.review-author-info h4 {
  font-size: 1rem;
  margin-bottom: 0.1rem;
}

.review-author-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.review-rating {
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  letter-spacing: 2px;
}

.review-title {
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1.4;
}

.review-excerpt {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.read-more-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.read-more-link:hover {
  color: var(--primary-dark);
}

/* ===================================================
   REVIEW DETAIL PAGE
=================================================== */
.review-detail-hero {
  height: 500px;
  position: relative;
  border-radius: 0 0 40px 40px;
  overflow: hidden;
  margin-bottom: -50px;
}

.review-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-detail-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7));
}

.review-detail-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 4rem 2rem;
  color: #fff;
  text-align: center;
}

.review-detail-title {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.review-detail-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  font-size: 1rem;
  opacity: 0.9;
}

.review-content-section {
  padding: 8rem 0 5rem;
  background: var(--light);
}

.review-article {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.review-article p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.review-article h3 {
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin: 2rem 0 1rem;
}

.review-article-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.review-article-gallery img {
  border-radius: 12px;
  height: 200px;
  object-fit: cover;
  width: 100%;
}

/* ===================================================
   RESPONSIVE: TOUR DETAIL & CONTACT & QUOTATION
=================================================== */
@media (max-width: 1024px) {
  .quotation-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .quotation-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .tour-content-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tour-sidebar {
    position: static;
  }

  .tour-header-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .quick-book-card {
    min-width: unset;
  }
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .inc-exc-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-strip-inner {
    flex-direction: column;
    text-align: center;
  }

  .contact-strip-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .similar-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .mobile-sticky-cta {
    display: flex;
  }

  .tour-main-title {
    font-size: 1.8rem;
  }

  .gallery-main {
    height: 260px;
  }

  .tour-meta-row {
    gap: 0.8rem;
  }

  .page-hero {
    height: 220px;
  }

  .page-hero-content h1 {
    font-size: 1.8rem;
  }

  .trust-banner {
    gap: 1.5rem;
  }

  .quotation-form-wrap {
    padding: 1.5rem;
  }

  .content-card {
    padding: 1.2rem;
  }

  .quick-book-card {
    padding: 1.2rem;
  }

  .timeline-item {
    gap: 15px;
  }

  .timeline-item::before {
    left: 45px;
  }

  .review-detail-hero {
    height: 380px;
  }

  .review-detail-title {
    font-size: 1.8rem;
  }

  .review-article {
    padding: 1.8rem;
  }

  .review-detail-meta {
    flex-wrap: wrap;
    gap: 0.8rem;
  }
}