@import url('https://fonts.googleapis.com/css2?family=Luckiest+Guy&family=Poppins:wght@600;700&family=DM+Sans:wght@400;500;700&display=swap');

:root {
  --cream: #F1E4CB;
  --cream-2: #F8F1E0;
  --paper-edge: #E4D3AE;
  --ink: #221E1B;
  --ink-soft: #5B4F3F;
  --red: #E8442A;
  --red-deep: #C43D1F;
  --amber: #F1A234;
  --logo-orange: #F2941E;
  --charcoal: #201A14;
  --charcoal-2: #2B2319;
  --line: #DCC9A0;
  --line-dark: #45392A;
  --radius: 14px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  line-height: 1.14;
  margin: 0 0 0.5em 0;
}

h1, h2 {
  font-family: 'Luckiest Guy', cursive;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
h3, h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.22rem; }

p { margin: 0 0 1em 0; max-width: 62ch; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0 0 1em 0; padding-left: 1.3em; max-width: 62ch; }
li { margin-bottom: 0.4em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }

/* ---------- Arkaplan süsleri ---------- */
.bg-deco { position: absolute; opacity: 0.24; pointer-events: none; z-index: 0; display: block; }
.bg-deco-light { filter: invert(1); opacity: 0.16; }
@media (max-width: 880px) { .bg-deco { display: none; } }

/* ---------- Header ---------- */

header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(241, 228, 203, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 116px; width: 116px; display: block; border-radius: 50%; }
.logo .wordmark { font-family: 'Luckiest Guy', cursive; font-weight: 400; font-size: 1.4rem; letter-spacing: 0.01em; text-transform: uppercase; }
.logo .wordmark .tum { color: var(--red); }

nav.main-nav { display: flex; align-items: center; gap: 30px; }
nav.main-nav a {
  font-size: 0.96rem; font-weight: 700; color: var(--ink-soft);
  padding-bottom: 3px; border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
nav.main-nav a:hover, nav.main-nav a.active { color: var(--ink); border-color: var(--red); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 800; font-size: 0.95rem; line-height: 1; white-space: nowrap;
  font-family: 'Poppins', sans-serif;
  cursor: pointer; border: none;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-deep); }
