/* ============================================
   MY HOLIDAY CONNECT - Design System
   Modern Travel Agency - White & Red Theme
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ============================================
   CSS Custom Properties (Design Tokens)
   ============================================ */
:root {
  /* Colors - White & Red Travel Agency Palette */
  --color-primary: #0F172A;
  --color-primary-light: #1E293B;
  --color-primary-dark: #020617;
  --color-secondary: #FFF5F5;
  --color-accent: #E53935;
  --color-accent-light: #EF5350;
  --color-accent-dark: #C62828;

  --color-dark: #0F172A;
  --color-dark-soft: #1E293B;
  --color-text: #1E293B;
  --color-text-light: #64748B;
  --color-text-muted: #94A3B8;
  --color-white: #FFFFFF;
  --color-bg: #FFFFFF;
  --color-bg-soft: #FFF8F8;
  --color-bg-tinted: #FFF0F0;
  --color-border: #E2E8F0;

  /* Warm accent tones */
  --color-gold: #F59E0B;
  --color-gold-dark: #D97706;
  --color-sand: #FFFBEB;

  /* Typography */
  --font-thai: 'Kanit', 'Segoe UI', Tahoma, sans-serif;
  --font-en: 'Kanit', 'Segoe UI', sans-serif;
  --font-script: 'Kanit', cursive;
  --font-body: var(--font-thai);
  --font-heading: var(--font-en);

  /* Font Sizes */
  --fs-hero: clamp(2.2rem, 5vw, 3.8rem);
  --fs-h1: clamp(1.85rem, 4vw, 3rem);
  --fs-h2: clamp(1.5rem, 3vw, 2.2rem);
  --fs-h3: clamp(1.15rem, 2.5vw, 1.5rem);
  --fs-h4: clamp(1rem, 2vw, 1.25rem);
  --fs-h5: clamp(0.9rem, 1.5vw, 1.1rem);
  --fs-h6: clamp(0.85rem, 1.2vw, 1rem);
  --fs-body: clamp(0.95rem, 1.2vw, 1.05rem);
  --fs-small: 0.875rem;
  --fs-xs: 0.75rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius - Tourm style generous rounding */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Shadows - Softer, more diffuse */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 20px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 8px 32px rgba(15, 23, 42, 0.1);
  --shadow-xl: 0 16px 48px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-card-hover: 0 12px 40px rgba(15, 23, 42, 0.12);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-spring: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 900px;
  --nav-height: 76px;
}

/* ============================================
   Reset & Base
   ============================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

/* ============================================
   Typography
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  line-height: 1.3;
  font-weight: 700;
}

h1 {
  font-size: var(--fs-h1);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.5px;
}

h2 {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-md);
}

h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-md);
}

h4 {
  font-size: var(--fs-h4);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

h5 {
  font-size: var(--fs-h5);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

h6 {
  font-size: var(--fs-h6);
  margin-bottom: var(--space-xs);
  font-weight: 500;
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-light);
}

.section-label {
  font-family: var(--font-script);
  font-size: 1.15rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-dark));
  border-radius: var(--radius-full);
}

.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

/* ============================================
   Layout
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-4xl) 0;
}

.section-alt {
  background-color: var(--color-bg-tinted);
}

.text-center {
  text-align: center;
}

.grid {
  display: grid;
  gap: var(--space-xl);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.flex {
  display: flex;
  align-items: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transition-normal);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--color-border);
}

.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-primary);
  text-decoration: none;
  white-space: nowrap;
}

.nav-logo img {
  height: 50px;
  width: auto;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

/* Footer Logo Specific Styling */
.footer-logo {
  height: 80px !important;
  width: auto;
  border-radius: 50%;
  background: white;
  padding: 4px;
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-md);
}

.nav-logo span {
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  font-family: var(--font-thai);
  font-weight: 500;
  font-size: var(--fs-body);
  color: var(--color-dark-soft);
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  transition: width var(--transition-normal);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: var(--color-white) !important;
  padding: 10px 24px !important;
  border-radius: var(--radius-full);
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(244, 132, 95, 0.35);
  transition: all var(--transition-normal) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 132, 95, 0.5) !important;
  color: var(--color-white) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--color-dark);
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Language Switcher */
.lang-switcher {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: var(--space-sm);
  z-index: 1002;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--color-bg-tinted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.lang-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.lang-btn-flag {
  width: 22px;
  height: auto;
  border-radius: 2px;
  display: block;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.lang-option-flag {
  width: 20px;
  height: auto;
  border-radius: 2px;
  margin-right: 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition-fast);
  min-width: 140px;
}

.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  transition: background var(--transition-fast);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
}

