/* ==========================================================================
   Light tema — Sinyal Koridoru açık varyantı
   Rota omurgası korunur; amber yalnızca aktif yönlendirmeyi işaretler.
   Açık yüzeye düşen amber metinler --amber-ink üzerinden koyulaşır.
   ========================================================================== */

/* Tema seçici (her iki temada ortak) --------------------------------------- */

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: var(--tap);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(7, 17, 31, .5);
  padding: 0 .75rem;
  color: #eef3f8;
  font-size: var(--fs-micro);
  font-weight: 900;
  letter-spacing: .08em;
  transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .16s var(--ease);
}
.theme-toggle:hover {
  border-color: var(--amber);
  background: rgba(255, 201, 74, .14);
  color: var(--amber);
}
.theme-toggle:active { transform: scale(.97); }

.theme-glyph {
  position: relative;
  display: block;
  width: .95rem; height: .95rem;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  box-shadow: inset -.27rem -.12rem 0 currentColor;
}
.theme-toggle-label { min-width: 2.55rem; text-align: left; }

.mobile-theme-toggle {
  display: none;
  margin: .35rem 0;
  width: 100%;
  justify-content: center;
  border-color: var(--line);
  background: rgba(255, 255, 255, .04);
  color: #d8e1ea;
}
.mobile-theme-toggle .theme-toggle-label { min-width: auto; }

.footer-theme-toggle {
  flex-shrink: 0;
  margin-left: auto;
}

/* Light tema tokenları ----------------------------------------------------- */

html[data-theme="light"] {
  color-scheme: light;

  --night-2: #eef1f0;
  --slate: #ffffff;
  --text: #102036;
  --muted: #4c5d70;
  --muted-2: #5a6b7e;
  --line: rgba(17, 32, 54, .14);
  --line-strong: rgba(17, 32, 54, .2);
  /* Beyaz/krem yüzeyde 6:1 kontrast veren amber */
  --amber-ink: #8a5600;
}

