/* ------------------------------------------------------------------
 * Uzman Su Tesisatı — main.css
 * Palet: Güven Mavisi (WCAG AA uyumlu, mor yok)
 * ------------------------------------------------------------------ */

:root {
  --c-primary-dark: #0C2D48;
  --c-primary:      #143E66;
  --c-bg:           #F0F6FA;
  --c-surface:      #FFFFFF;
  --c-text:         #0F172A;
  --c-text-muted:   #546E7A;
  --c-border:       #DCE7EE;
  --c-accent:       #0077B6;
  --c-accent-hover: #023E8A;
  --c-success:      #2E7D32;
  --c-warning:      #ED6C02;
  --c-danger:       #B91C1C;
  --c-whatsapp:     #25D366;
  --c-whatsapp-h:   #1FBA58;

  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow:    0 4px 14px rgba(15, 23, 42, .08);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, .12);

  --container: 1200px;
  --header-h:  72px;

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--c-accent); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--c-accent-hover); }
h1, h2, h3, h4 { color: var(--c-primary-dark); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 1rem + .6vw, 1.5rem); }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select, button { font-family: inherit; font-size: 1rem; color: inherit; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 4rem 0; }
.section-sm { padding: 2.5rem 0; }
.section-lg { padding: 6rem 0; }
.text-center { text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -40px; left: 0; background: var(--c-primary-dark); color: #fff;
  padding: 8px 16px; z-index: 100; border-radius: 0 0 8px 0;
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .8rem 1.6rem; border-radius: var(--radius); font-weight: 600; text-decoration: none;
  border: 1px solid transparent; min-height: 48px;
  transition: background .15s ease, transform .1s ease, box-shadow .15s ease; cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--c-accent); color: #fff; }