.lang-option:hover {
  background: var(--color-bg-tinted);
}

.lang-option.active {
  color: var(--color-primary);
  font-weight: 700;
  background: var(--color-bg-tinted);
}

.lang-option .lang-flag {
  font-size: 1.2rem;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(23, 37, 42, 0.65) 0%,
      rgba(43, 122, 120, 0.4) 50%,
      rgba(23, 37, 42, 0.5) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  color: var(--color-white);
  animation: fadeInUp 1s ease 0.3s both;
}

.hero-content .section-label {
  color: var(--color-gold);
  font-size: 0.9rem;
}

.hero-content h1 {
  font-size: var(--fs-hero);
  color: var(--color-white);
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-xl);
  max-width: 550px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: var(--fs-small);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge svg {
  width: 18px;
  height: 18px;
  fill: var(--color-gold);
}

/* Hero Slider Dots */
.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
}

.hero-dot.active {
  background: var(--color-white);
  transform: scale(1.2);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-thai);
  font-weight: 600;
  font-size: var(--fs-body);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.25);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.35);
  color: var(--color-white);
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(20, 184, 193, 0.3);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(20, 184, 193, 0.4);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline-dark:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ============================================
   Cards
   ============================================ */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: var(--color-accent);
  color: var(--color-white);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-content {
  padding: var(--space-lg);
}

.card-content h3 {
  margin-bottom: var(--space-sm);
}

.card-content p {
  font-size: var(--fs-small);
}

.card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

.card-meta svg {
  width: 16px;
  height: 16px;
  fill: var(--color-primary-light);
}

.card-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-price {
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-accent);
}

.card-price small {
  font-size: var(--fs-small);
  font-weight: 400;
  color: var(--color-text-muted);
}

/* Feature Cards */
.feature-card {
  text-align: center;
  padding: var(--space-2xl);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid var(--color-border);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--space-lg);
  background: linear-gradient(135deg, var(--color-bg-tinted), var(--color-white));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--color-primary);
  transition: fill var(--transition-normal);
}

.feature-card:hover .feature-icon svg {
  fill: var(--color-white);
}

/* ============================================
   Itinerary / Timeline
   ============================================ */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15px;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-primary-light), var(--color-accent));
  border-radius: var(--radius-full);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-2xl);
  padding: var(--space-xl);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--color-primary-light);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 28px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

.timeline-day {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: var(--color-white);
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: var(--fs-small);
  margin-bottom: var(--space-md);
}

.timeline-places {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.timeline-place {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--color-bg-tinted);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: var(--fs-small);
  color: var(--color-primary);
  font-weight: 500;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonial-card {
  background: var(--color-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: var(--color-bg-tinted);
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 700;
  font-family: var(--font-en);
}

.testimonial-name {
  font-weight: 600;
  color: var(--color-dark);
}

.testimonial-trip {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

.testimonial-stars {
  color: var(--color-gold);
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: #FFFFFF;
  color: var(--color-text-light);
  padding: var(--space-4xl) 0 var(--space-xl);
  border-top: 3px solid var(--color-accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand p {
  color: var(--color-text-light);
  font-size: var(--fs-small);
  margin-top: var(--space-md);
}

.footer h4 {
  color: var(--color-accent);
  font-family: var(--font-en);
  margin-bottom: var(--space-lg);
  font-size: 1.1rem;
}

.footer-links a {
  display: block;
  color: var(--color-text-light);
  padding: var(--space-xs) 0;
  font-size: var(--fs-small);
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 5px;
}

.footer-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  transition: all var(--transition-normal);
}

.footer-social a:hover {
  background: var(--color-accent-dark);
  color: var(--color-white);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid rgba(229, 57, 53, 0.15);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

.footer-bottom a {
  color: var(--color-text-muted);
}

.footer-bottom a:hover {
  color: var(--color-accent);
}

/* ============================================
   Contact Form
   ============================================ */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--color-dark);
  font-size: var(--fs-small);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 4px rgba(58, 175, 169, 0.15);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* ============================================
   Gallery / Lightbox
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  color: var(--color-white);
  font-weight: 600;
  z-index: 1;
  transform: translateY(10px);
  opacity: 0;
  transition: all var(--transition-normal);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
  opacity: 1;
}

/* ============================================
   Page Header (Inner pages)
   ============================================ */
.page-header {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header h1 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
  position: relative;
}

.page-header p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  font-size: var(--fs-small);
  margin-bottom: var(--space-lg);
  color: rgba(255, 255, 255, 0.6);
  position: relative;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  padding: var(--space-4xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  font-size: 1.1rem;
}

.cta-section .btn-accent {
  background: var(--color-white);
  color: var(--color-accent);
  font-weight: 700;
}

.cta-section .btn-accent:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--color-white);
}

.cta-section .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-white);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ============================================
   Info Boxes / Inclusions
   ============================================ */
