/* ==========================================================================
   otogaleriprogrami.com - tanitim sitesi stilleri
   Tailwind (CDN) yerlesimi saglar; burada markaya ozel parcalar var:
   plaka logosu, cam yazisi (sari marker), yol cizgisi, adim zaman cizelgesi.
   ========================================================================== */
:root {
  --asphalt: #1A2230;     /* koyu zemin: asfalt */
  --asphalt-2: #232D3E;
  --plate: #0B3C8C;       /* plaka mavi seridi */
  --marker: #FFD60A;      /* cam yazisi sarisi */
  --paper: #F6F7F9;
  --steel: #5A6475;
  --line: #E3E6EC;
  --wa: #1FA855;          /* sadece WhatsApp butonlari */
}

html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--asphalt); font-family: 'Barlow', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, .display { font-family: 'Barlow Condensed', 'Barlow', sans-serif; letter-spacing: -0.01em; }
::selection { background: var(--marker); color: var(--asphalt); }

:focus-visible { outline: 3px solid var(--marker); outline-offset: 2px; border-radius: 6px; }

/* ---------- Plaka (logo ve vurgu) ---------- */
.plate {
  display: inline-flex; align-items: stretch; background: #fff; border: 2px solid var(--asphalt);
  border-radius: 7px; overflow: hidden; line-height: 1; box-shadow: 0 1px 0 rgba(0,0,0,.08);
}
.plate .tr { background: var(--plate); color: #fff; font: 700 10px/1 'Barlow', sans-serif; padding: 4px 5px; display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; }
.plate .tr::before { content: ''; width: 9px; height: 9px; border-radius: 50%; border: 1.5px dotted var(--marker); align-self: center; }
.plate .no { font: 800 17px/1 'Barlow Condensed', sans-serif; padding: 6px 9px 5px; letter-spacing: .06em; color: var(--asphalt); white-space: nowrap; }
.plate-xl .tr { font-size: 15px; padding: 8px 9px; gap: 6px; }
.plate-xl .tr::before { width: 16px; height: 16px; border-width: 2px; }
.plate-xl .no { font-size: clamp(30px, 6vw, 56px); padding: 10px 18px 8px; }
.plate-xl { border-width: 3px; border-radius: 12px; }

/* ---------- Cam yazisi: sari marker notu (sayfada tek vurgu) ---------- */
.marker-note {
  font-family: 'Caveat', cursive; font-weight: 700; color: var(--asphalt); background: var(--marker);
  padding: .35em .7em .25em; border-radius: 4px; transform: rotate(-4deg); display: inline-block;
  box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); line-height: 1.05;
}

/* ---------- Butonlar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 700; border-radius: 10px;
       padding: .8rem 1.25rem; min-height: 46px; transition: background-color .15s, color .15s, border-color .15s; text-decoration: none; }
.btn-marker { background: var(--marker); color: var(--asphalt); }
.btn-marker:hover { background: #ffe14d; }
.btn-plate { background: var(--plate); color: #fff; }
.btn-plate:hover { background: #0a3378; }
.btn-line { border: 2px solid currentColor; }
.btn-line:hover { background: rgba(255,255,255,.08); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #18914a; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Yol cizgisi (koyu bolumlerde ince sari kesik cizgi) ---------- */
.lane { background-image: linear-gradient(var(--marker) 50%, transparent 50%); background-size: 3px 28px; width: 3px; opacity: .55; }
.road { background: var(--asphalt); color: #E9ECF2; position: relative; }
.road-grain { background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px); background-size: 5px 5px; }

/* ---------- Ekran goruntusu cercevesi ---------- */
.frame { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -25px rgba(10,20,40,.55), 0 0 0 1px rgba(10,20,40,.08); }
.frame-bar { height: 30px; background: #EEF0F4; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #C9CED8; }
.frame-bar span { margin-left: 10px; font-size: 11px; color: var(--steel); background: #fff; border-radius: 6px; padding: 3px 10px; flex: 1; max-width: 340px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame img { display: block; width: 100%; height: auto; }
.phone { border-radius: 30px; border: 8px solid var(--asphalt); overflow: hidden; background: var(--asphalt); box-shadow: 0 30px 50px -20px rgba(0,0,0,.55); }
.phone img { display: block; width: 100%; height: auto; }

/* ---------- Arac yolculugu (gercek bir sira: alis -> fatura) ---------- */
.journey-step { text-align: left; border-radius: 12px; padding: 14px 16px; border: 2px solid transparent; color: #B9C1CF; transition: background-color .15s, border-color .15s, color .15s; width: 100%; }
.journey-step:hover { background: rgba(255,255,255,.05); color: #fff; }
.journey-step[aria-pressed="true"] { background: rgba(255,214,10,.08); border-color: var(--marker); color: #fff; }
.journey-step .n { font: 800 15px/1 'Barlow Condensed', sans-serif; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 2px solid currentColor; flex: none; }
.journey-step[aria-pressed="true"] .n { background: var(--marker); border-color: var(--marker); color: var(--asphalt); }

/* ---------- Kucuk parcalar ---------- */
.tick { width: 20px; height: 20px; flex: none; color: var(--plate); margin-top: 2px; }
.road .tick { color: var(--marker); }
.prose-site p { margin: 0 0 1em; line-height: 1.7; }
.prose-site h3 { font-size: 1.35rem; font-weight: 700; margin: 1.4em 0 .4em; }
.prose-site ul { margin: 0 0 1em 1.2em; list-style: disc; line-height: 1.7; }
details > summary { cursor: pointer; list-style: none; }
details > summary::-webkit-details-marker { display: none; }
details[open] .chev { transform: rotate(180deg); }
.chev { transition: transform .2s; }

/* Ust menu acik/kapali (mobil) */
#mnav { display: none; }
#mnav.open { display: block; }

/* WhatsApp yuzen buton */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff;
            display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(0,0,0,.45); }
.wa-float svg { width: 30px; height: 30px; }

/* Hero tek giris animasyonu (azaltilmis harekette kapali) */
@media (prefers-reduced-motion: no-preference) {
  .hero-in { animation: heroIn .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero-in-2 { animation: heroIn .7s .15s cubic-bezier(.2,.7,.2,1) both; }
  .marker-pop { animation: markerPop .5s .7s cubic-bezier(.3,1.6,.5,1) both; }
  @keyframes heroIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes markerPop { from { opacity: 0; transform: rotate(-4deg) scale(.6); } to { opacity: 1; transform: rotate(-4deg) scale(1); } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
