/* ==========================================================================
   CORES KİMYA — cores.com.tr
   Design tokens
   Palette: cool mineral "concrete" base + deep verdigris/resin primary +
   industrial amber accent, with each product group carrying its own
   swatch colour (editable from the panel).
   Type: Fraunces (display serif, echoes the wordmark) + IBM Plex Sans (body).
   ========================================================================== */

:root {
    --ink: #16191A;
    --ink-soft: #454C49;
    --paper: #E8E9E2;
    --paper-deep: #DDDFD5;
    --panel-dark: #12201B;
    --panel-dark-2: #0E1815;
    --primary: #24463E;
    --primary-light: #33604F;
    --accent: #C97A2E;
    --accent-light: #E0A45B;
    --white: #FFFFFF;
    --line: rgba(22, 25, 26, .14);
    --line-light: rgba(255, 255, 255, .16);

    --grp-1: #C97A2E;
    /* Yer Zemin Boyaları */
    --grp-2: #35576C;
    /* Teknik Yapıştırıcılar */
    --grp-3: #4B5320;
    /* Savunma Sanayi Kimyasal Temizlik */
    --grp-4: #9C4A3B;
    /* Dış Cephe Ürünleri */

    --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
    --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --container: 1280px;
    --space-1: .5rem;
    --space-2: 1rem;
    --space-3: 1.75rem;
    --space-4: 2.75rem;
    --space-5: 4.5rem;
    --space-6: 7rem;

    --radius: 3px;
    --shadow-soft: 0 18px 40px -22px rgba(15, 20, 18, .35);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; max-width: 62ch; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.bleed-container { width: 100%; padding: 0 16px; }
.section { padding: var(--space-5) 0; }
@media (max-width: 720px) { .section { padding: var(--space-4) 0; } }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6em;
    font-family: var(--font-body);
    font-size: .8rem;
    letter-spacing: .03em;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: .9em;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--accent); display: inline-block; }

.h-xl { font-size: clamp(1.2rem, 2.4vw, 3.6rem) }
.h-lg { font-size: clamp(1.7rem, 2vw, 2.5rem); letter-spacing: -.01em; }
.h-md { font-size: clamp(1.3rem, 2vw, 1.7rem); }
.lede { font-size: 0.9rem; color: var(--ink-soft); max-width: 46ch; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: .6em;
    padding: .9em 1.6em;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: .95rem;
    border: 1px solid transparent;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-light); }
.btn-outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-outline-light { border-color: var(--line-light); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--panel-dark); border-color: var(--white); }
.btn-sm { padding: .65em 1.2em; font-size: .85rem; }

