/* /turkiye sayfası — Akdeniz teması (açık, sıcak)
   Renk paleti Lovable /tatil tasarımından birebir. */

:root {
  /* base.css bileşenlerinin okuduğu tema değişkenleri */
  --accent: #0E7C9C;
  --accent-hover: #0A6B86;
  --accent-dark: #08566D;
  --accent-soft: rgba(14,124,156,0.16);
  --terracotta: #D2691E;
  --sun: #F4B942;
  --olive: #6B8E4E;
  --cream: #FFF7EC;
  --text: #2C2C2C;
  --muted: #6B6B6B;
  --card-bg: #ffffff;
  --card-border: #F0E4D7;
  --danger: #D2544E;
  --header-bg: rgba(255,247,236,0.92);
  --font-display: 'Quicksand', 'Nunito', sans-serif;
  --slider-track: linear-gradient(90deg, #F4B942, #D2691E, #0E7C9C);

  --radius: 14px;
  --radius-lg: 22px;
}

body {
  background: linear-gradient(180deg, #FFF7EC 0%, #FFEFD8 25%, #DCEEF5 60%, #C7E3EF 100%);
  background-attachment: fixed;
  color: var(--text);
  min-height: 100vh;
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
}

h1, h2, .step-title, .ph-title { font-family: var(--font-display); }

/* ── Sayfa içeriğini dekor katmanının üstünde tut ─── */
.product-header,
.product-hero,
.form-wrapper,
.page-footer { position: relative; z-index: 1; }

/* ════════ STICKY HEADER ════════ */
.product-header .ph-inner-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.product-header .ph-compass { width: 30px; height: 30px; flex-shrink: 0; }

/* ════════ HERO ════════ */
.product-hero {
  text-align: center;
  padding: 44px 24px 30px;
  max-width: 780px;
  margin: 0 auto;
}

.product-hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 22px;
}

.product-hero h1 {
  font-size: clamp(30px, 6vw, 54px);
  line-height: 1.06;
  font-weight: 700;
  margin-bottom: 18px;
}
.product-hero h1 .u {
  color: var(--terracotta);
  position: relative;
  white-space: nowrap;
}
.product-hero h1 .u svg {
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  width: 100%; height: 10px;
}

.product-hero .lead {
  font-size: clamp(15px, 2.2vw, 18px);
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 26px;
  line-height: 1.6;
}

.product-hero .cta-start {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 15px 32px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(14,124,156,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.product-hero .cta-start:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(14,124,156,0.42);
}

.product-hero .hero-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 460px;
  margin: 28px auto 0;
}
@media (min-width: 640px) {
  .product-hero .hero-badges { grid-template-columns: repeat(4, 1fr); }
}
.product-hero .hero-badges span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 9px 8px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

/* ════════ FORM ════════ */
.form-wrapper { max-width: 760px; margin: 0 auto; padding-bottom: 40px; }

#form-error {
  max-width: 620px;
  margin: 0 auto 8px;
  background: rgba(210,84,78,0.1);
  border-color: rgba(210,84,78,0.35);
  color: #b23b35;
}

/* light-tema input override (base.css koyu tema varsayıyor) */
.form-group input[type=text],
.form-group input[type=email],
.form-group input[type=number] {
  background: #fff;
  color: var(--text);
  border: 1.5px solid var(--card-border);
  text-align: center;
  font-size: 17px;
}
.form-group input::placeholder { color: #b9a894; }
.form-group input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-group label {
  color: var(--muted);
  opacity: 1;
}

.field-narrow { max-width: 420px; margin: 0 auto; }

/* destinasyon grid */
#destination-grid {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
@media (max-width: 560px) {
  #destination-grid { grid-template-columns: repeat(2, 1fr); }
}

/* stil grid */
#style-grid {
  grid-template-columns: repeat(3, 1fr);
  max-width: 560px;
  margin: 0 auto;
}
@media (max-width: 480px) {
  #style-grid { grid-template-columns: repeat(2, 1fr); }
}
#style-grid .option-card { text-align: center; padding: 8px 8px 12px; }
#style-grid .oc-title { font-size: 12.5px; }