.btn.btn-orange { background: var(--logo-orange); color: var(--charcoal); }
.btn.btn-orange:hover { background: #D97D0A; }
.btn-ghost { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-light { background: var(--cream-2); color: var(--ink); }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* ---------- Sections ---------- */

section { padding: 84px 0; }
section.tight { padding: 52px 0; }

.section-dark { background: var(--charcoal); color: #F3E8D2; }
.section-dark p { color: #CBB99A; }
.section-dark .line { border-color: var(--line-dark); }

.eyebrow-free-label { color: var(--red); font-weight: 800; font-size: 0.95rem; margin-bottom: 10px; display: block; }

.lead { font-size: 1.14rem; color: var(--ink-soft); max-width: 58ch; }
.section-dark .lead { color: #CBB99A; }

/* ---------- Ring badge (marka rozeti motifi) ---------- */

.ring-badge {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 24px;
  padding: 8px;
  background: var(--red);
}
.ring-badge .ring-mid { border-radius: 18px; padding: 7px; background: var(--amber); }
.ring-badge .ring-inner { border-radius: 12px; overflow: hidden; background: var(--cream-2); }
.ring-badge img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero ---------- */

.hero { padding: 64px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.hero-art {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 6px solid var(--cream-2);
  box-shadow: 0 0 0 2px var(--line);
  transform: scale(1.18);
}
.hero-art img { width: 100%; display: block; }

/* ---------- Cards ---------- */

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }

.card { background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.section-dark .card { background: var(--charcoal-2); border-color: var(--line-dark); }

/* ---------- Route steps ---------- */

.route-steps { position: relative; margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.route-steps::before {
  content: ""; position: absolute; top: 19px; left: 8%; right: 8%; height: 2px;
  background-image: linear-gradient(to right, #8A7657 55%, transparent 45%);
  background-size: 14px 2px; opacity: 0.5;
}
.step-stop { position: relative; }
.step-pin {
  width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-weight: 800; margin-bottom: 18px; position: relative; z-index: 2;
}

/* ---------- Story scene (Nasıl çalışır — tek parça animasyon) ---------- */

.story-scene-wrap {
  margin-top: 56px; background: var(--charcoal-2); border: 1px solid var(--line-dark);
  border-radius: 20px; padding: 28px clamp(12px, 4vw, 40px);
}
.story-scene { width: 100%; height: auto; display: block; overflow: visible; }
.scene-label {
  font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 24px;
  fill: #FFFFFF; paint-order: stroke; stroke: var(--charcoal); stroke-width: 5px; stroke-linejoin: round;
}

.scene-road { opacity: 0.7; }

.wheel { animation: wheel-spin 0.6s linear infinite; }
@keyframes wheel-spin { to { transform: rotate(360deg); } }

.origin-ring { animation: scene-pulse-ring 2.2s ease-out infinite; transform-origin: 0px -44px; }
@keyframes scene-pulse-ring {
  0% { transform: scale(0.8); opacity: 0.8; }
  70%, 100% { transform: scale(1.4); opacity: 0; }
}

.wave { animation: scene-wave 1.8s ease-out infinite; transform-origin: center; opacity: 0; }
.wave2 { animation-delay: 0.35s; }
@keyframes scene-wave {
  0% { opacity: 0; transform: scale(0.7); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.2); }
}

.check-mark { transform-origin: 22px -58px; animation: story-check-pop 2.4s ease-in-out infinite; }
@keyframes story-check-pop {
  0%, 55%, 100% { transform: scale(1); }
  70% { transform: scale(1.3); }
  82% { transform: scale(1); }
}

.confetti circle { animation: confetti-pop 3s ease-in-out infinite; transform-origin: center; opacity: 0; }
.confetti circle:nth-child(2) { animation-delay: 0.15s; }
.confetti circle:nth-child(3) { animation-delay: 0.3s; }
.confetti circle:nth-child(4) { animation-delay: 0.45s; }
@keyframes confetti-pop {
  0%, 20% { opacity: 0; transform: translateY(6px) scale(0.5); }
  35% { opacity: 1; transform: translateY(-6px) scale(1); }
  60%, 100% { opacity: 0; transform: translateY(-14px) scale(0.6); }
}

/* Sahne geçişleri: her sahne kendi arka planıyla kayarak girip çıkar (12s döngü) */
.scene-panel { animation-duration: 12s; animation-timing-function: ease-in-out; animation-iteration-count: infinite; }

.scene-panel-1 {
  animation-name: scene1-cut;
}
@keyframes scene1-cut {
  0%, 16%   { opacity: 1; transform: translateX(0); }
  21%       { opacity: 0; transform: translateX(-40px); }
  97%       { opacity: 0; transform: translateX(40px); }
  100%      { opacity: 1; transform: translateX(0); }
}

.scene-panel-2 { animation-name: scene2-cut; }
@keyframes scene2-cut {
  0%, 20%   { opacity: 0; transform: translateX(40px); }
  25%, 41%  { opacity: 1; transform: translateX(0); }
  46%       { opacity: 0; transform: translateX(-40px); }
  100%      { opacity: 0; transform: translateX(40px); }
}

.scene-panel-3 { animation-name: scene3-cut; }
@keyframes scene3-cut {
  0%, 45%   { opacity: 0; transform: translateX(40px); }
  50%, 80%  { opacity: 1; transform: translateX(0); }
  85%       { opacity: 0; transform: translateX(-40px); }
  100%      { opacity: 0; transform: translateX(40px); }
}

.scene-panel-4 { animation-name: scene4-cut; }
@keyframes scene4-cut {
  0%, 84%   { opacity: 0; transform: translateX(40px); }
  88%, 95%  { opacity: 1; transform: translateX(0); }
  99%, 100% { opacity: 0; transform: translateX(-40px); }
}

.scene-panel-3 .scene-rider { animation: scene-rider-cycle 12s ease-in-out infinite; }
@keyframes scene-rider-cycle {
  0%, 49% { opacity: 0; transform: translate(40px, 210px) scale(0.85); }
  52%     { opacity: 1; transform: translate(40px, 210px) scale(0.85); }
  62%     { opacity: 1; transform: translate(220px, 165px) scale(0.92); }
  70%     { opacity: 1; transform: translate(400px, 105px) scale(0.95); }
  76%     { opacity: 1; transform: translate(560px, 120px) scale(0.92); }
  82%     { opacity: 1; transform: translate(760px, 170px) scale(0.88); }
  86%, 100% { opacity: 0; transform: translate(760px, 170px) scale(0.85); }
}

/* ---------- Feature list ---------- */

.feature-row { display: flex; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.feature-row:last-child { border-bottom: 1px solid var(--line); }
.feature-num { font-family: 'Poppins', sans-serif; color: var(--red); font-weight: 800; min-width: 34px; }

/* ---------- CTA strip ---------- */

.cta-strip {
  background: var(--amber); border-radius: 20px; padding: 42px 38px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-strip h3 { margin: 0; max-width: 40ch; color: var(--charcoal); }

/* ---------- Vision / disclaimer note ---------- */

.vision-note {
  display: inline-block; font-size: 0.85rem; font-weight: 700;
  color: var(--red-deep); background: rgba(232,68,42,0.1);
  border: 1px solid rgba(232,68,42,0.3); border-radius: 999px;
  padding: 5px 14px; margin-bottom: 18px;
}
.section-dark .vision-note { color: var(--amber); background: rgba(241,162,52,0.12); border-color: rgba(241,162,52,0.35); }

.city-pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.city-pill {
  font-size: 0.88rem; font-weight: 700; padding: 7px 14px; border-radius: 999px;
  background: var(--cream-2); border: 1px solid var(--line); color: var(--ink-soft);
}
.city-pill.active { background: var(--red); border-color: var(--red); color: #fff; }
.section-dark .city-pill { background: var(--charcoal-2); border-color: var(--line-dark); color: #CBB99A; }
.section-dark .city-pill.active { background: var(--amber); border-color: var(--amber); color: var(--charcoal); }

/* ---------- Footer ---------- */

footer { background: var(--charcoal); color: #CBB99A; padding: 52px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
footer h4 { color: #F3E8D2; font-size: 1rem; margin-bottom: 14px; }
footer a { color: #CBB99A; }
footer a:hover { color: #F3E8D2; }
.foot-links { display: flex; flex-direction: column; gap: 10px; }
.footer-bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-dark);
  font-size: 0.87rem; color: #8A7657; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* ---------- Tables ---------- */

table.pricing-logic { width: 100%; border-collapse: collapse; margin-top: 18px; }
table.pricing-logic th, table.pricing-logic td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
table.pricing-logic th { font-family: 'Poppins', sans-serif; color: var(--ink-soft); font-weight: 700; }
.section-dark table.pricing-logic th, .section-dark table.pricing-logic td { border-color: var(--line-dark); }

/* ---------- Forms ---------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 0.92rem; font-weight: 700; margin-bottom: 6px; color: var(--ink-soft); }
input, textarea, select {
  width: 100%; padding: 13px 14px; border-radius: 10px; border: 1.5px solid var(--line);
  background: var(--cream-2); font-family: 'DM Sans', sans-serif; font-size: 0.98rem; color: var(--ink);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--red); }

/* ---------- Utility ---------- */

.badge {
  display: inline-block; background: var(--cream-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 14px; font-size: 0.85rem; font-weight: 700; color: var(--ink-soft);
}

/* ---------- Responsive ---------- */

@media (max-width: 880px) {
  nav.main-nav { display: none; }
  .menu-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { transform: none; }
  .hero-art { order: -1; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .route-steps { grid-template-columns: 1fr; }
  .route-steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-grid .logo { justify-content: center; }
  .footer-grid .foot-links { align-items: center; }
  .footer-bottom { flex-direction: column; justify-content: center; text-align: center; }
  .form-grid { grid-template-columns: 1fr; }
  section { padding: 52px 0; }

  nav.main-nav.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream-2); padding: 22px 28px; border-bottom: 1px solid var(--line); gap: 18px;
  }
}
