/* Kalepar Oto – site stilleri */

:root {
    --ink: #12151b;
    --ink-soft: #1c2029;
    --steel: #2b313c;
    --text: #2a2f38;
    --muted: #667085;
    --on-dark: #c9ced6;
    --line: #e4e7ec;
    --bg-alt: #f4f5f7;
    --white: #fff;
    --accent: #d62828;
    --accent-dark: #b51f1f;
    --accent-bright: #ef4040;
    --accent-soft: #fdecec;
    --wa: #1fa855;
    --wa-dark: #178a45;
    --radius: 14px;
    --shadow: 0 12px 32px rgba(18, 21, 27, .08);
    --shadow-lg: 0 24px 60px rgba(18, 21, 27, .16);
    --font-head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
    --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --container: 1200px;
    --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.08; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 8px 14px; border-radius: 8px; background: var(--ink); color: #fff; }
.skip-link:focus { left: 8px; }

/* Düğmeler */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.4em; border: 2px solid transparent; border-radius: 999px; font: 600 1rem/1.2 var(--font-body); cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn--lg { padding: 1em 1.8em; font-size: 1.05rem; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--steel); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--ink); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-dark); }

.eyebrow { display: inline-flex; align-items: center; gap: .6em; margin-bottom: .8em; font: 600 1rem/1.2 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: currentColor; }
.eyebrow--light { color: var(--accent-bright); }

.icon-badge { display: inline-grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.icon-badge .icon { width: 24px; height: 24px; }
.icon-badge--solid { background: var(--accent); color: #fff; }
.icon-badge--wa { background: #e5f6ec; color: var(--wa); }

/* Üst şerit */
.topbar { background: var(--ink); color: var(--on-dark); font-size: .88rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar__hours, .topbar__links a { display: inline-flex; align-items: center; gap: .45em; }
.topbar__links { display: flex; gap: 24px; margin-left: auto; }
.topbar__links a:hover { color: #fff; }

/* Başlık ve menü */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.header.is-scrolled { box-shadow: 0 6px 24px rgba(18, 21, 27, .08); }
.header__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { width: auto; height: 68px; max-width: 260px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { position: relative; padding: .5em .9em; font-weight: 600; color: var(--ink); }
.nav a:not(.btn)::after { content: ""; position: absolute; left: .9em; right: .9em; bottom: .15em; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .2s; }
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav__cta { margin-left: 12px; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
    .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; }
    .nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .nav { display: none; position: absolute; top: 100%; left: -16px; right: -16px; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 16px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); }
    .nav.is-open { display: flex; }
    .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
    .nav a:not(.btn)::after { display: none; }
    .nav a.is-active { color: var(--accent); }
    .nav__cta { margin: 16px 0 0; }
}
@media (max-width: 700px) {
    .topbar__hours, .topbar__mail { display: none !important; }
    .topbar__links { margin: 0 auto; }
    :root { --header-h: 72px; }
    .brand img { height: 54px; max-width: 200px; }
}

/* Manşet */
.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: min(86vh, 760px); padding: 96px 0 140px; overflow: hidden; background: var(--ink); color: #fff; }
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 14, 18, .92) 0%, rgba(12, 14, 18, .72) 45%, rgba(12, 14, 18, .2) 100%); }
.hero h1 { max-width: 13ch; color: #fff; }
.hero h1 em { font-style: normal; color: var(--accent-bright); }
.hero__lead { max-width: 560px; margin-bottom: 2em; font-size: 1.2rem; color: #d5d9e0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 700px) {
    .hero { min-height: 0; padding: 72px 0 112px; }
    .hero::before { background: linear-gradient(180deg, rgba(12, 14, 18, .72), rgba(12, 14, 18, .9)); }
    .hero__lead { font-size: 1.08rem; }
}

/* Öne çıkanlar */
.features { position: relative; z-index: 2; margin-top: -64px; }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-lg); }
.feature { display: flex; align-items: flex-start; gap: 16px; padding: 28px 24px; }
.feature + .feature { border-left: 1px solid var(--line); }
.feature__title { margin-bottom: .2em; font-size: 1.3rem; }
.feature p { margin: 0; font-size: .95rem; line-height: 1.5; color: var(--muted); }
@media (max-width: 1000px) {
    .features__grid { grid-template-columns: repeat(2, 1fr); }
    .feature + .feature { border-left: 0; }
    .feature:nth-child(n+3) { border-top: 1px solid var(--line); }
    .feature:nth-child(even) { border-left: 1px solid var(--line); }
}
@media (max-width: 600px) {
    .features { margin-top: -48px; }
    .features__grid { grid-template-columns: 1fr; }
    .feature:nth-child(even) { border-left: 0; }
    .feature + .feature { border-top: 1px solid var(--line); }
}

