/* ERİZA OSGB – mobil öncelikli site stili */
:root {
  --navy: #0f2a4a;
  --navy-2: #173a63;
  --accent: #f5b400;
  --accent-2: #e29a00;
  --orange: #ef7d00;
  --ink: #1c2633;
  --muted: #5d6b7c;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --wa: #1fa855;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 42, 74, .08);
  --wrap: 1200px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { overflow-x: clip; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); }
a:hover { color: var(--orange); }
h1, h2, h3 { line-height: 1.25; color: var(--navy); margin: 0 0 .6em; }
h1 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 3.2vw, 2rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.lead { font-size: 1.1rem; color: var(--muted); }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--navy); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Butonlar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.4em; border-radius: 999px; font-weight: 700; font-size: .95rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .2s, color .2s; font-family: inherit; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn.block { display: flex; width: 100%; margin-top: .6em; }
.btn-accent { background: var(--accent); color: var(--navy); }
.btn-accent:hover { background: var(--accent-2); color: var(--navy); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { color: #fff; filter: brightness(1.05); }

/* Üst bar */
.topbar { background: var(--navy); color: #cdd8e6; font-size: .84rem; display: none; }
.topbar-in { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar a, .topbar span { color: inherit; text-decoration: none; margin-right: 18px; }
.topbar a:hover { color: var(--accent); }
.topbar i { color: var(--accent); margin-right: 4px; }
.topbar-r a { margin: 0 0 0 12px; }

/* Header + menü */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand img { height: 56px; width: auto; }
.nav-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { width: 26px; height: 3px; border-radius: 3px; background: var(--navy); transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav { position: fixed; inset: 72px 0 0 0; background: #fff; padding: 12px 16px 120px; overflow-y: auto; opacity: 0; transform: translateY(-10px); transition: opacity .2s ease, transform .2s ease, visibility .2s; visibility: hidden; pointer-events: none; }
.nav.open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav > ul > li > a, .sub-toggle { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 14px 6px; font-weight: 700; color: var(--navy);
  text-decoration: none; border: 0; border-bottom: 1px solid var(--line); background: none; font: inherit; font-weight: 700; cursor: pointer; text-align: left; }
.nav a.on, .sub-toggle.on { color: var(--orange); }
.sub-toggle i { font-size: .75em; transition: transform .2s; }
.has-sub.open .sub-toggle i { transform: rotate(180deg); }
.sub { display: none; padding: 4px 0 8px 10px !important; }
.has-sub.open .sub { display: block; }
.sub a { display: flex; gap: 10px; align-items: center; padding: 10px 6px; color: var(--ink); text-decoration: none; font-size: .95rem; }
.sub a i { color: var(--accent-2); width: 18px; text-align: center; }
.sub a.sub-all { font-weight: 700; color: var(--navy-2); }
.nav-cta { margin-top: 18px; width: 100%; }

/* Hero slider */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.slides { position: relative; min-height: 460px; }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .8s; display: flex; align-items: center; }
.slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,30,55,.92) 0%, rgba(10,30,55,.7) 55%, rgba(10,30,55,.35) 100%); }
.slide.on { opacity: 1; z-index: 1; }
.slide-in { position: relative; padding-top: 56px; padding-bottom: 72px; max-width: var(--wrap); width: 100%; }
.slide h1, .slide .h1 { color: #fff; font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 800; max-width: 680px; margin-bottom: .4em; }
.slide p { font-size: 1.1rem; max-width: 560px; color: #dce6f2; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.dots { position: absolute; z-index: 2; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; gap: 8px; }
.dots button { width: 11px; height: 11px; border-radius: 50%; border: 0; background: rgba(255,255,255,.45); cursor: pointer; padding: 0; }
.dots button.on { background: var(--accent); width: 28px; border-radius: 6px; }

/* Bölümler */
.section { padding: 56px 0; }
.section.alt { background: var(--bg-alt); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 32px; }
.sec-head p { color: var(--muted); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; }
.grid-3, .grid-4 { display: grid; gap: 18px; grid-template-columns: 1fr; }
.split { display: grid; gap: 32px; align-items: center; }
.split.top { align-items: start; }

.features { margin-top: -34px; position: relative; z-index: 3; }
.feature { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border-top: 4px solid var(--accent); }
.feature i { font-size: 1.8rem; color: var(--orange); margin-bottom: 10px; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }

.card-service { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-decoration: none; color: var(--ink);
  transition: box-shadow .2s, transform .2s, border-color .2s; }
.card-service:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--accent); color: var(--ink); }
.card-service .ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: #fff5d6; color: var(--orange); font-size: 1.4rem; margin-bottom: 14px; }
.card-service h2, .card-service h3 { font-size: 1.12rem; }
.card-service p { color: var(--muted); font-size: .95rem; flex: 1; }
.more { font-weight: 700; color: var(--navy-2); font-size: .92rem; }

.card-post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .2s; }
.card-post:hover { box-shadow: var(--shadow); color: var(--ink); }
.card-post img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.card-post-in { padding: 18px 20px 22px; }
.card-post time { font-size: .82rem; color: var(--muted); }
.card-post h2 { font-size: 1.15rem; margin: 6px 0 8px; }
.card-post p { color: var(--muted); font-size: .95rem; margin: 0; }

.skills { margin: 22px 0 26px; }
.skill { margin-bottom: 14px; }
.skill-top { display: flex; justify-content: space-between; font-weight: 700; font-size: .92rem; margin-bottom: 6px; color: var(--navy); }
.bar { height: 9px; background: #dfe6ef; border-radius: 9px; overflow: hidden; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--orange)); border-radius: 9px; }

.calc-teaser { background: var(--navy); color: #dce6f2; border-radius: var(--radius); padding: 32px; position: relative; overflow: hidden; }
.calc-teaser > i { font-size: 2.4rem; color: var(--accent); margin-bottom: 12px; }
.calc-teaser h3 { color: #fff; font-size: 1.35rem; }

.gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); margin-bottom: 24px; }
.g-item { border-radius: 12px; overflow: hidden; display: block; background: var(--bg-alt); }
.g-item img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .35s; }
.g-item:hover img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; background: rgba(5,15,30,.92); z-index: 200; display: grid; place-items: center; padding: 16px; }
.lightbox img { max-height: 86vh; border-radius: 8px; }
.lightbox button { position: absolute; top: 12px; right: 14px; background: none; border: 0; color: #fff; font-size: 2rem; cursor: pointer; }

.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { padding: 16px 18px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--orange); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--muted); }

