/* ============================================================
   TURAN TRAVEL.KG — main.css
   Tema: Sinematik, premium, Kırgız göçebe kimliği
   Mimari: BEM + CSS custom properties (design tokens)
   Responsive: mobile-first (375 → 768 → 1024 → 1440)
   ============================================================ */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Renk paleti — Kırgız kimliği */
  --primary: #0E7490;          /* dağ mavisi / turkuaz */
  --primary-dark: #0B5A72;
  --primary-darker: #083C4C;
  --sky-300: #7DD3FC;
  --sky-100: #E0F2FE;
  --accent: #C8102E;           /* Kırgız bayrak kızılı */
  --accent-dark: #A00D25;
  --gold: #D4AF37;             /* güneş / tuncuk */
  --gold-light: #E9CC6A;
  --cream: #FAF9F6;            /* background */
  --cream-dark: #F3F0E9;
  --ink: #16222E;              /* koyu metin */
  --ink-soft: #2B3A47;
  --muted: #5B6B78;
  --line: #E3E0D8;
  --white: #FFFFFF;

  /* Yüzey & gradient */
  --surface: var(--white);
  --surface-alt: var(--cream-dark);
  --hero-overlay: linear-gradient(180deg, rgba(8,60,76,0.55) 0%, rgba(8,60,76,0.75) 45%, rgba(8,60,76,0.92) 100%);
  --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #E9CC6A 50%, #C9A227 100%);

  /* Tipografi */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.375rem;
  --fs-2xl: 1.75rem;
  --fs-3xl: 2.25rem;
  --fs-4xl: 3rem;
  --fs-hero: clamp(2.5rem, 6vw, 5rem);
  --lh-tight: 1.15;
  --lh-body: 1.65;

  /* Boşluk (8px tabanlı) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 5rem;
  --space-16: 8rem;

  /* Yarıçap & gölge */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(22,34,46,0.08);
  --shadow: 0 8px 30px rgba(22,34,46,0.12);
  --shadow-lg: 0 20px 60px rgba(22,34,46,0.18);

  /* Geçiş */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 250ms;
  --dur-slow: 500ms;

  /* Katmanlar */
  --z-nav: 100;
  --z-drop: 200;
  --z-modal: 300;
  --z-toast: 400;
}

/* ---------- 2. Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, picture, video { display: block; max-width: 100%; height: auto; }

input, button, textarea, select { font: inherit; color: inherit; }

button { cursor: pointer; background: none; border: none; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: var(--lh-tight);
  font-weight: 700;
  color: var(--ink);
}

h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); }

p { max-width: 65ch; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--accent); color: #fff; }

/* ---------- 3. Utility ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-5);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  top: -100px; left: var(--space-4);
  z-index: var(--z-modal);
  background: var(--ink);
  color: #fff;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: var(--space-4); }

.text-center { text-align: center; }
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mb-8 { margin-bottom: var(--space-8); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.85rem 1.9rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: var(--fs-base);
  line-height: 1;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease), color var(--dur) var(--ease);
  white-space: nowrap;
  min-height: 48px;                 /* touch target */
}
.btn svg { width: 1.15em; height: 1.15em; flex-shrink: 0; }

.btn--primary {
  background: var(--gold-gradient);
  color: #3A2E00;
  box-shadow: 0 8px 24px rgba(212,175,55,0.35);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(212,175,55,0.5); }

.btn--accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(200,16,46,0.3);
}
.btn--accent:hover { transform: translateY(-3px); background: var(--accent-dark);
  box-shadow: 0 12px 32px rgba(200,16,46,0.4); }

.btn--outline {
  border: 2px solid var(--white);
  color: #fff;
  background: transparent;
}
.btn--outline:hover { background: rgba(255,255,255,0.15); transform: translateY(-3px); }

.btn--ghost {
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn--ghost:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }

/* ---------- 5. Header / Nav ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  padding-block: var(--space-4);
  transition: padding var(--dur) var(--ease);
}
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: transparent;
  transition: background var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  pointer-events: none;
}
.header--scrolled {
  padding-block: var(--space-3);
}
.header--scrolled::before {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.header--scrolled .nav__link { color: var(--ink); }
.header--scrolled .nav__link:hover { color: var(--primary); }
.header--scrolled .logo { color: var(--ink); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  transition: color var(--dur) var(--ease);
  min-height: 44px;
}
.logo__mark {
  height: 60px;
  width: auto;
  flex-shrink: 0;
}
.logo__text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
@media (max-width: 991.98px) {
  .logo__mark { height: 52px; }
  .logo__text { font-size: 1.35rem; }
}
@media (max-width: 767.98px) {
  .logo__mark { height: 44px; }
  .logo__text { font-size: 1.15rem; }
}
.logo__sub { display: block; font-family: var(--font-body); font-size: 0.6rem;
  letter-spacing: 0.35em; text-transform: uppercase; opacity: 0.85; font-weight: 500; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}
.nav__link {
  position: relative;
  color: #fff;
  font-weight: 500;
  padding: var(--space-2) 0;
  opacity: 0.92;
  transition: opacity var(--dur) var(--ease), color var(--dur) var(--ease);
  display: inline-flex; align-items: center;
  min-height: 44px;
}
.nav__link:hover { opacity: 1; }
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 6px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--dur) var(--ease);
}
.nav__link:hover::after,
.nav__link.is-active::after { width: 100%; }
.nav__link.is-active { color: var(--gold-light); }

.nav__cta { display: flex; align-items: center; gap: var(--space-3); }

/* Mobil menü içindeki dil değiştirici — masaüstünde gizli */
.nav__lang-mobile { display: none; }

/* Dil değiştirici */
.btn--lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn--lang:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.6); }
.header--scrolled .btn--lang { border-color: rgba(8,60,76,0.3); color: var(--ink); background: rgba(8,60,76,0.05); }
.header--scrolled .btn--lang:hover { background: rgba(8,60,76,0.1); border-color: rgba(8,60,76,0.5); }

/* Hamburger */
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-left: auto;
}
.nav__toggle span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.header--scrolled .nav__toggle span { background: var(--ink); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  height: 200vh; /* Scroll ile sabitlenen sahne için uzun kaydırma alanı */
  color: #fff;
}
.hero__pinned {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.parallax-layer {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  will-change: transform;
}
.parallax-layer svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.sky-layer { z-index: 1; }
.sun-layer { z-index: 2; }
/* Güneş: başlangıçta gizli; scroll'da atlar koşarken yavaşça belirir (JS kontrol eder) */
.hero__sun {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.25s linear;
}
.hero__sun img {
  width: min(38vw, 640px);
  height: auto;
}
@media (max-width: 767.98px) {
  .hero__sun {
    top: 36%;
    transform: translateX(-50%);
  }
  .hero__sun img {
    width: min(72vw, 300px);
  }
}
.mountains-back { z-index: 3; }
.mountains-mid { z-index: 4; }
.trees-layer { z-index: 5; }
.ground-layer { z-index: 6; }
@keyframes ambientGlow {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 0.96; }
}
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11, 36, 64, 0.9) 0%, rgba(11, 36, 64, 0.5) 45%, rgba(11, 36, 64, 0) 80%);
  z-index: 1;
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding: var(--space-16) var(--space-5) var(--space-10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: var(--space-4);
}
.hero__eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--gold); }
.hero__title {
  font-size: var(--fs-hero);
  font-weight: 800;
  max-width: 15ch;
  color: #fff;
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
  margin-bottom: var(--space-5);
}
.hero__title em { font-style: italic; color: var(--gold-light); }
.hero__lead {
  font-size: var(--fs-lg);
  max-width: 52ch;
  color: rgba(255,255,255,0.92);
  margin-bottom: var(--space-8);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); }

/* Scene layer moved to .hero__media inline styling */
/* ===== HERO İçerik Düzeni (Flexbox: Sol Metin, Sağ Otağ) ===== */
.hero__content {
  flex: 0 0 60%;
  max-width: none;
  z-index: 5;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero__title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold-light), #FFECA1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

/* Otağ (Türk Çadırı) Görseli & Premium Yerleşim */
.hero__otaq {
  flex: 0 0 35%;
  width: 35%;
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  transition: transform var(--dur-slow) var(--ease), opacity var(--dur-slow) var(--ease);
  margin-top: 15vh;
}

/* Yere tam oturması için yumuşak gerçekçi bir gölge ekliyoruz */
.hero__otaq::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 15%;
  right: 15%;
  height: 20px;
  background: radial-gradient(ellipse at center, rgba(12, 42, 60, 0.6) 0%, rgba(12, 42, 60, 0) 75%);
  z-index: -1;
  filter: blur(4px);
  pointer-events: none;
}

