/* Diriliş Oto Yol Yardım
   Renkler Burak Bey'in logosundan ölçüldü: zemin #0E1620 / #15202B, altın #B38724 → #ECBB32 → #FEE775, gümüş #E4E5E6.
   Yazı: Montserrat (logodaki "OTO YOL YARDIM" satırıyla aynı aile). */
:root {
  --gece: #0B121B;
  --zemin: #0E1620;
  --zemin-2: #132031;
  --kart: #172536;
  --kart-kenar: rgba(236, 187, 50, .16);
  --cizgi: rgba(228, 229, 230, .1);
  --gumus: #E4E5E6;
  --metin: #C3CBD6;
  --soluk: #8995A6;
  --altin: #ECBB32;
  --altin-koyu: #B38724;
  --altin-acik: #FEE775;
  --yaldiz: linear-gradient(135deg, #B38724 0%, #DAA32E 22%, #ECBB32 42%, #FEE775 58%, #E0AC30 76%, #B38724 100%);
  --yaldiz-yazi: linear-gradient(100deg, #D9A42D 0%, #F3C94A 35%, #FEE775 55%, #E6B232 80%, #C7962A 100%);
  --wa: #25D366;
  --wa-koyu: #1EBE5A;
  --yaricap: 20px;
  --gen: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--metin);
  background: var(--zemin);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--gumus); line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(27px, 6.4vw, 42px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0; }
svg { width: 22px; height: 22px; flex: none; }
.kap { width: 100%; max-width: var(--gen); margin: 0 auto; padding: 0 18px; }
.kap-dar { max-width: 820px; }
.altin-yazi {
  background: var(--yaldiz-yazi); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic;
}
.nokta { width: 8px; height: 8px; border-radius: 50%; background: #3BD16F; box-shadow: 0 0 0 4px rgba(59, 209, 111, .22); flex: none; }

/* Düğmeler */
.dug {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 0 24px; border-radius: 16px;
  font-weight: 800; font-size: 17px; text-decoration: none; letter-spacing: .01em;
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.dug:active { transform: scale(.98); }
.dug-altin { background: var(--yaldiz); color: #1A1407; box-shadow: 0 10px 28px -10px rgba(236, 187, 50, .55), inset 0 1px 0 rgba(255, 255, 255, .45); }
.dug-altin:hover { filter: brightness(1.06); }
.dug-yesil { background: var(--wa); color: #06210F; box-shadow: 0 10px 28px -12px rgba(37, 211, 102, .55); }
.dug-yesil:hover { background: var(--wa-koyu); }
.dug-kucuk { min-height: 50px; font-size: 15.5px; border-radius: 14px; width: 100%; }

/* Üst şerit */
.ust {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11, 18, 27, .88);
  backdrop-filter: saturate(1.3) blur(12px); -webkit-backdrop-filter: saturate(1.3) blur(12px);
  border-bottom: 1px solid var(--cizgi);
}
.ust-ic { display: flex; align-items: center; gap: 12px; height: 66px; }
.marka { margin-right: auto; display: block; line-height: 0; }
.marka img { height: 40px; width: auto; }
.menu { display: none; }
.ust-ara {
  width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--yaldiz); color: #1A1407; text-decoration: none; font-weight: 800;
}
.ust-ara span { display: none; }
.menu-dug {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(228, 229, 230, .22); background: transparent;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; padding: 0;
}
.menu-dug span { width: 18px; height: 2px; background: var(--gumus); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-acik .menu-dug span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-acik .menu-dug span:nth-child(2) { opacity: 0; }
.menu-acik .menu-dug span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 899px) {
  .menu-acik .menu {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 66px;
    background: var(--gece); border-bottom: 1px solid var(--cizgi); padding: 8px 18px 18px;
  }
  .menu-acik .menu a { padding: 14px 4px; border-bottom: 1px solid var(--cizgi); text-decoration: none; font-weight: 700; color: var(--gumus); font-size: 17px; }
}

/* Kapak */
.kapak { position: relative; isolation: isolate; overflow: hidden; background: var(--gece); }
.kapak { background: var(--zemin); }
.kapak-foto { position: absolute; left: 0; right: 0; top: 0; height: min(100vw, 560px); z-index: -2; }
.kapak-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.kapak::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: min(100vw, 560px); z-index: -1;
  background: linear-gradient(180deg, rgba(14, 22, 32, .2) 0%, rgba(14, 22, 32, 0) 30%, rgba(14, 22, 32, .55) 68%, var(--zemin) 100%);
}
.kapak-ic { padding-top: calc(min(100vw, 560px) - 120px); padding-bottom: 34px; display: grid; gap: 28px; }
.rozet {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 14px; border-radius: 999px;
  background: rgba(11, 18, 27, .6); border: 1px solid var(--kart-kenar); color: var(--gumus);
  font-size: 13.5px; font-weight: 700; letter-spacing: .02em; margin-bottom: 16px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.kapak h1 { font-size: clamp(31px, 8.4vw, 58px); font-weight: 800; line-height: 1.1; }
.kapak h1 .altin-yazi { display: inline; }
.kapak-yazi { margin-top: 14px; font-size: 16.5px; color: var(--metin); max-width: 46ch; }
.kapak-dug { display: grid; gap: 12px; margin-top: 24px; }
.kapak-puan { display: flex; align-items: center; gap: 10px; margin-top: 18px; text-decoration: none; font-size: 14px; color: var(--metin); }
.kapak-puan b { color: var(--gumus); }
.yildizlar { display: inline-flex; gap: 2px; color: var(--altin); }
.yildizlar svg { width: 16px; height: 16px; }

/* Hızlı WhatsApp seçenekleri */
.sohbet {
  border-radius: 24px; overflow: hidden;
  background: linear-gradient(180deg, #13202F, #0F1A26);
  border: 1px solid var(--kart-kenar);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
}
.sohbet-ust { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #1B2B3B; border-bottom: 1px solid var(--cizgi); }
.sohbet-ust img { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--kart-kenar); }
.sohbet-ust b { display: block; color: var(--gumus); font-size: 15px; }
.sohbet-ust small { display: flex; align-items: center; gap: 6px; color: #5FD68D; font-size: 12.5px; font-weight: 600; }
.sohbet-govde { padding: 16px; }
.balon {
  background: #1E2E3F; color: var(--gumus); border-radius: 4px 16px 16px 16px; padding: 12px 14px;
  font-size: 14.5px; max-width: 92%;
}
.secenekler { display: grid; gap: 8px; margin-top: 12px; }
.secenek {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 13px 14px; border-radius: 14px; text-align: left; cursor: pointer;
  background: rgba(228, 229, 230, .04); border: 1px solid var(--cizgi);
  color: var(--gumus); font: inherit; font-weight: 600; font-size: 15px; text-decoration: none;
  transition: border-color .15s ease, background-color .15s ease;
}
.secenek svg { width: 20px; height: 20px; color: var(--altin); }
.secenek:hover { border-color: var(--kart-kenar); background: rgba(236, 187, 50, .06); }
.sohbet-alt { padding: 0 16px 16px; font-size: 12.5px; color: var(--soluk); }

/* Bilgi kutuları */
.kutular { padding: 8px 0 8px; }
.kutu-izgara { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kutu {
  display: flex; flex-direction: column; gap: 6px; padding: 18px 16px; border-radius: var(--yaricap);
  background: linear-gradient(160deg, #1A2B40 0%, #132236 100%); border: 1px solid rgba(120, 160, 210, .14);
}
.kutu svg { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: rgba(228, 229, 230, .08); color: var(--gumus); margin-bottom: 8px; }
.kutu b { color: var(--gumus); font-size: 15.5px; line-height: 1.25; }
.kutu span { font-size: 13px; color: var(--soluk); line-height: 1.4; }
.kutu-altin { background: linear-gradient(150deg, #C99B3A 0%, #A98235 55%, #8C6B2C 100%); border-color: rgba(254, 231, 117, .3); }
.kutu-altin svg { background: rgba(255, 255, 255, .18); color: #fff; }
.kutu-altin b { color: #fff; }
.kutu-altin span { color: rgba(255, 255, 255, .82); }

/* Bölümler */
.bolum { padding: 72px 0; scroll-margin-top: 66px; }
.bolum-koyu { background: var(--gece); }
.bolum-bas { margin-bottom: 32px; }
.bolum-bas.orta { text-align: center; }
.bolum-bas.orta .bolum-giris { margin-left: auto; margin-right: auto; }
.hap {
  display: inline-block; padding: 7px 16px; border-radius: 999px; margin-bottom: 16px;
  border: 1px solid var(--kart-kenar); color: var(--altin); font-size: 13px; font-weight: 700; letter-spacing: .04em;
  background: rgba(236, 187, 50, .05);
}
.bolum-giris { margin-top: 14px; color: var(--metin); max-width: 58ch; font-size: 16.5px; }

/* Hizmet kartları */
.hizmetler { display: grid; gap: 20px; }
.hizmet {
  border-radius: 24px; overflow: hidden; background: linear-gradient(180deg, #152435, #111C29);
  border: 1px solid rgba(120, 160, 210, .14); display: flex; flex-direction: column;
}
.hizmet-foto { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.hizmet-foto img { width: 100%; height: 100%; object-fit: cover; }
.hizmet-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 18, 27, 0) 40%, rgba(11, 18, 27, .92) 100%); }
.foto-hap {
  position: absolute; top: 14px; left: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px; background: rgba(11, 18, 27, .7); color: var(--gumus); font-size: 12.5px; font-weight: 700;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.foto-yazi { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; }
.foto-yazi small { display: block; color: var(--altin); font-weight: 700; font-size: 13px; margin-bottom: 4px; }
.foto-yazi h3 { font-size: 23px; font-weight: 800; color: #fff; }
.hizmet-ic { padding: 18px; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.hizmet-ic p { font-size: 15.5px; flex: 1; }

/* Adımlar */
.adimlar { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.adim {
  position: relative; overflow: hidden; padding: 26px 22px 24px; border-radius: 24px;
  background: linear-gradient(160deg, #1A2B40, #132236); border: 1px solid rgba(120, 160, 210, .14);
}
.adim-no { position: absolute; top: 6px; right: 16px; font-size: 76px; font-weight: 800; font-style: italic; line-height: 1; color: rgba(228, 229, 230, .07); }
.adim svg { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: rgba(228, 229, 230, .08); color: var(--altin); margin-bottom: 18px; }
.adim h3 { font-size: 20px; margin-bottom: 8px; }
.adim p { font-size: 15px; }
.adim-altin { background: linear-gradient(150deg, #C99B3A 0%, #A98235 55%, #8C6B2C 100%); border-color: rgba(254, 231, 117, .3); }
.adim-altin .adim-no { color: rgba(255, 255, 255, .16); }
.adim-altin svg { background: rgba(255, 255, 255, .18); color: #fff; }
.adim-altin h3 { color: #fff; }
.adim-altin p { color: rgba(255, 255, 255, .88); }

/* Kaydırmalı listeler */
.kaydir-iz {
  display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
  margin: 0 -18px; padding-left: 18px; padding-right: 18px; scroll-padding-left: 18px;
}
.kaydir-iz::-webkit-scrollbar { display: none; }
.kaydir-iz > * { scroll-snap-align: start; }
.kaydir-dug { display: flex; justify-content: center; gap: 12px; margin-top: 22px; }
.kaydir-dug button {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(228, 229, 230, .22); background: transparent; color: var(--gumus);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.kaydir-dug button:hover { border-color: var(--altin); color: var(--altin); }

.yorum {
  margin: 0; padding: 22px; border-radius: 24px; display: flex; flex-direction: column; gap: 16px;
  background: linear-gradient(150deg, #CFA24A 0%, #B48A3C 50%, #94712F 100%); color: #1A1407;
  border: 1px solid rgba(254, 231, 117, .35);
}
.yorum-ust { display: flex; align-items: center; justify-content: space-between; }
.g { width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 800; color: #4285F4; font-size: 17px; }
.yorum .yildizlar { color: #14202E; }
.yorum blockquote { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.55; color: #17120A; flex: 1; }
.yorum blockquote::before { content: "“"; display: block; font-size: 46px; line-height: .6; font-weight: 800; color: rgba(23, 18, 10, .35); margin-bottom: 6px; }
.yorum figcaption { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(23, 18, 10, .18); }
.bas-harf { width: 40px; height: 40px; border-radius: 50%; background: #14202E; color: var(--altin); display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; }
.yorum figcaption b { display: block; color: #14202E; font-size: 15px; }
.yorum figcaption small { color: rgba(23, 18, 10, .7); font-size: 12.5px; font-weight: 600; }
.orta-link { text-align: center; margin-top: 20px; }
.orta-link a { color: var(--altin); font-weight: 700; text-underline-offset: 5px; }

.galeri { grid-auto-columns: 74%; }
.galeri figure { margin: 0; position: relative; border-radius: 22px; overflow: hidden; border: 1px solid rgba(120, 160, 210, .14); }
.galeri img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.galeri figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px;
  background: rgba(11, 18, 27, .72); color: var(--gumus); font-size: 12.5px; font-weight: 700;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}

/* İlçeler */
.ilceler { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ilceler a {
  display: flex; flex-direction: column; gap: 2px; padding: 14px 14px 12px; border-radius: 16px; text-decoration: none;
  background: linear-gradient(160deg, #172739, #122031); border: 1px solid rgba(120, 160, 210, .14);
  font-size: 13px; color: var(--soluk); position: relative;
}
.ilceler b { color: var(--gumus); font-size: 15.5px; }
.ilceler span {
  position: absolute; bottom: 12px; right: 12px; font-size: 11px; font-weight: 800; color: var(--altin);
  padding: 2px 8px; border-radius: 999px; border: 1px solid var(--kart-kenar);
}
.ilceler a:hover { border-color: var(--kart-kenar); }

/* Şubeler */
.subeler { display: grid; gap: 18px; }
.sube { border-radius: 24px; overflow: hidden; background: linear-gradient(180deg, #152435, #111C29); border: 1px solid rgba(120, 160, 210, .14); }
.sube iframe { display: block; width: 100%; height: 220px; border: 0; filter: grayscale(.35) contrast(1.05); }
.sube-ic { padding: 20px; }
.sube-ic h3 { font-size: 20px; }
.sube-ic p { margin-top: 6px; font-size: 15px; }
.sube-tel { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.sube-tel a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; text-decoration: none;
  background: rgba(236, 187, 50, .1); border: 1px solid var(--kart-kenar); color: var(--gumus); font-weight: 800; font-size: 16px;
}
.sube-tel svg { width: 18px; height: 18px; color: var(--altin); }
.sube-yol { display: inline-block; margin-top: 14px; color: var(--altin); font-weight: 700; text-underline-offset: 5px; }

/* SSS */
.sss { display: grid; gap: 10px; }
.sss details { border-radius: 18px; background: linear-gradient(160deg, #172739, #122031); border: 1px solid rgba(120, 160, 210, .14); }
.sss details[open] { border-color: var(--kart-kenar); }
.sss summary {
  list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; position: relative;
  font-weight: 700; color: var(--gumus); font-size: 16.5px;
}
.sss summary::-webkit-details-marker { display: none; }
.sss summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(236, 187, 50, .12); color: var(--altin); font-size: 20px; font-weight: 600;
}
.sss details[open] summary::after { content: "−"; }
.sss details p { padding: 0 20px 20px; font-size: 15.5px; }

/* Kapanış */
.son {
  padding: 72px 0 80px; text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(236, 187, 50, .12), transparent 70%), var(--gece);
  border-top: 1px solid var(--cizgi);
}
.son-ic img { width: min(300px, 76%); margin: 0 auto 26px; }
.son-ic p { margin: 14px auto 0; max-width: 44ch; }
.son .kapak-dug { max-width: 520px; margin-left: auto; margin-right: auto; }

/* Alt bilgi */
.alt { background: #080D14; padding: 48px 0 calc(100px + env(safe-area-inset-bottom)); border-top: 1px solid var(--cizgi); font-size: 14.5px; }
.alt-izgara { display: grid; gap: 30px; }
.alt-marka img { height: 46px; width: auto; margin-bottom: 14px; }
.alt h3 { font-size: 15px; color: var(--altin); margin-bottom: 12px; }
.alt ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--soluk); }
.alt ul a { color: var(--gumus); font-weight: 700; text-decoration: none; margin-right: 6px; }
.alt-son { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--cizgi); color: var(--soluk); font-size: 13px; }
.alt-son a { color: var(--metin); }

/* Telefonda alt çubuk */
.alt-cubuk {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 1fr 1fr;
  padding-bottom: env(safe-area-inset-bottom); background: var(--gece);
}
.alt-cubuk a { display: flex; align-items: center; justify-content: center; gap: 10px; height: 62px; text-decoration: none; font-weight: 800; font-size: 17px; }
.cubuk-wa { background: var(--wa); color: #06210F; }
.cubuk-ara { background: var(--yaldiz); color: #1A1407; }

a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--altin-acik); outline-offset: 3px; }

/* Tablet */
@media (min-width: 640px) {
  .kapak-dug { grid-template-columns: 1fr 1fr; max-width: 560px; }
  .kutu-izgara { grid-template-columns: repeat(3, 1fr); }
  .hizmetler, .subeler { grid-template-columns: 1fr 1fr; }
  .ilceler { grid-template-columns: repeat(3, 1fr); }
  .kaydir-iz { grid-auto-columns: 46%; }
  .galeri { grid-auto-columns: 34%; }
}

/* Masaüstü */
@media (min-width: 900px) {
  .ust-ic { height: 78px; }
  .marka img { height: 48px; }
  .menu { display: flex; gap: 26px; margin-right: 8px; }
  .menu a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--metin); }
  .menu a:hover { color: var(--altin); }
  .menu-dug { display: none; }
  .ust-ara { width: auto; height: 48px; padding: 0 20px; border-radius: 999px; gap: 10px; font-size: 15.5px; }
  .ust-ara svg { width: 18px; height: 18px; }
  .ust-ara span { display: inline; }
  .bolum { scroll-margin-top: 78px; }

  .kapak { min-height: 760px; display: flex; align-items: center; background: var(--gece); }
  .kapak-foto { inset: 0; height: auto; }
  .kapak::before { inset: 0; height: auto;
    background:
      linear-gradient(90deg, rgba(11, 18, 27, .97) 0%, rgba(11, 18, 27, .9) 40%, rgba(11, 18, 27, .55) 62%, rgba(11, 18, 27, .45) 100%),
      linear-gradient(180deg, rgba(11, 18, 27, 0) 70%, var(--zemin) 100%);
  }
  .kapak-foto img { object-position: 50% 50%; }
  .kapak-ic { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px; padding-top: 72px; padding-bottom: 72px; }
  .kapak-yazi { font-size: 18px; }

  .kutu-izgara { grid-template-columns: repeat(6, 1fr); }
  .kutu { padding: 20px 16px; }

  .bolum { padding: 104px 0; }
  .bolum-bas { margin-bottom: 44px; }
  .hizmetler { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .adimlar { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .adim { padding: 32px 28px 30px; }
  .kaydir-iz { grid-auto-columns: calc((100% - 28px) / 3); margin: 0; padding-left: 0; padding-right: 0; }
  .galeri { grid-auto-columns: calc((100% - 42px) / 4); }
  .ilceler { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .sube iframe { height: 260px; }
  .son { padding: 96px 0 104px; }
  .alt { padding-bottom: 32px; }
  .alt-izgara { grid-template-columns: 1.4fr 1fr 1fr; }
  .alt-cubuk { display: none; }
}

/* ===== Tema düğmesi ===== */
.tema-dug {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(228, 229, 230, .22); background: transparent;
  color: var(--altin); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; flex: none;
}
.tema-dug svg { width: 21px; height: 21px; }
.tema-dug .ikon-ay { display: none; }
.g-gunduz { display: none !important; }
[data-tema="gunduz"] .g-aksam { display: none !important; }
[data-tema="gunduz"] .g-gunduz { display: block !important; }
[data-tema="gunduz"] .tema-dug .ikon-gunes { display: none; }
[data-tema="gunduz"] .tema-dug .ikon-ay { display: block; }
@media (max-width: 420px) {
  .ust-ic { gap: 8px; }
  .marka img { height: 34px; }
  .tema-dug, .ust-ara, .menu-dug { width: 42px; height: 42px; }
}

/* ===== Gündüz modu ===== */
[data-tema="gunduz"] {
  --gece: #E9EDF2;
  --zemin: #F3F5F8;
  --cizgi: rgba(21, 32, 43, .1);
  --kart-kenar: rgba(179, 135, 36, .35);
  --gumus: #15202B;
  --metin: #3A4656;
  --soluk: #667180;
  --altin: #9A6F14;
  --yaldiz-yazi: linear-gradient(100deg, #8A6212 0%, #B38724 40%, #C99A22 60%, #9A6F14 100%);
  color-scheme: light;
}
[data-tema="gunduz"] body { background: var(--zemin); }
[data-tema="gunduz"] .ust { background: rgba(255, 255, 255, .92); }
[data-tema="gunduz"] .tema-dug, [data-tema="gunduz"] .menu-dug, [data-tema="gunduz"] .kaydir-dug button { border-color: rgba(21, 32, 43, .18); }
[data-tema="gunduz"] .tema-dug { color: #15202B; }

/* kapak */
[data-tema="gunduz"] .kapak::before {
  background: linear-gradient(180deg, rgba(243, 245, 248, .05) 0%, rgba(243, 245, 248, 0) 35%, rgba(243, 245, 248, .7) 72%, var(--zemin) 100%);
}
[data-tema="gunduz"] .rozet { background: rgba(255, 255, 255, .85); color: #15202B; }
[data-tema="gunduz"] .yildizlar { color: #C9971F; }

/* hızlı WhatsApp kutusu */
[data-tema="gunduz"] .sohbet { background: #fff; border-color: rgba(21, 32, 43, .1); box-shadow: 0 24px 50px -30px rgba(21, 32, 43, .35); }
[data-tema="gunduz"] .sohbet-ust { background: #0F1A26; }
[data-tema="gunduz"] .sohbet-ust b { color: #E4E5E6; }
[data-tema="gunduz"] .balon { background: #EEF1F5; }
[data-tema="gunduz"] .secenek { background: #fff; }
[data-tema="gunduz"] .secenek:hover { background: #FBF6E8; }

/* lacivert kartlar beyaza döner, altın kartlar aynen kalır */
[data-tema="gunduz"] .kutu:not(.kutu-altin),
[data-tema="gunduz"] .adim:not(.adim-altin),
[data-tema="gunduz"] .hizmet,
[data-tema="gunduz"] .ilceler a,
[data-tema="gunduz"] .sube,
[data-tema="gunduz"] .sss details {
  background: #fff; border-color: rgba(21, 32, 43, .1); box-shadow: 0 10px 30px -22px rgba(21, 32, 43, .4);
}
[data-tema="gunduz"] .kutu:not(.kutu-altin) svg, [data-tema="gunduz"] .adim:not(.adim-altin) svg { background: #F1EBDB; color: #9A6F14; }
[data-tema="gunduz"] .adim:not(.adim-altin) .adim-no { color: rgba(21, 32, 43, .07); }
[data-tema="gunduz"] .sss details[open] { border-color: var(--kart-kenar); }

/* fotoğraf üstündeki yazılar her modda açık renk kalır */
.foto-yazi small { color: #ECBB32; }
.foto-hap, .galeri figcaption { color: #E4E5E6; }
[data-tema="gunduz"] .galeri figure { border-color: rgba(21, 32, 43, .1); }

[data-tema="gunduz"] .sube-tel a { background: #FBF6E8; }
[data-tema="gunduz"] .son { background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(236, 187, 50, .16), transparent 70%), var(--gece); }

/* alt bilgi her modda koyu kalır */
[data-tema="gunduz"] .alt {
  --gumus: #E4E5E6; --metin: #C3CBD6; --soluk: #8995A6; --altin: #ECBB32; --cizgi: rgba(228, 229, 230, .1);
}

@media (min-width: 900px) {
  [data-tema="gunduz"] .kapak { background: var(--zemin); }
  [data-tema="gunduz"] .kapak::before {
    background:
      linear-gradient(90deg, rgba(243, 245, 248, .97) 0%, rgba(243, 245, 248, .9) 40%, rgba(243, 245, 248, .35) 64%, rgba(243, 245, 248, .1) 100%),
      linear-gradient(180deg, rgba(243, 245, 248, 0) 75%, var(--zemin) 100%);
  }
  [data-tema="gunduz"] .menu a { color: var(--metin); }
  [data-tema="gunduz"] .menu a:hover { color: var(--altin); }
}
@media (max-width: 899px) {
  [data-tema="gunduz"] .menu-acik .menu { background: #fff; }
}

/* Yerinde yardım: akü, lastik, yakıt (fotoğrafsız küçük kartlar) */
.yerinde { margin-top: 40px; padding: 26px 20px; border-radius: 24px; border: 1px solid var(--kart-kenar);
  background: radial-gradient(ellipse 90% 70% at 0% 0%, rgba(236, 187, 50, .10), transparent 70%), var(--zemin-2); }
.yerinde-bas h3 { font-size: 23px; font-weight: 800; color: var(--gumus); line-height: 1.25; }
.yerinde-bas p { margin-top: 10px; color: var(--metin); font-size: 15.5px; max-width: 60ch; }
.yerinde-izgara { display: grid; gap: 14px; margin-top: 22px; }
.yardim { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; row-gap: 4px; align-items: start;
  padding: 18px 16px; border-radius: 18px; background: linear-gradient(160deg, #1A2B40 0%, #132236 100%); border: 1px solid rgba(120, 160, 210, .14); }
.yardim > svg { grid-row: 1 / span 3; width: 48px; height: 48px; padding: 11px; border-radius: 50%; background: var(--yaldiz); color: #1A1204; }
.yardim h3 { font-size: 17px; font-weight: 800; color: var(--gumus); }
.yardim p { font-size: 14.5px; color: var(--metin); }
.yardim-wa { justify-self: start; margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  background: var(--wa); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; }
.yardim-wa:hover { background: var(--wa-koyu); }
.yardim-wa svg { width: 17px; height: 17px; }
@media (min-width: 900px) {
  .yerinde { margin-top: 48px; padding: 36px 34px; }
  .yerinde-bas h3 { font-size: 28px; }
  .yerinde-izgara { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
[data-tema="gunduz"] .yerinde { background: radial-gradient(ellipse 90% 70% at 0% 0%, rgba(236, 187, 50, .14), transparent 70%), #FBF8F0; border-color: rgba(179, 135, 36, .25); }
[data-tema="gunduz"] .yardim { background: #fff; border-color: rgba(21, 32, 43, .1); box-shadow: 0 10px 30px -22px rgba(21, 32, 43, .4); }

/* YAMU AI imzası: alt bilgide küçük, sade */
.imza { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 16px; border-radius: 999px;
  border: 1px solid rgba(228, 229, 230, .14); background: rgba(228, 229, 230, .04);
  color: var(--soluk); text-decoration: none; font-size: 12.5px; font-weight: 600; letter-spacing: .02em;
  opacity: .85; transition: opacity .2s, border-color .2s, background .2s; }
.imza img { height: 18px; width: auto; display: block; }
.imza:hover { opacity: 1; border-color: rgba(228, 229, 230, .3); background: rgba(228, 229, 230, .08); }
.alt-son { align-items: center; }