/* ==========================================================================
   HEADER — floating rounded dark bar (tekmino header-2 mechanics,
   reskinned in Cores tokens), dropdown nav + pill CTA + "cubes" menu toggle.
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; padding-top: 16px; }
.page-hero-wrap.has-bg { background-size: cover; background-position: center; }
.header-bar {
    background: var(--panel-dark);
    border-radius: 20px;
    padding: 8px 10px 8px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.6rem;
    box-shadow: 0 20px 45px -28px rgba(8, 12, 10, .6);
    transition: box-shadow .25s ease, padding .25s ease;
}
.site-header.is-scrolled .header-bar { box-shadow: 0 22px 50px -20px rgba(8, 12, 10, .7); }
.brand img { height: 60px; width: auto; filter: brightness(0) invert(1); }

.mainmenu { display: flex; }
.mainmenu ul { display: flex; align-items: center; gap: 2rem; }
.mainmenu > ul > li { position: relative; }
.mainmenu > ul > li > a {
    display: flex; align-items: center; gap: .4em;
    font-size: .94rem; font-weight: 500;
    color: rgba(255, 255, 255, .8);
    padding: 18px 0;
}
.mainmenu > ul > li > a svg { transition: transform .25s ease; }
.mainmenu > ul > li:hover > a, .mainmenu > ul > li.is-active > a { color: #fff; }
.mainmenu > ul > li:hover > a svg { transform: rotate(180deg); }

.mainmenu .sub-menu {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: -14px; min-width: 240px;
    background: var(--panel-dark); border: 1px solid var(--line-light);
    border-radius: 16px; padding: 8px; margin-top: 6px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(6px) scaleY(.97); transform-origin: top;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
    box-shadow: 0 20px 45px -20px rgba(8, 12, 10, .7);
}
.mainmenu li.has-dropdown:hover > .sub-menu, .mainmenu li.has-dropdown.is-open > .sub-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0) scaleY(1); }
.mainmenu .sub-menu li a { display: flex; align-items: center; gap: .7em; padding: .7em 1em; border-radius: 10px; font-size: .88rem; color: rgba(255, 255, 255, .78); }
.mainmenu .sub-menu li a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.mainmenu .sub-menu li + li { margin-top: 2px; }
.sub-menu-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; background: var(--dot, var(--accent)); }

.header-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.btn-pill {
    display: inline-flex; align-items: center; gap: 14px;
    background: var(--accent); color: #fff; font-weight: 600; font-size: .9rem;
    border-radius: 50px; padding: 6px 6px 6px 22px; white-space: nowrap;
    transition: background .2s ease;
}
.btn-pill:hover { background: var(--accent-light); }
.btn-pill .btn-icon {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    display: flex; align-items: center; justify-content: center;
    transition: background .25s ease;
}
.btn-pill .btn-icon svg { transition: transform .3s ease; }
.btn-pill:hover .btn-icon { background: rgba(255, 255, 255, .3); }
.btn-pill:hover .btn-icon svg { transform: rotate(45deg); }

.cubes-btn {
    width: 50px; height: 50px; border-radius: 50%; flex-shrink: 0;
    background: rgba(255, 255, 255, .07); border: 1px solid var(--line-light);
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 3px; padding: 13px;
}
.cubes-btn span { width: 8px; height: 8px; border: 1.4px solid #fff; border-radius: 2px; transition: border-radius .4s ease; }
.cubes-btn:hover span { border-radius: 50%; }

@media (max-width: 1040px) {
    .mainmenu { display: none; }
    .header-bar { padding: 8px; padding-left: 20px; }
    .btn-pill span.pill-label { display: none; }
    .btn-pill { padding: 6px; }
}
@media (max-width: 480px) { .btn-pill { display: none; } }

/* Full-screen overlay navigation, opened by the cubes button */
.nav-overlay {
    position: fixed; inset: 0; z-index: 300;
    background: var(--panel-dark);
    display: flex; flex-direction: column; justify-content: center;
    padding: 90px 24px 32px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-14px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
}
.nav-overlay.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-overlay-inner { max-width: var(--container); margin: 0 auto; width: 100%; display: flex; flex-direction: column; gap: 1.4rem; }
.nav-overlay-inner ul { display: flex; flex-direction: column; gap: .1em; order: 3; }
.nav-overlay-inner ul a {
    font-family: var(--font-display); font-size: clamp(1.3rem, 3.4vw, 1.9rem);
    color: rgba(255, 255, 255, .55); display: inline-block; padding: .15em 0;
    transition: color .2s ease;
}
.nav-overlay-inner ul a:hover, .nav-overlay-inner ul a.is-active { color: #fff; }
.nav-overlay-meta { order: 1; display: flex; gap: 1.6rem; flex-wrap: wrap; }
.nav-overlay-meta div span { display: block; font-size: .72rem; color: rgba(255, 255, 255, .5); margin-bottom: .25em; }
.nav-overlay-meta div a, .nav-overlay-meta div address { color: #fff; font-size: .85rem; font-style: normal; }
.nav-overlay-social { order: 2; display: flex; gap: .6rem; }
.nav-overlay-social a {
    width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-light);
    display: flex; align-items: center; justify-content: center; color: #fff;
    transition: background .2s ease, border-color .2s ease;
}
.nav-overlay-social a:hover { background: var(--accent); border-color: var(--accent); }

@media (max-width: 1040px) {
    .nav-overlay-inner ul { order: 1; }
    .nav-overlay-meta { order: 2; border-top: 1px solid var(--line-light); padding-top: 1.2rem; }
    .nav-overlay-social { order: 3; }
}
.nav-overlay-close {
    position: absolute; top: 18px; right: 18px; width: 42px; height: 42px;
    border-radius: 50%; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-light);
    color: #fff; font-size: 1.3rem; display: flex; align-items: center; justify-content: center;
}

/* ==========================================================================
   HERO — full-bleed rounded product-group band (replaces the old text hero;
   the grid itself is the opening statement, echoing the header's rounded bar)
   ========================================================================== */
.hero { padding: var(--space-2) 0 var(--space-4); }
.hero-bleed { width: 100%; padding: 0 16px; }

