/* ============================================
   TIMM THE TOUR GUIDE — Design Tokens & Styles
   Golden Hour Warmth + Enthusiastic Energy
   ============================================ */

/* --- Type Scale --- */
:root {
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  /* --- Spacing (4px system) --- */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* --- Font families --- */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;

  /* --- Radius --- */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* --- Transitions --- */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* --- Content widths --- */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;
}

/* --- Color: Golden Hour Warmth (Custom Palette) --- */
:root, [data-theme="light"] {
  /* Surfaces — warm cream/ivory */
  --color-bg:               #faf7f2;
  --color-surface:          #fdf9f4;
  --color-surface-2:        #fff9f0;
  --color-surface-offset:   #f3ede3;
  --color-surface-offset-2: #ebe4d8;
  --color-surface-dynamic:  #e2d9cb;
  --color-divider:          #dbd1c1;
  --color-border:           #d0c5b3;

  /* Text */
  --color-text:             #2c2418;
  --color-text-muted:       #7a6f5f;
  --color-text-faint:       #b5a895;
  --color-text-inverse:     #faf7f2;

  /* Primary: Warm Terracotta/Amber */
  --color-primary:          #c45d2c;
  --color-primary-hover:    #a84e24;
  --color-primary-active:   #8b3f1c;
  --color-primary-highlight: #fce8dc;

  /* Secondary: Deep Warm Brown */
  --color-secondary:        #5c4a35;
  --color-secondary-hover:  #47382a;

  /* Accent: Golden Amber */
  --color-accent:           #d4920a;
  --color-accent-hover:     #b87d08;

  /* Success */
  --color-success:          #437a22;

  /* Shadows */
  --shadow-sm: 0 1px 2px oklch(0.25 0.02 60 / 0.08);
  --shadow-md: 0 4px 12px oklch(0.25 0.02 60 / 0.1);
  --shadow-lg: 0 12px 32px oklch(0.25 0.02 60 / 0.14);
}

/* --- Dark Mode --- */
[data-theme="dark"] {
  --color-bg:               #1a1610;
  --color-surface:          #211c14;
  --color-surface-2:        #282118;
  --color-surface-offset:   #1e1912;
  --color-surface-offset-2: #2a231a;
  --color-surface-dynamic:  #352d22;
  --color-divider:          #302818;
  --color-border:           #3f3628;
  --color-text:             #e8dfd0;
  --color-text-muted:       #9a8e7c;
  --color-text-faint:       #6a5f50;
  --color-text-inverse:     #1a1610;

  --color-primary:          #e8834e;
  --color-primary-hover:    #d06b38;
  --color-primary-active:   #b85a2a;
  --color-primary-highlight: #3d2a1e;

  --color-secondary:        #a8937a;
  --color-secondary-hover:  #c4ad92;

  --color-accent:           #f0b840;
  --color-accent-hover:     #e8a820;

  --color-success:          #6daa45;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.25);
  --shadow-md: 0 4px 12px oklch(0 0 0 / 0.35);
  --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.45);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:               #1a1610;
    --color-surface:          #211c14;
    --color-surface-2:        #282118;
    --color-surface-offset:   #1e1912;
    --color-surface-offset-2: #2a231a;
    --color-surface-dynamic:  #352d22;
    --color-divider:          #302818;
    --color-border:           #3f3628;
    --color-text:             #e8dfd0;
    --color-text-muted:       #9a8e7c;
    --color-text-faint:       #6a5f50;
    --color-text-inverse:     #1a1610;
    --color-primary:          #e8834e;
    --color-primary-hover:    #d06b38;
    --color-primary-active:   #b85a2a;
    --color-primary-highlight: #3d2a1e;
    --color-secondary:        #a8937a;
    --color-secondary-hover:  #c4ad92;
    --color-accent:           #f0b840;
    --color-accent-hover:     #e8a820;
    --color-success:          #6daa45;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.25);
    --shadow-md: 0 4px 12px oklch(0 0 0 / 0.35);
    --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.45);
  }
}

