/* ==========================================================
   Betty'nin Tabağı — ana stil dosyası
   Renkler ve yazı tipi :root içindedir; tek yerden değiştirilebilir.
   Kontrast notu: Beyaz metinli butonlar (#0E6B5C) normal boyutta
   bile WCAG AA'yı geçer (~6:1). Koyu zemin üzerindeki sarı vurgu
   (#FFC857) yüksek kontrast verir.
   ========================================================== */

:root {
  --brand: #0E6B5C;          /* ana renk, butonlar */
  --brand-deep: #0A5246;     /* buton hover, metin bağlantıları */
  --accent: #FF6B4A;         /* sıcak vurgu (dekoratif, büyük alanlar) */
  --sun: #FFC857;            /* koyu zeminde vurgu */
  --bg: #FAF8F4;             /* sayfa arka planı */
  --sand: #F1ECE2;           /* ikincil bölüm arka planı */
  --surface: #FFFFFF;        /* kartlar */
  --ink: #1F3A36;            /* metin, koyu bant (koyu orman yeşili, AA üstü kontrast) */
  --ink-soft: #4F5A64;       /* ikincil metin */
  --line: #E4DED2;           /* ince çizgiler */
  --wa: #1D6B43;             /* WhatsApp butonu */
  --radius: 14px;
  --max: 1120px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  padding-bottom: 92px; /* mobil sabit çubuk için boşluk */
}
@media (min-width: 768px) { body { padding-bottom: 0; } }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
}
h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

a { color: var(--brand-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--surface); color: var(--ink); padding: 10px 16px;
  border-radius: var(--radius); font-weight: 600;
}
.skip-link:focus { top: 12px; }

.wrap { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.section { padding: 56px 0; }
.section--white { background: var(--surface); border-block: 1px solid var(--line); }
.section--sand { background: var(--sand); }
@media (min-width: 768px) { .section { padding: 88px 0; } }

.eyebrow {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--brand-deep); margin: 0 0 10px;
}
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }
.section-head { max-width: 680px; margin-bottom: 32px; }
.section-head p { color: var(--ink-soft); }
.ico { width: 20px; height: 20px; flex-shrink: 0; fill: currentColor; }
@media (max-width: 389px) { .hide-xs { display: none; } }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px;
  border: 2px solid transparent; border-radius: var(--radius);
  font: 700 1.1875rem/1.2 var(--font); text-decoration: none; text-align: center;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: var(--surface); }
.btn-primary:hover { background: var(--brand-deep); color: var(--surface); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--surface); }
.btn-wa { background: var(--wa); color: var(--surface); }
.btn-wa:hover { background: #15533A; color: var(--surface); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn-row .btn { flex: 1 1 220px; }

/* ---------- Üst menü ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 12px; min-height: 72px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none; margin-right: auto;
}
.brand:hover { color: var(--ink); }
.brand img { width: 40px; height: 48px; }
.brand-text { font-weight: 800; font-size: 1rem; line-height: 1.1; letter-spacing: -0.02em; }
.header-cta { min-height: 48px; padding: 10px 16px; white-space: nowrap; }

.nav-toggle {
  position: relative; flex-shrink: 0;
  width: 48px; height: 48px;
  background: transparent; border: 2px solid var(--ink); border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle .bars {
  position: absolute; left: 13px; top: 50%; width: 20px; height: 2px; margin-top: -1px;
  background: var(--ink); border-radius: 2px;
  transition: background-color .2s ease;
}
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .2s ease, top .2s ease;
}
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.nav-open .nav-toggle .bars { background: transparent; }
.nav-open .nav-toggle .bars::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle .bars::after { top: 0; transform: rotate(-45deg); }

.site-nav { margin-left: 0; }
.nav-list {
  display: none; list-style: none; margin: 0;
  position: absolute; top: 100%; left: 0; right: 0;
  flex-direction: column; padding: 8px 16px 16px;
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.nav-open .nav-list { display: flex; }
.nav-list a {
  display: flex; align-items: center; min-height: 48px; padding: 0 12px;
  border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600;
}
.nav-list a:hover { background: var(--sand); }
.nav-list a[aria-current="page"] { background: var(--sand); color: var(--brand-deep); }

@media (min-width: 1024px) {
  .brand { margin-right: 0; }
  .nav-toggle { display: none; }
  .site-nav { margin-left: auto; }
  .nav-list {
    display: flex; position: static; flex-direction: row; gap: 4px;
    padding: 0; background: none; border: 0;
  }
  .nav-list a { min-height: 44px; }
}

/* ---------- Ana sayfa: tam ekran hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 560px;
  height: calc(100vh - 72px);        /* sticky başlık (72px) hariç ekran */
  height: calc(100svh - 72px);
  background: var(--ink); color: var(--surface);
}
.hero-photo {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%;
}
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(31,58,54,.92) 0%, rgba(31,58,54,.6) 55%, rgba(31,58,54,.25) 100%);
}
.hero-body { margin-top: auto; padding-top: 120px; padding-bottom: 112px; } /* alt: mobil sabit çubuk için boşluk */
.hero-body > * { max-width: 34rem; }
.hero h1 { color: var(--surface); }
.hero .lead { color: #EDE8DE; }
.hero .eyebrow { color: var(--sun); }
.hero .btn-row { margin-top: 24px; }
.btn-light { background: var(--surface); color: var(--ink); }
.btn-light:hover { background: var(--sand); color: var(--ink); }
@media (min-width: 768px) {
  .hero-shade { background: linear-gradient(90deg, rgba(31,58,54,.9) 0%, rgba(31,58,54,.62) 45%, rgba(31,58,54,.08) 100%); }
  .hero-photo { object-position: 70% 50%; }
  .hero-body { margin-block: auto; margin-left: 24px; margin-right: auto; width: min(100% - 48px, var(--max)); padding-top: 48px; padding-bottom: 48px; }
}

/* ---------- Örnek menü (4'lü, eşit boyut) ---------- */
.sample-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .sample-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.sample-grid figure { margin: 0; }
.sample-grid img {
  width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius);
}
.sample-grid figcaption {
  margin-top: 12px; text-align: center; font-size: 0.85rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink);
}
.sample-note { margin: 24px 0 0; font-size: 0.95rem; color: var(--ink-soft); text-align: center; }