.info-box {
  background: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.info-box h3 {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.info-list {
  margin-top: var(--space-md);
}

.info-list li {
  padding: var(--space-sm) 0;
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--fs-small);
  color: var(--color-text-light);
}

.info-list li::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
}

.info-list.exclusion li::before {
  content: '✗';
  color: var(--color-accent);
}

/* ============================================
   Price Box
   ============================================ */
.price-box {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: var(--color-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  text-align: center;
}

.price-box .price-label {
  font-size: var(--fs-small);
  opacity: 0.8;
  margin-bottom: var(--space-sm);
}

.price-box .price-amount {
  font-family: var(--font-en);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: var(--space-xs);
}

.price-box .price-unit {
  font-size: var(--fs-small);
  opacity: 0.7;
}

.price-box .price-note {
  font-size: var(--fs-xs);
  opacity: 0.6;
  margin-top: var(--space-md);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 {
  transition-delay: 0.1s;
}

.animate-delay-2 {
  transition-delay: 0.2s;
}

.animate-delay-3 {
  transition-delay: 0.3s;
}

.animate-delay-4 {
  transition-delay: 0.4s;
}

/* ============================================
   Error Pages
   ============================================ */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl);
  background: var(--color-bg-soft);
}

.error-code {
  font-family: var(--font-en);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-md);
}

.error-page h2 {
  margin-bottom: var(--space-md);
}

.error-page p {
  max-width: 500px;
  margin: 0 auto var(--space-xl);
}

/* ============================================
   Privacy Policy
   ============================================ */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-xl);
}

.legal-content h2 {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.legal-content h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-content p,
.legal-content li {
  font-size: var(--fs-body);
  color: var(--color-text-light);
  line-height: 1.8;
}

.legal-content ul {
  margin: var(--space-md) 0;
  padding-left: var(--space-xl);
}

.legal-content ul li {
  list-style: disc;
  padding: var(--space-xs) 0;
}

/* ============================================
   Stats Section
   ============================================ */
.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-en);
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-label {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

/* ============================================
   Contact Page Redesign
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

/* Contact Info Cards */
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  transition: all var(--transition-normal);
}

.contact-info-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--color-white);
}

.contact-info-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 4px;
}

.contact-info-content p {
  font-size: var(--fs-small);
  color: var(--color-text-light);
  margin-bottom: 0;
  line-height: 1.6;
}

.contact-info-content a {
  color: var(--color-accent);
  font-weight: 600;
}

.contact-info-content a:hover {
  color: var(--color-accent-dark);
  text-decoration: underline;
}

/* QR Code Section */
.contact-qr-box {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.contact-qr-box h3 {
  color: var(--color-accent);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.contact-qr-box img {
  width: 200px;
  height: 200px;
  margin: 0 auto 16px;
  border-radius: var(--radius-md);
  border: 4px solid var(--color-border);
  background: white;
  padding: 8px;
}

.contact-qr-box p {
  color: var(--color-text-light);
  font-size: var(--fs-small);
  margin-bottom: 0;
}

/* Social Icons Grid */
.contact-social-section {
  margin-top: 24px;
}

.contact-social-section h3 {
  color: var(--color-dark);
  font-size: 1.1rem;
  margin-bottom: 16px;
  text-align: center;
}

.contact-social-grid {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.contact-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  transition: all var(--transition-normal);
  text-decoration: none;
}

.contact-social-btn:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 20px rgba(229, 57, 53, 0.4);
  color: var(--color-white);
}

.contact-social-btn.fb {
  background: #1877F2;
}

.contact-social-btn.fb:hover {
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
}

.contact-social-btn.line-social {
  background: #06C755;
}

.contact-social-btn.line-social:hover {
  box-shadow: 0 8px 20px rgba(6, 199, 85, 0.4);
}

.contact-social-btn.ig {
  background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF);
}

