/* ============================================
   MY HOLIDAY CONNECT - Design System
   Modern Travel Agency - White & Red Theme
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Sarabun:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Dancing+Script:wght@400;500;600;700&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: 'Sarabun', 'Segoe UI', Tahoma, sans-serif;
  --font-en: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --font-script: 'Dancing Script', 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: 6px;
  padding: 8px 14px;
  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.8rem;
  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 svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.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;
}

.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;
}

.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);
}

/* ============================================
   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);
  }

  .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);
}

.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;
}

.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);
}

.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;
  }
}

/* ============================================
   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;
}