/* ---- Ürün grupları: full-width, radius'lu "boya kartelası" blokları ---- */
.swatches {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
    background: var(--ink); border-radius: 28px; overflow: hidden;
}
.swatch {
    position: relative;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-4);
    color: var(--white);
    overflow: hidden;
    isolation: isolate;
    transition: flex-grow .45s cubic-bezier(.2,.7,.2,1);
}
.swatch-photo {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .5s ease;
    z-index: -2;
}
.swatch:hover .swatch-photo { transform: scale(1.08); }
.swatch-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(0deg, var(--tint, var(--primary)) 0%, color-mix(in srgb, var(--tint, var(--primary)) 58%, transparent) 48%, rgba(10,12,11,.3) 100%);
    z-index: -1;
    transition: background .4s ease;
}
.swatch-mark {
    position: absolute; top: var(--space-3); left: var(--space-3); right: var(--space-3);
    display: flex; align-items: center; justify-content: center;
    min-height: 92px;
}
.swatch-mark img { max-height: 64px; width: auto; filter: brightness(0) invert(1); opacity: .95; transition: transform .4s ease; }
.swatch:hover .swatch-mark img { transform: scale(1.08); }
.swatch-mark span.fallback-mark { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .04em; opacity: .9; }
.swatch-index { font-size: .78rem; letter-spacing: .06em; opacity: .85; margin-bottom: .6em; transition: opacity .3s ease; }
.swatch h3 { color: white; font-size: 1.4rem; margin-bottom: .3em; transition: transform .35s ease; }
.swatch p { font-size: .88rem; color: rgba(255,255,255,.82); max-width: 30ch; margin-bottom: 1.1em; opacity: .85; transition: opacity .3s ease; }
.swatch-cta { display: flex; align-items: center; gap: .7rem; }
.swatch-link {
    display: inline-flex; align-items: center; gap: .5em; font-size: .84rem; font-weight: 600;
    padding-bottom: 2px; width: max-content; position: relative;
}
.swatch-link::after { content: ''; position: absolute; left: 0; bottom: 0; height: 1px; background: #fff; width: 0; transition: width .3s ease; }
.swatch:hover .swatch-link::after { width: 100%; }
.kategori-card:hover .swatch-link::after { width: 100%; }
.swatch-arrow {
    width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--ink);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    opacity: 0; transform: translateX(-8px);
    transition: opacity .3s ease, transform .3s ease;
}
.swatch:hover .swatch-arrow { opacity: 1; transform: translateX(0); }
.kategori-card:hover .swatch-arrow { opacity: 1; transform: translateX(0); }
.swatch:hover h3 { transform: translateY(-2px); }
.swatch:hover p, .swatch:hover .swatch-index { opacity: 1; }
.swatch a.swatch-hit { position: absolute; inset: 0; z-index: 6; }

@media (max-width: 980px) { .swatches { grid-template-columns: repeat(2, 1fr); border-radius: 22px; } .swatch { min-height: 380px; } }
@media (max-width: 620px) { .swatches { grid-template-columns: 1fr; border-radius: 20px; } .swatch { min-height: 320px; } }

/* ==========================================================================
   PARALLAX / HAKKIMIZDA + SAYAÇ — ürün gruplarıyla aynı bleed genişlik + radius
   ========================================================================== */
.parallax-wrap { padding: 0 0 var(--space-5); }
.parallax {
    position: relative;
    background-image: url(../img/cores-banner.jpeg);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: var(--white);
    border-radius: 28px;
    overflow: hidden;
}
@media (max-width: 900px) { .parallax { background-attachment: scroll; } }
@media (min-width: 1400px) {
    .parallax { height: 500px; }
    .parallax .container { height: 100%; padding-top: 0; padding-bottom: 0; }
}
.parallax::before { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(14,24,21,.92), rgba(14,24,21,.65)); }
.parallax .container { position: relative; padding: var(--space-6) 24px; display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--space-5); align-items: center; }
.parallax .lede { color: rgba(255,255,255,.82); }
.parallax h2 { color: var(--white); }

.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); border-top: 1px solid var(--line-light); padding-top: var(--space-3); }
.counter b { display: block; font-family: var(--font-display); font-size: clamp(2.1rem, 4vw, 2.8rem); color: var(--accent-light); line-height: 1; }
.counter span { font-size: .82rem; color: rgba(255,255,255,.75); display: block; margin-top: .5em; }

@media (max-width: 900px) {
    .parallax .container { grid-template-columns: 1fr; }
    .counters { grid-template-columns: repeat(3, 1fr); margin-top: var(--space-3); }
}
@media (max-width: 620px) { .parallax { border-radius: 20px; } }

/* ==========================================================================
   HİZMETLER — numaralı, hover'da renk dolan servis kartları
   (tekmino "service-item-2" mekaniği, Cores paletiyle)
   ========================================================================== */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.feature { position: relative; }
