/* ============================================================
   PROWCMS Site — NCR Optimum Design System
   Bootstrap 5 tabanlı, animate.css + WOW.js uyumlu
   ============================================================ */

/* ── root degiskenler ─────────────────────────────────────── */
:root {
    --ncr: #f36b23;
    --ncr-dark: #d45a1a;
    --ncr-deep: #b84a14;
    --ncr-soft: #fef3ec;
    --ink: #15151a;
    --text: #292930;
    --muted: #70727c;
    --line: #e8e7ec;
    --surface: #fff;
    --surface-2: #f7f7f9;
    --radius: 16px;
    --transition: .3s ease;
}

/* ── Reset / base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { text-decoration: none; }
img { max-width: 100%; }
.py-6 { padding-top: 5rem !important; padding-bottom: 5rem !important; }

/* ── TOPBAR ───────────────────────────────────────────────── */
.topbar {
    background: #101014;
    color: #c9c9d1;
    font-size: .82rem;
    border-bottom: 1px solid #29292f;
    position: relative;
    z-index: 1040;
}
.topbar .dot {
    display: inline-block;
    width: 4px;
    height: 4px;
    background: #a66acb;
    border-radius: 50%;
    vertical-align: middle;
    margin: 0 8px;
}
.topbar a { color: #c9c9d1; transition: color var(--transition); }
.topbar a:hover { color: #fff; }
.topbar .dropdown-menu { background: #fff; border: 1px solid #e8e7ec; }
.topbar .dropdown-item { color: #292930; }
.topbar .dropdown-item:hover, .topbar .dropdown-item.active { background: #f3edf7; color: #7540a6; }

/* ── NAVBAR ───────────────────────────────────────────────── */
.navbar {
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    z-index: 1030;
}
.navbar-brand img { width: 140px; height: auto; }
.nav-link {
    font-size: .91rem;
    font-weight: 700;
    color: #27272d !important;
    padding: .95rem .78rem !important;
    position: relative;
}
.nav-link:after {
    content: "";
    position: absolute;
    left: .78rem;
    right: .78rem;
    bottom: .55rem;
    height: 2px;
    background: var(--ncr);
    transform: scaleX(0);
    transform-origin: center;
    transition: .25s;
}
.nav-link:hover, .nav-link.active { color: var(--ncr) !important; }
.nav-link:hover:after, .nav-link.active:after { transform: scaleX(1); }

.dropdown-menu {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: .5rem;
    box-shadow: 0 12px 40px rgba(0,0,0,.08);
}
.dropdown-item {
    border-radius: 8px;
    padding: .5rem .8rem;
    font-size: .88rem;
    font-weight: 600;
    color: var(--text);
    transition: all var(--transition);
}
.dropdown-item:hover, .dropdown-item.active {
    background: var(--ncr-soft);
    color: var(--ncr);
}

/* Topbar icindeki dropdown acilmisken arka plan beyaz olsun */
.topbar .dropdown-menu {
    background: #fff;
    border: 1px solid var(--line);
}
.topbar .dropdown-item {
    color: var(--text);
}
.topbar .dropdown-item:hover, .topbar .dropdown-item.active {
    background: var(--ncr-soft);
    color: var(--ncr);
}

.lang-dropdown .dropdown-toggle {
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 600;
    border: 1px solid var(--line);
    color: var(--text);
    transition: all var(--transition);
}
.lang-dropdown .dropdown-toggle:hover {
    border-color: var(--ncr);
    color: var(--ncr);
}

/* ── BUTONLAR ─────────────────────────────────────────────── */
.btn-ncr {
    background: var(--ncr);
    color: #fff;
    border: 0;
    border-radius: 8px;
    font-weight: 800;
    padding: .82rem 1.2rem;
    box-shadow: 0 9px 24px rgba(117,64,166,.2);
    transition: .2s;
}
.btn-ncr:hover {
    background: var(--ncr-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 13px 28px rgba(117,64,166,.25);
}
.btn-outline-ncr {
    border: 1px solid #cbb9d7;
    color: var(--ncr);
    background: #fff;
    border-radius: 8px;
    font-weight: 800;
    padding: .8rem 1.15rem;
    transition: .2s;
}
.btn-outline-ncr:hover {
    background: var(--ncr);
    color: #fff;
    border-color: var(--ncr);
    transform: translateY(-2px);
}

/* ── HERO SLIDER (Bootstrap Carousel) ─────────────────────── */
.hero { position: relative; }
.hero .carousel-item {
    height: min(730px, calc(100vh - 105px));
    min-height: 600px;
    background: #17171b center/cover no-repeat;
    position: relative;
}
.hero .carousel-item:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7,7,9,.91) 0%, rgba(7,7,9,.7) 39%, rgba(7,7,9,.17) 100%);
}
.hero .carousel-caption {
    z-index: 2;
    text-align: left;
    left: 8%;
    right: 30%;
    top: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
}
.hero .eyebrow {
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 850;
    color: #dec4ec;
}
.hero h1 {
    font-size: clamp(2.8rem, 5.2vw, 5.2rem);
    font-weight: 900;
    line-height: 1.01;
    letter-spacing: -.06em;
    max-width: 850px;
    margin: .2rem 0 1.4rem;
}
.hero p {
    font-size: 1.07rem;
    line-height: 1.8;
    color: #e6e6eb;
    max-width: 690px;
    margin-bottom: 1.7rem;
}
.hero .carousel-indicators {
    justify-content: flex-start;
    left: 8%;
    bottom: 32px;
    margin: 0;
    gap: 5px;
}
.hero .carousel-indicators button {
    width: 34px;
    height: 3px;
    border: 0;
    margin: 0;
    opacity: .45;
}
.hero .carousel-indicators .active { opacity: 1; }
.hero .slide1 { background-image: url("https://images.unsplash.com/photo-1565793298595-6a879b1d9492?auto=format&fit=crop&w=2400&q=90"); }
.hero .slide2 { background-image: url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=2400&q=90"); }
.hero .slide3 { background-image: url("https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&w=2400&q=90"); }

/* ── SECTIONS ─────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.soft { background: var(--surface-2); }

.kicker {
    color: var(--ncr);
    font-size: .71rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .16em;
}
.title {
    font-weight: 900;
    letter-spacing: -.045em;
    color: var(--ink);
}
.lead-muted {
    color: var(--muted);
    line-height: 1.8;
}

.section-head { max-width: 780px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .line {
    width: 42px;
    height: 3px;
    background: var(--ncr);
    margin-top: 18px;
    border-radius: 5px;
}
.section-head.center .line { margin-inline: auto; }

.section-header { max-width: 780px; }
.section-header.text-center { margin-inline: auto; }
.section-badge {
    color: var(--ncr);
    font-size: .71rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .16em;
}
.section-title {
    font-weight: 900;
    letter-spacing: -.045em;
    color: var(--ink);
}
.section-sub {
    color: var(--muted);
    line-height: 1.8;
}

/* ── WHY CARDS ────────────────────────────────────────────── */
.why-wrap { position: relative; }
.why-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: .28s;
}
.why-card:before {
    content: attr(data-num);
    position: absolute;
    right: 20px;
    top: 8px;
    font-size: 5rem;
    font-weight: 900;
    color: #f1edf3;
    line-height: 1;
}
.why-card:hover {
    transform: translateY(-6px);
    border-color: #d6c5df;
    box-shadow: 0 20px 50px rgba(21,21,26,.09);
}
.why-card .icon {
    width: 52px;
    height: 52px;
    border-radius: 13px;
    background: var(--ncr-soft);
    color: var(--ncr);
    display: grid;
    place-items: center;
    font-size: 1.18rem;
    margin-bottom: 23px;
    position: relative;
    z-index: 2;
}
.why-card h3 { font-size: 1.08rem; font-weight: 850; position: relative; z-index: 2; }
.why-card p { color: var(--muted); line-height: 1.7; position: relative; z-index: 2; }

/* ── CATEGORY CARDS ───────────────────────────────────────── */
.category-card {
    height: 285px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    transition: .3s;
}
.category-card:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(7,7,9,.86), rgba(7,7,9,.03) 70%);
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 45px rgba(17,17,22,.15);
}
.category-card .inside {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 22px;
    color: #fff;
    z-index: 2;
}
.category-card .num {
    font-size: .67rem;
    letter-spacing: .15em;
    color: #d7bde7;
    font-weight: 850;
}
.category-card h3 { font-size: 1.18rem; font-weight: 850; margin: 5px 0 8px; }
.category-card span { font-size: .86rem; font-weight: 800; }

/* ── SERVICE CARDS ─────────────────────────────────────────── */
.service-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: .28s;
}
.service-card:hover {
    transform: translateY(-6px);
    border-color: #d6c5df;
    box-shadow: 0 20px 50px rgba(21,21,26,.09);
}
.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 13px;
    background: var(--ncr-soft);
    color: var(--ncr);
    display: grid;
    place-items: center;
    font-size: 1.18rem;
    margin-bottom: 23px;
}
.service-title { font-size: 1.08rem; font-weight: 850; }
.service-desc { color: var(--muted); line-height: 1.7; }
.service-link {
    color: var(--ncr);
    font-weight: 800;
    font-size: .88rem;
    transition: all var(--transition);
}
.service-link:hover { color: var(--ncr-dark); }