.contact-social-btn.ig:hover {
  box-shadow: 0 8px 20px rgba(221, 42, 123, 0.4);
}

.contact-social-btn.tiktok {
  background: #010101;
}

.contact-social-btn.tiktok:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.contact-social-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Map Section */
.contact-map-section {
  margin-top: 0;
}

.contact-map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: var(--color-white);
  padding: 20px 28px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-bottom: none;
}

.contact-map-address {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.contact-map-address svg {
  width: 20px;
  height: 20px;
  fill: var(--color-accent);
  flex-shrink: 0;
}

.contact-map-address p {
  color: var(--color-text-light);
  font-size: var(--fs-small);
  margin: 0;
}

.contact-map-actions {
  display: flex;
  gap: 10px;
}

.contact-map-actions .btn {
  font-size: var(--fs-small);
  padding: 10px 20px;
}

.contact-map-frame {
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 400px;
}

.contact-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* CTA Buttons for Contact Page */
.contact-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn-line {
  background: #06C755;
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(6, 199, 85, 0.3);
}

.btn-line:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(6, 199, 85, 0.4);
  color: var(--color-white);
}

.btn-phone {
  background: var(--color-gold);
  color: var(--color-dark);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-phone:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
  color: var(--color-dark);
}

/* Contact page responsive */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-map-header {
    flex-direction: column;
    text-align: center;
  }

  .contact-map-address {
    justify-content: center;
  }

  .contact-map-frame {
    height: 300px;
  }
}

/* ============================================
   Responsive Design
   ============================================ */

/* Large tablets and small laptops */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablets */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .hero-thumbs {
    display: none !important;
  }

  #plan-trip .container>div {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  #destinations .container>div:nth-child(4) {
    grid-template-columns: 1fr !important;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    padding: calc(var(--nav-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
    gap: var(--space-md);
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-normal);
    overflow-y: auto;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
    padding: var(--space-sm) 0;
    width: 100%;
  }

  .nav-cta {
    text-align: center;
    justify-content: center;
    width: 100%;
  }

  .mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  .mobile-overlay.active {
    display: block;
  }

  .hero {
    min-height: 500px;
    max-height: 700px;
  }

  .hero-content h1 {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .timeline {
    padding-left: 30px;
  }

  .timeline::before {
    left: 10px;
  }

  .timeline-item::before {
    left: -27px;
    width: 12px;
    height: 12px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .hero {
    min-height: 450px;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .hero-badges {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .btn {
    padding: 12px 24px;
    font-size: var(--fs-small);
    width: 100%;
    justify-content: center;
  }

  .card-image {
    height: 180px;
  }

  .feature-card {
    padding: var(--space-lg);
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .price-box .price-amount {
    font-size: 2.2rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .section {
    padding: var(--space-2xl) 0;
  }
}

/* Extra small phones */
@media (max-width: 375px) {
  .hero-content h1 {
    font-size: 1.4rem;
  }

  .nav-logo {
    font-size: 1rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Very small phones */
@media (max-width: 320px) {
  .container {
    padding: 0 var(--space-sm);
  }

  .hero-content h1 {
    font-size: 1.25rem;
  }

  .hero-content p {
    font-size: 0.85rem;
  }

  .nav-logo {
    font-size: 0.9rem;
  }

  .nav-logo img {
    height: 32px;
  }
}

/* Large screens */
@media (min-width: 1400px) {
  .container {
    max-width: 1300px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
}

/* Print styles */
@media print {

  .navbar,
  .hamburger,
  .hero-slider,
  .footer-social,
  .cta-section,
  .mobile-overlay {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .hero {
    height: auto;
    min-height: auto;
  }
}

/* ============================================
   Booking Search Bar
   ============================================ */
.booking-search-bar {
  position: relative;
  z-index: 10;
  margin-top: -36px;
  padding: 0 var(--space-xl);
}

.search-bar-inner {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  background: var(--color-white);
  padding: 24px 32px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  max-width: 900px;
  margin: 0 auto;
}

.search-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.search-field label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-light);
  letter-spacing: 0.5px;
}

.search-field select {
  padding: 10px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-thai);
  font-size: 0.9rem;
  color: var(--color-text);
  background: var(--color-bg-soft);
  cursor: pointer;
  transition: border-color 0.3s;
  appearance: auto;
}

.search-field select:focus {
  outline: none;
  border-color: var(--color-accent);
}

.search-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--color-accent);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-thai);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
}

.search-btn:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(20, 184, 193, 0.3);
}

/* ============================================
   Tour Cards
   ============================================ */
.tour-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

.tour-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.4s ease;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}

.tour-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}

