/* Örnek esnaf siteleri — ortak temel + 3 tema. Renk ve yazı tipleri config.js'ten :root değişkeni olarak gelir. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--f-govde);
  font-size: 1.0625rem;
  line-height: 1.6;
  background: var(--zemin);
  color: var(--yazi);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  padding-bottom: 76px;
}
@media (min-width: 860px) { body { padding-bottom: 0; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--vurgu); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--f-baslik); line-height: 1.1; }

.w { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 860px) { .w { padding: 0 32px; } }

/* Butonlar */
.b {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: 0 1.25rem;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; transition: transform .15s, filter .15s;
}
.b:hover { filter: brightness(1.08); }
.b:active { transform: translateY(1px); }
.b-buyuk { min-height: 56px; padding: 0 1.6rem; font-size: 1.08rem; }
.b-ana { background: var(--vurgu); color: var(--vurgu-yazi); }
.b-wa { background: #0d7a3e; color: #fff; }
.b-cizgi { border-color: currentColor; background: transparent; color: inherit; }

/* Üst bilgi çubuğu (yalnızca masaüstü) */
.ust-bilgi { display: none; font-size: .85rem; background: var(--ikincil); color: var(--ikincil-yazi); }
.ust-bilgi-in { display: flex; gap: 2rem; min-height: 36px; align-items: center; }
.ust-bilgi span { display: inline-flex; align-items: center; gap: .4rem; opacity: .9; }
@media (min-width: 860px) { .ust-bilgi { display: block; } }

/* Header */
.ust { position: sticky; top: 0; z-index: 30; background: var(--zemin); border-bottom: 1px solid var(--cizgi); }
.ust-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--f-baslik); font-weight: 700; font-size: 1.15rem; text-decoration: none; letter-spacing: -.01em; }
.logo-isaret {
  display: inline-grid; place-items: center; width: 38px; height: 38px; flex: none;
  background: var(--vurgu); color: var(--vurgu-yazi); font-size: .95rem; font-weight: 800; letter-spacing: 0;
}
.menu { display: none; gap: 1.75rem; }
.menu a { text-decoration: none; font-weight: 600; font-size: .98rem; }
.menu a:hover { color: var(--vurgu); }
.ust-tel { display: none; }
@media (min-width: 860px) {
  .ust-in { min-height: 76px; }
  .menu { display: flex; }
  .ust-tel { display: inline-flex; min-height: 46px; }
}

/* Berto Digital etiketi */
.bd-etiket {
  position: absolute; top: 72px; right: 8px; z-index: 20;
  font: 500 11px/1 system-ui, -apple-system, 'Segoe UI', sans-serif;
  padding: 6px 9px; border-radius: 4px;
  background: rgba(10, 10, 10, .8); color: #fff; text-decoration: none;
}
.bd-etiket:hover { background: #000; }
@media (min-width: 860px) { .bd-etiket { top: 122px; } }

/* Hero (temel) */
.hero { position: relative; padding: 48px 0 56px; }
.hero-in { position: relative; display: grid; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 1.4rem + 5vw, 4.75rem); letter-spacing: -.02em; max-width: 15ch; }
.hero-alt { margin-top: 1.1rem; font-size: 1.15rem; max-width: 34rem; }
.hero-btn { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.75rem; }
.hero-bilgi { margin-top: 1.5rem; display: grid; gap: .5rem; font-size: .98rem; }
.hero-bilgi li, .adres { display: flex; align-items: center; gap: .55rem; }
.hero-bilgi svg, .adres svg { flex: none; }
.hero-foto img { width: 100%; height: 100%; object-fit: cover; }

/* Güven şeridi */
.serit { background: var(--yuzey); border-bottom: 1px solid var(--cizgi); }
.serit-in { display: grid; gap: .75rem; padding-block: 18px; }
.serit p { display: flex; align-items: center; gap: .6rem; font-weight: 700; }
.serit svg { flex: none; color: var(--vurgu); }
@media (min-width: 760px) { .serit-in { grid-template-columns: repeat(3, auto); justify-content: space-between; padding-block: 22px; } }