/* ── ABOUT PANEL ──────────────────────────────────────────── */
.about-panel {
    background: linear-gradient(145deg, #141419, #202025);
    color: #fff;
    border-radius: 20px;
    padding: 32px;
    position: relative;
    overflow: hidden;
}
.about-panel:after {
    content: "";
    position: absolute;
    right: -18px;
    bottom: -50px;
    font-size: 12rem;
    font-weight: 950;
    letter-spacing: -.09em;
    color: rgba(255,255,255,.035);
}
.about-stat-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    transition: all .3s ease;
    position: relative;
    z-index: 2;
}
.about-stat-card:hover {
    background: rgba(117,64,166,.12);
    border-color: rgba(117,64,166,.25);
    transform: translateY(-4px);
}
.about-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(117,64,166,.15);
    color: #cda8ec;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    margin: 0 auto 12px;
}
.about-stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: #d5b8e8;
    line-height: 1.1;
    margin-bottom: 6px;
}
.about-stat-label {
    font-size: .78rem;
    color: #a8a8b1;
    font-weight: 600;
    letter-spacing: .02em;
}
.stat {
    font-size: 2.25rem;
    font-weight: 900;
    color: #d5b8e8;
    position: relative;
    z-index: 2;
}
.stat .counter {
    display: inline;
}
.stat-label {
    font-size: .82rem;
    color: #a8a8b1;
    position: relative;
    z-index: 2;
}