/* Bölümler */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head p { font-size: 1.1rem; color: var(--muted); }
@media (max-width: 700px) { .section { padding: 64px 0; } }

/* Ürün grubu kartları */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.category-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .25s, box-shadow .25s, border-color .25s; }
.category-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow-lg); }
.category-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-soft); }
.category-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.category-card:hover .category-card__media img { transform: scale(1.05); }
.category-card__body { display: flex; flex: 1; flex-direction: column; padding: 20px 22px 22px; }
.category-card h3 { margin-bottom: .3em; font-size: 1.4rem; }
.category-card p { flex: 1; font-size: .95rem; line-height: 1.55; color: var(--muted); }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--accent); }
.link-arrow .icon { transition: transform .2s; }
.category-card:hover .link-arrow .icon { transform: translateX(4px); }
@media (max-width: 1000px) { .category-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .category-grid { grid-template-columns: 1fr; } }

/* İki sütunlu tanıtım */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; }
.split__media { position: relative; isolation: isolate; }
.split__media::before { content: ""; position: absolute; left: -18px; bottom: -18px; z-index: -1; width: 45%; height: 55%; border-radius: var(--radius); background: var(--accent); }
.split__media img { width: 100%; aspect-ratio: 9 / 7; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.checklist { display: grid; gap: 12px; margin: 0 0 2em; padding: 0; list-style: none; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; color: var(--ink); }
.checklist .icon { width: 24px; height: 24px; margin-top: 1px; padding: 4px; border-radius: 50%; background: var(--accent); color: #fff; stroke-width: 3; }
@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; gap: 48px; }
    .split__media { margin-left: 18px; }
}

/* Adımlar */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step { position: relative; overflow: hidden; padding: 32px 28px; border-radius: var(--radius); background: var(--ink-soft); }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 8px; right: 18px; font: 700 4.5rem/1 var(--font-head); color: rgba(255, 255, 255, .06); }
.step h3 { margin: 20px 0 .4em; }
.step p { margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Markalar */
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; margin: 0 auto; padding: 0; list-style: none; }
.brands li { padding: .55em 1.3em; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; color: var(--ink); }

/* Çağrı bandı */
.cta-band { position: relative; isolation: isolate; overflow: hidden; padding: 88px 0; background: var(--ink); color: #fff; }
.cta-band__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(181, 31, 31, .94), rgba(18, 21, 27, .86)); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band h2 { margin-bottom: .25em; color: #fff; }
.cta-band p { margin: 0; font-size: 1.1rem; color: rgba(255, 255, 255, .85); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Sayfa başlığı */
.page-banner { position: relative; isolation: isolate; overflow: hidden; padding: 88px 0 80px; background: var(--ink); color: #fff; }
.page-banner__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 14, 18, .9), rgba(12, 14, 18, .6)); }
.page-banner h1 { margin-bottom: .2em; font-size: clamp(2.4rem, 5vw, 3.8rem); color: #fff; }
.page-banner p { max-width: 620px; margin: 0; font-size: 1.15rem; color: #d5d9e0; }
.breadcrumb { display: flex; gap: .6em; margin-bottom: 1em; font-size: .9rem; color: #aab1bc; }
.breadcrumb a:hover { color: #fff; }

/* Değerler */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.value h3 { margin: 20px 0 .3em; }
.value p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* Galeri */
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, minmax(220px, 1fr)); gap: 20px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--ink-soft); }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) {
    .gallery { grid-template-columns: 1fr; grid-template-rows: none; }
    .gallery figure:first-child { grid-row: auto; }
    .gallery img { aspect-ratio: 4 / 3; }
}