.feature-inner {
    position: relative; z-index: 1; overflow: hidden; isolation: isolate;
    background: var(--white); border: 1px solid var(--line); border-radius: 20px;
    padding: var(--space-4) var(--space-3) var(--space-3);
    transition: border-color .3s ease, transform .3s ease;
}
.feature-inner::before {
    content: ''; position: absolute; inset: auto 0 0 0; height: 0%;
    background: var(--accent); z-index: -1; transition: height .38s cubic-bezier(.2,.7,.2,1);
}
.feature:hover .feature-inner::before { height: 100%; }
.feature:hover .feature-inner { transform: translateY(-4px); border-color: transparent; }
.feature-count {
    position: absolute; top: 0; right: 0; z-index: 2;
    background: var(--paper-deep); color: var(--ink-soft);
    font-family: var(--font-display); font-size: .92rem;
    padding: .5em 1em; border-radius: 0 20px 0 16px;
    transition: background .3s ease, color .3s ease;
}
.feature:hover .feature-count { background: var(--panel-dark); color: var(--accent-light); }
.feature-icon {
    width: 58px; height: 58px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--paper-deep); color: var(--primary);
    margin-bottom: var(--space-2); transition: background .3s ease, color .3s ease;
}
.feature-icon img { width: 26px; height: 26px; }
.feature:hover .feature-icon { background: var(--panel-dark); color: var(--accent-light); }
.feature:hover .feature-icon img { filter: brightness(0) invert(1); }
.feature h3, .feature p { transition: color .3s ease; }
.feature:hover h3, .feature:hover p { color: #fff; }
.feature h3 { font-size: 1.08rem; margin-bottom: .4em; }
.feature p { font-size: .92rem; color: var(--ink-soft); margin-bottom: 0; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   SECTION HEADS
   ========================================================================== */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-3); margin-bottom: var(--space-4); }
.section-head .lede { margin: .4em 0 0; }
.acc-count {
    font-family: var(--font-display); font-size: .85rem; color: var(--ink-soft);
    border: 1px solid var(--line); border-radius: 50px; padding: .5em 1.1em; white-space: nowrap;
}
@media (max-width: 700px) { .section-head { flex-direction: column; align-items: flex-start; } }

/* ==========================================================================
   ÜRÜN KATEGORİLERİ (urunler.php) — kart grid
   ========================================================================== */