.tour-card.hidden {
  display: none;
}

.tour-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.tour-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tour-card:hover .tour-card-image img {
  transform: scale(1.08);
}

.tour-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tour-badge.best-price {
  background: var(--color-accent);
  color: white;
}

.tour-badge.hot-deal {
  background: #EF4444;
  color: white;
}

.tour-badge.best-seller {
  background: #F59E0B;
  color: white;
}

.tour-badge.new-tour {
  background: #10B981;
  color: white;
}

.tour-wishlist {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  backdrop-filter: blur(4px);
}

.tour-wishlist:hover {
  background: #EF4444;
  color: white;
}

.tour-wishlist.active {
  background: #EF4444;
  color: white;
  content: '♥';
}

.tour-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tour-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.tour-card-header h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.tour-duration {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin: 0;
}

.tour-rating .stars {
  color: #F59E0B;
  font-size: 0.85rem;
}

.tour-route {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
  flex-grow: 1;
}

.tour-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tour-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-label {
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-accent);
}

.price-per {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.btn-book {
  padding: 8px 20px;
  background: var(--color-accent);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-thai);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-book:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(20, 184, 193, 0.3);
}

/* ============================================
   Booking Modal
   ============================================ */
.booking-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.booking-modal-overlay.active {
  display: flex;
}

.booking-modal {
  background: white;
  border-radius: var(--radius-xl);
  padding: 36px;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-xl);
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.booking-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg-soft);
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  color: var(--color-text-light);
}

.booking-modal-close:hover {
  background: #EF4444;
  color: white;
}

.booking-modal-header {
  margin-bottom: 24px;
}

.booking-modal-header h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-text);
  margin-bottom: 8px;
}

.booking-modal-header p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin: 0;
}

.booking-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-thai);
  font-size: 0.9rem;
  color: var(--color-text);
  background: var(--color-bg-soft);
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(20, 184, 193, 0.1);
}

.form-group textarea {
  resize: vertical;
}

.booking-price-summary {
  background: var(--color-bg-tinted);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-bottom: 20px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.price-row.total {
  border-top: 1px solid var(--color-border);
  margin-top: 8px;
  padding-top: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-accent);
}

/* Search bar mobile */
@media (max-width: 768px) {
  .search-bar-inner {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    align-items: center;
    text-align: center;
  }

  .search-field {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .search-field label {
    text-align: center;
    width: 100%;
  }

  .search-field select {
    text-align: center;
    text-align-last: center;
    width: 100%;
  }

  .search-btn {
    width: 100%;
    justify-content: center;
  }

  .tour-cards-grid {
    grid-template-columns: 1fr;
  }

  .booking-form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  .booking-modal {
    padding: 24px;
  }
}

/* ==========================================
   GALLERY PAGE - Masonry Grid & Filter Tabs
   ========================================== */

.gallery-grid-masonry {
  column-count: 3;
  column-gap: 16px;
}

.gallery-grid-masonry .gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid-masonry .gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.gallery-grid-masonry .gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-grid-masonry .gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-grid-masonry .gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-grid-masonry .gallery-item:hover .gallery-caption {
  opacity: 1;
}

/* Filter Tabs */
.gallery-tab {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-border);
  background: white;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.gallery-tab:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(0, 206, 209, 0.05);
}

.gallery-tab.active {
  background: var(--color-accent);
  color: white;
  border-color: var(--color-accent);
}