/* ============================================
   GLOBAL LAYOUT
   ============================================ */
.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

@media (min-width: 768px) {
  .container { padding-inline: var(--space-8); }
}

/* ============================================
   HEADER / NAV
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(from var(--color-bg) l c h / 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.06);
}

.header--scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-3);
  gap: var(--space-4);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--color-text);
}

.logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.logo-img {
  height: 80px;
  width: auto;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.logo-text span {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: var(--space-6); }

.nav-links {
  display: none;
  list-style: none;
  gap: var(--space-5);
  align-items: center;
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color var(--transition-interactive);
}
.nav-links a:hover { color: var(--color-primary); }

.nav-cta {
  display: none;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: background var(--transition-interactive),
              transform var(--transition-interactive),
              box-shadow var(--transition-interactive);
}
.nav-cta:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.nav-cta:active { transform: translateY(0); }

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--color-text);
}

@media (min-width: 768px) {
  .mobile-menu-btn { display: none; }
  .nav-cta { display: inline-flex; }
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  transition: color var(--transition-interactive),
              background var(--transition-interactive);
}
.theme-toggle:hover {
  color: var(--color-text);
  background: var(--color-surface-offset);
}

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--color-bg);
  padding: var(--space-8) var(--space-6);
  flex-direction: column;
  gap: var(--space-6);
}

.mobile-menu.active { display: flex; }

.mobile-menu-close {
  align-self: flex-end;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}

.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.mobile-menu-links a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition-interactive);
}
.mobile-menu-links a:hover { color: var(--color-primary); }

.mobile-menu-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  margin-top: var(--space-4);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    oklch(from var(--color-bg) l c h / 0.95) 0%,
    oklch(from var(--color-bg) l c h / 0.8) 50%,
    oklch(from var(--color-bg) l c h / 0.4) 100%
  );
}

@media (max-width: 767px) {
  .hero-overlay {
    background: linear-gradient(
      to bottom,
      oklch(from var(--color-bg) l c h / 0.6) 0%,
      oklch(from var(--color-bg) l c h / 0.9) 60%,
      oklch(from var(--color-bg) l c h / 0.97) 100%
    );
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding-block: var(--space-16);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  background: var(--color-primary-highlight);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-6);
  letter-spacing: 0.02em;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  fill: var(--color-accent);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-5);
  line-height: 1.05;
}

.hero h1 em {
  font-style: italic;
  color: var(--color-primary);
}

.hero-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: background var(--transition-interactive),
              transform var(--transition-interactive),
              box-shadow var(--transition-interactive);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  background: transparent;
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: 1px solid oklch(from var(--color-text) l c h / 0.15);
  transition: background var(--transition-interactive),
              border-color var(--transition-interactive),
              transform var(--transition-interactive);
}
.btn-secondary:hover {
  background: var(--color-surface-offset);
  border-color: oklch(from var(--color-text) l c h / 0.25);
  transform: translateY(-1px);
}

.hero-stats {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid oklch(from var(--color-text) l c h / 0.08);
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
}

.hero-stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

/* ============================================
   SOCIAL PROOF BAR
   ============================================ */
.social-proof-bar {
  background: var(--color-surface);
  border-block: 1px solid oklch(from var(--color-text) l c h / 0.06);
  padding-block: var(--space-6);
}

.social-proof-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .social-proof-inner {
    gap: var(--space-12);
  }
}

.proof-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.proof-stars {
  display: flex;
  gap: 2px;
}

.proof-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--color-accent);
}

.proof-text {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.proof-text span {
  font-weight: 400;
  color: var(--color-text-muted);
}

.proof-divider {
  width: 1px;
  height: 28px;
  background: oklch(from var(--color-text) l c h / 0.1);
  display: none;
}

@media (min-width: 768px) {
  .proof-divider { display: block; }
}

.proof-quotes {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-style: italic;
}

/* ============================================
   SECTION: TOURS
   ============================================ */
.section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}