/* Ürünler sayfası */
.notice { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 64px; padding: 20px 24px; border-radius: var(--radius); background: var(--accent-soft); color: #7a1414; }
.notice .icon { width: 24px; height: 24px; margin-top: 2px; }
.notice p { margin: 0; }
.notice strong { color: #5c0f0f; }
.product-group { display: grid; grid-template-columns: 5fr 6fr; align-items: center; gap: 56px; padding: 56px 0; border-top: 1px solid var(--line); }
.product-group:first-of-type { padding-top: 0; border-top: 0; }
.product-group:nth-of-type(even) .product-group__media { order: 2; }
.product-group__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.product-group__index { display: block; margin-bottom: .4em; font: 700 1.1rem/1 var(--font-head); letter-spacing: .12em; color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.8em; padding: 0; list-style: none; }
.chips li { padding: .4em .9em; border-radius: 8px; background: var(--bg-alt); font-size: .95rem; font-weight: 500; color: var(--ink); }
@media (max-width: 860px) {
    .product-group { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
    .product-group:nth-of-type(even) .product-group__media { order: 0; }
}

/* İletişim */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-bottom: 48px; }
.contact-card { display: flex; flex-direction: column; gap: 6px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
a.contact-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.contact-card .icon-badge { margin-bottom: 10px; }
.contact-card__label { font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-card__value { font: 700 1.4rem/1.25 var(--font-head); color: var(--ink); overflow-wrap: anywhere; }
.contact-layout { display: grid; grid-template-columns: 7fr 5fr; align-items: start; gap: 32px; }
.contact-layout--single { grid-template-columns: 1fr 1fr; }
.contact-address { display: grid; gap: 20px; }
.contact-address__text { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-address__text > div { flex: 1; min-width: 200px; }
.contact-address__text p { margin: 0; font-weight: 500; color: var(--ink); }
.map { overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-alt); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
.tip-card { padding: 32px; border-radius: var(--radius); background: var(--ink-soft); color: var(--on-dark); }
.tip-card h2 { font-size: 1.8rem; color: #fff; }
.tip-card ol { display: grid; gap: 10px; margin: 0 0 1.8em; padding-left: 1.3em; }
.tip-card strong { color: #fff; }
@media (max-width: 900px) { .contact-layout, .contact-layout--single { grid-template-columns: 1fr; } }

/* Alt bilgi */
.footer { padding-top: 72px; background: var(--ink); color: #aab1bc; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 48px; padding-bottom: 56px; }
.footer__brand { margin-bottom: .4em; font: 700 2rem/1.1 var(--font-head); color: #fff; }
.footer__about p { max-width: 380px; }
.footer__title { margin-bottom: 1em; font-size: 1.1rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.footer ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer a:hover { color: #fff; }
.footer__contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer__contact .icon { margin-top: 4px; color: var(--accent-bright); }
.footer__social { display: flex; gap: 10px; margin-top: 1.2em; }
.footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--steel); color: #fff; transition: background-color .2s; }
.footer__social a:hover { background: var(--accent); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); font-size: .88rem; }
.footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 20px 0; }
@media (max-width: 860px) {
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .footer__about { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* WhatsApp düğmesi */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 10px 26px rgba(31, 168, 85, .45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float .icon { width: 28px; height: 28px; }

/* Hata sayfası */
.error-page { padding: 120px 0; text-align: center; }
.error-page__code { font: 700 clamp(6rem, 18vw, 10rem)/1 var(--font-head); color: var(--accent); }
.error-page p { margin-bottom: 2em; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
