/* ==========================================================================
   İstanbul Destek - Modern Teknoloji Teması
   ========================================================================== */
:root {
    --bg: #0b1220;
    --bg-2: #0f1a2e;
    --bg-3: #13213a;
    --surface: #ffffff;
    --surface-2: #f5f8fc;
    --ink: #0f172a;
    --ink-2: #334155;
    --muted: #64748b;
    --line: rgba(15, 23, 42, .08);
    --primary: #2563eb;
    --primary-2: #1d4ed8;
    --cyan: #06b6d4;
    --accent: #f59e0b;
    --grad: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    --grad-soft: linear-gradient(135deg, rgba(37, 99, 235, .12), rgba(6, 182, 212, .12));
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
    --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, .3);
}

* { -webkit-font-smoothing: antialiased; }

body {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--ink);
    background: var(--surface);
    overflow-x: hidden;
}

a { color: var(--primary); }
h1, h2, h3, h4, h5, h6 { font-weight: 700; letter-spacing: -.01em; }
.btn { border-radius: 999px; font-weight: 600; padding: .6rem 1.35rem; transition: transform .18s, box-shadow .18s, background .18s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--grad); border: 0; box-shadow: 0 10px 24px -10px rgba(37, 99, 235, .7); }
.btn-primary:hover { box-shadow: 0 14px 30px -10px rgba(37, 99, 235, .8); transform: translateY(-1px); }
.btn-outline-primary { border: 2px solid rgba(37, 99, 235, .35); color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-warning { background: var(--accent); border: 0; color: #111; }
.btn-warning:hover { background: #fbbf24; color: #111; }
.btn-outline-light { border: 2px solid rgba(255, 255, 255, .35); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.form-control, .form-select { border-radius: var(--radius-sm); border-color: var(--line); padding: .6rem .9rem; }
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
.badge { font-weight: 600; letter-spacing: .02em; }

/* ---------------------------------------------------------- Üst bar */
.topbar {
    background: var(--bg);
    color: #94a3b8;
    font-size: .8rem;
    padding: .45rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.topbar a { color: #94a3b8; text-decoration: none; transition: color .15s; }
.topbar a:hover { color: #fff; }

/* ---------------------------------------------------------- Navbar */
.site-navbar {
    background: rgba(255, 255, 255, .82);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
    padding: .65rem 0;
    transition: box-shadow .2s;
}
.site-navbar.scrolled { box-shadow: 0 8px 30px -14px rgba(15, 23, 42, .3); }

.navbar-brand {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--ink) !important;
    display: flex;
    align-items: center;
    gap: .55rem;
}
.navbar-brand .brand-logo { height: 44px; width: auto; max-width: 220px; display: block; }
.footer-logo { height: 40px; width: auto; max-width: 200px; display: block; }
@media (max-width: 575.98px) { .navbar-brand .brand-logo { height: 36px; } }
.navbar-brand .brand-mark {
    width: 38px; height: 38px;
    border-radius: 11px;
    background: var(--grad);
    display: grid; place-items: center;
    color: #fff; font-size: 1.15rem;
    box-shadow: 0 8px 18px -8px rgba(37, 99, 235, .7);
}

.site-navbar .nav-link {
    font-weight: 500;
    color: var(--ink-2);
    padding: .5rem .9rem !important;
    border-radius: 999px;
    transition: background .15s, color .15s;
}
.site-navbar .nav-link:hover { background: var(--surface-2); color: var(--ink); }
.site-navbar .nav-link.active { color: var(--primary); background: rgba(37, 99, 235, .08); }
.site-navbar .dropdown-menu { border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: .5rem; }
.site-navbar .dropdown-item { border-radius: 8px; padding: .5rem .8rem; font-size: .9rem; }
.site-navbar .dropdown-item:hover { background: var(--grad-soft); color: var(--primary); }

.search-box { width: 250px; }
.search-box .form-control { border-radius: 999px 0 0 999px; }
.search-box .btn { border-radius: 0 999px 999px 0; padding: .4rem .9rem; }

.search-results {
    display: none;
    position: absolute; top: calc(100% + 8px); right: 0;
    width: 360px; max-height: 440px; overflow-y: auto;
    background: #fff; border-radius: 14px; z-index: 1050;
    border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.search-results.show { display: block; }
.search-result-item {
    display: flex; gap: .7rem; padding: .6rem .8rem;
    text-decoration: none; color: inherit; align-items: center;
    border-bottom: 1px solid var(--line); transition: background .12s;
}
.search-result-item:hover { background: var(--surface-2); }
.search-result-item img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; background: #fff; flex-shrink: 0; }

/* ---------------------------------------------------------- Hero */
.hero {
    position: relative;
    background: radial-gradient(1200px 600px at 80% -10%, rgba(37, 99, 235, .35), transparent 60%),
                radial-gradient(800px 500px at 10% 110%, rgba(6, 182, 212, .25), transparent 60%),
                var(--bg);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    z-index: -1;
}
.hero .orb {
    position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; z-index: -1;
    animation: float 12s ease-in-out infinite;
}
.hero .orb-1 { width: 420px; height: 420px; background: #2563eb; right: -80px; top: -120px; }
.hero .orb-2 { width: 320px; height: 320px; background: #06b6d4; left: -100px; bottom: -140px; animation-delay: -6s; }
@keyframes float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-24px) } }

.hero-slide { padding: 5.5rem 0 6rem; }
.hero .eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .4rem .9rem; border-radius: 999px;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12);
    font-size: .8rem; font-weight: 600; color: #a5f3fc; backdrop-filter: blur(6px);
}
.hero .eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #22d3ee; box-shadow: 0 0 0 4px rgba(34, 211, 238, .25); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1 } 50% { opacity: .4 } }
.hero h1 { font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.12; letter-spacing: -.02em; margin: 1rem 0; }
.hero h1 .grad { background: linear-gradient(90deg, #7dd3fc, #22d3ee, #60a5fa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: #cbd5e1; font-size: 1.1rem; max-width: 560px; line-height: 1.65; }

.hero-visual { position: relative; }
.hero-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 20px; padding: 1.2rem 1.3rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
    animation: rise .8s ease both;
}
.hero-card + .hero-card { margin-top: 1rem; animation-delay: .15s; }
.hero-card .lbl { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: #93c5fd; font-weight: 700; }
.hero-card .val { font-size: 1.6rem; font-weight: 800; }
.hero-card .sub { color: #94a3b8; font-size: .85rem; }
@keyframes rise { from { opacity: 0; transform: translateY(18px) } to { opacity: 1; transform: none } }

.hero-stats { display: flex; gap: 2.2rem; margin-top: 2.4rem; flex-wrap: wrap; }
.hero-stats .stat strong { display: block; font-size: 1.5rem; font-weight: 800; }
.hero-stats .stat span { color: #94a3b8; font-size: .85rem; }

.carousel-indicators [data-bs-target] { width: 28px; height: 4px; border-radius: 2px; background: #fff; opacity: .3; }
.carousel-indicators .active { opacity: 1; background: #22d3ee; }

/* ---------------------------------------------------------- Bölümler */
.section { padding: 5rem 0; }
.section-alt { background: var(--surface-2); }
.section-dark { background: var(--bg); color: #fff; }

.section-title { margin-bottom: 2.8rem; }
.section-title .kicker {
    display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--primary); background: rgba(37, 99, 235, .08); padding: .35rem .8rem; border-radius: 999px; margin-bottom: .8rem;
}
.section-dark .section-title .kicker { color: #a5f3fc; background: rgba(6, 182, 212, .14); }
.section-title h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .5rem; }
.section-title p { color: var(--muted); max-width: 620px; font-size: 1.02rem; }
.section-dark .section-title p { color: #94a3b8; }
.section-title.center { text-align: center; }
.section-title.center p { margin: 0 auto; }

/* Hizmet kartı */
.service-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.6rem 1.4rem;
    height: 100%;
    transition: transform .22s, box-shadow .22s, border-color .22s;
    overflow: hidden;
}
.service-card::after {
    content: ""; position: absolute; inset: auto -40px -40px auto; width: 120px; height: 120px;
    border-radius: 50%; background: var(--grad-soft); opacity: 0; transition: opacity .22s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(37, 99, 235, .25); }
.service-card:hover::after { opacity: 1; }
.service-card .icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: var(--grad); color: #fff;
    display: grid; place-items: center; font-size: 1.5rem;
    box-shadow: 0 10px 22px -10px rgba(37, 99, 235, .7);
    margin-bottom: 1rem;
}
.service-card h5 { font-size: 1.02rem; margin-bottom: .4rem; }
.service-card p { font-size: .88rem; color: var(--muted); margin: 0; line-height: 1.6; }

/* Çözüm kartı (koyu) */
.solution-card {
    position: relative;
    background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
    border: 1px solid rgba(255, 255, 255, .08);
    color: #fff; border-radius: var(--radius);
    padding: 1.8rem 1.5rem; height: 100%;
    overflow: hidden; transition: transform .22s, border-color .22s;
}
.solution-card:hover { transform: translateY(-5px); border-color: rgba(34, 211, 238, .4); }
.solution-card .icon { font-size: 2rem; color: #22d3ee; margin-bottom: .8rem; }
.solution-card h5 { font-size: 1.05rem; }
.solution-card p { color: #94a3b8; font-size: .9rem; line-height: 1.6; }
.solution-card .more { color: #a5f3fc; font-weight: 600; font-size: .88rem; text-decoration: none; }
.solution-card .more:hover { color: #fff; }
.solution-card .bg-icon { position: absolute; right: -14px; bottom: -22px; font-size: 7rem; opacity: .07; }

/* ---------------------------------------------------------- Ürün kartı */
.product-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden; height: 100%;
    display: flex; flex-direction: column;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(37, 99, 235, .2); }
.product-card .img-wrap {
    position: relative; height: 210px; min-height: 210px; padding: 1.1rem; box-sizing: border-box;
    display: flex; align-items: center; justify-content: center; overflow: hidden; flex: 0 0 auto;
    background: radial-gradient(circle at 50% 40%, #fff, #f1f5f9);
}
.product-card .img-wrap img {
    display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%;
    object-fit: contain; object-position: center; transition: transform .3s;
}
.product-card:hover .img-wrap img { transform: scale(1.06); }
.product-card .img-wrap .no-image { font-size: 3rem; color: #cbd5e1; }
.product-card .badges { position: absolute; top: .7rem; left: .7rem; display: flex; flex-direction: column; gap: .3rem; }
.product-card .badges .badge { border-radius: 999px; padding: .35em .7em; font-size: .7rem; }
.product-card .body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.product-card .brand { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.product-card .name {
    font-size: .92rem; font-weight: 600; color: var(--ink); text-decoration: none;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    min-height: 2.7em; margin: .3rem 0 .6rem; line-height: 1.35;
}
.product-card .name:hover { color: var(--primary); }
.product-card .price { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.product-card .price .amount { font-weight: 800; font-size: 1.08rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.product-card .price .ask { font-size: .82rem; color: var(--muted); font-weight: 500; }
.product-card .price .go {
    width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
    background: var(--surface-2); color: var(--primary); text-decoration: none; transition: background .15s, color .15s;
}
.product-card .price .go:hover { background: var(--primary); color: #fff; }

/* ---------------------------------------------------------- Ürün detay */
.product-gallery { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; background: #fff; text-align: center; }
.product-gallery .main-wrap { position: relative; overflow: hidden; border-radius: 12px; background: radial-gradient(circle at 50% 40%, #fff, #f1f5f9); cursor: zoom-in; }
.product-gallery .main-img { height: 420px; width: 100%; object-fit: contain; transition: transform .35s; }
.product-gallery .main-wrap:hover .main-img { transform: scale(1.04); }
.product-gallery .thumbs { display: flex; gap: .6rem; justify-content: center; margin-top: 1rem; flex-wrap: wrap; }
.product-gallery .thumbs img {
    width: 68px; height: 68px; object-fit: contain; padding: 5px;
    border: 2px solid transparent; border-radius: 10px; cursor: pointer; background: #fff; transition: border-color .15s, transform .15s;
}
.product-gallery .thumbs img:hover { transform: translateY(-2px); }
.product-gallery .thumbs img.active { border-color: var(--primary); }

.price-box {
    background: var(--grad-soft); border: 1px solid rgba(37, 99, 235, .15);
    border-radius: var(--radius); padding: 1.2rem 1.3rem;
}
.price-box .amount { font-size: 2rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }

.nav-tabs { border: 0; gap: .35rem; }
.nav-tabs .nav-link { border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); font-weight: 600; font-size: .9rem; padding: .5rem 1.1rem; }
.nav-tabs .nav-link.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.tab-content { border: 1px solid var(--line) !important; border-radius: var(--radius) !important; margin-top: 1rem; }

.spec-table td { font-size: .9rem; padding: .55rem .8rem; }
.spec-table td:first-child { width: 38%; color: var(--muted); }
.spec-table tbody tr:nth-child(odd) td { background: var(--surface-2); }

.doc-link {
    display: flex; align-items: center; gap: .7rem; padding: .75rem .9rem;
    border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: inherit; font-size: .9rem;
    transition: border-color .15s, background .15s, transform .15s;
}
.doc-link:hover { border-color: var(--primary); background: var(--grad-soft); transform: translateX(3px); }
.stock-badge { font-size: .8rem; padding: .45em .8em; border-radius: 999px; }

.accordion-item { border: 1px solid var(--line); border-radius: 12px !important; margin-bottom: .5rem; overflow: hidden; }
.accordion-button { font-weight: 600; font-size: .95rem; }
.accordion-button:not(.collapsed) { background: var(--grad-soft); color: var(--primary); box-shadow: none; }

/* ---------------------------------------------------------- Filtre */
.filter-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; }
.filter-card h6 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); font-weight: 800; margin-bottom: .8rem; }
.filter-list { list-style: none; margin: 0; padding: 0; max-height: 320px; overflow-y: auto; }
.filter-list a { display: flex; justify-content: space-between; padding: .4rem .5rem; margin: 0 -.5rem; border-radius: 8px; text-decoration: none; color: var(--ink-2); font-size: .9rem; transition: background .12s, color .12s; }
.filter-list a:hover { background: var(--surface-2); color: var(--primary); }
.filter-list a.active { background: rgba(37, 99, 235, .08); color: var(--primary); font-weight: 600; }
.filter-list .cnt { color: var(--muted); font-size: .78rem; }

.pagination .page-link { border-radius: 10px !important; margin: 0 2px; border-color: var(--line); color: var(--ink-2); font-weight: 600; }
.pagination .page-item.active .page-link { background: var(--primary); border-color: var(--primary); }

/* ---------------------------------------------------------- Sayfa başlığı */
.page-head {
    position: relative; background: var(--bg); color: #fff; padding: 3rem 0; overflow: hidden;
}
.page-head::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(700px 300px at 90% 0%, rgba(37, 99, 235, .35), transparent 60%);
}
.page-head .container { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 0; }
.page-head .breadcrumb { margin: .5rem 0 0; --bs-breadcrumb-divider-color: #64748b; font-size: .85rem; }
.page-head .breadcrumb a { color: #94a3b8; text-decoration: none; }
.page-head .breadcrumb a:hover { color: #fff; }
.page-head .breadcrumb-item.active { color: #cbd5e1; }

/* ---------------------------------------------------------- Marka şeridi */
.brand-strip { background: var(--surface-2); padding: 2rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brand-strip img { max-height: 40px; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .55; transition: filter .2s, opacity .2s, transform .2s; }
.brand-strip a:hover img { filter: none; opacity: 1; transform: scale(1.06); }

/* ---------------------------------------------------------- CTA */
.cta-strip {
    position: relative; background: var(--grad); color: #fff; padding: 3.2rem 0; overflow: hidden;
}
.cta-strip::before {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px);
    background-size: 22px 22px; opacity: .5;
}
.cta-strip .container { position: relative; }
.cta-strip h4 { font-weight: 800; }
.cta-strip .btn-light { color: var(--primary); }

/* Özellik listesi (anasayfa "neden biz") */
.why-grid .item { display: flex; gap: 1rem; padding: 1.2rem; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); height: 100%; }
.why-grid .item i { font-size: 1.6rem; color: #22d3ee; flex-shrink: 0; }
.why-grid .item h6 { margin: 0 0 .3rem; }
.why-grid .item p { margin: 0; color: #94a3b8; font-size: .88rem; }

/* ---------------------------------------------------------- Footer */
.site-footer { background: var(--bg); color: #fff; position: relative; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(34,211,238,.5), transparent); }
.footer-title { font-weight: 800; margin-bottom: 1rem; font-size: .92rem; letter-spacing: .02em; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-links li, .footer-contact li { margin-bottom: .5rem; font-size: .88rem; }
.footer-links a, .footer-contact a { color: #94a3b8; text-decoration: none; transition: color .15s, padding-left .15s; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact a:hover { color: #fff; }
.footer-contact li { color: #94a3b8; display: flex; gap: .6rem; }
.footer-contact i { color: #22d3ee; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }

.whatsapp-fab {
    position: fixed; right: 1.25rem; bottom: 1.25rem;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.75rem; z-index: 1040;
    box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .6); transition: transform .18s;
}
.whatsapp-fab:hover { transform: scale(1.08) rotate(-6deg); color: #fff; }

/* ---------------------------------------------------------- İçerik */
.content-html { line-height: 1.8; font-size: 1rem; color: var(--ink-2); }
.content-html h3 { font-size: 1.15rem; color: var(--ink); margin-top: 1.6rem; padding-left: .8rem; border-left: 3px solid var(--cyan); }
.content-html ul { padding-left: 1.2rem; }
.content-html img { max-width: 100%; height: auto; border-radius: 12px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------- Lightbox (gelişmiş galeri) */
.lightbox {
    position: fixed; inset: 0; z-index: 2000; display: none; flex-direction: column;
    background: rgba(2, 6, 23, .94); color: #fff; user-select: none; -webkit-user-select: none;
    opacity: 0; transition: opacity .2s;
}
.lightbox.show { display: flex; }
.lightbox.in { opacity: 1; }
body.lb-open { overflow: hidden; }
.lightbox .lb-top {
    display: flex; align-items: center; justify-content: space-between; gap: .5rem;
    padding: .6rem 1rem; flex: 0 0 auto; z-index: 3;
}
.lightbox .lb-counter { font-size: .85rem; opacity: .8; font-variant-numeric: tabular-nums; }
.lightbox .lb-tools { display: flex; gap: .25rem; }
.lightbox .lb-btn {
    width: 40px; height: 40px; border: 0; border-radius: 10px; background: rgba(255,255,255,.08); color: #fff;
    display: grid; place-items: center; font-size: 1.15rem; cursor: pointer; transition: background .15s;
}
.lightbox .lb-btn:hover { background: rgba(255,255,255,.18); }
.lightbox .lb-btn.active { background: var(--primary); }
.lightbox .lb-stage { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.lightbox .lb-stage img {
    max-width: calc(100% - 2rem); max-height: calc(100% - 2rem); border-radius: 12px; background: #fff;
    box-shadow: 0 40px 80px -30px #000; cursor: zoom-in; transition: transform .25s ease, opacity .25s;
    will-change: transform; transform-origin: center center; -webkit-user-drag: none;
}
.lightbox.zoomed .lb-stage img { cursor: grab; transition: opacity .25s; }
.lightbox.dragging .lb-stage img { cursor: grabbing; }
.lightbox .lb-stage img.fading { opacity: 0; }
.lightbox .lb-nav {
    position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border: 0; border-radius: 50%;
    background: rgba(255,255,255,.1); color: #fff; font-size: 1.4rem; display: grid; place-items: center; cursor: pointer;
    transition: background .15s, opacity .15s; z-index: 2;
}
.lightbox .lb-nav:hover { background: rgba(255,255,255,.25); }
.lightbox .lb-nav.prev { left: 1rem; }
.lightbox .lb-nav.next { right: 1rem; }
.lightbox.single .lb-nav, .lightbox.single .lb-thumbs, .lightbox.single .lb-play { display: none; }
.lightbox .lb-spinner {
    position: absolute; left: 50%; top: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%;
    border: 3px solid rgba(255,255,255,.2); border-top-color: #fff; animation: lbspin .8s linear infinite; display: none;
}
.lightbox.loading .lb-spinner { display: block; }
@keyframes lbspin { to { transform: rotate(360deg); } }
.lightbox .lb-progress { position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--primary); z-index: 4; }
.lightbox.playing .lb-progress { width: 100%; transition: width linear; }
.lightbox .lb-thumbs {
    flex: 0 0 auto; display: flex; gap: .4rem; justify-content: center; padding: .6rem 1rem .9rem; overflow-x: auto; scrollbar-width: none;
}
.lightbox .lb-thumbs::-webkit-scrollbar { display: none; }
.lightbox .lb-thumbs img {
    width: 58px; height: 58px; object-fit: contain; background: #fff; border-radius: 8px; padding: 3px; flex: 0 0 auto;
    border: 2px solid transparent; cursor: pointer; opacity: .55; transition: opacity .15s, border-color .15s;
}
.lightbox .lb-thumbs img:hover { opacity: .9; }
.lightbox .lb-thumbs img.active { opacity: 1; border-color: var(--primary); }
.lightbox .lb-caption { position: absolute; left: 50%; bottom: .6rem; transform: translateX(-50%); font-size: .82rem; opacity: .75; max-width: 80%; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
@media (max-width: 767.98px) {
    .lightbox .lb-nav { width: 42px; height: 42px; font-size: 1.1rem; }
    .lightbox .lb-nav.prev { left: .4rem; }
    .lightbox .lb-nav.next { right: .4rem; }
    .lightbox .lb-thumbs img { width: 46px; height: 46px; }
    .lightbox .lb-stage img { max-width: 100%; max-height: 100%; border-radius: 0; }
}

@media (max-width: 991.98px) {
    .search-box { width: 100%; margin: .5rem 0; }
    .search-results { width: 100%; }
    .hero-slide { padding: 3.5rem 0 4rem; }
    .hero-visual { display: none; }
    .section { padding: 3.5rem 0; }
    .product-gallery .main-img { height: 300px; }
}

/* ---------------------------------------------------------- Görsel yedekleri (marka logosu / yer tutucu) */
.img-wrap.is-fallback, .main-wrap.is-fallback { cursor: default; }
.img-wrap.is-brand img, .main-wrap.is-brand .main-img {
    max-width: 55% !important; max-height: 45% !important; object-fit: contain;
    opacity: .75; filter: grayscale(.25);
}
.main-wrap.is-brand .main-img { max-height: 180px !important; }
.product-card:hover .img-wrap.is-brand img, .main-wrap.is-brand:hover .main-img { transform: none; }
.img-wrap.is-placeholder img, .main-wrap.is-placeholder .main-img { max-width: 60% !important; opacity: .9; }
.main-wrap.is-fallback .fallback-note {
    position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
    font-size: .78rem; color: var(--muted); background: rgba(255,255,255,.85);
    border: 1px solid var(--line); border-radius: 999px; padding: .3rem .8rem; white-space: nowrap;
}

/* ---------------------------------------------------------- Facet filtreleri */
.facet-values { max-height: 240px; overflow-y: auto; padding-right: .2rem; }
.facet-values::-webkit-scrollbar { width: 6px; }
.facet-values::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
.facet-item { margin-bottom: .25rem; }
.facet-item .form-check-input { margin-top: .2rem; cursor: pointer; }
.facet-item label { cursor: pointer; width: 100%; }
.facet-item label .cnt { color: var(--muted); font-size: .75rem; }
.facet-item:hover label span:first-child { color: var(--primary); }
.chip { cursor: pointer; font-weight: 500; padding: .45em .8em; }
.chip:hover { background: #fee2e2 !important; border-color: #fca5a5 !important; color: #b91c1c; }
.chip i { margin-left: .15rem; }

/* ---------------------------------------------------------- Mega menü */
.site-navbar .navbar-nav { position: relative; }
.mega-menu {
    width: min(1100px, calc(100vw - 2rem)); left: 50% !important; transform: translateX(-50%);
    padding: 1.2rem 1.4rem 1rem !important; border-radius: 18px !important; margin-top: .6rem !important;
}
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem 1.4rem; }
.mega-title { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: .88rem; color: var(--ink); text-decoration: none; margin-bottom: .45rem; padding-bottom: .35rem; border-bottom: 2px solid var(--line); }
.mega-title:hover { color: var(--primary); border-color: var(--primary); }
.mega-title .cnt { font-size: .68rem; font-weight: 600; color: var(--muted); background: var(--surface-2); border-radius: 999px; padding: .1rem .5rem; }
.mega-link { display: block; font-size: .82rem; color: var(--ink-2); text-decoration: none; padding: .18rem 0; transition: color .12s, padding-left .12s; }
.mega-link:hover { color: var(--primary); padding-left: 4px; }
.mega-foot { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: .8rem; text-align: right; }
@media (max-width: 991.98px) {
    .mega-menu { width: 100%; transform: none; left: 0 !important; }
    .mega-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------------------------------------------------------- Medya kartı (hizmet/çözüm) */
.media-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; height: 100%; transition: transform .2s, box-shadow .2s;
}
.media-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.media-img { position: relative; height: 190px; overflow: hidden; }
.media-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.media-card:hover .media-img img { transform: scale(1.06); }
.media-icon {
    position: absolute; left: 1rem; bottom: -22px;
    width: 48px; height: 48px; border-radius: 13px;
    background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 1.3rem;
    box-shadow: 0 10px 22px -8px rgba(37, 99, 235, .7);
}
.media-body { padding: 1.9rem 1.2rem 1.2rem; }
.media-body h5 { font-size: 1.05rem; margin-bottom: .4rem; }
.media-body p { font-size: .88rem; color: var(--muted); line-height: 1.6; margin-bottom: .6rem; }
.media-more { font-size: .85rem; font-weight: 600; color: var(--primary); }
.media-card:hover .media-more i { transform: translateX(3px); }
.media-more i { transition: transform .15s; display: inline-block; }

/* İçerik sayfası görselleri */
.content-html img { box-shadow: var(--shadow); }