.hero__otaq-img {
  width: 100%;
  max-width: 450px;
  height: auto;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.35)) saturate(1.04) contrast(1.01) brightness(0.98);
  position: relative;
  z-index: 3;
}

/* Animations and small elements */
@keyframes floatYurt {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
@keyframes spinSlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Scroll Fade Gradient Animation */
.hero__fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 350px;
  background: linear-gradient(to bottom, transparent 0%, #000000 100%);
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  will-change: opacity;
}
.small-yurt {
  position: absolute;
  width: clamp(40px, 5vw, 70px);
  filter: drop-shadow(0 5px 15px rgba(0,0,0,0.5)) saturate(0.9) brightness(0.85);
  animation: floatYurt 6s ease-in-out infinite;
  z-index: 5;
}
.small-yurt-1 { left: 15%; bottom: 18%; animation-delay: 0s; }
.small-yurt-2 { left: 25%; bottom: 23%; animation-delay: 1.5s; width: clamp(30px, 3vw, 50px); }
.small-yurt-3 { left: 80%; bottom: 25%; animation-delay: 3s; width: clamp(35px, 4vw, 55px); }

/* Bozkırda Koşan At (Scroll ile Hareket Eden) & Dondurma Kanvası */
.hero__horse-gif,
.hero__horse-canvas {
  position: absolute;
  bottom: 75px; /* Bozkırın üzerindeki zemin çizgisi ekseni */
  left: 0; /* Sol köşeden başlayıp sağa doğru koşacak */
  right: auto;
  width: clamp(260px, 30vw, 440px); /* Büyütülmüş boyut */
  z-index: 4;
  pointer-events: none;
  will-change: transform;
  transition: opacity 0.25s ease;
  opacity: 0; /* En yukarıdayken görünmez */
}

@media (max-width: 991.98px) {
  .hero__inner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    padding-top: var(--space-16);
    gap: var(--space-6);
  }
  
  .hero__content {
    max-width: 100%;
  }

  .hero__title {
    margin-inline: auto;
  }

  .hero__lead {
    margin-inline: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__otaq {
    width: clamp(240px, 50vw, 380px);
    margin-top: var(--space-3);
  }
}

@media (max-width: 767.98px) {
  .hero { height: auto !important; min-height: 100vh !important; }
  .hero__pinned { position: relative !important; height: auto !important; min-height: 100vh !important; overflow: hidden; }
  .hero__sun { opacity: 0.9 !important; }
  
  .hero__inner { padding-top: var(--space-10); }

  .hero__horse-gif,
  .hero__horse-canvas {
    display: none !important; /* Mobilde at animasyonu yok */
  }

  /* Mobilde tek yurt: büyük yurt kalır, küçük yurtlar gizlenir */
  .small-yurt { display: none; }
  .hero__otaq { margin-top: var(--space-2); }
}

/* Scroll gösterge */
.scroll-hint {
  position: absolute;
  bottom: var(--space-5);
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: var(--space-2);
  color: rgba(255,255,255,0.8);
  font-size: var(--fs-xs);
  letter-spacing: 0.2em; text-transform: uppercase;
  width: 44px; height: 44px;
}
.scroll-hint svg { width: 22px; height: 22px; animation: bounce 2s infinite; }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ---------- 7. Sections ---------- */
.section { padding-block: var(--space-16); }

.section--alt { background: var(--surface-alt); }
.section--dark {
  background: linear-gradient(180deg, var(--primary-darker), var(--primary-dark));
  color: #fff;
}
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: var(--space-10); }
.section-head--center { margin-inline: auto; text-align: center; }

.section-head__eyebrow {
  display: inline-block;
  font-size: var(--fs-sm);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: var(--space-3);
}
.section--dark .section-head__eyebrow { color: var(--gold-light); }
.section-head__title { margin-bottom: var(--space-4); }
.section-head__desc { color: var(--muted); margin-inline: auto; }
.section--dark .section-head__desc { color: rgba(255,255,255,0.85); }

/* ---------- 8. Grids ---------- */
.grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}
.grid--2 { }
.grid--3 { }
.grid--4 { }