.section-header {
  margin-bottom: var(--space-10);
}

.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
}

.section-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-top: var(--space-3);
  max-width: 560px;
}

/* Tours Grid — asymmetric layout */
.tours-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .tours-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tours-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tour-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.06);
  text-decoration: none;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition-interactive),
              transform var(--transition-interactive),
              border-color var(--transition-interactive);
}
.tour-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: oklch(from var(--color-text) l c h / 0.1);
}
.tour-card:active { transform: translateY(0); }

.tour-card-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

/* Featured tour card: horizontal layout on desktop */
@media (min-width: 1024px) {
  .tour-card--featured {
    grid-column: span 3;
    flex-direction: row;
    max-height: 340px;
  }
  .tour-card--featured .tour-card-img {
    aspect-ratio: auto;
    width: 50%;
    flex-shrink: 0;
  }
  .tour-card--featured .tour-card-body {
    padding: var(--space-8);
    justify-content: center;
  }
  .tour-card--featured .tour-card-title {
    font-size: var(--text-xl);
  }
  .tour-card--featured .tour-card-desc {
    font-size: var(--text-base);
  }
}

.tour-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.tour-card:hover .tour-card-img img {
  transform: scale(1.04);
}

.tour-card-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  padding: var(--space-1) var(--space-3);
  background: oklch(from var(--color-bg) l c h / 0.9);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
}

.tour-card-body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.tour-card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
}

.tour-card-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  flex: 1;
}

.tour-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-2);
  padding-top: var(--space-3);
  border-top: 1px solid oklch(from var(--color-text) l c h / 0.06);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.tour-card-meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.tour-card-meta svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.tour-card-stars {
  display: flex;
  align-items: center;
  gap: 1px;
  color: var(--color-accent);
}

.tour-card-stars svg {
  width: 13px;
  height: 13px;
  fill: var(--color-accent);
}

.tour-card-price {
  margin-left: auto;
  font-weight: 700;
  color: var(--color-text);
  font-size: var(--text-sm);
}

/* ============================================
   SECTION: ABOUT PREVIEW
   ============================================ */
.about-preview {
  background: var(--color-surface-offset);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-12);
  }
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.about-content blockquote {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--color-primary);
  line-height: 1.3;
  border-left: 3px solid var(--color-primary);
  padding-left: var(--space-5);
  margin-block: var(--space-4);
}

.about-content p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.about-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.credential-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  background: var(--color-surface);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  border: 1px solid oklch(from var(--color-text) l c h / 0.06);
}

/* ============================================
   SECTION: REVIEWS / TESTIMONIALS
   ============================================ */
.reviews-section {
  background: var(--color-bg);
}

.reviews-header {
  text-align: center;
  margin-bottom: var(--space-10);
}

.reviews-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.reviews-rating-number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
}

.reviews-rating-stars {
  display: flex;
  gap: 3px;
}

.reviews-rating-stars svg {
  width: 24px;
  height: 24px;
  fill: var(--color-accent);
}

.reviews-rating-source {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.reviews-rating-source a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}

.review-card {
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.review-card-stars {
  display: flex;
  gap: 2px;
}

.review-card-stars svg {
  width: 16px;
  height: 16px;
  fill: var(--color-accent);
}

.review-card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
}

.review-card-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  flex: 1;
}

.review-card-author {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-2);
}

/* ============================================
   SECTION: PHOTO GALLERY (enthusiasm element)
   ============================================ */
.gallery-section {
  padding-block: 0;
  overflow: hidden;
}

.gallery-strip {
  display: flex;
  gap: var(--space-3);
  animation: scroll-strip 40s linear infinite;
  width: max-content;
}

.gallery-strip img {
  width: 260px;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  flex-shrink: 0;
}