/* Bölümler */
.bol { padding: 64px 0; }
@media (min-width: 860px) { .bol { padding: 96px 0; } }
.bol h2 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem); letter-spacing: -.015em; max-width: 22ch; }
.bol-giris { margin-top: .85rem; color: var(--soluk); max-width: 38rem; }
.bol-bas { margin-bottom: 36px; }
@media (min-width: 860px) { .bol-bas { display: flex; justify-content: space-between; align-items: end; gap: 3rem; } .bol-bas .bol-giris { margin-top: 0; text-align: right; } }

.hiz-liste { display: grid; }
.hiz-liste h3 { font-size: 1.3rem; }
.hiz-liste p { color: var(--soluk); margin-top: .35rem; }
@media (min-width: 700px) { .hiz-liste { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .hiz-liste { grid-template-columns: repeat(3, 1fr); } }

.neden-liste { margin-top: 36px; display: grid; gap: 28px; }
.neden-liste h3 { font-size: 1.3rem; }
.neden-liste p { margin-top: .4rem; opacity: .85; }
@media (min-width: 860px) { .neden-liste { grid-template-columns: repeat(3, 1fr); gap: 36px; } }

.bolge-in { display: grid; gap: 28px; }
.bolge-liste { display: flex; flex-wrap: wrap; gap: 10px; align-content: start; }
.bolge-liste li { padding: .5rem 1rem; border: 2px solid var(--cizgi); font-weight: 600; }
@media (min-width: 860px) { .bolge-in { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* Galeri */
.gal-izgara { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gal-oge { overflow: hidden; background: var(--yuzey); aspect-ratio: 1; }
.gal-oge img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gal-oge:hover img { transform: scale(1.03); }
.gal-bos { display: grid; place-items: center; padding: 12px; text-align: center; border: 2px dashed var(--cizgi); }
.gal-bos figcaption { font-size: .9rem; color: var(--soluk); }
@media (min-width: 860px) { .gal-izgara { grid-template-columns: repeat(4, 1fr); gap: 14px; } }

.os { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.os figure { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.os img { width: 100%; height: 100%; object-fit: cover; }
.os figcaption {
  position: absolute; left: 12px; top: 12px; padding: .25rem .8rem; font-weight: 700; font-size: .9rem;
  background: var(--zemin); color: var(--yazi);
}
.os figure + figure figcaption { background: var(--vurgu); color: var(--vurgu-yazi); }
@media (min-width: 860px) { .os { gap: 14px; } .os figure { aspect-ratio: 16 / 10; } }

/* Yorumlar */
.yorum-kutu {
  margin-top: 28px; padding: 32px 24px; border: 1px solid var(--cizgi); background: var(--yuzey);
  display: grid; gap: 16px; justify-items: start;
}
.yildizlar { display: flex; gap: 4px; color: var(--vurgu); }
.yorum-kutu p { font-size: 1.15rem; color: var(--soluk); }

/* Harita */
.harita-in { display: grid; gap: 28px; align-items: start; }
.harita-in .adres { margin-top: 1rem; }
.harita-in .b { margin-top: 1.5rem; }
.harita-kutu {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--cizgi);
  display: grid; place-items: center; gap: 12px; align-content: center;
  background-color: var(--yuzey);
  background-image:
    linear-gradient(var(--cizgi) 1px, transparent 1px),
    linear-gradient(90deg, var(--cizgi) 1px, transparent 1px);
  background-size: 48px 48px;
}
.harita-pin { color: var(--vurgu); transform: scale(2.2); }
.harita-kutu .b { background: var(--zemin); }
.harita-kutu iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (min-width: 860px) { .harita-in { grid-template-columns: 1fr 1.4fr; gap: 56px; } .harita-kutu { aspect-ratio: 16 / 10; } }

/* İletişim */
.iletisim-in { display: grid; gap: 24px; }
@media (min-width: 860px) { .iletisim-in { grid-template-columns: 1fr 1fr; align-items: end; gap: 56px; } }
.tel-buyuk {
  display: inline-block;
  font-family: var(--f-baslik); font-weight: 700;
  font-size: clamp(2rem, 1.2rem + 4vw, 3.5rem); text-decoration: none; letter-spacing: -.01em;
}
.eposta { margin-top: 1rem; }

/* Footer */
.alt { padding: 48px 0 28px; border-top: 1px solid var(--cizgi); font-size: .95rem; color: var(--soluk); }
.alt-izgara { display: grid; gap: 28px; }
.alt-izgara p + p { margin-top: .35rem; }
.alt-ad { font-family: var(--f-baslik); font-weight: 700; font-size: 1.2rem; color: var(--yazi); }
.alt-bas { font-weight: 700; color: var(--yazi); }
.alt-not { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--cizgi); font-size: .82rem; }
@media (min-width: 860px) { .alt-izgara { grid-template-columns: 2fr 1fr 1fr; gap: 48px; } }

/* Mobil sabit Ara / WhatsApp */
.sabit-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: var(--zemin); border-top: 1px solid var(--cizgi);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, .1);
}
.sabit-bar .b { min-height: 52px; font-size: 1.05rem; }
@media (min-width: 860px) { .sabit-bar { display: none; } }

/* =============== TEMA: BLOK (nakliyat) — lacivert/sarı, iri ve sert =============== */
.tema-blok h1, .tema-blok h2 { text-transform: uppercase; font-weight: 800; letter-spacing: -.005em; line-height: .95; }
.tema-blok h3 { font-weight: 600; text-transform: uppercase; letter-spacing: .01em; font-size: 1.4rem; }
.tema-blok .ust { background: var(--ikincil); color: var(--ikincil-yazi); border-bottom: 0; }
.tema-blok .ust-bilgi { background: #0a1422; }
.tema-blok .logo { text-transform: uppercase; font-weight: 800; font-size: 1.35rem; letter-spacing: .01em; }
.tema-blok .hero-fotolu { color: #fff; padding: 56px 0 0; background: var(--ikincil); }
.tema-blok .hero-foto { position: absolute; inset: 0; }
.tema-blok .hero-foto::after { content: ''; position: absolute; inset: 0; background: rgba(12, 22, 38, .72); }
.tema-blok .hero h1 { font-size: clamp(3rem, 1.6rem + 7vw, 6.5rem); max-width: 11ch; }
.tema-blok .hero h1::first-line { color: var(--vurgu); }
.tema-blok .hero-alt { color: #e6ebf2; }
.tema-blok .hero-bilgi { color: #dbe2ec; }
.tema-blok .hero-bilgi svg { color: var(--vurgu); }
.tema-blok .yan-liste {
  background: var(--vurgu); color: var(--ikincil); padding: 24px; margin-bottom: -40px;
}
.tema-blok .yan-baslik { font-family: var(--f-baslik); font-weight: 800; text-transform: uppercase; font-size: 1.6rem; line-height: 1; }
.tema-blok .yan-liste ul { margin-top: 16px; display: grid; gap: 10px; }
.tema-blok .yan-liste li { padding-left: 26px; position: relative; font-weight: 600; }
.tema-blok .yan-liste li::before { content: ''; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; background: var(--ikincil); }
.tema-blok .yan-tel {
  margin-top: 18px; display: inline-flex; align-items: center; gap: .5rem; text-decoration: none;
  font-family: var(--f-baslik); font-weight: 800; font-size: 1.6rem;
}
.tema-blok .serit { padding-top: 40px; background: var(--zemin); }
.tema-blok .serit p { text-transform: uppercase; font-family: var(--f-baslik); font-size: 1.15rem; letter-spacing: .01em; }
.tema-blok .serit svg { color: var(--ikincil); background: var(--vurgu); }
.tema-blok .hizmetler { background: var(--ikincil); color: var(--ikincil-yazi); }
.tema-blok .hizmetler .bol-giris { color: #c9d1dc; }
.tema-blok .hiz-liste { gap: 0 32px; }
.tema-blok .hizmetler li { border-top: 4px solid var(--vurgu); padding: 18px 0 28px; }
.tema-blok .hizmetler p { color: #c9d1dc; }
.tema-blok .neden-liste li { padding-left: 56px; position: relative; }
.tema-blok .neden-liste li::before {
  content: '✓'; position: absolute; left: 0; top: 0; width: 40px; height: 40px;
  display: grid; place-items: center; background: var(--vurgu); color: var(--ikincil); font-weight: 800; font-size: 1.3rem;
}
.tema-blok .bolgeler { background: var(--yuzey); }
.tema-blok .bolge-liste li { border-color: var(--ikincil); text-transform: uppercase; font-family: var(--f-baslik); font-size: 1.15rem; padding: .35rem .9rem; }
@media (min-width: 860px) {
  .tema-blok .hero-fotolu { padding-top: 96px; }
  .tema-blok .hero-in { grid-template-columns: 1.5fr 1fr; align-items: end; }
  .tema-blok .yan-liste { padding: 32px; margin-bottom: -56px; }
  .tema-blok .serit { padding-top: 72px; }
  .tema-blok .gal-izgara { grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 260px; }
  .tema-blok .gal-oge { aspect-ratio: auto; }
  .tema-blok .gal-oge:first-child { grid-row: span 2; }
  .tema-blok .gal-oge:nth-child(4) { grid-column: span 2; }
}
.tema-blok .iletisim { background: var(--ikincil); color: var(--ikincil-yazi); }
.tema-blok .iletisim .bol-giris { color: #c9d1dc; }
.tema-blok .tel-buyuk { color: var(--vurgu); font-weight: 800; }
.tema-blok .b-cizgi { border-width: 3px; }
.tema-blok .alt { background: #0a1422; color: #aab5c4; border-top: 0; }
.tema-blok .alt-ad, .tema-blok .alt-bas { color: #fff; }
.tema-blok .alt-not { border-color: #22324a; }

/* =============== TEMA: SICAK (tadilat) — krem, serif, yumuşak köşeler =============== */
.tema-sicak .b { border-radius: 999px; }
.tema-sicak h1, .tema-sicak h2 { font-weight: 500; letter-spacing: -.02em; }
.tema-sicak h3 { font-weight: 600; }
.tema-sicak .logo { font-weight: 600; }
.tema-sicak .logo-isaret { border-radius: 50%; font-family: var(--f-baslik); font-weight: 600; }
.tema-sicak .hero { padding: 40px 0 64px; }
.tema-sicak .hero-in { grid-template-columns: 1fr; }
.tema-sicak .hero-alt { color: var(--soluk); }
.tema-sicak .hero-bilgi { color: var(--soluk); }
.tema-sicak .hero-bilgi svg { color: var(--vurgu); }
.tema-sicak .hero h1 { font-size: clamp(2.5rem, 1.5rem + 4.6vw, 4.6rem); }
.tema-sicak .hero-foto { margin: 0 20px 28px; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; }
@media (min-width: 900px) {
  .tema-sicak .hero { padding: 72px 0 96px; }
  .tema-sicak .hero-foto {
    position: absolute; right: max(32px, calc((100vw - 1180px) / 2 + 32px)); top: 48px; bottom: 48px;
    width: min(42vw, 500px); margin: 0; aspect-ratio: auto;
  }
  .tema-sicak .hero-metin { max-width: 52%; min-height: 460px; display: flex; flex-direction: column; justify-content: center; }
}
.tema-sicak .serit { background: var(--ikincil); color: var(--ikincil-yazi); border: 0; }
.tema-sicak .serit p { font-weight: 600; }
.tema-sicak .serit svg { color: #e9c9a8; }
.tema-sicak .hizmetler { background: var(--yuzey); }
.tema-sicak .hiz-liste { gap: 0 40px; }
.tema-sicak .hiz-liste li { padding: 20px 0 20px 26px; border-bottom: 1px solid var(--cizgi); position: relative; }
.tema-sicak .hiz-liste li::before { content: ''; position: absolute; left: 0; top: 30px; width: 10px; height: 10px; border-radius: 50%; background: var(--vurgu); }
.tema-sicak .os figure, .tema-sicak .gal-oge { border-radius: 16px; }
.tema-sicak .os figcaption { border-radius: 999px; }
@media (min-width: 860px) {
  .tema-sicak .gal-izgara { grid-template-columns: repeat(3, 1fr); }
  .tema-sicak .gal-oge { aspect-ratio: 4 / 3; }
}
.tema-sicak .neden { background: var(--ikincil); color: var(--ikincil-yazi); }
.tema-sicak .neden h3 { font-family: var(--f-baslik); font-weight: 500; font-size: 1.6rem; font-style: italic; }
.tema-sicak .yorum-kutu, .tema-sicak .harita-kutu { border-radius: 18px; }
.tema-sicak .bolge-liste li { border-radius: 999px; border-width: 1px; border-color: var(--soluk); font-weight: 600; }
.tema-sicak .iletisim { background: var(--vurgu); color: var(--vurgu-yazi); }
.tema-sicak .iletisim .bol-giris { color: #fff; }
.tema-sicak .iletisim .b-ana { background: var(--zemin); color: var(--yazi); }
.tema-sicak .bd-etiket { border-radius: 999px; }

/* =============== TEMA: PARLAK (oto detailing) — koyu, keskin, neon vurgu =============== */
.tema-parlak .b { border-radius: 6px; }
.tema-parlak h1, .tema-parlak h2 { font-weight: 700; letter-spacing: -.035em; }
.tema-parlak .logo { font-weight: 700; letter-spacing: -.03em; }
.tema-parlak .logo-isaret { border-radius: 8px; }
.tema-parlak .ust { background: rgba(11, 12, 14, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tema-parlak .ust-bilgi { background: #000; color: var(--soluk); }
.tema-parlak .hero-fotolu { min-height: 78svh; display: flex; align-items: flex-end; padding: 120px 0 64px; }
.tema-parlak .hero-foto { position: absolute; inset: 0; }
.tema-parlak .hero-foto img { object-position: center 60%; }
.tema-parlak .hero-foto::after { content: ''; position: absolute; inset: 0; background: rgba(8, 9, 11, .55); }
.tema-parlak .hero-in { grid-template-columns: 1fr; width: 100%; }
.tema-parlak .hero h1 { font-size: clamp(2.8rem, 1.2rem + 7.4vw, 7rem); max-width: 12ch; line-height: .98; }
.tema-parlak .hero h1::after { content: ''; display: block; width: 88px; height: 6px; margin-top: 24px; background: var(--vurgu); }
.tema-parlak .hero-alt { font-size: 1.2rem; color: #d5d8de; }
.tema-parlak .hero-bilgi { color: #c2c6ce; }
.tema-parlak .hero-bilgi svg { color: var(--vurgu); }
@media (min-width: 860px) {
  .tema-parlak .hero-fotolu { min-height: 86svh; padding-bottom: 96px; }
  .tema-parlak .hero-bilgi { grid-auto-flow: column; justify-content: start; gap: 2rem; }
}
.tema-parlak .serit { background: var(--zemin); }
.tema-parlak .serit p { font-weight: 600; }
.tema-parlak .hiz-liste { grid-template-columns: 1fr; border-top: 1px solid var(--cizgi); }
.tema-parlak .hiz-liste li { display: grid; gap: .35rem; padding: 22px 0; border-bottom: 1px solid var(--cizgi); }
.tema-parlak .hiz-liste h3 { font-size: 1.45rem; letter-spacing: -.02em; }
@media (min-width: 860px) {
  .tema-parlak .hiz-liste li { grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: baseline; }
  .tema-parlak .hiz-liste li:hover h3 { color: var(--vurgu); }
}
.tema-parlak .gal-oge { border-radius: 6px; }
@media (min-width: 860px) {
  .tema-parlak .gal-izgara { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; }
  .tema-parlak .gal-oge { aspect-ratio: auto; }
  .tema-parlak .gal-oge:first-child { grid-column: span 2; grid-row: span 2; }
}
.tema-parlak .neden { background: var(--yuzey); }
.tema-parlak .neden-liste li { border-left: 3px solid var(--vurgu); padding-left: 18px; }
.tema-parlak .bolge-liste li { border-width: 1px; border-radius: 6px; color: var(--soluk); }
.tema-parlak .tel-buyuk:hover { color: var(--vurgu); }
.tema-parlak .sabit-bar { box-shadow: none; }
.tema-parlak .bd-etiket { background: rgba(255, 255, 255, .14); }