.kategori-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.kategori-card { position: relative; aspect-ratio: 1 / 1; border-radius: 20px; overflow: hidden; color: var(--white); display: flex; flex-direction: column; justify-content: flex-end; padding: var(--space-3); isolation: isolate; transition: transform .35s ease; }
.kategori-card:hover { transform: translateY(-4px); }
.kategori-card .swatch-photo { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.kategori-card:hover .swatch-photo { transform: scale(1.08); }
.kategori-card .swatch-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--tint, var(--primary)) 0%, color-mix(in srgb, var(--tint, var(--primary)) 55%, transparent) 46%, rgba(10,12,11,.28) 100%); }
.kategori-card h3 { font-size: 1.2rem; margin-bottom: .35em; color: #fff; }
.kategori-card p { font-size: .86rem; color: rgba(255,255,255,.85); margin-bottom: .9em; }
@media (max-width: 980px) { .kategori-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .kategori-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   TEK KATEGORİ SAYFASI — carousel
   ========================================================================== */
.page-hero { padding: var(--space-4) 0 var(--space-3); border-bottom: 1px solid var(--line); }
.breadcrumb-trail { font-size: .84rem; color: var(--ink-soft); margin-bottom: var(--space-2); }
.breadcrumb-trail a { color: var(--ink-soft); }
.breadcrumb-trail a:hover { color: var(--accent); }

.carousel-wrap { position: relative; }
.carousel-track { display: flex; gap: var(--space-3); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--space-2); scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track.blog-track .blog-card { flex: 0 0 calc(33.333% - 24px); scroll-snap-align: start; }
@media (max-width: 980px) { .carousel-track.blog-track .blog-card { flex-basis: calc(50% - 16px); } }
@media (max-width: 620px) { .carousel-track.blog-track .blog-card { flex-basis: 86vw; } }
.product-card { scroll-snap-align: start; flex: 0 0 320px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.product-media { height: 220px; background-size: cover; background-position: center; background-color: var(--paper-deep); }
.product-body { padding: var(--space-3); display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.product-body h3 { font-size: 1.12rem; margin-bottom: 0; }
.product-body p { font-size: .9rem; color: var(--ink-soft); margin-bottom: 0; flex: 1; }
.product-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .3rem; }
.carousel-nav { display: flex; gap: .6rem; justify-content: flex-end; margin-top: var(--space-2); }
.carousel-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); display: flex; align-items: center; justify-content: center; transition: background .18s ease, color .18s ease; }
.carousel-btn:hover { background: var(--ink); color: var(--paper); }

/* ---- Marka paneli: logo + açıklama + Web Sitesi/Katalog ---- */
.brand-panel { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: var(--space-4); }
.brand-panel-grid { display: grid; grid-template-columns: 1.5fr .8fr; gap: var(--space-4); align-items: start; }
.brand-panel-side {
    background: var(--tint, var(--primary)); border-radius: 20px; padding: var(--space-3);
    display: flex; flex-direction: column; align-items: center; gap: 1.4rem;
}
.brand-panel-logo { display: flex; align-items: center; justify-content: center; min-height: 56px; }
.brand-panel-logo img { max-height: 56px; width: auto; filter: brightness(0) invert(1); }
.brand-panel-logo .fallback-mark { font-family: var(--font-display); font-size: 1.8rem; color: #fff; }
.brand-panel-buttons { display: flex; flex-direction: column; gap: .7rem; width: 100%; }
.brand-panel-buttons .btn { justify-content: center; width: 100%; }
.brand-panel-buttons .btn-primary { background: #fff; color: var(--tint, var(--primary)); }
.brand-panel-buttons .btn-primary:hover { background: rgba(255,255,255,.88); }
@media (max-width: 780px) { .brand-panel-grid { grid-template-columns: 1fr; } }

/* ---- Ürünler: akordeon (profesyonelleştirilmiş) ---- */
.product-accordion { display: flex; flex-direction: column; gap: 10px; counter-reset: acc-counter; }
.acc-item {
    counter-increment: acc-counter;
    border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--white);
    transition: box-shadow .3s ease, border-color .3s ease;
}
.acc-item.is-open { border-color: transparent; box-shadow: 0 20px 45px -30px rgba(15,20,18,.4); }
.acc-trigger {
    width: 100%; display: flex; align-items: center; gap: 1.1rem;
    padding: 1rem 1.4rem; background: none; border: 0; text-align: left; cursor: pointer;
    transition: background .2s ease;
}
.acc-trigger:hover { background: var(--paper); }
.acc-item.is-open .acc-trigger { background: var(--paper); }
.acc-index {
    font-family: var(--font-display); font-size: .82rem; color: var(--ink-soft);
    flex-shrink: 0; width: 1.6em;
}
.acc-index::before { content: counter(acc-counter, decimal-leading-zero); }
.acc-thumb {
    width: 58px; height: 58px; border-radius: 14px; background-size: cover; background-position: center;
    background-color: var(--tint, var(--paper-deep)); flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.acc-thumb .fallback-mark { color: #fff; font-size: 1.2rem; opacity: .9; }
.acc-heading { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .2em; }
.acc-title { font-family: var(--font-display); font-size: 1.12rem; }
.acc-excerpt { font-size: .86rem; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-chevron {
    flex-shrink: 0; color: var(--ink-soft); width: 34px; height: 34px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; background: var(--paper-deep);
    transition: transform .3s ease, background .3s ease, color .3s ease;
}
.acc-item.is-open .acc-chevron { transform: rotate(180deg); background: var(--tint, var(--primary)); color: #fff; }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.acc-panel-inner { display: grid; grid-template-columns: 340px 1fr; gap: 1.8rem; padding: .3rem 1.4rem 1.7rem; }
.acc-photo-wrap { border-radius: 18px; overflow: hidden; box-shadow: 0 18px 40px -26px rgba(15,20,18,.45); }
.acc-photo { height: 250px; background-size: cover; background-position: center; background-color: var(--paper-deep); }
.acc-details { display: flex; flex-direction: column; }
.acc-details .acc-body { color: var(--ink-soft); }
.acc-details .acc-body p { margin-bottom: 1em; }
.acc-details .product-actions { margin-top: auto; padding-top: .6rem; }
.acc-details .product-actions .btn { gap: .5em; }
@media (max-width: 720px) {
    .acc-panel-inner { grid-template-columns: 1fr; }
    .acc-photo { width: 100%; height: auto; aspect-ratio: 1 / 1; }
    .acc-excerpt { white-space: normal; }
}

/* ---- Proje Uygulaması galerisi ---- */
.app-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.app-gallery-item { position: relative; display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; isolation: isolate; }
.app-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.app-gallery-item:hover img { transform: scale(1.08); }
.app-gallery-caption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: .8rem 1rem .7rem;
    background: linear-gradient(0deg, rgba(10,12,11,.78), transparent);
    color: #fff; font-size: .82rem; opacity: 0; transform: translateY(6px);
    transition: opacity .25s ease, transform .25s ease;
}
.app-gallery-item:hover .app-gallery-caption { opacity: 1; transform: translateY(0); }
@media (max-width: 980px) { .app-gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .app-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .app-gallery { grid-template-columns: 1fr; } }

/* ---- Lightbox ---- */
.lightbox {
    position: fixed; inset: 0; z-index: 400; background: rgba(10,12,11,.94);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-figure { max-width: min(90vw, 1100px); max-height: 84vh; margin: 0; text-align: center; }
.lightbox-figure img { max-width: 100%; max-height: 78vh; border-radius: 12px; display: block; margin: 0 auto; }
.lightbox-figure figcaption { color: rgba(255,255,255,.75); font-size: .9rem; margin-top: 1rem; }
.lightbox-close {
    position: absolute; top: 22px; right: 22px; width: 46px; height: 46px; border-radius: 50%;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: 1.4rem;
    display: flex; align-items: center; justify-content: center;
}
.lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff;
    display: flex; align-items: center; justify-content: center;
}
.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }
@media (max-width: 620px) { .lightbox-nav { display: none; } }

@media (max-width: 560px) { .product-card { flex-basis: 82vw; } }

/* ==========================================================================
   KATALOG BANDI — iki kolonlu promo band (arviaelectric.com.tr referansı)
   ========================================================================== */
.catalog-band { background: var(--accent); color: var(--white); overflow: hidden; }
.catalog-band-inner {
    max-width: var(--container); margin: 0 auto; padding: var(--space-5) 24px;
    display: grid; grid-template-columns: .85fr 1.15fr; gap: var(--space-5); align-items: center;
}
.catalog-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 220px; }
.catalog-visual svg { width: 100%; max-width: 340px; height: auto; }
.catalog-copy h3 { color: #fff; margin-bottom: .4em; }
.catalog-copy p { color: rgba(255, 255, 255, .88); margin-bottom: var(--space-3); max-width: 46ch; }
.catalog-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.catalog-dl-btn {
    display: inline-flex; align-items: center; gap: 1.4rem;
    background: var(--panel-dark); color: #fff; border-radius: 10px;
    padding: 1em 0 1em 1.4em; font-weight: 700; font-size: .84rem;
    letter-spacing: .03em; text-transform: uppercase;
    transition: background .2s ease;
}
.catalog-dl-btn span.icn { background: rgba(255,255,255,.1); padding: 1em; display: flex; align-items: center; }
.catalog-dl-btn:hover { background: #050a08; }
.catalog-meta { font-size: .84rem; color: rgba(255, 255, 255, .8); }
.catalog-list-extra { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: var(--space-2); }
.catalog-list-extra a { font-size: .86rem; color: rgba(255,255,255,.85); border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 2px; }
.catalog-list-extra a:hover { color: #fff; border-color: #fff; }
@media (max-width: 860px) {
    .catalog-band-inner { grid-template-columns: 1fr; text-align: center; padding: var(--space-4) 24px; }
    .catalog-copy p { margin-left: auto; margin-right: auto; }
    .catalog-actions { justify-content: center; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: transparent; color: rgba(255,255,255,.82); padding-bottom: 16px; }
.footer-panel { position: relative; background: var(--panel-dark); border-radius: 28px; overflow: hidden; padding-top: var(--space-5); }
.footer-glow {
    position: absolute; width: 560px; height: 560px; border-radius: 50%;
    background: radial-gradient(circle, rgba(201,122,46,.35), transparent 70%);
    top: -220px; left: -140px; pointer-events: none; z-index: 0;
}
.footer-watermark {
    position: absolute; right: -30px; bottom: -30px; height: 320px; width: auto;
    opacity: .05; filter: brightness(0) invert(1); pointer-events: none; z-index: 0; user-select: none;
}
.footer-panel > .container { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: var(--space-4); padding-bottom: var(--space-4); border-bottom: 1px solid var(--line-light); }
.footer-brand img { height: 42px; margin-bottom: var(--space-2); }
.footer-brand p { font-size: .92rem; color: rgba(255,255,255,.68); }
.footer-col h4 { color: var(--white); font-size: .95rem; font-family: var(--font-body); font-weight: 600; margin-bottom: 1.1em; }
.footer-col ul { display: flex; flex-direction: column; gap: .7rem; }
.footer-col a, .footer-col address { font-size: .92rem; color: rgba(255,255,255,.72); font-style: normal; }
.footer-col a:hover { color: var(--accent-light); }
.social-row { display: flex; gap: .7rem; margin-top: 1.2rem; }
.social-row a { width: 38px; height: 38px; border: 1px solid var(--line-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background .18s ease, border-color .18s ease; }
.social-row a:hover { background: var(--accent); border-color: var(--accent); }

.newsletter-form { display: flex; gap: .5rem; margin-top: .8rem; }
.newsletter-form input { flex: 1; padding: .8em 1em; border-radius: var(--radius); border: 1px solid var(--line-light); background: rgba(255,255,255,.06); color: var(--white); }
.newsletter-form input::placeholder { color: rgba(255,255,255,.55); }
.newsletter-form button { padding: .8em 1.1em; border-radius: var(--radius); background: var(--accent); border: none; color: var(--white); font-weight: 600; }
.newsletter-consent { display: flex; align-items: flex-start; gap: .55rem; margin-top: .7rem; cursor: pointer; }
.newsletter-consent input { margin-top: .2em; accent-color: var(--accent); flex-shrink: 0; }
.newsletter-consent span { font-size: .78rem; color: rgba(255,255,255,.6); line-height: 1.4; }
.form-note { font-size: .78rem; margin-top: .6rem; color: rgba(255,255,255,.55); }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: var(--space-3) 0; font-size: .82rem; color: rgba(255,255,255,.55); flex-wrap: wrap; gap: 1.2rem; }
.footer-bottom a { color: rgba(255,255,255,.72); }
.footer-legal { display: flex; gap: 1.2rem; }
.footer-legal a { color: rgba(255,255,255,.55); transition: color .2s ease; }
.footer-legal a:hover { color: #fff; }
.footer-credit { display: inline-flex; align-items: center; gap: .6rem; color: rgba(255,255,255,.55); transition: color .2s ease; }
.footer-credit span { font-size: .82rem; }
.footer-credit img { height: 16px; width: auto; opacity: .85; transition: opacity .2s ease; }
.footer-credit:hover { color: #fff; }
.footer-credit:hover img { opacity: 1; }

@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } .newsletter-form { flex-direction: column; } }

/* ==========================================================================
   İÇ SAYFALAR — ortak bileşenler (kurumsal, hizmetler, blog, iletişim)
   ========================================================================== */
.inner-hero { position: relative; padding: var(--space-5) 0 var(--space-4); border-bottom: 1px solid var(--line); overflow: hidden; }
.inner-hero.has-bg {
    background: transparent;
    color: #fff; border-bottom: none;
}
.inner-hero.has-bg .container { position: relative; z-index: 1; }
.inner-hero.has-bg .breadcrumb-trail, .inner-hero.has-bg .breadcrumb-trail a { color: rgba(255,255,255,.68); }
.inner-hero.has-bg h1, .inner-hero.has-bg .lede { color: #fff; }
.inner-hero.has-bg .lede { color: rgba(255,255,255,.82); }
.inner-hero.has-bg .kurumsal-subnav a { border-color: rgba(255,255,255,.28); color: rgba(255,255,255,.85); }
.inner-hero.has-bg .kurumsal-subnav a:hover { border-color: #fff; color: #fff; }
.inner-hero.has-bg .kurumsal-subnav a.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

.kurumsal-subnav { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: var(--space-3); }
.kurumsal-subnav a {
    padding: .6em 1.2em; border-radius: 50px; border: 1px solid var(--line);
    font-size: .9rem; font-weight: 500; color: var(--ink-soft);
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.kurumsal-subnav a:hover { border-color: var(--primary); color: var(--ink); }
.kurumsal-subnav a.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); align-items: center; }
.two-col img { border-radius: var(--radius); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.value-list { display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-3); }
.value-list li { display: flex; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.value-list li:first-child { border-top: none; }
.value-list b { font-family: var(--font-display); font-size: 1.05rem; min-width: 220px; }
.value-list span { color: var(--ink-soft); font-size: .94rem; }

.timeline-block { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-4); margin-bottom: var(--space-3); }
.timeline-block h3 { margin-bottom: .5em; }

.hizmet-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
.hizmet-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-4); display: flex; gap: var(--space-3); }
.hizmet-card .feature-icon { flex-shrink: 0; }
@media (max-width: 720px) { .hizmet-grid { grid-template-columns: 1fr; } }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.blog-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: transparent; }
.blog-media { height: 190px; background-size: cover; background-position: center; background-color: var(--paper-deep); transition: transform .5s ease; }
.blog-card:hover .blog-media { transform: scale(1.06); }
.blog-body { padding: var(--space-3); display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.blog-date { font-size: .78rem; color: var(--accent); font-weight: 600; }
.blog-body h3 { font-size: 1.08rem; margin-bottom: 0; transition: color .25s ease; }
.blog-card:hover .blog-body h3 { color: var(--primary); }
.blog-body p { font-size: .9rem; color: var(--ink-soft); flex: 1; }
.blog-more { font-size: .86rem; font-weight: 600; border-bottom: 1px solid currentColor; width: max-content; transition: color .25s ease, gap .25s ease; display: inline-flex; align-items: center; gap: .3em; }
.blog-card:hover .blog-more { color: var(--accent); gap: .55em; }
@media (max-width: 980px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-detay-meta { display: inline-flex; align-items: center; gap: .5em; font-size: .88rem; color: #ffffff; margin-top: .8rem; }
.blog-detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: var(--space-5); align-items: start; }
.blog-detail-main { min-width: 0; }
.blog-detay-body { max-width: 72ch; font-size: 1.02rem; }
.blog-detay-body img { border-radius: 16px; margin: var(--space-3) 0; }
.blog-detay-body p { margin-bottom: 1.2em; }
.blog-detay-cover { height: 380px; background-size: cover; background-position: center; border-radius: 20px; margin-bottom: var(--space-4); background-color: var(--paper-deep); }

.blog-share { display: flex; align-items: center; gap: .8rem; margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--line); max-width: 72ch; }
.blog-share span { font-size: .86rem; font-weight: 600; color: var(--ink-soft); margin-right: .3rem; }
.blog-share a {
    width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center; color: var(--ink-soft);
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.blog-share a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.blog-sidebar { position: sticky; top: 112px; display: flex; flex-direction: column; gap: var(--space-3); }
.blog-sidebar-block { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: var(--space-3); }
.blog-sidebar-block h3 { font-size: 1rem; margin-bottom: 1rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.blog-sidebar-list li { border-bottom: 1px solid var(--line); }
.blog-sidebar-list li:last-child { border-bottom: none; }
.blog-sidebar-list a { display: flex; gap: .8rem; padding: .8rem 0; align-items: center; }
.blog-sidebar-thumb { width: 60px; height: 54px; border-radius: 10px; background-size: cover; background-position: center; background-color: var(--paper-deep); flex-shrink: 0; }
.blog-sidebar-text { display: flex; flex-direction: column; gap: .3em; min-width: 0; }
.blog-sidebar-date { font-size: .74rem; color: var(--accent); font-weight: 600; }
.blog-sidebar-title { font-size: .88rem; line-height: 1.35; color: var(--ink); transition: color .2s ease; }
.blog-sidebar-list a:hover .blog-sidebar-title { color: var(--primary); }
.blog-sidebar-cta p { font-size: .88rem; color: var(--ink-soft); margin-bottom: 1rem; }

@media (max-width: 900px) {
    .blog-detail-grid { grid-template-columns: 1fr; }
    .blog-sidebar { position: static; }
}

/* İletişim */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--space-5); }
.contact-info-list { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-3); }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-item .feature-icon { width: 44px; height: 44px; flex-shrink: 0; }
.contact-info-item .feature-icon img { width: 20px; height: 20px; }
.contact-info-item b { display: block; font-size: .95rem; }
.contact-info-item span, .contact-info-item a { font-size: .92rem; color: var(--ink-soft); }
.map-frame { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; margin-top: var(--space-3); height: 260px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.map-frame-wide { height: 420px; margin-top: var(--space-4); border-radius: 24px; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-4); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); margin-bottom: var(--space-2); }
.form-group label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: .5em; }
.form-group input, .form-group textarea { width: 100%; padding: .85em 1em; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); background: var(--white); }
.form-msg { display: none; padding: .9em 1.1em; border-radius: var(--radius); font-size: .9rem; margin-top: var(--space-2); }
.form-msg.is-visible { display: block; }
.form-msg.ok { background: #E4EEE7; color: #1F5136; }
.form-msg.err { background: #F5E3DF; color: #8A3A26; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* 404 */
.not-found { padding: var(--space-6) 0; text-align: center; }
.not-found .h-xl { font-size: clamp(4rem, 12vw, 8rem); color: var(--primary); margin-bottom: 0; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
[data-animate] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
[data-animate].is-visible { opacity: 1; transform: translateY(0); }