/* fotoğraf kutusu (light) */
.photo-drop {
  background: rgba(14,124,156,0.04);
  border: 2px dashed rgba(14,124,156,0.35);
  max-width: 420px;
  margin: 0 auto;
}
.photo-drop:hover { border-color: var(--accent); }
.photo-drop #photo-placeholder { color: var(--muted); }
.photo-hint {
  max-width: 420px;
  margin: 0 auto 14px;
  background: rgba(14,124,156,0.06);
  border: 1px solid rgba(14,124,156,0.18);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.photo-hint strong { color: var(--text); display: block; margin-bottom: 6px; }
.photo-error {
  display: none;
  color: #b23b35;
  font-size: 13px;
  margin: 8px auto 0;
  max-width: 420px;
  padding: 8px 12px;
  background: rgba(210,84,78,0.08);
  border-radius: 8px;
  border: 1px solid rgba(210,84,78,0.2);
}

/* age slider caption */
.age-slider-value { line-height: 0.95; }

/* ════════ SUBMIT + TRUST ════════ */
.submit-wrap { max-width: 460px; margin: 26px auto 0; }
.submit-btn {
  background: var(--accent);
  box-shadow: 0 6px 18px rgba(14,124,156,0.3);
}
.submit-btn:not(:disabled):hover {
  background: var(--accent-hover);
  box-shadow: 0 10px 24px rgba(14,124,156,0.42);
}

.trust-strip {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  padding: 26px 24px 0;
  max-width: 640px;
  margin: 0 auto;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.trust-item .icon { font-size: 16px; }

/* ════════ FOOTER ════════ */
.page-footer {
  text-align: center;
  padding: 34px 24px 44px;
  color: var(--muted);
  font-size: 13px;
}
.page-footer a { color: var(--accent); font-weight: 600; }

/* ════════ DEKORATİF SVG KATMANI ════════ */
.decorative-svg-layer { position: fixed; }

@keyframes deco-sun-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes deco-sun-spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes deco-balloon-rise {
  0%   { transform: translateY(18vh) translateX(0); opacity: 0.9; }
  50%  { transform: translateY(-4vh) translateX(18px); }
  100% { transform: translateY(-26vh) translateX(-8px); opacity: 0; }
}
@keyframes deco-bird-fly {
  0%   { transform: translateX(108vw) translateY(0); }
  50%  { transform: translateX(48vw) translateY(-14px); }
  100% { transform: translateX(-14vw) translateY(0); }
}
@keyframes deco-cloud-drift {
  0%   { transform: translateX(-16vw); }
  100% { transform: translateX(114vw); }
}

.deco-sun { top: 84px; right: 5%; width: 96px; height: 96px; animation: deco-sun-bob 5s ease-in-out infinite; }
.deco-sun .rays { position: absolute; inset: -18px; animation: deco-sun-spin 60s linear infinite; opacity: 0.4; }
.deco-sun .rays svg, .deco-sun > svg { width: 100%; height: 100%; }

.deco-balloon { width: 62px; animation: deco-balloon-rise 30s ease-in-out infinite; }
.deco-balloon.b2 { width: 48px; animation-duration: 38s; animation-delay: -14s; opacity: 0.85; }

.deco-bird { width: 74px; opacity: 0.5; animation: deco-bird-fly 46s linear infinite; }
.deco-bird.d2 { animation-duration: 54s; animation-delay: -18s; }

.deco-cloud { width: 120px; opacity: 0.8; animation: deco-cloud-drift 90s linear infinite; }
.deco-cloud.c2 { width: 90px; animation-duration: 110s; animation-delay: -40s; opacity: 0.6; }

/* ── ek hareketli motifler (Lovable /tatil'den) ── */
@keyframes deco-twinkle { 0%,100% { opacity: 0.35; transform: scale(1); } 50% { opacity: 1; transform: scale(1.18); } }
@keyframes deco-bob { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-9px) rotate(4deg); } }
@keyframes deco-glow { 0%,100% { filter: drop-shadow(0 0 3px rgba(14,124,156,0.4)); } 50% { filter: drop-shadow(0 0 11px rgba(14,124,156,0.8)); } }
@keyframes deco-sail { 0% { transform: translateX(-14vw) translateY(0); } 50% { transform: translateX(48vw) translateY(-6px); } 100% { transform: translateX(112vw) translateY(0); } }
@keyframes deco-carpet { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-14px) rotate(4deg); } }
@keyframes deco-sway { 0%,100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes deco-spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes deco-steam { 0% { opacity: 0.7; transform: translateY(0) scaleY(1); } 100% { opacity: 0; transform: translateY(-10px) scaleY(1.2); } }

.deco-star { animation: deco-twinkle 3.6s ease-in-out infinite; }
.deco-nazar { animation: deco-bob 5s ease-in-out infinite, deco-glow 3s ease-in-out infinite; }
.deco-tulip { transform-origin: bottom center; animation: deco-bob 6s ease-in-out infinite; }
.deco-cat { animation: deco-bob 7s ease-in-out infinite; }
.deco-tea { animation: deco-bob 6s ease-in-out infinite; }
.deco-tea .steam { animation: deco-steam 2.4s ease-out infinite; transform-origin: bottom center; }
.deco-sailboat { width: 108px; animation: deco-sail 60s linear infinite; }
.deco-carpet { width: 104px; animation: deco-carpet 5s ease-in-out infinite; }
.deco-pine { transform-origin: bottom center; animation: deco-sway 7s ease-in-out infinite; }
.deco-compass .needle { transform-origin: 30px 30px; animation: deco-spin 14s linear infinite; }

@media (max-width: 640px) {
  .deco-balloon, .deco-bird, .deco-sailboat, .deco-carpet, .deco-tea, .deco-pine, .deco-compass { display: none; }
}
