/* Akkaya Bilişim — beyaz, sade, fotoğraflı tema. Renkler admin panelindeki temadan gelir (inc/theme.php). */
:root {
  --ink: #1B2B3A;
  --ink-2: #2A3D50;
  --deep: #16222E;
  --accent: #1E6FBA;
  --accent-hover: #185C9B;
  --accent-dark: #185C9B;
  --accent-soft: #E8F1FA;
  --on-accent: #FFFFFF;
  --accent-rgb: 30, 111, 186;
  --bg: #FFFFFF;
  --line: #E4E8ED;
  --gray: #F4F6F8;
  --text: #2B3440;
  --muted: #5E6B78;
  --radius: 6px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--ink); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; margin-top: 28px; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }
.ic { width: 1.1em; height: 1.1em; flex: none; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.text-link { font-weight: 600; }

/* Butonlar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: var(--radius); font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; text-decoration: none !important; font-family: inherit; line-height: 1.2; transition: background .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { border-color: #C9D1DA; color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }
.btn-wa { background: #1FAF58; color: #fff; }
.btn-wa:hover { background: #198F48; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #EEF2F6; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-lg { padding: 13px 22px; font-size: 16px; }
.btn-sm { padding: 7px 13px; font-size: 14px; }
.btn-block { width: 100%; }

/* Üst bilgi çubuğu */
.topbar { background: var(--gray); border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.topbar-in { display: flex; justify-content: flex-end; gap: 22px; min-height: 36px; align-items: center; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.topbar a:hover { color: var(--ink); text-decoration: none; }

/* Menü */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { margin-right: auto; line-height: 0; }
.brand:hover { text-decoration: none; }
img.brand-logo { height: 48px; width: auto; }
.brand-lockup { display: inline-flex; align-items: center; gap: 10px; line-height: 1.1; }
.brand-icon svg { width: 38px; height: 38px; display: block; }
.brand-word { display: flex; flex-direction: column; }
.brand-word b { font-size: 20px; font-weight: 700; color: var(--ink); }
.brand-word small { font-size: 13px; color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { color: var(--text); font-weight: 500; padding: 8px 12px; border-radius: var(--radius); font-size: 15.5px; }
.main-nav a:hover { background: var(--gray); text-decoration: none; }
.main-nav a.active { color: var(--accent); font-weight: 600; }
.header-call { padding: 10px 16px; }
.nav-toggle { display: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.nav-toggle .ic { width: 22px; height: 22px; }

/* Büyük fotoğraflı giriş */
.hero { position: relative; color: #fff; background: var(--deep); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 22, 30, .86) 0%, rgba(14, 22, 30, .72) 45%, rgba(14, 22, 30, .25) 100%); }
.hero-in { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 96px; max-width: 1160px; }
.hero-in > * { max-width: 620px; }
.hero-kicker { font-weight: 600; color: #CFE2F5; margin-bottom: 12px; }
.hero h1 { color: #fff; font-size: clamp(30px, 4.2vw, 48px); margin-bottom: 18px; }
.hero .lead { font-size: 18px; color: #E3E9EF; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Kısa bilgiler */
.facts { border-bottom: 1px solid var(--line); background: #fff; }
.facts-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-top: 32px; padding-bottom: 32px; }
.fact h3 { font-size: 16.5px; display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.fact h3 .ic { color: var(--accent); width: 20px; height: 20px; }
.fact p { color: var(--muted); font-size: 15px; margin: 0; }
.facts-plain { background: var(--gray); border-top: 1px solid var(--line); padding: 56px 0 24px; }
.facts-plain h2 { font-size: 26px; }

/* Bölümler */
.section { padding: 72px 0; }
.section-alt { background: var(--gray); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 32px; }
.section-head h2 { font-size: clamp(26px, 3vw, 32px); margin-bottom: 6px; }
.section-head p { color: var(--muted); margin: 0; }

.page-hero { background: var(--gray); border-bottom: 1px solid var(--line); padding: 40px 0; }
.page-hero h1 { font-size: clamp(28px, 3.6vw, 38px); margin-bottom: 6px; }
.page-hero p { margin: 0; color: var(--muted); font-size: 17px; max-width: 760px; }
.crumbs { font-size: 14px; margin-bottom: 10px; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* Hizmet kartları */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text); transition: border-color .15s, box-shadow .15s; }
.service-card:hover { border-color: #C9D1DA; box-shadow: 0 6px 18px rgba(20, 30, 40, .08); text-decoration: none; }
.service-card > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 18.5px; margin-bottom: 6px; }
.card-body p { color: var(--muted); font-size: 15px; flex: 1; margin-bottom: 12px; }
.card-link { font-weight: 600; color: var(--accent); font-size: 15px; }
.card-link::after { content: " ›"; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--radius); background: var(--accent-soft); color: var(--accent); flex: none; }
.card-icon .ic { width: 22px; height: 22px; }

/* Hakkımızda özeti */
.about-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-teaser > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.about-teaser h2 { font-size: clamp(26px, 3vw, 32px); }
.about-teaser p { color: var(--text); }
.stat-list { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--muted); font-size: 15px; }
.stat-list strong { color: var(--ink); font-size: 20px; margin-right: 6px; }

/* Markalar */
.brands { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.brands-in { display: flex; align-items: center; gap: 28px; padding-top: 24px; padding-bottom: 24px; flex-wrap: wrap; }
.brands-label { font-size: 14px; color: var(--muted); white-space: nowrap; }
.brands ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 30px; }
.brands li { font-weight: 700; font-size: 17px; color: #7A8794; letter-spacing: .01em; }

/* Galeri */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-item { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--gray); aspect-ratio: 4 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 12px; color: #fff; font-size: 14px; background: rgba(15, 22, 30, .7); }
.gallery-item[hidden] { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { border: 1px solid var(--line); background: #fff; padding: 7px 14px; border-radius: 999px; cursor: pointer; font-weight: 600; font-family: inherit; font-size: 14px; color: var(--text); }
.chip.active, .chip:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.lightbox { position: fixed; inset: 0; background: rgba(10, 14, 18, .92); z-index: 200; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 82vh; max-width: 100%; }
.lightbox-caption { color: #eee; margin-top: 12px; }
.lightbox-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox-close .ic { width: 22px; height: 22px; }

/* Alt çağrı */
.cta { background: var(--ink); padding: 52px 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta h2 { color: #fff; font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 6px; }
.cta p { color: #C5CED8; margin: 0; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Hizmet detay */
.detail { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.prose { font-size: 17px; }
.detail-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin-bottom: 28px; }
.sidebar { display: grid; gap: 18px; position: sticky; top: 96px; }
.side-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.side-box h3 { font-size: 17px; }
.side-cta { background: var(--gray); }
.side-cta .card-icon { margin-bottom: 12px; }
.side-cta p { color: var(--muted); font-size: 15px; }
.side-cta .btn + .btn { margin-top: 8px; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list a { display: flex; align-items: center; gap: 10px; padding: 9px 0; color: var(--text); border-bottom: 1px solid var(--line); }
.side-list li:last-child a { border-bottom: 0; }
.side-list .ic { color: var(--accent); }

.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.about-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* İletişim */
.contact { display: grid; grid-template-columns: 360px 1fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 4px; }
.info-row { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text); }
a.info-row:hover { text-decoration: none; color: var(--accent); }
.info-row small { display: block; color: var(--muted); font-size: 13px; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-form h2 { font-size: 22px; }
.map { margin-top: 40px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 380px; border: 0; display: block; }

/* Formlar */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { display: block; font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 14px; }
.field input, .field textarea, .field select { display: block; width: 100%; margin-top: 5px; padding: 11px 12px; font: inherit; font-weight: 400; font-size: 15.5px; color: var(--text); border: 1px solid #C9D1DA; border-radius: var(--radius); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .15); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 12px 14px; border-radius: var(--radius); margin-bottom: 16px; font-size: 15px; }
.alert ul { margin: 0; padding-left: 18px; }
.alert-success { background: #EAF6EE; color: #1E5A32; border: 1px solid #B9DFC6; }
.alert-error { background: #FDEDED; color: #8A1F1F; border: 1px solid #F3C2C2; }

.notfound { text-align: center; max-width: 520px; }
.notfound .card-icon { margin-bottom: 16px; }

/* Alt bilgi */
.site-footer { background: var(--deep); color: #AEB8C2; padding-top: 52px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 40px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 18px; margin-bottom: 12px; }
.footer-brand:hover { text-decoration: none; }
.footer-icon svg { width: 34px; height: 34px; display: block; }
.footer-text { max-width: 320px; }
.site-footer h3 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a, .footer-contact a { color: #AEB8C2; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; text-decoration: none; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 10px; align-items: flex-start; }
.footer-contact .ic { margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; font-size: 13.5px; }

.wa-float { position: fixed; right: 18px; bottom: 18px; width: 54px; height: 54px; border-radius: 50%; background: #1FAF58; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,.2); z-index: 60; }
.wa-float .ic { width: 28px; height: 28px; }

/* Duyarlı tasarım */
@media (max-width: 1024px) {
  .cards, .gallery { grid-template-columns: repeat(2, 1fr); }
  .facts-in { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail, .contact, .about, .about-teaser { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; padding: 8px 20px 16px; border-bottom: 1px solid var(--line); box-shadow: 0 8px 16px rgba(0,0,0,.06); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .header-in { position: relative; gap: 10px; min-height: 64px; }
  .header-call span { display: none; }
  .header-call { padding: 10px 12px; }
  .brand-icon svg { width: 34px; height: 34px; }
  .brand-word b { font-size: 18px; }
  .brand-word small { font-size: 12px; }
  .topbar { display: none; }
  .hero-in { padding-top: 64px; padding-bottom: 64px; }
  .hero::after { background: rgba(14, 22, 30, .78); }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .cards, .gallery, .facts-in, .footer-grid, .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .contact-form { padding: 20px; }
  .map iframe { height: 300px; }
  .brands-in { gap: 12px; }
}

/* KVKK onayı ve yasal metin */
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 4px 0 18px; line-height: 1.5; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--accent); }
.consent a { font-weight: 600; }
.legal { max-width: 820px; font-size: 16px; }
.legal p:first-line { font-weight: 700; color: var(--ink); }