/* ---------- 9. Cards ---------- */
.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__badge {
  position: absolute; top: var(--space-4); left: var(--space-4);
  background: var(--accent); color: #fff;
  font-size: var(--fs-xs); font-weight: 700;
  padding: 0.4rem 0.8rem; border-radius: var(--radius-pill);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.card__price {
  position: absolute; bottom: var(--space-4); right: var(--space-4);
  background: rgba(255,255,255,0.95); color: var(--ink);
  font-weight: 700; font-size: var(--fs-lg);
  padding: 0.4rem 0.9rem; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.card__price small { font-weight: 500; font-size: var(--fs-xs); color: var(--muted); }
.card__body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.card__title { font-size: 1.35rem; }
.card__meta { display: flex; flex-wrap: wrap; gap: var(--space-4); color: var(--muted); font-size: var(--fs-sm); }
.card__meta span { display: inline-flex; align-items: center; gap: var(--space-1); }
.card__meta svg { width: 1em; height: 1em; color: var(--primary); }
.card__desc { color: var(--muted); font-size: var(--fs-base); }
.card__action { margin-top: auto; padding-top: var(--space-4); }

/* ---------- 10. Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}
.stats__item { text-align: center; }
.stats__num {
  font-family: var(--font-heading);
  font-size: var(--fs-4xl);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.stats__label { color: rgba(255,255,255,0.9); margin-top: var(--space-2); }

/* ---------- 11. Testimonial ---------- */
.testimonial {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: var(--space-8);
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}
.testimonial__quote { font-family: var(--font-heading); font-size: var(--fs-xl); font-style: italic; line-height: 1.5; }
.testimonial__author { margin-top: var(--space-5); font-weight: 600; }
.testimonial__role { color: var(--muted); font-size: var(--fs-sm); }
.testimonial__stars { color: var(--gold); letter-spacing: 0.1em; font-size: var(--fs-lg); }

/* ---------- 12. CTA band ---------- */
.cta-band {
  position: relative;
  text-align: center;
  color: #fff;
  padding: var(--space-16) 0;
  overflow: hidden;
}
.cta-band__bg { position: absolute; inset: 0; z-index: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,28,44,0.72), rgba(6,28,44,0.82)); z-index: 1; }
.cta-band .container { position: relative; z-index: 2; }
.cta-band__title { color: #fff; font-size: var(--fs-3xl); margin-bottom: var(--space-4); }
.cta-band__desc { color: rgba(255,255,255,0.9); margin: 0 auto var(--space-8); }

/* ---------- 13. Footer ---------- */
.footer { background: var(--primary-darker); color: rgba(255,255,255,0.85); }
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  padding-block: var(--space-10);
}
.footer__brand p { color: rgba(255,255,255,0.75); margin-top: var(--space-4); }
.footer__logo { display: inline-flex; align-items: center; gap: var(--space-3); color: #fff;
  font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; }
.footer__logo svg { width: 40px; height: 40px; }
.footer__col h4 { color: #fff; font-family: var(--font-body); font-size: var(--fs-base);
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-4); }
.footer__col ul li { margin-bottom: var(--space-3); }
.footer__col a { transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease); }
.footer__col a:hover { color: var(--gold-light); padding-left: var(--space-1); }
.footer__contact li { display: flex; gap: var(--space-3); margin-bottom: var(--space-3); }
.footer__contact svg { width: 1.2em; height: 1.2em; color: var(--gold-light); flex-shrink: 0; margin-top: 0.2em; }
.footer__social { display: flex; gap: var(--space-3); margin-top: var(--space-5); }
.footer__social a {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.1);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.footer__social a:hover { background: var(--accent); transform: translateY(-3px); }
.footer__social svg { width: 20px; height: 20px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-block: var(--space-5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-align: center;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.6);
}
.footer__bottom a { color: var(--gold-light); }

/* ---------- 14. Forms ---------- */
.form { display: flex; flex-direction: column; gap: var(--space-5); }
.form__group { display: flex; flex-direction: column; gap: var(--space-2); }
.form__label { font-weight: 600; font-size: var(--fs-sm); }
.form__required { color: var(--accent); }
.form__input,
.form__select,
.form__textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  max-width: 100%;
}
.form__textarea { min-height: 130px; resize: vertical; }
.form__input:focus, .form__select:focus, .form__textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14,116,144,0.15);
}
.form__input[aria-invalid="true"],
.form__textarea[aria-invalid="true"] {
  border-color: var(--accent);
}
.form__error { color: var(--accent); font-size: var(--fs-sm); display: none; }
.form__input[aria-invalid="true"] ~ .form__error,
.form__textarea[aria-invalid="true"] ~ .form__error { display: block; }
.form__hint { color: var(--muted); font-size: var(--fs-sm); }
.form__row { display: grid; grid-template-columns: 1fr; gap: var(--space-5); }