/* Responsive Gallery */
@media (max-width: 768px) {
  .gallery-grid-masonry {
    column-count: 2;
    column-gap: 10px;
  }

  .gallery-grid-masonry .gallery-item {
    margin-bottom: 10px;
  }

  .gallery-tab {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .gallery-grid-masonry {
    column-count: 2;
    column-gap: 8px;
  }
}

/* ============================================
   LUXURY MODAL SYSTEM
   ============================================ */
.lm-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(10, 15, 30, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lm-overlay.lm-active {
  opacity: 1;
}

.lm-modal {
  background: #fff;
  border-radius: 28px;
  width: 100%;
  max-width: 1000px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(0,0,0,0.35), 0 8px 24px rgba(0,0,0,0.1);
  position: relative;
  transform: translateY(40px) scale(0.97);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
  scrollbar-width: none;
}

.lm-modal::-webkit-scrollbar { display: none; }

.lm-modal.lm-modal-in {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Hero Image */
.lm-hero {
  position: relative;
  height: 380px;
  overflow: hidden;
  border-radius: 28px 28px 0 0;
}

.lm-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lm-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,10,25,0.85) 0%, rgba(5,10,25,0.2) 60%, transparent 100%);
}

.lm-close {
  position: absolute;
  top: 0;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 10;
}

.lm-close:hover {
  background: #EF4444;
  border-color: #EF4444;
}

.lm-hero-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  z-index: 2;
}

.lm-badge {
  display: inline-block;
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.lm-title {
  color: white;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 6px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.lm-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
}

.lm-stars {
  color: #F59E0B;
  letter-spacing: 1px;
}

/* Modal Body */
.lm-body {
  padding: 24px;
}

.lm-desc {
  color: var(--color-text-light);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.lm-section-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-primary);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Highlights Grid */
.lm-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.lm-highlight-item {
  background: var(--color-bg-tinted);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--color-text);
  line-height: 1.45;
}

/* Image-based Highlight Cards for Tours */
.lm-highlight-img-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 90px;
  cursor: default;
}

.lm-highlight-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.lm-highlight-img-card:hover .lm-highlight-bg {
  transform: scale(1.08);
}

.lm-highlight-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10, 20, 40, 0.55) 0%, rgba(10, 20, 40, 0.75) 100%);
  transition: background 0.3s ease;
}

.lm-highlight-img-card:hover .lm-highlight-img-overlay {
  background: linear-gradient(160deg, rgba(10, 20, 40, 0.4) 0%, rgba(10, 20, 40, 0.6) 100%);
}

.lm-highlight-img-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 10px 12px;
  z-index: 1;
}

.lm-highlight-emoji {
  font-size: 1.2rem;
  margin-bottom: 2px;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5));
}

.lm-highlight-label {
  color: white;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

/* Pricing Table in Modal */
.lm-pricing-table {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border-radius: 16px;
  padding: 20px 22px;
  margin-bottom: 22px;
  color: white;
}

.lm-pricing-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: #FFC107;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.lm-pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.9);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.lm-pricing-row:last-child {
  border-bottom: none;
}

/* Interactive Pricing Grid (Hotel Table) */
.lm-price-cell {
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.lm-price-cell:hover {
  background-color: rgba(229, 57, 53, 0.08) !important;
}

.lm-price-cell.selected {
  background-color: var(--color-accent) !important;
  color: white !important;
  font-weight: 700 !important;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
}

/* Mini Gallery in Modal */
.lm-gallery {
  display: flex;
  gap: 8px;
  padding: 12px 20px;
  overflow-x: auto;
  scrollbar-width: none;
  background: #f8f9fa;
}

.lm-gallery::-webkit-scrollbar { display: none; }

.lm-gallery-thumb {
  width: 72px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  flex-shrink: 0;
  opacity: 0.7;
}

.lm-gallery-thumb:hover {
  opacity: 1;
  transform: scale(1.05);
}

.lm-gallery-thumb.active {
  border-color: var(--color-accent, #E53935);
  opacity: 1;
  box-shadow: 0 2px 8px rgba(229,57,53,0.3);
}

/* Footer */
.lm-footer {
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.lm-price-block {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.lm-price-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.lm-price {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}

.lm-price-per {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.lm-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.lm-btn-contact,
.lm-btn-book,
.lm-btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.lm-btn-contact {
  background: var(--color-bg-tinted);
  color: var(--color-primary);
  border: 1.5px solid var(--color-border);
}

.lm-btn-contact:hover {
  background: var(--color-border);
  color: var(--color-primary);
}

.lm-btn-book {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: white;
  box-shadow: 0 4px 16px rgba(229,57,53,0.35);
}

.lm-btn-book:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229,57,53,0.45);
}

.lm-btn-line {
  background: linear-gradient(135deg, #06C755, #04a544);
  color: white;
  box-shadow: 0 4px 16px rgba(6,199,85,0.35);
}

.lm-btn-line:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6,199,85,0.45);
  color: white;
}

/* Gallery Navigation Buttons */
.lm-nav-container {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
  pointer-events: none;
  z-index: 5;
}

.lm-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding: 0;
}

.lm-nav-btn svg {
  width: 26px;
  height: 26px;
}

.lm-nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.15);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.lm-nav-btn:active {
  transform: scale(0.95);
}