.btn-primary:hover { background: var(--c-accent-hover); color: #fff; }
.btn-wa { background: var(--c-whatsapp); color: #083018; }
.btn-wa:hover { background: var(--c-whatsapp-h); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-outline { background: transparent; color: var(--c-primary-dark); border-color: var(--c-border); }
.btn-outline:hover { background: var(--c-bg); }
.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; min-height: 56px; }
.btn-sm { padding: .5rem 1rem; min-height: 40px; font-size: .9rem; }
.btn-danger { background: var(--c-danger); color: #fff; }
.btn-danger:hover { background: #7f1d1d; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--c-border);
}
.site-header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--c-primary-dark); font-weight: 700; text-decoration: none; }
.brand svg { width: 36px; height: 36px; flex-shrink: 0; }
.brand-logo {
  width: auto; height: 40px; max-width: 64px;
  object-fit: contain; display: block; flex-shrink: 0;
}
.brand-name { font-size: 1.1rem; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
@media (max-width: 380px) {
  .brand-logo { height: 34px; }
}
/* Footer — koyu arka plan: logo'ya beyaz parıltı yok, olduğu gibi bırak */
.site-footer .brand-logo { height: 44px; }
/* Admin login — büyük, ortalı */
.login-card .brand-logo { height: 56px; }
.login-card .brand { justify-content: center; }
/* Mobile menu — koyu arka plan */
.mobile-menu .brand-logo { height: 40px; }
/* Admin sidebar — kompakt */
.admin-sidebar .brand-logo { height: 34px; }

.nav-desktop { display: none; }
@media (min-width: 1024px) {
  .nav-desktop { display: flex; align-items: center; gap: 2rem; }
  .nav-desktop a { color: var(--c-text); font-weight: 500; }
  .nav-desktop a.active { color: var(--c-accent); }
  .nav-desktop a:hover { color: var(--c-accent); }
}

.nav-cta { display: flex; align-items: center; gap: .5rem; }
.nav-tel-btn { display: none; }
@media (min-width: 1024px) { .nav-tel-btn { display: inline-flex; } }

.hamburger {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--c-border); border-radius: 10px; color: var(--c-primary-dark);
}
@media (min-width: 1024px) { .hamburger { display: none; } }
@media (max-width: 380px) { .brand-name { display: none; } }

/* ---------- Mobile menu overlay ---------- */
.mobile-menu { position: fixed; inset: 0; background: var(--c-primary-dark); color: #fff; z-index: 60; transform: translateY(-100%); transition: transform .3s ease; overflow-y: auto; }
.mobile-menu[aria-hidden="false"] { transform: translateY(0); }
.mobile-menu-inner { padding: 2rem 1.25rem 3rem; display: flex; flex-direction: column; gap: 1.2rem; max-width: var(--container); margin: 0 auto; }
.mobile-menu .top-row { display: flex; justify-content: space-between; align-items: center; padding-top: .5rem; }
.mobile-menu .brand { color: #fff; }
.mobile-menu .close {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 10px;
}
.mobile-menu nav { display: flex; flex-direction: column; gap: .25rem; margin-top: 1rem; }
.mobile-menu nav a { color: #fff; padding: 1rem 0; font-size: 1.25rem; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-menu nav a:hover { color: #9cc8e2; }
.mobile-menu .cta-group { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
body.no-scroll { overflow: hidden; }

/* ---------- Hero ---------- */
/* Mobilde vh kullanmıyoruz — iOS Safari adres çubuğu değiştikçe vh değeri
   değişir ve layout shift olur. Sabit px + svh (modern) ile sabitliyoruz. */
.hero {
  position: relative;
  height: 600px;                   /* mobil: sabit yükseklik */
  color: #fff;
  background: linear-gradient(135deg, #0C2D48 0%, #143E66 50%, #0077B6 100%);
  overflow: hidden;
}
.hero-slides { position: relative; z-index: 1; height: 100%; }
.hero-slide {
  display: none;
  position: absolute; inset: 0;    /* tüm slide'lar aynı alan */
  background-size: cover; background-position: center;
}
.hero-slide.is-active { display: block; }
.hero-slide::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(12,45,72,.92) 0%, rgba(12,45,72,.7) 45%, rgba(20,62,102,.35) 100%);
}
.hero-slide-inner {
  position: relative; z-index: 2;
  display: flex; align-items: center;
  height: 100%;
  padding: 3rem 0 3.5rem;          /* mobil için daha kompakt */
}

@media (min-width: 768px) {
  .hero { height: 80vh; min-height: 600px; max-height: 780px; }
  .hero-slide-inner { padding: 5rem 0 4rem; }
}
/* Modern tarayıcılar — iOS adres çubuğu hareketinden bağımsız */
@supports (height: 100svh) {
  @media (min-width: 768px) {
    .hero { height: 80svh; }
  }
}
.hero-slide .container { width: 100%; }
.hero-eyebrow { display: inline-block; padding: .35rem 1rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.25rem; }
.hero h1 { color: #fff; max-width: 820px; text-shadow: 0 2px 16px rgba(0,0,0,.3); }
.hero h1 .accent { color: #78C7E5; }
.hero-sub { font-size: clamp(1rem, .95rem + .3vw, 1.25rem); max-width: 640px; opacity: .95; margin-bottom: 1.25rem; text-shadow: 0 2px 8px rgba(0,0,0,.2); }
.hero-cta-row { display: none; flex-wrap: wrap; gap: .6rem; }
@media (min-width: 768px) { .hero-cta-row { display: flex; gap: .8rem; } }
.hero-trust { display: flex; gap: 1.5rem; margin-top: 1.5rem; flex-wrap: wrap; }
.hero-trust .stat { min-width: 70px; }
.hero-trust .num { font-size: 1.5rem; font-weight: 800; line-height: 1; color: #fff; }
.hero-trust .lbl { font-size: .72rem; opacity: .8; margin-top: .3rem; }

@media (min-width: 768px) {
  .hero-sub { margin-bottom: 2rem; }
  .hero-trust { gap: 2.5rem; margin-top: 3rem; }
  .hero-trust .stat { min-width: 90px; }
  .hero-trust .num { font-size: 2.25rem; }
  .hero-trust .lbl { font-size: .85rem; margin-top: .4rem; }
}

.hero-dots { position: absolute; bottom: 1rem; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: .5rem; pointer-events: auto; }
.hero-dots button { width: 10px; height: 10px; border-radius: 999px; background: rgba(255,255,255,.4); border: 0; cursor: pointer; padding: 0; }
.hero-dots button.is-active { background: #fff; width: 28px; }

/* Subpage hero */
.subhero { background: linear-gradient(135deg, #0C2D48 0%, #143E66 100%); color: #fff; padding: 3rem 0 2.5rem; }
.subhero .breadcrumb { font-size: .9rem; opacity: .85; margin-bottom: .75rem; }
.subhero .breadcrumb a { color: #9cc8e2; }
.subhero h1 { color: #fff; margin-bottom: .6rem; }
.subhero p { opacity: .95; max-width: 640px; margin: 0; font-size: 1.1rem; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
/* 4-kolon sabit (hizmetler için: 8 kart = 4×2) */
@media (min-width: 1024px) {
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
}
.card {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card h3 { margin-top: 0; color: var(--c-primary-dark); }
.card .icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(0,119,182,.1); color: var(--c-accent); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.card .cta { margin-top: 1rem; color: var(--c-accent); font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; }

/* Service card with image */
.service-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.service-card .media { aspect-ratio: 16 / 10; background: var(--c-bg); overflow: hidden; }
.service-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.service-card:hover .media img { transform: scale(1.04); }
.service-card .body { padding: 1.25rem 1.25rem 1.5rem; }
.service-card h3 { margin-top: 0; }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; padding: .2rem .65rem; border-radius: 999px; background: rgba(0,119,182,.08); color: var(--c-accent); font-weight: 600; }
.badge-success { background: rgba(46,125,50,.08); color: var(--c-success); }
.badge-warning { background: rgba(237,108,2,.1); color: var(--c-warning); }
.badge-danger  { background: rgba(185,28,28,.08); color: var(--c-danger); }
.badge-gray    { background: rgba(84,110,122,.08); color: var(--c-text-muted); }

/* ---------- Trust Strip ---------- */
.trust-strip { background: #fff; border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); padding: 2rem 0; }
.trust-strip .inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);  /* mobil: 2×2 */
  gap: 1.25rem 1rem;
  text-align: center;
}
@media (min-width: 768px) {
  .trust-strip .inner { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}
.trust-strip .item strong { color: var(--c-primary-dark); display: block; font-size: 1rem; margin-bottom: .25rem; }
.trust-strip .item span { color: var(--c-text-muted); font-size: .85rem; }
@media (min-width: 768px) {
  .trust-strip .item strong { font-size: 1.1rem; }
  .trust-strip .item span { font-size: .9rem; }
}

/* ---------- Why us ---------- */
.why { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why { grid-template-columns: repeat(3, 1fr); } }
.why-item { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 1.5rem; }
.why-item .ico { width: 44px; height: 44px; border-radius: 10px; background: rgba(0,119,182,.1); color: var(--c-accent); display: inline-flex; align-items: center; justify-content: center; margin-bottom: .75rem; }
.why-item h3 { margin-top: 0; font-size: 1.2rem; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; }
.faq-item summary { padding: 1.1rem 1.25rem; cursor: pointer; list-style: none; font-weight: 600; color: var(--c-primary-dark); display: flex; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-weight: 300; font-size: 1.4rem; color: var(--c-accent); transition: transform .2s ease; line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .content { padding: 0 1.25rem 1.25rem; color: var(--c-text); }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 1.5rem; }
.review-stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: .6rem; }
.review-body { color: var(--c-text); font-style: italic; margin: 0 0 1rem; }
.review-author { display: flex; justify-content: space-between; font-size: .9rem; color: var(--c-text-muted); }
.review-author strong { color: var(--c-primary-dark); }

/* ---------- Brand strip (markalar) ---------- */
.brand-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; align-items: center; justify-items: center; padding: 2rem 0; }
@media (min-width: 640px) { .brand-strip { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .brand-strip { grid-template-columns: repeat(6, 1fr); } }
.brand-strip img { max-height: 48px; width: auto; opacity: .8; filter: grayscale(100%); transition: filter .2s, opacity .2s; }
.brand-strip img:hover { opacity: 1; filter: grayscale(0); }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 1.2rem; }
.form .field { display: flex; flex-direction: column; gap: .45rem; }
.form label { font-weight: 600; color: var(--c-primary-dark); font-size: .95rem; }
.form label .req { color: var(--c-danger); }
.form input[type=text],
.form input[type=email],
.form input[type=tel],
.form input[type=password],
.form textarea,
.form select {
  width: 100%; padding: .85rem 1rem; min-height: 48px; border: 1.5px solid var(--c-border);
  background: #fff; border-radius: var(--radius-sm); color: var(--c-text); transition: border-color .15s, box-shadow .15s;
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none; border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(0,119,182,.15);
}
.form .error { color: var(--c-danger); font-size: .85rem; margin-top: .25rem; }
.form .help { color: var(--c-text-muted); font-size: .85rem; }
.form .honeypot { position: absolute; left: -9999px; top: -9999px; }
.form .consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem; color: var(--c-text); }
.form .consent input { margin-top: .2rem; }

.alert { padding: 1rem 1.25rem; border-radius: var(--radius); border: 1px solid; display: flex; gap: .75rem; align-items: flex-start; }
.alert-success { background: rgba(46,125,50,.08); border-color: rgba(46,125,50,.25); color: #1b5e20; }
.alert-error   { background: rgba(185,28,28,.08); border-color: rgba(185,28,28,.25); color: #7f1d1d; }
.alert-info    { background: rgba(0,119,182,.08); border-color: rgba(0,119,182,.25); color: var(--c-primary-dark); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-primary-dark); color: #cfd8e0;
  padding: 4rem 0 1.5rem;
  margin-top: 0;        /* üstteki section zaten padding veriyor; arada beyaz şerit olmasın */
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);   /* mobil: Kurumsal|Hizmetler, Yasal|İletişim */
  gap: 1.75rem 1.5rem;
}
.footer-grid .brand-block { grid-column: span 2; }  /* brand tam satır (mobil + tablet) */
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1fr 1.2fr; gap: 2rem; }
  .footer-grid .brand-block { grid-column: span 1; }
}
.site-footer h4 { color: #fff; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 1rem; }
.site-footer a { color: #cfd8e0; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .55rem; }
.site-footer .brand-block p { color: #a6b5c0; max-width: 320px; }
.footer-social { display: flex; gap: .75rem; margin-top: 1rem; }
.footer-social a { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.08); display: inline-flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: rgba(255,255,255,.18); }
.footer-contact li { display: flex; gap: .6rem; align-items: center; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-direction: column; align-items: center;
  gap: .6rem;
  font-size: .85rem; color: #8a9aa8;
  text-align: center;
}
.footer-bottom .copyright { order: 1; }
.footer-bottom .credit-wrap {
  order: 2;
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .8rem; letter-spacing: .01em;
}
.footer-bottom .credit-label { color: #6d7c8a; }
.footer-bottom a.credit {
  display: inline-flex; align-items: center; gap: .3rem;
  color: #cfd8e0; font-weight: 600;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  text-decoration: none;
  transition: color .15s ease, background-color .15s ease, border-color .15s ease;
}
.footer-bottom a.credit:hover {
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .2);
}
.footer-bottom .credit-arrow {
  transition: transform .2s ease;
}
.footer-bottom a.credit:hover .credit-arrow {
  transform: translate(1px, -1px);
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ---------- Floating WhatsApp (yalnız masaüstü — mobilde sticky bar devralır) ---------- */
.fab {
  position: fixed; right: 20px; z-index: 30;
  width: 56px; height: 56px; border-radius: 50%; display: none; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); color: #fff; border: 0; text-decoration: none;
  transition: transform .12s ease, background-color .15s ease;
}
.fab:hover { transform: translateY(-2px); }
.fab-wa  { background: var(--c-whatsapp); bottom: 20px; }
.fab-wa:hover { background: var(--c-whatsapp-h); }
@media (min-width: 1024px) { .fab-wa { display: inline-flex; } }

/* ---------- Mobil alt sticky action bar (modern floating card) ---------- */
.mobile-action-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 0;
  margin-bottom: env(safe-area-inset-bottom, 0);
  pointer-events: none;            /* sadece butonlar tıklanabilir */
}
.mobile-action-bar a {
  pointer-events: auto;
  display: inline-flex; align-items: center; justify-content: center;
  gap: .55rem;
  padding: .9rem .75rem;
  min-height: 54px;
  border-radius: 14px;
  font-weight: 700; font-size: .98rem; letter-spacing: .01em;
  color: #fff; text-decoration: none;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, .35),
              0 2px 6px rgba(0, 0, 0, .18),
              inset 0 1px 0 rgba(255, 255, 255, .15);
  transition: transform .15s cubic-bezier(.2,.8,.2,1),
              box-shadow .2s ease,
              background-image .2s ease;
  position: relative;
  overflow: hidden;
}
.mobile-action-bar a svg {
  flex-shrink: 0;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.25));
}
.mobile-action-bar a::before {
  /* Üstten gelen subtle parlak katman */
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 40%);
  pointer-events: none;
}
.mobile-action-bar a:active {
  transform: translateY(1px) scale(.985);
  box-shadow: 0 3px 10px -2px rgba(0, 0, 0, .35),
              inset 0 1px 0 rgba(255, 255, 255, .15);
}

.mobile-action-bar .bar-tel {
  background-image: linear-gradient(135deg, #0077B6 0%, #023E8A 100%);
}
.mobile-action-bar .bar-wa {
  background-image: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

/* İçerik action bar'ın altında kalmasın (action bar = 54px min + 12px bottom = 66px) */
body { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }

@media (min-width: 1024px) {
  .mobile-action-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- Cookie banner (minimal, compact) ---------- */
.cc-banner {
  position: fixed; right: 1rem; bottom: 1rem; left: auto; z-index: 70;
  background: #0b1f33; color: #e6eef5; border: 1px solid #1d3a55; border-radius: 12px;
  box-shadow: var(--shadow-lg); padding: .85rem 1rem .85rem 1.1rem;
  max-width: 380px; width: calc(100vw - 2rem);
  display: none;
}
.cc-banner[aria-hidden="false"] { display: block; }
.cc-banner .cc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; }
.cc-banner p { color: #cbd8e3; font-size: .82rem; margin: 0 0 .7rem; line-height: 1.4; }
.cc-banner p strong { color: #fff; }
.cc-banner .cc-actions { display: flex; gap: .4rem; flex-wrap: wrap; }
.cc-btn {
  padding: .45rem .85rem; border-radius: 8px; border: 1px solid #2a4a6a; background: transparent;
  color: #fff; font-weight: 600; font-size: .82rem; cursor: pointer; min-height: 36px;
}
.cc-btn:hover { background: rgba(255,255,255,.08); }
.cc-btn.primary { background: var(--c-accent); border-color: var(--c-accent); }
.cc-btn.primary:hover { background: var(--c-accent-hover); }
.cc-btn.link-btn { padding: .35rem .5rem; border: 0; color: #9cc8e2; font-size: .78rem; text-decoration: underline; font-weight: 500; }
.cc-btn.link-btn:hover { background: transparent; color: #fff; }
.cc-close {
  width: 24px; height: 24px; border: 0; background: transparent; color: #9cc8e2;
  cursor: pointer; padding: 0; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 6px; flex-shrink: 0;
}
.cc-close:hover { background: rgba(255,255,255,.08); color: #fff; }
@media (max-width: 480px) {
  .cc-banner { right: .5rem; left: .5rem; bottom: .5rem; max-width: none; padding: .8rem; }
}

.cc-modal { position: fixed; inset: 0; background: rgba(4,16,32,.65); z-index: 80; display: none; align-items: center; justify-content: center; padding: 1rem; }
.cc-modal[aria-hidden="false"] { display: flex; }
.cc-modal .inner { background: #fff; color: var(--c-text); border-radius: var(--radius); max-width: 560px; width: 100%; padding: 1.5rem; max-height: 90vh; overflow-y: auto; }
.cc-category { border: 1px solid var(--c-border); border-radius: var(--radius-sm); padding: 1rem; margin-bottom: .75rem; }
.cc-category .row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.switch { position: relative; width: 44px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch-slider { position: absolute; inset: 0; background: #cbd8e3; border-radius: 999px; cursor: pointer; transition: background .15s; }
.switch-slider::before { content: ''; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: transform .15s; }
.switch input:checked + .switch-slider { background: var(--c-accent); }
.switch input:checked + .switch-slider::before { transform: translateX(20px); }
.switch input:disabled + .switch-slider { background: #8db0c4; opacity: .7; cursor: not-allowed; }

/* ---------- Utility ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
@media (min-width: 1024px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.prose { max-width: 72ch; }
.prose p { color: var(--c-text); font-size: 1.05rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin: .3rem 0; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; }
.prose th, .prose td { padding: .5rem .75rem; border-bottom: 1px solid var(--c-border); text-align: left; }
.prose th { background: var(--c-bg); color: var(--c-primary-dark); }

/* ---------- Admin ---------- */
.admin-wrap { display: grid; grid-template-columns: 1fr; min-height: 100vh; }
@media (min-width: 1024px) { .admin-wrap { grid-template-columns: 240px 1fr; } }
.admin-sidebar { background: var(--c-primary-dark); color: #cfd8e0; padding: 1.5rem 1rem; }
.admin-sidebar .brand { color: #fff; margin-bottom: 2rem; }
.admin-sidebar nav { display: flex; flex-direction: column; gap: .25rem; }
.admin-sidebar nav a { color: #cfd8e0; padding: .6rem .75rem; border-radius: 8px; font-weight: 500; }
.admin-sidebar nav a:hover, .admin-sidebar nav a.active { background: rgba(255,255,255,.08); color: #fff; }
.admin-main { background: var(--c-bg); padding: 1.5rem; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; gap: 1rem; flex-wrap: wrap; }
.admin-header h1 { margin: 0; font-size: 1.6rem; }
.data-table { width: 100%; border-collapse: collapse; background: var(--c-surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.data-table th { background: var(--c-bg); color: var(--c-primary-dark); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; padding: .8rem; text-align: left; border-bottom: 1px solid var(--c-border); }
.data-table td { padding: .75rem .8rem; border-bottom: 1px solid var(--c-border); vertical-align: top; font-size: .92rem; }
.data-table tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; }

.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 2rem 1rem; background: var(--c-bg); }
.login-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 2.5rem; max-width: 420px; width: 100%; box-shadow: var(--shadow); }
.login-card .brand { justify-content: center; margin-bottom: 1.5rem; }
.login-card h1 { font-size: 1.4rem; text-align: center; margin-bottom: 1.5rem; }

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero-slide { opacity: 1 !important; }
}