.note { margin: 0 0 16px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; padding: 18px 20px; }
.note p { font-style: italic; margin-bottom: .6em; }
.note footer { font-size: .9rem; color: var(--muted); }
.note time { display: block; font-size: .8rem; }

.contact-list { list-style: none; padding: 0; margin: 0 0 22px; }
.contact-list li { display: flex; gap: 12px; padding: 8px 0; align-items: flex-start; }
.contact-list i { color: var(--orange); width: 20px; text-align: center; margin-top: 5px; }
.contact-list.big li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-list.big b { display: block; color: var(--navy); font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 16px; }
.map iframe { width: 100%; height: 340px; border: 0; display: block; }

/* İç sayfa başlığı */
.page-hero { background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff; padding: 34px 0 30px; }
.page-hero h1 { color: #fff; margin: 6px 0 0; }
.crumbs { font-size: .88rem; color: #b9c8da; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs a { color: #dce6f2; text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs i { font-size: .7em; opacity: .7; }

.with-aside { display: grid; gap: 32px; }
.prose { min-width: 0; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.3em; color: var(--navy-2); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: 12px; }
.prose .cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; margin: 6px 0 24px; }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; }
.meta { color: var(--muted); font-size: .88rem; }
.meta.updated { margin-top: 32px; border-top: 1px solid var(--line); padding-top: 12px; }
.inline-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; background: #fff7dd; border: 1px solid #f6dd8a; border-radius: var(--radius); padding: 18px 20px; margin-top: 30px; }
.inline-cta strong { display: block; color: var(--navy); }
.inline-cta span { color: var(--muted); font-size: .92rem; }
.aside .box { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 18px; background: #fff; }
.aside .box h2 { font-size: 1.05rem; }
.box-dark { background: var(--navy) !important; color: #dce6f2; border: 0 !important; }
.box-dark h2 { color: #fff; }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links a { display: flex; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--line); text-decoration: none; color: var(--ink); font-size: .95rem; }
.side-links a:hover { color: var(--orange); }
.side-links i { color: var(--accent-2); width: 18px; text-align: center; }

/* Hesaplayıcı */
.calc { background: var(--bg-alt); border-radius: var(--radius); padding: 24px; margin: 28px 0; border: 1px solid var(--line); }
.calc h2 { margin-top: 0; }
.calc-form label > span { display: block; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
.calc-form input[type=number] { width: 100%; max-width: 260px; font-size: 1.3rem; padding: 10px 14px; border: 2px solid var(--line); border-radius: 10px; font-family: inherit; }
.calc-form fieldset { border: 0; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.calc-form legend { font-weight: 700; color: var(--navy); margin-bottom: 8px; padding: 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 2px solid var(--line); border-radius: 999px; cursor: pointer; background: #fff; font-weight: 600; font-size: .95rem; }
.chip:has(input:checked) { border-color: var(--accent); background: #fff5d6; }
.calc-out { display: grid; gap: 12px; margin: 22px 0 14px; grid-template-columns: 1fr; }
.calc-card { background: #fff; border-radius: 12px; padding: 18px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.calc-card i { color: var(--orange); font-size: 1.4rem; }
.calc-card span { font-weight: 700; color: var(--navy); }
.calc-card b { font-size: 1.6rem; color: var(--navy); }
.calc-card small { color: var(--muted); }
.calc-note { font-size: .92rem; }

/* Formlar */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.field { display: block; margin-bottom: 14px; }
.field > span:first-child { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; color: var(--navy); }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid #cfd8e3; border-radius: 10px; font: inherit; background: #fbfcfe; }
.field input:focus, .field textarea:focus { border-color: var(--navy-2); outline: none; background: #fff; }
.field-err { color: #c0392b; font-size: .85rem; display: block; margin-top: 4px; }
.input-validation-error { border-color: #c0392b !important; }
.row-2 { display: grid; gap: 0 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin: 6px 0 10px; }
.check input { margin-top: 5px; width: 18px; height: 18px; flex: none; }
.check details { display: inline; }
.check summary { display: inline; cursor: pointer; color: var(--navy-2); text-decoration: underline; }
.check small { display: block; color: var(--muted); margin: 6px 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 12px 14px; border-radius: 10px; margin-bottom: 14px; font-weight: 600; }
.alert:empty, .alert.validation-summary-valid { display: none; }
.alert ul { margin: 0; padding-left: 18px; }
.alert.ok { background: #e7f7ee; color: #17663a; }
.alert.err { background: #fdecea; color: #a02a1e; }

/* CTA + footer */
.cta-band { background: linear-gradient(110deg, var(--accent), #ffcf3f); }
.cta-in { display: flex; flex-direction: column; gap: 16px; padding-top: 34px; padding-bottom: 34px; }
.cta-band h2 { margin-bottom: .2em; }
.cta-band p { margin: 0; color: #3b3200; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-band .btn-accent { background: var(--navy); color: #fff; }
.cta-band .btn-ghost { border-color: var(--navy); color: var(--navy); }
.cta-band .btn-ghost:hover { background: var(--navy); color: #fff; }

.footer { background: #0b1f38; color: #aebdd0; padding: 48px 0 0; font-size: .94rem; }
.footer h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-grid { display: grid; gap: 30px; }
.footer-logo { background: #fff; border-radius: 10px; padding: 6px; margin-bottom: 14px; width: 140px; }
.footer a { color: #d2dcea; text-decoration: none; }
.footer a:hover { color: var(--accent); }
.links { list-style: none; margin: 0; padding: 0; }
.links li { padding: 4px 0; }
.nap { font-style: normal; display: flex; flex-direction: column; gap: 8px; }
.nap strong { color: #fff; }
.nap i { color: var(--accent); width: 18px; }
.social { display: flex; gap: 10px; }
.social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid rgba(255,255,255,.08); margin-top: 36px; padding-top: 18px; padding-bottom: 90px; font-size: .84rem; }

/* Mobil hızlı iletişim çubuğu */
.quick { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(15,42,74,.08); padding-bottom: env(safe-area-inset-bottom); }
.quick a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px; text-decoration: none; font-size: .78rem; font-weight: 700; color: var(--navy); }
.quick i { font-size: 1.25rem; }
.q-call i { color: var(--orange); }
.q-wa i { color: var(--wa); }
.q-map i { color: var(--navy-2); }

.err-code { font-size: 5rem; font-weight: 800; color: var(--accent); margin: 0; line-height: 1; }

/* ---- Tablet ---- */
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .row-2 { grid-template-columns: 1fr 1fr; }
  .calc-out { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-in { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---- Masaüstü ---- */
@media (min-width: 1080px) {
  .topbar { display: block; }
  .section { padding: 80px 0; }
  .slides { min-height: 560px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1.1fr 1fr; gap: 56px; }
  .with-aside { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; }
  .aside { position: sticky; top: 96px; align-self: start; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .footer-bottom { padding-bottom: 22px; }
  .header-in { min-height: 84px; }
  .brand img { height: 64px; }

  .nav-toggle { display: none; }
  .nav { position: static; transform: none; visibility: visible; opacity: 1; pointer-events: auto; padding: 0; overflow: visible; display: flex; align-items: center; gap: 14px; background: none; }
  .nav > ul { display: flex; gap: 2px; }
  .nav > ul > li { position: relative; }
  .nav > ul > li > a, .sub-toggle { border: 0; padding: 10px 11px; width: auto; gap: 6px; font-size: .93rem; border-radius: 8px; }
  .nav > ul > li > a:hover, .sub-toggle:hover { background: var(--bg-alt); }
  .sub { position: absolute; top: 100%; left: 0; min-width: 300px; background: #fff; border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--line);
    padding: 8px !important; display: block; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
  .has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
  .sub a { border-radius: 8px; padding: 9px 10px; }
  .sub a:hover { background: var(--bg-alt); }
  .nav-cta { margin: 0; width: auto; white-space: nowrap; }
  .quick { left: auto; right: 18px; bottom: 18px; grid-template-columns: 1fr; background: none; border: 0; box-shadow: none; gap: 10px; padding: 0; }
  .quick a { width: 56px; height: 56px; border-radius: 50%; justify-content: center; box-shadow: 0 8px 20px rgba(0,0,0,.18); }
  .quick a span { display: none; }
  .quick .q-call, .quick .q-map { display: none; }
  .q-wa { background: var(--wa); }
  .q-wa i { color: #fff; font-size: 1.7rem; }
}
@media (min-width: 1080px) and (max-width: 1240px) {
  .nav > ul > li > a, .sub-toggle { padding: 10px 7px; font-size: .88rem; }
  .nav-cta { padding: .7em 1em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