/* ── NEWS CARDS ────────────────────────────────────────────── */
.news-card {
    height: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    transition: .25s;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(17,17,22,.09);
}
.news-image {
    height: 205px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.news-image:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.18), transparent);
}
.news-image .tag {
    position: absolute;
    left: 17px;
    top: 17px;
    background: #fff;
    color: var(--ncr);
    font-size: .66rem;
    font-weight: 900;
    border-radius: 6px;
    padding: 7px 9px;
    z-index: 2;
    letter-spacing: .06em;
}
.news-body { padding: 23px; }
.news-date {
    font-size: .69rem;
    color: var(--muted);
    font-weight: 850;
    letter-spacing: .08em;
}
.news-body h3 {
    font-size: 1.06rem;
    line-height: 1.45;
    font-weight: 850;
    color: var(--ink);
    margin-bottom: 10px;
}
.news-body p { line-height: 1.65; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-section {
    background: #f7f6f8;
    position: relative;
    overflow: hidden;
}
.faq-section:before {
    content: "?";
    position: absolute;
    right: 4%;
    top: -90px;
    font-size: 30rem;
    line-height: 1;
    font-weight: 950;
    color: rgba(117,64,166,.035);
    pointer-events: none;
}
.faq-intro { position: relative; z-index: 2; }
.faq-list { position: relative; z-index: 2; }
.faq-item {
    background: #fff;
    border: 1px solid #e6e4e9;
    border-radius: 13px;
    margin-bottom: 11px;
    overflow: hidden;
    transition: .22s;
}
.faq-item:has(.show) {
    border-color: #d5c1df;
    box-shadow: 0 12px 30px rgba(36,24,44,.06);
}
.faq-button {
    width: 100%;
    border: 0;
    background: #fff;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    text-align: left;
    gap: 16px;
    color: var(--ink);
    font-size: .97rem;
    font-weight: 800;
}
.faq-button:hover { color: var(--ncr); }
.faq-num {
    width: 31px;
    height: 31px;
    min-width: 31px;
    border-radius: 9px;
    background: #f1edf4;
    color: var(--ncr);
    display: grid;
    place-items: center;
    font-size: .68rem;
    font-weight: 900;
}
.faq-chevron {
    margin-left: auto;
    width: 31px;
    height: 31px;
    border: 1px solid #e2dfe6;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--ncr);
    transition: .25s;
}
.faq-button:not(.collapsed) .faq-chevron {
    background: var(--ncr);
    color: #fff;
    border-color: var(--ncr);
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0 22px 20px 69px;
    color: var(--muted);
    line-height: 1.75;
    font-size: .9rem;
}
.faq-side {
    background: #17171b;
    color: #fff;
    border-radius: 17px;
    padding: 30px;
    position: relative;
    z-index: 2;
}
.faq-side .mini-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: rgba(255,255,255,.08);
    display: grid;
    place-items: center;
    color: #d7b7e9;
    margin-bottom: 18px;
}
.faq-side p { color: #aaaab2; line-height: 1.7; font-size: .9rem; }

/* ── CTA ──────────────────────────────────────────────────── */
.cta-section {
    background: #17171b;
    color: #fff;
}
.cta-section .kicker { color: #cda8ec; }

/* ── BREADCRUMB ───────────────────────────────────────────── */
.breadcrumb-wrap {
    background: var(--surface-2);
    padding: 26px 0;
}
.breadcrumb-item a { color: var(--ncr); }

/* ── INNER PAGE HERO ──────────────────────────────────────── */
.inner-page-hero {
    background: linear-gradient(135deg, var(--ncr-deep), var(--ncr-dark));
    color: #fff;
    padding: 5rem 0 3rem;
    text-align: center;
}
.inner-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -.04em;
    margin-bottom: .5rem;
}
.inner-page-hero .breadcrumb { justify-content: center; }
.inner-page-hero .breadcrumb-item {
    color: rgba(255,255,255,.6);
    font-size: .85rem;
}
.inner-page-hero .breadcrumb-item a { color: rgba(255,255,255,.8); }
.inner-page-hero .breadcrumb-item.active { color: #fff; }
.inner-page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ── TEAM ─────────────────────────────────────────────────── */
.team-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: .28s;
}
.team-card:hover {
    transform: translateY(-6px);
    border-color: #d6c5df;
    box-shadow: 0 20px 50px rgba(21,21,26,.09);
}
.team-photo-wrap {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    border: 4px solid var(--line);
}
.team-photo { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-weight: 850; color: var(--ink); margin-bottom: .15rem; }
.team-title-text { color: var(--muted); font-size: .88rem; margin-bottom: .75rem; }
.team-social {
    display: flex;
    justify-content: center;
    gap: .5rem;
}
.team-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--ncr-soft);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ncr);
    font-size: .8rem;
    transition: all var(--transition);
    text-decoration: none;
}
.team-social a:hover {
    background: var(--ncr);
    color: #fff;
    border-color: var(--ncr);
}