html[data-theme="light"] body { background: #f4f1ea; color: var(--text); }
html[data-theme="light"] ::selection { background: var(--amber); color: #12243a; }
html[data-theme="light"] * { scrollbar-color: #b07500 transparent; }
html[data-theme="light"] ::-webkit-scrollbar-thumb { background: #c08600; background-clip: content-box; }

/* Başlık ------------------------------------------------------------------- */

html[data-theme="light"] .site-header.is-scrolled {
  border-color: rgba(17, 32, 54, .14);
  background: rgba(248, 246, 240, .94);
}
html[data-theme="light"] .site-header.is-scrolled .desktop-nav a,
html[data-theme="light"] .site-header.is-scrolled .phone-link { color: #1b2e45; }
/* Krem zeminde marka kilidi okunur kalmalı */
html[data-theme="light"] .site-header.is-scrolled .brand strong { color: #8a5600; }
html[data-theme="light"] .site-header.is-scrolled .brand em { color: #1b2e45; }
html[data-theme="light"] .footer-brand strong { color: #8a5600; }
html[data-theme="light"] .footer-brand em { color: #1b2e45; }
html[data-theme="light"] .footer-theme-toggle {
  border-color: rgba(17, 32, 54, .18);
  background: #edf1f3;
  color: #203650;
}
html[data-theme="light"] .footer-theme-toggle:hover { background: #ffdc86; color: #142238; }
html[data-theme="light"] .theme-glyph {
  border-color: #18304b;
  background: var(--amber);
  box-shadow: 0 0 0 .2rem var(--amber), 0 0 0 .31rem rgba(255, 201, 74, .35);
}
/* Sayfa başındayken başlık şeffaf ve hero gece kalıyor; menü ikonu
   ancak başlık krem zemine oturduğunda koyulaşmalı. */
html[data-theme="light"] .site-header.is-scrolled .menu-toggle {
  border-color: rgba(17, 32, 54, .18);
  background: rgba(17, 32, 54, .05);
}
html[data-theme="light"] .site-header.is-scrolled .menu-toggle span { background: #17293f; }

/* Hero: görsel gece kaldığı için başlık ve metin açık kalır ---------------- */

html[data-theme="light"] .hero h1 { color: #f7fbff; }
html[data-theme="light"] .hero h1 mark { color: var(--amber); }
html[data-theme="light"] .hero h1 span { color: #edf4fb; }
html[data-theme="light"] .hero-copy { color: #d3dde6; }
html[data-theme="light"] .eyebrow { color: var(--amber); }
html[data-theme="light"] .eyebrow b { color: #d5dfea; }
html[data-theme="light"] .hero-status { border-color: rgba(255, 255, 255, .16); color: #eef3f8; }
html[data-theme="light"] .hero-status p + p { border-color: rgba(255, 255, 255, .16); }
html[data-theme="light"] .simple-phone span { color: #c3cfda; }

/* Bölümler ----------------------------------------------------------------- */

html[data-theme="light"] .dark-section .grid-texture,
html[data-theme="light"] .request-section .grid-texture,
html[data-theme="light"] .blog-section .grid-texture,
html[data-theme="light"] .site-footer .grid-texture { opacity: .1; filter: invert(1); }

html[data-theme="light"] .section h2 span { color: #28465e; }
html[data-theme="light"] .section-heading > small { color: #4c5d70; }

/* Hizmet kartları ---------------------------------------------------------- */

html[data-theme="light"] .service-card {
  border-color: rgba(17, 32, 54, .16);
  background: linear-gradient(150deg, #ffffff, #e7edf0);
  color: var(--text);
  box-shadow: 0 18px 32px rgba(24, 42, 61, .07);
}
html[data-theme="light"] .service-card:hover,
html[data-theme="light"] .service-card.is-active {
  border-color: #c98f00;
  background: linear-gradient(150deg, #fff1c9, #eaf1f3);
}
html[data-theme="light"] .service-card > span { color: #5d7186; }
html[data-theme="light"] .service-card em { color: #294159; }
html[data-theme="light"] .is-active em { color: #8a5600; }
html[data-theme="light"] .round-icon { background: #dbe5ea; color: #8a5600; }
html[data-theme="light"] .is-active .round-icon { background: var(--amber); color: #12243a; }

/* Mini galeri -------------------------------------------------------------- */

html[data-theme="light"] .mini-gallery-head p { color: #4c5d70; }
html[data-theme="light"] .mini-gallery-head button { color: #18304b; }

/* Talep konsolu ------------------------------------------------------------ */

html[data-theme="light"] .request-console {
  border-color: rgba(17, 32, 54, .15);
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 26px 64px rgba(24, 42, 61, .12);
}
html[data-theme="light"] .console-head,
html[data-theme="light"] .console-foot { border-color: rgba(17, 32, 54, .12); background: #f3f5f3; }
html[data-theme="light"] .console-orb { background: #fff1c9; color: #8a5600; }
html[data-theme="light"] .console-body { background: #fff; }
html[data-theme="light"] .console-readout { border-color: rgba(180, 127, 0, .35); color: #5d7186; }
html[data-theme="light"] .form-row { border-color: rgba(17, 32, 54, .1); }
html[data-theme="light"] .input-line {
  border-color: rgba(17, 32, 54, .16);
  background: #f4f6f5;
}
html[data-theme="light"] .input-line input { color: #12243a; }
html[data-theme="light"] .input-line input::placeholder { color: #67788a; }
html[data-theme="light"] .input-line button { border-color: rgba(17, 32, 54, .13); }
html[data-theme="light"] .map-link { color: #1d5f95; text-decoration-color: rgba(29, 95, 149, .4); }
html[data-theme="light"] .map-link:hover { color: #8a5600; }
html[data-theme="light"] .vehicle { border-color: rgba(17, 32, 54, .16); color: #4c5d70; }
html[data-theme="light"] .vehicle:hover,
html[data-theme="light"] .vehicle.is-active { background: #fff1c9; color: #7a4c00; border-color: #c98f00; }
html[data-theme="light"] .selected-service { background: #fff7e1; color: #132641; }
html[data-theme="light"] .selected-service small { color: #5d7186; }
html[data-theme="light"] .trust { color: #4c5d70; }
html[data-theme="light"] .console-head > em { color: #4c5d70; }

html[data-theme="light"] .contact-section { background: #f5f1e9; }
html[data-theme="light"] .contact-fact-icon {
  border-color: rgba(17, 32, 54, .14);
  background: #fff;
  color: #8a5600;
}
html[data-theme="light"] .contact-facts > div:not(.contact-readout) { border-color: rgba(17, 32, 54, .12); }
html[data-theme="light"] .contact-pills a {
  border-color: rgba(17, 32, 54, .14);
  background: #fff;
  color: #1a314a;
}
html[data-theme="light"] .contact-index { border-color: rgba(17, 32, 54, .12); }

/* Blog --------------------------------------------------------------------- */

html[data-theme="light"] .blog-section { background: #e7eceb; color: var(--text); }
html[data-theme="light"] .featured-post {
  background: linear-gradient(135deg, #ffffff 0%, #e3e9e8 100%);
  box-shadow: inset 0 0 0 1px rgba(17, 32, 54, .14);
}
html[data-theme="light"] .featured-post.has-photo h3 { color: #fff; }
html[data-theme="light"] .featured-post.has-photo p { color: #d5e0ea; }
html[data-theme="light"] .featured-post.has-photo .post-route,
html[data-theme="light"] .featured-post.has-photo div > span { color: var(--amber); }
html[data-theme="light"] .featured-post.has-photo:before {
  border: 0;
  box-shadow: none;
  background: linear-gradient(180deg, rgba(7, 17, 31, .18) 0%, rgba(7, 17, 31, .92) 78%);
}
html[data-theme="light"] .featured-post h3 { color: #122640; }
html[data-theme="light"] .featured-post p { color: #55697b; }
html[data-theme="light"] .post-route,
html[data-theme="light"] .featured-post div > span { color: #8a5600; }
html[data-theme="light"] .post-card { border-color: rgba(17, 32, 54, .16); background: #f7f8f5; }
html[data-theme="light"] .post-card:hover { border-color: #c98f00; background: #fff8e4; }
html[data-theme="light"] .post-card h3 { color: #122640; }
html[data-theme="light"] .post-card p,
html[data-theme="light"] .post-card > span { color: #4c5d70; }
html[data-theme="light"] .blog-footer { border-color: rgba(17, 32, 54, .15); color: #4c5d70; }

/* SSS ---------------------------------------------------------------------- */

html[data-theme="light"] .faq-section { background: #f5f1e9; color: var(--text); }
html[data-theme="light"] .faq-list,
html[data-theme="light"] .faq-item { border-color: rgba(17, 32, 54, .15); }
html[data-theme="light"] .faq-item > button { color: #132641; }
html[data-theme="light"] .faq-item > button:hover > b,
html[data-theme="light"] .faq-item.is-open > button > b { color: #8a5600; }
html[data-theme="light"] .faq-item > div > .faq-body { color: #4c5d70; }
html[data-theme="light"] .faq-wheel { --wheel-tire: #4d5a64; --wheel-rim: #d7e0e4; color: #203b53; }
html[data-theme="light"] .faq-item.is-open .faq-wheel { --wheel-tire: #645b49; color: #a37000; }

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

html[data-theme="light"] .site-footer {
  border-color: rgba(17, 32, 54, .14);
  background: #e2e7e5;
  color: var(--text);
}
html[data-theme="light"] .site-footer h2 span { color: #29455c; }
html[data-theme="light"] .footer-phone { color: #112944; }
html[data-theme="light"] .footer-phone:hover { color: #8a5600; }
html[data-theme="light"] .footer-grid > div:last-child > p,
html[data-theme="light"] .footer-bottom { color: #4c5d70; }
html[data-theme="light"] .socials a { border-color: rgba(17, 32, 54, .18); color: #213a50; }
html[data-theme="light"] .socials a:hover { color: #12243a; }
html[data-theme="light"] .footer-bottom { border-color: rgba(17, 32, 54, .14); }
html[data-theme="light"] .footer-bottom a:hover { color: #8a5600; }

/* Yardımcı katmanlar ------------------------------------------------------- */

html[data-theme="light"] .toast { background: #132b46; color: #fff; }
html[data-theme="light"] .skip-link { background: #fff; color: #8a5600; border-color: #8a5600; }

@media (max-width: 900px) {
  .mobile-theme-toggle { display: inline-flex; }
  .footer-theme-toggle { margin-left: 0; justify-self: start; }
  html[data-theme="light"] .mobile-nav { background: #f7f5ef; border-color: rgba(17, 32, 54, .16); }
  html[data-theme="light"] .mobile-nav a:not(.button) { color: #1a314a; }
  html[data-theme="light"] .mobile-theme-toggle {
    border-color: rgba(17, 32, 54, .16);
    background: #e9efef;
    color: #1b3249;
  }
}