/* ---------- Fotoğraf yer tutucusu ---------- */
.ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 20px; background: #ECE7DC;
  border: 1.5px dashed #BFB6A3; border-radius: var(--radius);
  color: #3D3831; font-size: 0.92rem; line-height: 1.5;
}
.ph strong { display: block; font-size: 1.05rem; font-weight: 800; margin-bottom: 4px; }

/* ---------- Güven şeridi ---------- */
.trust { padding: 40px 0 32px; }
@media (min-width: 768px) { .trust { padding-bottom: 56px; } }
.trust-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-item, .card, .step, .product, .info-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
}
.trust-item { border-top: 4px solid var(--sun); }
.trust-item h3 { font-size: 1.1rem; }
.trust-item p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }

/* ---------- Adımlar ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 24px; }
.step-num {
  display: block; font-size: 2.2rem; font-weight: 800; color: var(--brand);
  line-height: 1; margin-bottom: 10px;
}
.step h3 { font-size: 1.2rem; }
.step p { color: var(--ink-soft); margin: 0; }

/* ---------- Kartlar ---------- */
.cards { display: grid; gap: 16px; }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; gap: 12px; transition: border-color .2s ease, transform .2s ease; }
.card:hover { border-color: var(--brand); transform: translateY(-2px); }
.card p { color: var(--ink-soft); margin: 0; flex-grow: 1; }
.text-link {
  display: inline-flex; align-items: center; min-height: 44px; gap: 6px;
  font-weight: 700; text-decoration: none;
}
.text-link:hover { text-decoration: underline; }