/* ── REFERANSLAR KAYAN LOGO ────────────────────────────────── */
.section-refs { background: #fff; overflow: hidden; }
.logo-ticker-wrap {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    padding: 1.5rem 0;
}
.logo-ticker {
    display: flex;
    width: max-content;
    animation: tickerScroll 30s linear infinite;
    gap: 3rem;
    align-items: center;
}
.logo-ticker:hover { animation-play-state: paused; }
@keyframes tickerScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.logo-item {
    flex-shrink: 0;
    width: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-item img {
    max-width: 110px;
    max-height: 48px;
    object-fit: contain;
    filter: grayscale(100%) opacity(.55);
    transition: filter var(--transition);
}
.logo-item:hover img { filter: grayscale(0%) opacity(1); }

/* ── GALLERY ──────────────────────────────────────────────── */
.gallery {
    height: 250px;
    border-radius: 15px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}
.gallery:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.72), transparent 65%);
}
.gallery span {
    position: absolute;
    bottom: 16px;
    left: 18px;
    color: #fff;
    font-weight: 800;
    z-index: 2;
}

/* ── PRODUCT ──────────────────────────────────────────────── */
.product {
    border: 1px solid var(--line);
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    height: 100%;
    transition: .25s;
}
.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(17,17,22,.1);
}
.product-img {
    height: 230px;
    background: linear-gradient(135deg, #ebe6ef, #2a2a2f);
    display: grid;
    place-items: center;
}
.product-body { padding: 22px; }

/* ── CONTACT ──────────────────────────────────────────────── */
.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}
.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: var(--ncr-soft);
    color: var(--ncr);
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.contact-icon-wa { background: #e8f5e9; color: #25d366; }
.contact-info-item strong {
    display: block;
    font-size: .85rem;
    color: var(--ink);
    margin-bottom: .2rem;
}
.contact-info-item p {
    color: var(--muted);
    margin: 0;
    line-height: 1.6;
}
.contact-info-item a {
    color: var(--text);
    transition: color var(--transition);
}
.contact-info-item a:hover { color: var(--ncr); }

.social-links {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
}
.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--ncr-soft);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ncr);
    font-size: .85rem;
    transition: all var(--transition);
}
.social-links a:hover {
    background: var(--ncr);
    color: #fff;
    border-color: var(--ncr);
}