/* ---------- 15. Reveal animasyonu ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.1s; }
[data-reveal][data-delay="2"] { transition-delay: 0.2s; }
[data-reveal][data-delay="3"] { transition-delay: 0.3s; }
[data-reveal][data-delay="4"] { transition-delay: 0.4s; }

/* ---------- 16. Toast ---------- */
.toast {
  position: fixed;
  bottom: var(--space-5); left: 50%;
  transform: translate(-50%, 150%);
  z-index: var(--z-toast);
  background: var(--ink);
  color: #fff;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: var(--space-3);
  transition: transform 0.35s var(--ease);
  max-width: calc(100vw - var(--space-8));
}
.toast--show { transform: translate(-50%, 0); }
.toast--success { border-left: 4px solid #22C55E; }
.toast--error { border-left: 4px solid var(--accent); }
.toast svg { width: 22px; height: 22px; flex-shrink: 0; }
.toast--success svg { color: #22C55E; }
.toast--error svg { color: var(--accent); }

/* ---------- 17. Breadcrumb ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: var(--space-2); font-size: var(--fs-sm); color: var(--muted); }
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb li { display: flex; align-items: center; gap: var(--space-2); }
.breadcrumb li + li::before { content: '›'; color: var(--line); }

/* ---------- 18. Page hero (iç sayfalar) ---------- */
.page-hero {
  position: relative;
  min-height: 46vh;
  display: flex; align-items: flex-end;
  color: #fff;
  padding-top: var(--space-16);
  overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; z-index: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,60,76,0.5), rgba(8,60,76,0.82)); z-index: 1; }