@media (max-width: 540px) {
  .lm-nav-btn {
    width: 40px;
    height: 40px;
  }
  .lm-nav-btn svg {
    width: 22px;
    height: 22px;
  }
  .lm-nav-container {
    padding: 0 10px;
    top: 38% !important;
  }
}

/* Lightbox Navigation */
.lb-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000001;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  padding: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.lb-nav-btn svg {
  width: 32px;
  height: 32px;
}

.lb-nav-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.1);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.lb-nav-btn.lb-prev { left: 30px; }
.lb-nav-btn.lb-next { right: 30px; }

@media (max-width: 768px) {
  .lb-nav-btn {
    width: 48px;
    height: 48px;
  }
  .lb-nav-btn svg {
    width: 26px;
    height: 26px;
  }
  .lb-nav-btn.lb-prev { left: 15px; }
  .lb-nav-btn.lb-next { right: 15px; }
}

/* Tour card cursor pointer */
.tour-card {
  cursor: pointer;
}

/* Mobile Responsive */
@media (max-width: 540px) {
  .lm-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .lm-modal {
    max-width: 100%;
    border-radius: 24px 24px 0 0;
    max-height: 95vh;
  }

  .lm-hero {
    border-radius: 24px 24px 0 0;
    height: 250px;
  }

  .lm-highlights {
    grid-template-columns: 1fr;
  }

  .lm-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .lm-actions {
    flex-direction: column;
  }

  .lm-btn-contact,
  .lm-btn-book,
  .lm-btn-line {
    width: 100%;
    padding: 13px 20px;
  }
}


/* ============================================
   Logo Styling Polishing
   ============================================ */
.nav-logo img {
  height: 50px;
  width: auto;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.nav-logo:hover img {
  transform: scale(1.05);
}

.footer-logo {
  height: 80px !important;
  width: auto !important;
  border-radius: 50%;
  background-color: white;
  padding: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  margin-bottom: var(--space-md);
  display: inline-block;
  object-fit: contain;
}

/* ============================================
   MOBILE RESPONSIVE - Comprehensive
   ============================================ */

/* Airport Transfer Grid */
.airport-transfer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .airport-transfer-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

/* ---- Tablet (max-width: 768px) ---- */
@media (max-width: 768px) {

  /* Hero thumbnails - hide on mobile */
  .hero-thumbs {
    display: none !important;
  }

  /* Hero content full width */
  .hero-content {
    max-width: 100% !important;
  }

  /* Plan Your Trip split layout */
  #plan-trip .container > div,
  section#plan-trip > div > div {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  /* Destination collage - 2 col */
  section#destinations > div > div[style*="grid-template-columns: 1.2fr"] {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto !important;
  }

  section#destinations > div > div[style*="grid-template-columns: 1.2fr"] > div:first-child {
    grid-row: auto !important;
    grid-column: span 2 !important;
    height: 180px !important;
  }

  /* Gallery stats grid */
  section#gallery-stats > div > div[style*="grid-template-columns: repeat(4"] {
    grid-template-columns: 1fr 1fr !important;
    height: auto !important;
  }

  section#gallery-stats > div > div[style*="grid-template-columns: repeat(4"] > div:first-child {
    grid-column: span 2 !important;
    height: 180px !important;
  }

  /* Floating stats bar wrap */
  section#gallery-stats > div > div[style*="display:flex;justify-content:center;gap:36px"] {
    gap: 20px !important;
    padding: 24px 20px !important;
    flex-wrap: wrap !important;
  }

  /* Contact grid */
  .contact-grid {
    grid-template-columns: 1fr !important;
  }

  /* Contact section 2-col inline grid */
  section.section > div > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  /* Airport Transfer 2-col inline grid → stack */
  #airport-transfer > div > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Tour categories flex gap */
  section#categories > div > div[style*="display: flex; justify-content: center; gap: 48px"] {
    gap: 24px !important;
  }

  /* Footer grid */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* Plan trip image collage */
  section#plan-trip > div > div > div > div[style*="display: grid; grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Booking modal */
  .booking-form-grid {
    grid-template-columns: 1fr !important;
  }

  /* Section padding reduce */
  .section {
    padding: var(--space-3xl) 0;
  }

  /* Container padding */
  .container {
    padding: 0 var(--space-md);
  }
}