/* ── SEARCH ───────────────────────────────────────────────── */
.nav-search-wrap { position: relative; }
.btn-icon {
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    background: transparent;
    border: 1px solid var(--line);
    transition: all var(--transition);
}
.btn-icon:hover {
    background: var(--ncr);
    color: #fff;
    border-color: var(--ncr);
}
.nav-search-box {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 280px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(0,0,0,.13);
    padding: .6rem .7rem;
    display: none;
    z-index: 1050;
}
.nav-search-box.open { display: block; animation: fadeSlideDown .18s ease; }
@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 991px) {
    .nav-search-box { position: static; width: 100%; box-shadow: none; padding: .5rem 0 0; border-radius: 0; }
    .nav-search-box.open { animation: none; }
}

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
    background: #101014;
    color: #b9b9c1;
    font-size: .9rem;
}
.footer h5 {
    color: #fff;
    font-weight: 800;
    font-size: .95rem;
    margin-bottom: 1rem;
}
.footer a {
    color: #b9b9c1;
    transition: color var(--transition);
}
.footer a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid #2b2b30;
    font-size: .78rem;
    color: #707078;
}

/* ── DOCUMENTS ────────────────────────────────────────────── */
.doc {
    border: 1px solid var(--line);
    border-radius: 11px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    transition: .25s;
}
.doc:hover { border-color: #d6c5df; box-shadow: 0 8px 20px rgba(21,21,26,.06); }
.pdf { color: #d92d20; font-size: 1.45rem; }

/* ── FORM ──────────────────────────────────────────────────── */
.form-control, .form-select {
    border-radius: 10px;
    border: 1px solid var(--line);
    padding: .65rem 1rem;
    font-size: .9rem;
    transition: all var(--transition);
}
.form-control:focus, .form-select:focus {
    border-color: var(--ncr);
    box-shadow: 0 0 0 .15rem rgba(117,64,166,.15);
}
.form-label {
    font-weight: 700;
    font-size: .85rem;
    color: var(--ink);
    margin-bottom: .35rem;
}

/* ── 404 ──────────────────────────────────────────────────── */
.error-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 1rem;
}

/* ── VIDEO ─────────────────────────────────────────────────── */
.video {
    height: 290px;
    border-radius: 16px;
    background: linear-gradient(135deg, #17171c, #7540a6);
    position: relative;
    overflow: hidden;
}
.video .play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 3.2rem;
}
.video .caption {
    position: absolute;
    bottom: 18px;
    left: 20px;
    color: #fff;
    font-weight: 800;
    z-index: 2;
}

/* ── DETAIL IMAGE ─────────────────────────────────────────── */
.detail-image {
    min-height: 480px;
    border-radius: 18px;
    background: linear-gradient(135deg, #eeeaf2, #29292f);
    display: grid;
    place-items: center;
}
.muted { color: var(--muted); }

/* ── AUTH (Login / Register) ─────────────────────────────── */
.auth {
    min-height: calc(100vh - 135px);
    background: linear-gradient(135deg, #f7f4fa, #fff);
    display: grid;
    place-items: center;
}
.auth-card {
    max-width: 560px;
    width: 100%;
    padding: 36px;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(18,18,24,.08);
    background: #fff;
}

/* ── CONTENT PAGE ─────────────────────────────────────────── */
.content-page { padding: 3rem 0; }
.content-page img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 991px) {
    .hero .carousel-item { min-height: 500px; height: calc(100vh - 80px); }
    .hero .carousel-caption { left: 5%; right: 5%; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: .95rem; }
    .hero .carousel-indicators { left: 5%; }
    .section { padding: 64px 0; }
    .section-sm { padding: 48px 0; }
}

@media (max-width: 767px) {
    .hero .carousel-item { min-height: 420px; height: 80vh; }
    .hero .carousel-caption { left: 4%; right: 4%; }
    .hero h1 { font-size: 1.8rem; }
    .about-panel { padding: 28px; }
    .stat { font-size: 1.6rem; }
    .faq-answer { padding: 0 22px 20px 22px; }
    .category-card { height: 220px; }
}

/* ── INNER PAGE HERO ──────────────────────────────────────── */
.inner-page-hero {
    background: linear-gradient(135deg, var(--ncr-deep) 0%, var(--ncr-dark) 50%, var(--ncr) 100%);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.inner-page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,.05) 0%, transparent 70%);
    border-radius: 50%;
}
.inner-hero-title {
    color: #fff;
    font-weight: 800;
    font-size: 2.2rem;
    margin: 0;
    position: relative;
}
.inner-page-hero .breadcrumb { background: none; justify-content: center; }
.inner-page-hero .breadcrumb-item a { color: rgba(255,255,255,.7); }
.inner-page-hero .breadcrumb-item.active { color: #fff; }
.inner-page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ── PRODUCT CARD ─────────────────────────────────────────── */
.product-card { transition: all .3s ease; }
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(117,64,166,.12);
    border-color: var(--ncr);
}
.product-card .product-img { transition: all .3s ease; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-card .product-img img { transition: transform .3s ease; }

/* ── BREADCRUMB ───────────────────────────────────────────── */
.breadcrumb-wrap {
    background: var(--surface-2);
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}
.breadcrumb-wrap .breadcrumb { margin: 0; font-size: .85rem; }
.breadcrumb-wrap .breadcrumb-item a { color: var(--ncr); }
.breadcrumb-wrap .breadcrumb-item.active { color: var(--muted); }

/* ── DETAIL PAGE ──────────────────────────────────────────── */
.detail-image {
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    min-height: 300px;
    display: grid;
    place-items: center;
}
.detail-image img { max-height: 400px; object-fit: contain; }
.detail-thumbs { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.detail-thumb {
    width: 70px;
    height: 70px;
    border: 2px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color .2s;
    padding: 4px;
    background: #fff;
}
.detail-thumb:hover, .detail-thumb.active { border-color: var(--ncr); }
.detail-thumb img { width: 100%; height: 100%; object-fit: contain; }

/* ── PRICE ────────────────────────────────────────────────── */
.price-current { font-size: 1.8rem; font-weight: 800; color: var(--ncr); }
.price-old { font-size: 1rem; color: var(--muted); text-decoration: line-through; }
.price-badge {
    display: inline-block;
    background: #dc2626;
    color: #fff;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 700;
}
.stock-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 600;
}
.stock-badge.in-stock { background: #ecfdf5; color: #16a34a; }
.stock-badge.out-of-stock { background: #fef2f2; color: #dc2626; }
.stock-badge.on-order { background: #fffbeb; color: #f59e0b; }

/* ── QUANTITY SELECTOR ────────────────────────────────────── */
.qty-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
}
.qty-selector button {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--surface-2);
    color: var(--ink);
    font-size: 1.1rem;
    cursor: pointer;
    transition: background .2s;
}
.qty-selector button:hover { background: var(--ncr-soft); color: var(--ncr); }
.qty-selector input {
    width: 50px;
    height: 40px;
    border: none;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    background: #fff;
}

/* ── AUTH CARD ────────────────────────────────────────────── */
.auth-card .form-control {
    border-radius: 10px;
    padding: 10px 14px;
    border-color: var(--line);
}
.auth-card .form-control:focus {
    border-color: var(--ncr);
    box-shadow: 0 0 0 3px var(--ncr-soft);
}

/* ── TOAST ────────────────────────────────────────────────── */
#toast-container .alert { margin: 0; border-radius: 12px; }

/* ── VARIANT SELECTOR ─────────────────────────────────────── */
.variant-option {
    display: inline-block;
    padding: 6px 16px;
    border: 2px solid var(--line);
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    background: #fff;
}
.variant-option:hover { border-color: var(--ncr); }
.variant-option.active { border-color: var(--ncr); background: var(--ncr-soft); color: var(--ncr); }

/* ── ORDER STATUS ─────────────────────────────────────────── */
.order-card {
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px;
    transition: all .2s;
}
.order-card:hover { border-color: var(--ncr); }

/* ── FAVORI ───────────────────────────────────────────────── */
.fav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all .2s;
    color: var(--muted);
}
.fav-btn:hover, .fav-btn.active { background: #fef2f2; border-color: #dc2626; color: #dc2626; }

/* ── DOC CARD ─────────────────────────────────────────────── */
.doc {
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    transition: all .2s;
}
.doc:hover { border-color: var(--ncr); transform: translateY(-2px); }

/* ── PRODUCT VARIANT GALLERY ──────────────────────────────── */
.gallery-main { border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.gallery-thumb { cursor: pointer; opacity: .6; transition: opacity .2s; }
.gallery-thumb:hover, .gallery-thumb.active { opacity: 1; }

/* ── CONTENT PAGE (sayfa.php) ─────────────────────────────── */
.content-page h2, .content-page h3 { color: var(--ink); margin-top: 1.5rem; }
.content-page p { line-height: 1.8; }
.content-page ul, .content-page ol { padding-left: 1.5rem; }
.content-page img { border-radius: var(--radius); margin: 1rem 0; }

/* ── RESPONSIVE PRODUCT GRID ──────────────────────────────── */
@media (max-width: 1199px) {
    .urun-grid-4 { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 991px) {
    .urun-grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 575px) {
    .urun-grid-4 { grid-template-columns: 1fr !important; }
}

/* ── OPEN CART STYLE OVERRIDES ────────────────────────────── */
body { background: #f5f5f5; }
.container { max-width: 1200px; }

/* Slider okları */
.carousel-control-prev, .carousel-control-next {
    width: 38px; height: 38px;
    background: rgba(0,0,0,.25);
    border-radius: 50%;
    opacity: 0.7;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity .2s;
}
.carousel-control-prev { left: 12px; }
.carousel-control-next { right: 12px; }
.carousel-control-prev:hover, .carousel-control-next:hover { opacity: 1; }
.carousel-control-prev-icon, .carousel-control-next-icon { width: 16px; height: 16px; }

/* Sepet badge animasyonu */
@keyframes badgePop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}
.sepete-ekle:active { transform: scale(0.95); }

/* Ürün kartı hover - OpenCart tarzı */
.urun-kart { cursor: default; }
.urun-kart:hover { border-color: var(--ncr); }
.urun-kart:hover img { transform: scale(1.06); }

/* Fiyat vurgusu */
.fiyat-buyuk { font-size: 1.3rem; font-weight: 800; color: var(--ncr); }

/* Stok badge */
.stok-badge { display: inline-block; padding: 2px 8px; border-radius: 3px; font-size: .7rem; font-weight: 700; }
.stok-badge.in { background: #e8f5e9; color: #2e7d32; }
.stok-badge.out { background: #ffebee; color: #c62828; }

/* Sepet butonu hover */
.sepete-ekle:hover { box-shadow: 0 3px 10px rgba(243,107,35,.25); }

/* Breadcrumb */
.breadcrumb-ecom { background: #fff; padding: 10px 0; font-size: .82rem; border-bottom: 1px solid #eee; margin-bottom: 20px; }
.breadcrumb-ecom a { color: #666; text-decoration: none; }
.breadcrumb-ecom a:hover { color: var(--ncr); }
.breadcrumb-ecom .active { color: #333; font-weight: 600; }

/* Sidebar kategori */
.sidebar-kat a.active { color: var(--ncr); background: #fef3ec; font-weight: 700; }