/* ---------- Çağrı bandı ---------- */
.cta-band {
  background: var(--ink); color: var(--bg); border-radius: var(--radius);
  padding: 36px 24px; text-align: center;
}
.cta-band h2 { color: var(--surface); font-size: clamp(1.5rem, 4vw, 2.1rem); }
.cta-band p { color: #D5DBE0; margin-bottom: 12px; }
.cta-band .btn-row { justify-content: center; }
.phone-big {
  display: inline-block; min-height: 44px; padding: 4px 0;
  font-size: clamp(2rem, 8vw, 3.2rem); font-weight: 800; letter-spacing: -0.02em;
  line-height: 1.2; color: var(--sun); text-decoration: none;
}
.phone-big:hover { color: var(--surface); }

/* ---------- Sayfa başlığı (iç sayfalar) ---------- */
.page-hero { padding: 40px 0 24px; }
@media (min-width: 768px) { .page-hero { padding: 64px 0 40px; } }
.page-hero .lead { margin-bottom: 0; }

/* ---------- Ürünler ---------- */
.product-group + .product-group { margin-top: 40px; }
.product-group { scroll-margin-top: 96px; }
.product-group h2 { font-size: clamp(1.4rem, 3.5vw, 1.8rem); margin-bottom: 16px; }
.product-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 600px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
.product {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 64px; padding: 16px 20px; font-weight: 700; font-size: 1.05rem;
}
.product-note { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); }
.note-box {
  background: var(--sand); border-radius: var(--radius); padding: 24px;
  margin-top: 40px; display: flex; flex-direction: column; gap: 16px;
}
.note-box p { margin: 0; }
@media (min-width: 768px) {
  .note-box { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- Ürünler açılır menüsü ---------- */
.has-sub { position: relative; }
.has-sub > a { display: flex; align-items: center; gap: 6px; }
.chev { width: 16px; height: 16px; flex-shrink: 0; transition: transform .2s ease; }
.has-sub:hover > a .chev,
.has-sub:focus-within > a .chev { transform: rotate(180deg); }
.sub-list { list-style: none; margin: 0; padding: 0 0 4px 16px; }
.sub-list a {
  display: flex; align-items: center; min-height: 44px; padding: 0 12px;
  border-radius: 10px; color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 0.98rem;
}
.sub-list a:hover { background: var(--sand); color: var(--ink); }
@media (min-width: 1024px) {
  .sub-list {
    display: none; position: absolute; top: 100%; left: 0; min-width: 260px; padding: 8px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  }
  .has-sub:hover > .sub-list,
  .has-sub:focus-within > .sub-list { display: block; }
}

/* ---------- Fotoğraflar ---------- */
.product-group.has-photos { display: grid; gap: 20px; }
.product-group.has-photos h2 { grid-column: 1 / -1; margin-bottom: 0; }
.cat-photos { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.cat-photos img, .cat-photos .ph {
  width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); margin: 0;
}
.cat-photos .ph { display: flex; }
.cat-photos figure { margin: 0; }
.cat-photos figcaption { margin-top: 8px; font-weight: 700; font-size: 0.95rem; line-height: 1.35; color: var(--ink); }
@media (min-width: 900px) {
  .product-group.has-photos { grid-template-columns: 1fr 1fr; align-items: start; }
  .product-group.has-photos .product-grid { grid-template-columns: 1fr; }
}

/* ---------- Hizmetler ---------- */
.service { padding: 48px 0; border-top: 1px solid var(--line); }
.service-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .service-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.check-list { list-style: none; padding: 0; margin: 0 0 16px; }
.check-list li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 12px; height: 12px; border-radius: 4px; background: var(--accent);
}
.facts {
  margin: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.facts > div { padding: 16px 20px; border-top: 1px solid var(--line); }
.facts > div:first-child { border-top: 0; }
.facts dt {
  font-size: 0.76rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--ink-soft);
}
.facts dd { margin: 2px 0 0; font-weight: 600; }
.service .btn-row { margin-top: 20px; }

.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); margin-bottom: 10px;
}
.faq summary {
  cursor: pointer; list-style: none; min-height: 52px; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--brand-deep); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 20px 18px; color: var(--ink-soft); margin: 0; }

/* ---------- Hakkımızda ---------- */
.prose { max-width: 68ch; }
.prose p { font-size: 1.05rem; }
.gallery { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery figure { margin: 0; }
.gallery .ph { height: auto; aspect-ratio: 4 / 5; }
.gallery figcaption { font-size: 0.9rem; color: var(--ink-soft); margin-top: 6px; }
.gallery img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }

/* ---------- İletişim ---------- */
.contact-call {
  background: var(--ink); color: var(--bg); border-radius: var(--radius);
  padding: 32px 24px; text-align: center;
}
.contact-call p { color: #D5DBE0; margin-bottom: 4px; }
.contact-call .btn-row { justify-content: center; }
.contact-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.map {
  display: block; width: 100%; height: 320px; margin-top: 12px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #ECE7DC;
}

/* ---------- Alt bilgi ---------- */
.site-footer { background: var(--ink); color: #E7E3DB; padding: 48px 0 32px; }
.site-footer .brand { color: var(--surface); }
.site-footer .brand:hover { color: var(--surface); }
.site-footer p { color: #C5CBD1; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1.5fr; } }
.footer-title { color: var(--surface); font-weight: 800; font-size: 1.1rem; margin-bottom: 8px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a, .footer-links span {
  display: inline-flex; align-items: center; min-height: 40px;
  color: var(--sun); text-decoration: none;
}
.footer-links span { color: #E7E3DB; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom {
  margin: 32px 0 0; padding-top: 20px; border-top: 1px solid #2C3238;
  font-size: 0.9rem; color: #AEB6BE;
}

/* ---------- Mobil sabit çubuk ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: var(--surface); border-top: 1px solid var(--line);
}
.mobile-bar .btn { min-height: 52px; padding: 10px 12px; }
@media (min-width: 768px) { .mobile-bar { display: none; } }

/* ---------- Kaydırma animasyonu (hafif fade-in) ---------- */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
  .btn:hover, .card:hover { transform: none; }
  .js-reveal .reveal { opacity: 1; transform: none; }
}
