/* Mellza — base.css
   Her sayfada yüklenen ortak katman: token'lar, tipografi, header, footer,
   butonlar ve birden fazla sayfa türünde kullanılan bileşenler. */

:root {
	--navy: #193D8C;
	--navy-d: #14306F;
	--navy-m: #2A4A93;
	--accent: #C64A17;
	--ink: #131313;
	--text: #2F3439;
	--muted: #5F6368;
	--quiet: #8A9096;
	--bg: #fff;
	--bg-2: #EDF0F2;
	--bg-3: #F5F6F7;
	--line: #E2E6E9;
	--line-2: #CFD6DC;
	--tint: #C9D3EE;
	--on-navy: #C9D3EE;
	--serif: "Lora", Georgia, "Times New Roman", serif;
	--sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--gutter: clamp(20px, 4vw, 32px);
	--sec: clamp(64px, 9vw, 112px);
	--radius: 4px;
	--header-h: 64px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 1024px) { :root { --header-h: 76px; } }

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font: 400 16px/1.6 var(--sans); color: var(--ink); background: var(--bg); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--navy); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
.visually-hidden, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { flex: none; }

/* Layout */
.container { width: 100%; max-width: calc(1280px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: var(--sec); }
.sec--tint { background: var(--bg-2); }
.sec--navy { background: var(--navy-d); color: #fff; }
.sec--navy a:hover { color: #fff; }
.h1 { font-size: clamp(36px, 5.2vw, 66px); line-height: 1.08; letter-spacing: -.02em; }
.h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.14; }
.h3 { font-size: clamp(21px, 2vw, 24px); line-height: 1.3; }
.lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--muted); }
.muted { color: var(--muted); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; color: #fff; }

/* Eyebrow + bölüm başlığı */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.sec--navy .eyebrow { color: var(--on-navy); }
.sec-head h2, .sec-head h1 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.14; margin-top: 18px; max-width: 22ch; }
.sec-head--center { text-align: center; }
.sec-head--center h2 { margin-inline: auto; }
.sec-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }

/* Butonlar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: var(--radius); border: 1px solid transparent; font: 500 15px/1.2 var(--sans); cursor: pointer; transition: background .2s, color .2s, border-color .2s; text-align: center; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-d); color: #fff; }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--navy-d); }
.btn--light:hover { background: var(--bg-2); color: var(--navy-d); }
.btn--outline-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 15px; color: var(--navy); }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo__word { font: 800 21px/1 "Montserrat", var(--sans); letter-spacing: .03em; color: var(--navy); }
.logo--light .logo__word { color: #fff; }
@media (max-width: 639px) { .site-header .logo__mark { width: 34px; height: 25px; } .site-header .logo__word { font-size: 18px; } }

/* Üst şerit */
.topbar { background: var(--navy); color: #DCE3F5; font-size: 13px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__info { display: flex; gap: 20px; }
.topbar__info span { display: inline-flex; align-items: center; gap: 6px; }
.topbar__nav { display: flex; align-items: center; gap: 22px; }
.topbar__list { display: flex; gap: 22px; list-style: none; padding-right: 22px; border-right: 1px solid rgba(255,255,255,.3); }
.topbar a { color: #DCE3F5; }
.topbar a:hover, .topbar a[aria-current] { color: #fff; }
.topbar a[aria-current] { font-weight: 600; }
.topbar__wa { color: #fff !important; font-weight: 500; }
@media (max-width: 1023px) { .topbar { display: none; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.site-header__actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; }
.header-phone .icon { color: var(--accent); }
@media (max-width: 1199px) { .header-phone span { display: none; } }
@media (max-width: 1023px) { .header-cta { display: none; } .site-header__actions { margin-left: auto; } .header-phone { width: 44px; height: 44px; justify-content: center; } }

/* Masaüstü menü */
.nav { display: none; }
@media (min-width: 1024px) {
	.nav { display: block; }
	.nav__list { display: flex; gap: 30px; list-style: none; font-size: 15px; }
	.nav__list > li { position: relative; }
	.nav__list > li.has-mega { position: static; }
	.nav__list > li > a { display: inline-flex; align-items: center; gap: 4px; padding: 26px 0; }
	.nav__list > li > a[aria-current], .nav__list > .current-menu-item > a, .nav__list > .current-menu-ancestor > a { color: var(--navy); box-shadow: inset 0 -2px 0 var(--accent); font-weight: 500; }
	.nav .icon { transition: transform .2s var(--ease); }
	.nav li:hover > a .icon, .nav li:focus-within > a .icon { transform: rotate(180deg); }
	.sub-menu, .mega { position: absolute; top: 100%; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s var(--ease), visibility 0s .18s; }
	li:hover > .sub-menu, li:focus-within > .sub-menu, li:hover > .mega, li:focus-within > .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
	.sub-menu { left: -20px; min-width: 240px; list-style: none; background: #fff; border: 1px solid var(--line); padding: 10px; box-shadow: 0 18px 40px -20px rgba(19,19,19,.25); }
	.sub-menu a { display: block; padding: 10px 12px; border-radius: var(--radius); }
	.sub-menu a:hover { background: var(--bg-3); }
	.mega { left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 24px 48px -28px rgba(19,19,19,.3); }
	.mega__inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) 1.2fr; gap: 32px; padding-block: 32px 36px; }
	.mega__title { font: 400 19px/1.3 var(--serif); margin-bottom: 12px; }
	.mega__col ul { list-style: none; display: grid; gap: 2px; }
	.mega__col li a { display: block; padding: 6px 0; font-size: 14px; color: var(--muted); }
	.mega__col li a:hover { color: var(--navy); }
	.mega__promo { display: flex; flex-direction: column; gap: 12px; justify-content: flex-end; background: var(--bg-2); padding: 24px; border-top: 3px solid var(--accent); }
	.mega__promo strong { font: 400 22px/1.25 var(--serif); }
	.mega__promo span:last-child { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; color: var(--navy); font-weight: 500; }
}

/* Mobil menü (JS'siz) */
.mnav { position: static; }
.mnav > summary { list-style: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; border-radius: var(--radius); }
.mnav > summary::-webkit-details-marker { display: none; }
.mnav > summary .icon:last-child, .mnav[open] > summary .icon:first-child { display: none; }
.mnav[open] > summary .icon:last-child { display: block; }
.mnav__panel { position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; background: #fff; overflow-y: auto; overscroll-behavior: contain; padding: 8px var(--gutter) 120px; border-top: 1px solid var(--line); }
.mnav__list { list-style: none; }
.mnav__list > li { border-bottom: 1px solid var(--line); }
.mnav__list > li > a, .mnav__list summary { display: flex; justify-content: space-between; align-items: center; min-height: 56px; font: 400 20px/1.3 var(--serif); cursor: pointer; list-style: none; }
.mnav__list summary::-webkit-details-marker { display: none; }
.mnav__list summary::after { content: "+"; font: 400 22px var(--sans); color: var(--navy); }
.mnav__list details[open] summary::after { content: "−"; }
.mnav__list details ul { list-style: none; padding: 0 0 14px; }
.mnav__list details li a { display: block; padding: 10px 0; color: var(--muted); }
.mnav__contact { padding-top: 24px; display: grid; gap: 16px; font-size: 14px; color: var(--muted); }
@media (min-width: 1024px) { .mnav { display: none; } }
@media (max-width: 1023px) { body:has(.mnav[open]) { overflow: hidden; } }

/* Breadcrumb */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--navy); }
.crumbs [aria-current] { color: var(--ink); }

/* Görsel kart */
.media { overflow: hidden; background: var(--bg-2); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
a:hover .media img { transform: scale(1.03); }
.card { display: flex; flex-direction: column; gap: 14px; }
.card__title { font: 400 clamp(21px, 2vw, 24px)/1.25 var(--serif); }
.card__text { font-size: 15px; line-height: 1.6; color: var(--muted); }
.card__meta { font-size: 13px; color: var(--muted); }
.grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Hap bağlantılar */
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.pills a, .pills span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; }
.pills a:hover { border-color: var(--navy); }
.sec--navy .pills span, .sec--navy .pills a { border-color: rgba(255,255,255,.45); }

/* İstatistikler */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stats dt { order: 2; font-size: 14px; color: var(--muted); margin-top: 10px; }
.stats dd { order: 1; margin: 0; font: 400 clamp(40px, 4.4vw, 54px)/1 var(--serif); }
.stats div { display: flex; flex-direction: column; }

/* SSS (details/summary) */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; cursor: pointer; list-style: none; font: 400 clamp(18px, 1.8vw, 21px)/1.35 var(--serif); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font: 400 24px/1 var(--sans); color: var(--navy); flex: none; }
.faq__item[open] summary::after { content: "−"; }
.faq__item p { padding: 0 0 22px; max-width: 72ch; color: var(--muted); line-height: 1.7; }

/* Yorum kartı */
.quote-card { margin: 0; background: var(--bg-3); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.quote-card blockquote { margin: 16px 0 0; font: 400 18px/1.6 var(--serif); }
.quote-card figcaption { display: flex; gap: 14px; align-items: center; font-size: 15px; }
.quote-card small { display: block; font-size: 13px; color: var(--muted); }
.stars { color: var(--accent); letter-spacing: 3px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 500; flex: none; }

/* CTA bandı */
.cta-band { background: var(--navy-d); color: #fff; }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding-block: clamp(56px, 7vw, 88px); }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 44px); max-width: 24ch; }
.cta-band p { margin-top: 14px; color: var(--on-navy); font-size: 17px; }

/* Footer */
.site-footer { background: var(--ink); color: #C7CBCF; font-size: 14px; }
.site-footer__grid { display: grid; gap: 40px; padding-block: 72px 48px; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.6fr repeat(3, 1fr); } }
.site-footer__brand p { margin: 18px 0 20px; line-height: 1.7; max-width: 38ch; }
.site-footer address { display: grid; gap: 10px; }
.site-footer address a { display: inline-flex; gap: 10px; align-items: flex-start; }
.site-footer h2 { font: 500 14px/1.4 var(--sans); color: #fff; letter-spacing: 0; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a:hover { color: #fff; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; border-top: 1px solid #2E3236; padding-block: 24px; font-size: 13px; color: #9AA0A6; }
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 20px; }

/* Mobil işlem çubuğu */
.actionbar { display: none; }
@media (max-width: 1023px) {
	body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
	.actionbar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgba(0,0,0,.25); }
	.actionbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 48px; font-size: 12px; font-weight: 500; }
	.actionbar__cta { background: var(--navy); color: #fff !important; border-radius: var(--radius); font-size: 14px !important; }
}