.page-hero__inner { position: relative; z-index: 2; width: 100%; max-width: 1200px; margin-inline: auto; padding: 0 var(--space-5) var(--space-10); }
.page-hero__eyebrow { color: var(--gold-light); letter-spacing: 0.25em; text-transform: uppercase; font-size: var(--fs-sm); font-weight: 600; margin-bottom: var(--space-2); }
.page-hero__title { color: #fff; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.5rem); margin: 0; }
.page-hero p { color: rgba(255,255,255,0.9); margin-top: var(--space-3); max-width: 60ch; }

/* ---------- 19. Tour detail components ---------- */
/* İki kolonlu tur detay düzeni */
.tour-detail { display: grid; grid-template-columns: 1fr; gap: var(--space-8); }
/* Sol kolondaki içerik blokları arasında 25px boşluk */
.tour-detail > div > article + article { margin-top: 25px; }
.detail { padding: var(--space-6); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.detail h2 { font-size: var(--fs-xl); margin-bottom: var(--space-4); }
.detail p { color: var(--muted); line-height: var(--lh-body); }
.detail--split { display: grid; grid-template-columns: 1fr; gap: var(--space-6); }
.detail--aside { align-self: start; position: sticky; top: var(--space-8); display: grid; gap: var(--space-6); }

/* Gün gün program listesi */
.program { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.program__item { display: flex; gap: var(--space-5); padding: var(--space-5) 0; border-bottom: 1px solid var(--line); }
.program__item:last-child { border-bottom: 0; padding-bottom: 0; }
.program__day { flex-shrink: 0; min-width: 68px; font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-sm); color: var(--primary); text-transform: uppercase; letter-spacing: 0.06em; padding-top: var(--space-1); }
.program__item h3 { font-size: var(--fs-lg); margin-bottom: var(--space-1); }
.program__item p { margin: 0; }

/* Dahil / Hariç · bilgi kartı · onay listeleri */
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.check-list li { position: relative; padding-left: var(--space-6); color: var(--ink-soft); }
.check-list li::before { content: ''; position: absolute; left: 0; top: 0.15em; width: 1.1em; height: 1.1em; border-radius: 50%; background: #22C55E; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 0.7em; font-weight: 700; }
.check-list--cross li::before { content: '✕'; background: var(--accent); }

.info-card { padding: var(--space-6); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.info-card h2 { font-size: var(--fs-lg); margin-bottom: var(--space-4); }
.info-card__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.info-card__list li { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-3) 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.info-card__list li:last-child { border-bottom: 0; }
.info-card__list li span:first-child { color: var(--muted); }
.info-card__list li span:last-child { font-weight: 600; }

/* Tur detay fotoğraf galerisi */
.tour-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--space-3); }
.tour-gallery__item { position: relative; display: block; overflow: hidden; border-radius: var(--radius-md); aspect-ratio: 4 / 3; background: var(--surface-alt, #f4f6f8); }
.tour-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.tour-gallery__item:hover img { transform: scale(1.05); }
@media (max-width: 599.98px) {
  .tour-gallery { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}

/* Lightbox — tam ekran fotoğraf görüntüleyici */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, .92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 48px 72px;
}
.lightbox.is-open { display: flex; }
.lightbox__img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 48px rgba(0, 0, 0, .5);
}
.lightbox__counter {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .85);
  font-size: .95rem;
  letter-spacing: .08em;
}
.lightbox__close {
  position: absolute;
  top: 8px;
  right: 20px;
  font-size: 2.6rem;
  line-height: 1;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.lightbox__close:hover { color: var(--gold-light); }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
  transition: background .25s ease;
}
.lightbox__nav:hover { background: rgba(255, 255, 255, .22); }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }
@media (max-width: 599.98px) {
  .lightbox { padding: 40px 56px; }
  .lightbox__nav { width: 40px; height: 40px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}

/* ---------- 20. Mobile nav - tam ekran menü ---------- */
@media (max-width: 899.98px) {
  .nav__toggle { display: flex; z-index: 120; }
  .logo { position: relative; z-index: 110; }
  .nav__menu {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    padding: var(--space-20) var(--space-6) var(--space-12);
    background: linear-gradient(180deg, rgba(4, 16, 30, 0.97) 0%, rgba(8, 44, 62, 0.98) 100%);
    backdrop-filter: blur(10px);
    transform: translateY(-100%);
    transition: transform 0.45s var(--ease);
    z-index: 100;
    overflow-y: auto;
  }
  .nav__menu.is-open { transform: translateY(0); }
  .nav__link { color: #fff; font-size: var(--fs-xl); width: auto; text-align: center; padding: var(--space-3); opacity: 0.92; }
  .nav__link:hover { opacity: 1; }
  /* Mobilde CTA çubuğu gizli — dil değiştirici menü içinde görünür */
  .nav__cta { display: none; }
  .nav__lang-mobile { display: list-item; margin-top: var(--space-2); }
  .nav__lang-mobile .btn--lang {
    color: #fff;
    border-color: rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.08);
  }
}

@media (min-width: 480px) {
  .form__row { grid-template-columns: 1fr 1fr; }
}

/* ---------- 21. Breakpoints ---------- */
@media (min-width: 768px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .footer__top { grid-template-columns: 2fr 1fr 1fr 1.4fr; }
  .footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; }
  .detail--split { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .section { padding-block: var(--space-12); }
  .tour-detail { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
}

@media (min-width: 1440px) {
  .container { max-width: 1320px; }
}

/* ---------- 22. Reduced motion ---------- */
@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;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .scroll-hint svg { animation: none; }
}

/* Fix for mobile menu visibility when header is scrolled */
body.menu-open .header .logo,
body.menu-open .header .logo__text,
body.menu-open .header .nav__link { color: #fff !important; }
body.menu-open .header .nav__toggle span { background: #fff !important; }

/* Contact Page Mobile Fixes */
.contact-map iframe {
  width: 100% !important;
  max-width: 100%;
  height: 350px;
  border: 0;
}
.contact-card__value {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ================= WHATSAPP WIDGET ================= */
.wa-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.wa-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37,211,102,.4);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s;
}
.wa-toggle:hover {
  transform: scale(1.1);
  background: #1ebd5a;
}
.wa-popup {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 320px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transform-origin: bottom right;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.wa-popup.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.wa-popup-header {
  background: #095E54;
  color: #fff;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}
.wa-avatar {
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.wa-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wa-header-info {
  flex: 1;
}
.wa-title {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
}
.wa-subtitle {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 2px;
}
.wa-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
  position: absolute;
  top: 10px;
  right: 12px;
  line-height: 1;
}
.wa-close:hover {
  opacity: 1;
}
.wa-popup-body {
  background: #E5DDD5;
  padding: 20px 16px;
  position: relative;
}
.wa-popup-body::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20.5V18H0v-2h20v-2H0v-2h20v-2H0V8h20V6H0V4h20V2H0V0h22v20h2V0h2v20h2V0h2v20h2V0h2v20h2V0h2v20h2v2H20v-1.5zM0 20h2v20H0V20zm4 0h2v20H4V20zm4 0h2v20H8V20zm4 0h2v20h-2V20zm4 0h2v20h-2V20zm4 4h20v2H20v-2zm0 4h20v2H20v-2zm0 4h20v2H20v-2zm0 4h20v2H20v-2z' fill='%23000000' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}
.wa-message {
  background: #fff;
  padding: 12px 14px;
  border-radius: 0 12px 12px 12px;
  font-size: 14.5px;
  color: #111;
  box-shadow: 0 1px 2px rgba(0,0,0,.1);
  position: relative;
  max-width: 90%;
}
.wa-message::before {
  content: "";
  position: absolute;
  top: 0;
  left: -8px;
  border-width: 8px 8px 0 0;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}
.wa-time {
  font-size: 10px;
  color: #888;
  text-align: right;
  margin-top: 4px;
}
.wa-popup-footer {
  padding: 16px;
  background: #fff;
  text-align: center;
}
.wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 24px;
  transition: background 0.2s;
}
.wa-btn:hover {
  background: #1ebd5a;
  color: #fff;
}
@media (max-width: 575.98px) {
  .wa-widget { bottom: 16px; right: 16px; }
  .wa-toggle { width: 54px; height: 54px; }
  .wa-popup { bottom: 70px; width: 280px; }
}

/* ---------- 24. Tour detail mobile improvements ---------- */
@media (max-width: 767.98px) {
  /* Hero daha kompakt */
  .page-hero { min-height: 38vh; padding-top: var(--space-12); }
  .page-hero__inner { padding: 0 var(--space-4) var(--space-6); }
  .page-hero h1 { font-size: clamp(1.6rem, 7vw, 2.2rem); line-height: 1.15; }
  .page-hero p { font-size: var(--fs-base); }
  .page-hero__eyebrow { font-size: var(--fs-xs); letter-spacing: 0.15em; }

  /* Breadcrumb */
  .breadcrumb { font-size: var(--fs-xs); }

  /* İçerik kartları */
  .detail { padding: var(--space-4); border-radius: var(--radius); }
  .detail h2 { font-size: var(--fs-lg); margin-bottom: var(--space-3); }
  .tour-detail > div > article + article { margin-top: 18px; }

  /* Meta etiketler */
  .card__meta { gap: var(--space-2); font-size: var(--fs-xs); }
  .card__meta span { gap: 3px; }
  .card__meta svg { width: 14px; height: 14px; }

  /* Gün gün program */
  .program__item { flex-direction: column; gap: var(--space-2); padding: var(--space-4) 0; }
  .program__day { min-width: auto; padding-top: 0; margin-bottom: var(--space-1); }
  .program__item h3 { font-size: var(--fs-base); }
  .program__item p { font-size: var(--fs-sm); }

  /* Dahil / hariç listeleri */
  .check-list li { padding-left: var(--space-5); font-size: var(--fs-sm); }

  /* Bilgi kartı + rezervasyon */
  .detail--aside { position: static; gap: var(--space-4); }
  .info-card { padding: var(--space-4); border-radius: var(--radius); }
  .info-card h2 { font-size: var(--fs-base); margin-bottom: var(--space-3); }
  .info-card__list li { flex-direction: column; align-items: flex-start; gap: 2px; padding: var(--space-2) 0; font-size: var(--fs-sm); }
  .info-card__list li span:last-child { font-weight: 600; }

  /* Rezervasyon formu */
  .form__row { gap: var(--space-3); }
  .form__group { gap: 4px; }
  .form__label { font-size: var(--fs-sm); }
  .form__input, .form__select, .form__textarea { padding: 12px 14px; font-size: var(--fs-base); }
  .form__hint { font-size: var(--fs-xs); }

  /* Galeri */
  .tour-gallery { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: var(--space-2); }

  /* Lightbox */
  .lightbox { padding: 24px 40px; }
  .lightbox__nav { width: 36px; height: 36px; }
  .lightbox__nav--prev { left: 6px; }
  .lightbox__nav--next { right: 6px; }
  .lightbox__close { font-size: 2rem; right: 10px; }
}