/* ---- Small Mobile (max-width: 480px) ---- */
@media (max-width: 480px) {

  /* AirPort transfer cards full width */
  #airport-transfer > div > div[style*="grid-template-columns: 1fr 1fr"],
  .airport-transfer-grid {
    grid-template-columns: 1fr !important;
  }

  /* Hero hero-dot */
  .hero {
    min-height: 500px;
    max-height: 700px;
  }

  /* CTA buttons stack */
  .cta-buttons,
  .contact-cta-buttons {
    flex-direction: column !important;
    gap: 12px !important;
    align-items: stretch !important;
  }

  .cta-buttons .btn,
  .contact-cta-buttons .btn,
  .cta-buttons a,
  .contact-cta-buttons a {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* Tour card grid single col */
  .tour-cards-grid {
    grid-template-columns: 1fr !important;
  }

  /* Search bar stack */
  .search-bar-inner {
    flex-direction: column !important;
    gap: 12px !important;
  }

  .search-field {
    width: 100% !important;
  }

  .search-btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Section label font */
  .section-label {
    font-size: 1rem;
  }

  /* Section title underline center */
  .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  /* Booking modal padding */
  .booking-modal {
    padding: 24px 16px !important;
    margin: 16px !important;
    max-height: 90vh !important;
  }

  /* Info boxes */
  .info-box {
    padding: var(--space-md) !important;
  }
}

/* ---- Extra Small (max-width: 360px) ---- */
@media (max-width: 360px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
  .btn { padding: 12px 20px; font-size: 0.9rem; }
  .nav-cta { padding: 8px 16px !important; }
}

/* =========================================
   Redesigned Contact Page
========================================= */

.contact-split-layout {
  display: flex;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-split-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0,0,0,0.03);
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.contact-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon-box.theme-icon { 
  background: var(--color-bg-tinted); 
  color: var(--color-accent); 
}
.contact-icon-box.icon-blue { background: #e0f2fe; color: #0284c7; }
.contact-icon-box.icon-green { background: #dcfce7; color: #16a34a; }
.contact-icon-box.icon-gray { background: #f1f5f9; color: #475569; }

.contact-icon-box svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.contact-card-content h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: #0f172a;
  font-weight: 700;
}

.contact-card-content p {
  color: #475569;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}
.contact-card-content a {
  color: #475569;
  text-decoration: none;
  transition: color 0.2s;
}
.contact-card-content a:hover {
  color: var(--color-primary);
}

.contact-split-right {
  flex: 1;
}

.contact-qr-card {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0,0,0,0.03);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact-qr-card h2 {
  font-size: 1.35rem;
  margin-bottom: 24px;
  color: #0f172a;
  font-weight: 800;
}

.contact-qr-img-wrapper {
  background: white;
  border-radius: 20px;
  padding: 16px;
  display: inline-block;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  margin-bottom: 16px;
  border: 1px solid #f1f5f9;
}

.contact-qr-img-wrapper img {
  width: 200px;
  height: 200px;
  display: block;
}

.contact-divider {
  width: 80%;
  height: 1px;
  background: #e2e8f0;
  margin: 30px 0;
}

.contact-social-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 20px;
}

.contact-social-row {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.contact-social-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: transform 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  text-decoration: none;
}
.contact-social-btn:hover {
  transform: translateY(-3px);
}
.contact-social-btn.c-fb { background: #1877F2; }
.contact-social-btn.c-line { background: #06C755; }
.contact-social-btn.c-tel { background: #0ea5e9; }

.contact-social-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

@media (max-width: 768px) {
  .contact-split-layout {
    flex-direction: column;
    gap: 24px;
  }
}