@keyframes scroll-strip {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   SECTION: CTA
   ============================================ */
.cta-section {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, oklch(0.6 0.15 50 / 0.2) 0%, transparent 70%),
              radial-gradient(ellipse at 80% 20%, oklch(0.7 0.1 80 / 0.15) 0%, transparent 60%);
}

.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  max-width: 600px;
}

.cta-content p {
  font-size: var(--text-base);
  opacity: 0.85;
  max-width: 480px;
}

.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-inverse);
  text-decoration: none;
  margin-top: var(--space-2);
}

.cta-phone:hover { opacity: 0.85; }

.btn-inverse {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  background: var(--color-bg);
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: 700;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: transform var(--transition-interactive),
              box-shadow var(--transition-interactive);
}
.btn-inverse:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px oklch(0 0 0 / 0.2);
}
.btn-inverse:active { transform: translateY(0); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-surface-offset);
  padding-block: var(--space-12) var(--space-8);
  border-top: 1px solid oklch(from var(--color-text) l c h / 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-10);
  }
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-top: var(--space-3);
  max-width: 300px;
}

.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  margin-top: var(--space-3);
}

.footer-col h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-col a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-interactive);
}
.footer-col a:hover { color: var(--color-primary); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid oklch(from var(--color-text) l c h / 0.06);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.footer-bottom a {
  color: var(--color-text-faint);
  text-decoration: none;
}
.footer-bottom a:hover { color: var(--color-text-muted); }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in { opacity: 1; }

@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
}

@keyframes reveal-fade { to { opacity: 1; } }

/* ============================================
   SKIP LINK
   ============================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  padding: var(--space-2) var(--space-4);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border-radius: var(--radius-md);
  z-index: 200;
  font-size: var(--text-sm);
  text-decoration: none;
}
.skip-link:focus { top: var(--space-4); }

/* Instagram Section */
.instagram-section { background: var(--color-surface); }
.instagram-cta-card {
  display: block;
  text-decoration: none;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1.5px solid var(--color-border, rgba(0,0,0,0.08));
  border-radius: var(--radius-xl, 16px);
  padding: var(--space-10, 2.5rem) var(--space-8, 2rem);
  text-align: center;
  max-width: 420px;
  width: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.instagram-cta-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.instagram-cta-inner h3 {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: var(--text-xl, 1.25rem);
  margin: var(--space-3, 0.75rem) 0 var(--space-2, 0.5rem);
  color: var(--color-text);
}
.instagram-cta-inner p {
  color: var(--color-text-secondary);
  font-size: var(--text-sm, 0.875rem);
  line-height: 1.5;
}
.footer-social {
  display: flex;
  gap: var(--space-3, 0.75rem);
  margin-top: var(--space-3, 0.75rem);
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(196, 117, 75, 0.1);
  color: var(--color-primary);
  transition: background 0.2s ease, transform 0.2s ease;
}
.footer-social a:hover {
  background: var(--color-primary);
  color: white;
  transform: scale(1.1);
}

/* Instagram Photo Grid */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .ig-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}
.ig-grid-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-md);
  display: block;
}
.ig-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.ig-grid-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.ig-grid-item:hover img {
  transform: scale(1.08);
}
.ig-grid-item:hover .ig-grid-overlay {
  opacity: 1;
}

/* Instagram Embed Grid */
.ig-embed-grid {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}
.ig-embed-grid .instagram-media {
  margin: 0 !important;
  border-radius: var(--radius-md) !important;
}
@media (max-width: 768px) {
  .ig-embed-grid {
    flex-direction: column;
    align-items: center;
  }
  .ig-embed-grid .instagram-media {
    max-width: 100% !important;
    width: 100% !important;
  }
}

/* Global text justify */
.hero-subtitle,
.about-content p,
.review-card-text,
.tour-card-desc,
.section-subtitle,
.tour-detail p {
  text-align: justify;
}
