:root {
    --bg-main: #050816;
    --bg-card: rgba(18, 24, 38, 0.96);
    --accent: #f5b400;
    --accent-soft: rgba(245, 180, 0, 0.2);
    --text-main: #f5f5f5;
    --text-muted: #c3c8d4;
    --border-soft: rgba(255, 255, 255, 0.06);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #1a2238 0, #050816 55%, #02030a 100%);
    color: var(--text-main);
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
}

/* ==========================================================
   HEADER (tekilleştirilmiş)
   ========================================================== */

.main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.25rem;
    padding: 0.75rem 2.5rem;
    backdrop-filter: blur(18px);
    background: linear-gradient(90deg, rgba(5, 8, 22, 0.95), rgba(5, 8, 22, 0.75));
    border-bottom: 1px solid var(--border-soft);
    transition: padding 0.25s ease, background 0.25s ease;
}

.header-left {
    display: flex;
    align-items: center;
}

.header-right {
    display: flex;
    justify-content: flex-end;
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.site-logo {
    height: 64px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: height 0.25s ease;
}

.logo-sub {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 2px;
    transition: font-size 0.25s ease, opacity 0.25s ease;
}

/* Header shrink */
.main-header.header-shrink {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    background: linear-gradient(90deg, rgba(5, 8, 22, 0.98), rgba(5, 8, 22, 0.9));
}

    .main-header.header-shrink .site-logo {
        height: 48px;
    }

    .main-header.header-shrink .logo-sub {
        opacity: 0.85;
        font-size: 0.65rem;
    }

/* NAV */
.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.4rem;
}

    .main-nav > a, .main-nav .dropdown-toggle {
        font-size: 0.9rem;
        text-decoration: none;
        color: var(--text-muted);
        position: relative;
        padding: 0.2rem 0.1rem;
    }
    /* underline sadece normal linklerde */
    .main-nav > a {
        padding-bottom: 0.25rem;
    }

        .main-nav > a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -2px;
            width: 0;
            height: 2px;
            background: var(--accent);
            transition: width 0.2s ease-out;
        }

        .main-nav > a:hover {
            color: #fff;
        }

            .main-nav > a:hover::after {
                width: 100%;
            }

    /* Dropdown */
    .main-nav .dropdown-toggle {
        cursor: pointer;
        border-bottom: 2px solid transparent;
    }

        .main-nav .dropdown-toggle:hover {
            color: #fff;
        }

    .main-nav .dropdown-menu {
        border: 1px solid var(--border-soft);
        background: rgba(5, 8, 22, 0.98);
        backdrop-filter: blur(14px);
        border-radius: 14px;
        padding: 0.45rem;
        min-width: 220px;
        box-shadow: 0 18px 40px rgba(0,0,0,0.65);
        margin-top: 0.6rem;
    }

    .main-nav .dropdown-item {
        border-radius: 10px;
        padding: 0.55rem 0.75rem;
        color: var(--text-muted);
        transition: background .16s ease, color .16s ease, transform .12s ease;
    }

        .main-nav .dropdown-item:hover {
            background: rgba(255,255,255,0.06);
            color: #fff;
            transform: translateX(2px);
        }

        .main-nav .dropdown-item:active {
            background: var(--accent);
            color: #1b1301;
        }

/* Header CTA */
.btn-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .55rem 1.05rem;
    border-radius: 999px;
    border: 1px solid rgba(245,180,0,.35);
    background: radial-gradient(circle at top left, var(--accent) 0, #f7cc57 40%, #f5b400 100%);
    color: #1b1301;
    text-decoration: none;
    font-weight: 800;
    font-size: .85rem;
    box-shadow: 0 12px 28px rgba(0,0,0,.45);
    transition: transform .18s ease, box-shadow .18s ease;
    white-space: nowrap;
}

    .btn-header-cta:hover {
        transform: translateY(-1px) scale(1.02);
        box-shadow: 0 18px 40px rgba(0,0,0,.55);
    }

/* ==========================================================
   FOOTER
   ========================================================== */

.site-footer {
    padding: .9rem 2.5rem 1.2rem;
    font-size: .78rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-soft);
    background: rgba(5,8,22,.96);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

    .site-footer a {
        color: var(--text-muted);
        text-decoration: none;
    }

        .site-footer a:hover {
            color: var(--accent);
        }

/* ==========================================================
   HERO (PROFESYONEL SINIRLAMA + UYUMLULUK)
   ========================================================== */

/* Eski markup ile uyum: .hero-slider / .hero-slide (Index.cshtml) */
.hero-section {
    position: relative;
    padding: 2.25rem 0 3rem;
    overflow: hidden;
    border-bottom: 1px solid var(--border-soft);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(1200px, calc(100% - 4rem));
    height: 100%;
    border-radius: 22px;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity .65s ease, transform 1.2s ease;
    filter: saturate(1.05) contrast(1.05);
}

    .hero-slide.active {
        opacity: 1;
        transform: scale(1);
    }

/* Premium overlay & grid kart efekti (senin HTML’inde mevcut) */
.hero-pro__overlay, .hero-pro__grid {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    width: min(1200px, calc(100% - 4rem));
    height: 100%;
    border-radius: 22px;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-pro__overlay {
    background: radial-gradient(circle at 15% 20%, rgba(245,180,0,.18), transparent 55%), radial-gradient(circle at 85% 80%, rgba(204,198,255,.16), transparent 55%), linear-gradient(to bottom, rgba(2,3,10,.55), rgba(2,3,10,.78));
    border: 1px solid rgba(255,255,255,.06);
    box-shadow: 0 22px 55px rgba(0,0,0,.55);
}

.hero-pro__grid {
    background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: .14;
}

.hero-pro__container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.25rem 2rem;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
}

.hero-pro__content {
    max-width: 760px;
}

.hero-pro__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .75rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(245,245,245,.75);
    border: 1px solid rgba(255,255,255,.12);
    padding: .45rem .75rem;
    border-radius: 999px;
    background: rgba(0,0,0,.25);
    backdrop-filter: blur(10px);
}

.hero-pro__title {
    margin: 1rem 0 .75rem;
    font-size: clamp(2rem,3.2vw,3rem);
    font-weight: 900;
    line-height: 1.08;
}

.hero-pro__subtitle {
    margin: 0 0 1.3rem;
    color: rgba(245,245,245,.78);
    font-size: 1.02rem;
    max-width: 620px;
}

.hero-pro__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
    margin-bottom: 1.6rem;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .85rem 1.25rem;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
    color: #1b1301;
    background: radial-gradient(circle at top left, var(--accent) 0, #f7cc57 40%, #f5b400 100%);
    border: 1px solid rgba(245,180,0,.35);
    box-shadow: 0 16px 40px rgba(0,0,0,.45);
    transition: transform .18s ease, box-shadow .18s ease;
}

    .btn-hero-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 22px 55px rgba(0,0,0,.55);
    }

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .85rem 1.1rem;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    color: rgba(245,245,245,.92);
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(10px);
    transition: background .18s ease, border-color .18s ease;
}

    .btn-hero-secondary:hover {
        background: rgba(255,255,255,.10);
        border-color: rgba(255,255,255,.24);
    }

.hero-pro__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-pro__meta-item {
    background: rgba(0,0,0,.22);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 16px;
    padding: .75rem .9rem;
    min-width: 160px;
    backdrop-filter: blur(10px);
}

.hero-pro__meta-value {
    font-weight: 900;
    font-size: 1.1rem;
}

.hero-pro__meta-label {
    font-size: .82rem;
    color: rgba(245,245,245,.70);
    margin-top: .1rem;
}

/* Dots (Index.cshtml: hero-pro__dot) + backward (.hero-dot) */
.hero-pro__dots {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 4;
    display: flex;
    gap: .5rem;
}

.hero-pro__dot, .hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(255,255,255,.12);
    cursor: pointer;
    transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

    .hero-pro__dot:hover, .hero-dot:hover {
        transform: scale(1.15);
    }

    .hero-pro__dot.is-active, .hero-dot.active {
        background: var(--accent);
        border-color: rgba(245,180,0,.9);
    }

/* ==========================================================
   ANA SAYFA – KATEGORİ GRID
   ========================================================== */

.category-section {
    position: relative;
    padding: 1.5rem 2.5rem 4rem;
}

.section-title {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: .35rem;
}

.section-subtitle {
    text-align: center;
    font-size: .9rem;
    color: var(--text-muted);
    margin-bottom: 2.2rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 1.7rem;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.3rem;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    text-decoration: none;
    color: inherit;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 18px 40px rgba(0,0,0,.6);
    transition: transform .18s ease-out, box-shadow .18s ease-out, border-color .18s ease-out;
}

.category-bg {
    position: absolute;
    inset: 0;
    background-size: contain;
    background-position: center;
    filter: saturate(1.1) contrast(1.05);
    transform: scale(1.04);
    opacity: .35;
    transition: transform .25s ease-out, opacity .25s ease-out, filter .25s ease-out;
}

.category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,.25), transparent);
}

.category-content {
    position: relative;
    padding: 1.3rem 1.4rem 1.5rem;
    z-index: 1;
}

.category-tag {
    display: inline-flex;
    align-items: center;
    padding: .35rem .8rem;
    border-radius: 999px;
    background: rgba(0,0,0,.55);
    border: 1px solid rgba(245,245,245,.25);
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: .65rem;
}

.category-content h3 {
    font-size: 1.15rem;
    margin-bottom: .4rem;
}

.category-content p {
    font-size: .85rem;
    color: var(--text-muted);
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 60px rgba(0,0,0,.8);
    border-color: rgba(245,180,0,.7);
}

    .category-card:hover .category-bg {
        transform: scale(1.08);
        opacity: .6;
        filter: saturate(1.3) contrast(1.1);
    }

/* ==========================================================
   GRUP SAYFALARI (Hırdavat / İSG / Madeni Yağ) – GENEL
   ========================================================== */

.group-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2.5rem 4rem;
}

.back-link {
    font-size: .8rem;
    color: var(--text-muted);
    text-decoration: none;
}

    .back-link:hover {
        color: var(--text-main);
    }

.group-hero {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.group-hero-content {
    flex: 1 1 260px;
}

    .group-hero-content h1 {
        font-size: clamp(1.8rem,2.5vw,2.2rem);
        margin-bottom: .8rem;
    }

    .group-hero-content p {
        color: var(--text-muted);
        font-size: .95rem;
        max-width: 600px;
    }

.group-badge {
    display: inline-flex;
    align-items: center;
    padding: .3rem .8rem;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    font-size: .7rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: .6rem;
}

.group-meta-list {
    margin-top: 1.1rem;
    padding-left: 1rem;
    font-size: .9rem;
    color: var(--text-muted);
}

    .group-meta-list li {
        margin-bottom: .25rem;
    }

.group-hero-image {
    flex: 1 1 260px;
    min-height: 260px;
    border-radius: 1.4rem;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--border-soft);
    box-shadow: 0 18px 40px rgba(0,0,0,.65);
}

.group-section-title {
    font-size: 1.3rem;
    margin-bottom: 1.3rem;
}

.group-feature-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 1.2rem;
}

.group-feature-card {
    background: rgba(12,16,30,.95);
    border-radius: 1rem;
    padding: 1rem 1.1rem 1.1rem;
    border: 1px solid var(--border-soft);
    box-shadow: 0 12px 25px rgba(0,0,0,.6);
    font-size: .9rem;
}

    .group-feature-card h3 {
        font-size: 1rem;
        margin-bottom: .35rem;
    }

    .group-feature-card p {
        color: var(--text-muted);
        font-size: .86rem;
    }

/* ==========================================================
   GRUP LAYOUT – SOL MENÜ + SAĞ ÜRÜN KOLONU
   ========================================================== */

.group-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.category-sidebar {
    background: #020617;
    border-radius: 18px;
    padding: 18px 16px;
    box-shadow: 0 14px 30px rgba(0,0,0,.55);
    border: 1px solid var(--border-soft);
}

.sidebar-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: .75rem;
}

.category-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .category-list li {
        margin-bottom: .15rem;
    }

    .category-list a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 12px;
        border-radius: 999px;
        font-size: .9rem;
        text-decoration: none;
        color: var(--text-muted);
        transition: background .18s ease, color .18s ease, transform .12s ease;
    }

        .category-list a:hover {
            background: rgba(255,255,255,.05);
            color: #fff;
            transform: translateX(2px);
        }

    .category-list li.active > a {
        background: #facc15;
        color: #020617;
        font-weight: 600;
    }

.count-badge {
    font-size: .75rem;
    padding: .1rem .45rem;
    border-radius: 999px;
    background: rgba(0,0,0,.16);
}

.products-column {
    min-height: 300px;
}

.products-header h2 {
    margin-bottom: .15rem;
}

.products-subtitle {
    font-size: .9rem;
    color: var(--text-muted);
}

.top-search-form {
    margin-top: .8rem;
    margin-bottom: 1.2rem;
}

.search-row {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: flex-end;
}

.search-col {
    flex: 1 1 260px;
}

.search-actions {
    display: flex;
    gap: .5rem;
}

/* ==========================================================
   ÜRÜN GRID + KART TASARIMI
   ========================================================== */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px,1fr));
    gap: 1.6rem;
    margin-top: 1.2rem;
    width: 100%;
}

.product-card {
    background: #111827;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.06);
    box-shadow: 0 18px 40px rgba(0,0,0,.65);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform .22s ease-out, box-shadow .22s ease-out, border-color .22s ease-out;
}

    .product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 26px 60px rgba(0,0,0,.82);
        border-color: rgba(245,180,0,.8);
    }

.product-image-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .25s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-badge-stack {
    position: absolute;
    top: .75rem;
    left: .75rem;
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    padding: .18rem .6rem;
    border-radius: 999px;
    font-size: .7rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 700;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.2);
}

.badge-new {
    background: linear-gradient(135deg,#00c6ff,#0072ff);
    color: #eaffff;
}

.badge-campaign {
    background: linear-gradient(135deg,#ff512f,#f09819);
    color: #fff9f2;
}

.product-body {
    padding: 1.1rem 1.3rem 1.3rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: .35rem;
    flex: 1;
}

.product-tag {
    display: inline-block;
    font-size: .7rem;
    background: rgba(255,200,0,.25);
    border: 1px solid rgba(255,200,0,.6);
    padding: 4px 10px;
    border-radius: 50px;
    margin-bottom: .25rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.product-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
}

.product-code {
    font-size: .85rem;
    color: #bbb;
}

.product-desc {
    font-size: .85rem;
    color: #ccc;
    margin: .15rem 0 .6rem;
}

.product-actions {
    margin-top: auto;
    display: flex;
    gap: .6rem;
}

    .product-actions .btn {
        flex: 1;
    }

.pagination-wrapper {
    margin-top: 1.5rem;
}

/* Mobil görseli biraz büyütelim */
@media (max-width:768px) {
    .product-image-wrapper {
        height: 200px;
    }
}

/* ==========================================================
   FİLTRE FORMU (admin tarafında da kullanılabilir)
   ========================================================== */

.product-filter-form {
    margin: 1.5rem 0 2rem;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
}

.filter-item {
    min-width: 220px;
    flex: 1 1 220px;
}

.filter-label {
    display: block;
    margin-bottom: .4rem;
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.filter-select-wrapper {
    position: relative;
}

.filter-select {
    width: 100%;
    padding: .6rem 2.3rem .6rem .9rem;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    background: rgba(7,10,22,.96);
    color: var(--text-main);
    font-size: .9rem;
    appearance: none;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

    .filter-select:focus {
        border-color: var(--accent);
        box-shadow: 0 0 0 1px rgba(245,180,0,.35);
        background: rgba(9,13,26,.98);
    }

.filter-select-icon {
    position: absolute;
    right: .9rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: .8rem;
    color: var(--text-muted);
}

.filter-input {
    width: 100%;
    padding: .6rem .9rem;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    background: rgba(7,10,22,.96);
    color: var(--text-main);
    font-size: .9rem;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

    .filter-input::placeholder {
        color: var(--text-muted);
    }

    .filter-input:focus {
        border-color: var(--accent);
        box-shadow: 0 0 0 1px rgba(245,180,0,.35);
    }

.filter-actions {
    display: flex;
    gap: .6rem;
    align-items: center;
    flex: 0 0 220px;
}

.btn-filter-primary, .btn-filter-secondary {
    flex: 1 1 0;
    border-radius: 999px;
    padding: .55rem 1rem;
    font-size: .9rem;
    border: 1px solid transparent;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
}

.btn-filter-primary {
    background: radial-gradient(circle at top left, var(--accent) 0, #f7cc57 40%, #f5b400 100%);
    color: #1b1301;
    border-color: rgba(245,180,0,.35);
    box-shadow: 0 12px 28px rgba(0,0,0,.55);
}

    .btn-filter-primary:hover {
        box-shadow: 0 16px 36px rgba(0,0,0,.7);
        transform: translateY(-1px);
    }

.btn-filter-secondary {
    background: transparent;
    color: var(--text-main);
    border-color: var(--border-soft);
}

    .btn-filter-secondary:hover {
        border-color: rgba(245,245,245,.35);
    }

/* Mobil – filtre */
@media (max-width:767.98px) {
    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-actions {
        flex-direction: row;
        flex: 1 1 auto;
    }
}

/* ==========================================================
   ÜRÜN DETAY SAYFASI
   ========================================================== */

.detail-back-link {
    display: inline-block;
    font-size: .85rem;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 1rem;
}

    .detail-back-link:hover {
        color: #fff;
    }

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0,320px) minmax(0,1fr);
    gap: 2rem;
    align-items: flex-start;
}

.detail-image {
    border-radius: 1.4rem;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    box-shadow: 0 18px 40px rgba(0,0,0,.7);
    background: rgba(0,0,0,.4);
}

.detail-image-inner {
    width: 100%;
    padding-top: 75%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.detail-info {
    padding-top: .5rem;
}

.detail-title {
    font-size: 1.6rem;
    margin: .4rem 0 .6rem 0;
}

.detail-code {
    font-size: .9rem;
    color: var(--text-muted);
    margin-bottom: .8rem;
}

.detail-desc {
    font-size: .95rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

.detail-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px,1fr));
    gap: .8rem;
}

.detail-meta-item {
    background: rgba(255,255,255,.03);
    border-radius: .8rem;
    padding: .6rem .9rem;
    border: 1px solid var(--border-soft);
}

.detail-meta-label {
    display: block;
    font-size: .75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: .15rem;
}

.detail-meta-value {
    font-size: .9rem;
}

.product-detail-badges {
    margin-left: .75rem;
    display: inline-flex;
    gap: .4rem;
    vertical-align: middle;
}

.product-detail-link {
    display: inline-block;
    margin-top: .7rem;
    font-size: .8rem;
    padding: .4rem .9rem;
    border-radius: 999px;
    border: 1px solid rgba(245,180,0,.7);
    color: #fcd977;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .08em;
}

    .product-detail-link:hover {
        background: rgba(245,180,0,.16);
    }

@media (max-width:768px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   KURUMSAL (tekilleştirilmiş)
   ========================================================== */

.corporate-hero {
    position: relative;
    padding: 5.5rem 0 3rem;
    overflow: hidden;
    border-bottom: 1px solid var(--border-soft);
    background: radial-gradient(circle at 0% 0%, rgba(204,198,255,.10), transparent 55%), radial-gradient(circle at 100% 100%, rgba(245,180,0,.10), transparent 55%);
}

.corporate-hero--field {
    background-image: url('/images/kurumsal-hero.jpg');
    background-size: cover;
    background-position: center;
}

.corporate-hero .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,8,22,.82), rgba(5,8,22,.55) 45%, rgba(5,8,22,.82));
    pointer-events: none;
}

.corporate-hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.corporate-title {
    font-size: clamp(2rem,4vw,2.8rem);
    margin: 0 0 .5rem 0;
    font-weight: 900;
}

.corporate-subtitle {
    max-width: 820px;
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.6;
    margin: 0 auto;
}

.corporate-hero-kpis {
    margin-top: 1.25rem;
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: .75rem;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.kpi {
    background: rgba(255,255,255,.04);
    border: 1px solid var(--border-soft);
    backdrop-filter: blur(8px);
    border-radius: 14px;
    padding: .85rem 1rem;
    text-align: center;
    box-shadow: 0 14px 30px rgba(0,0,0,.35);
}

.kpi-value {
    font-weight: 900;
    color: var(--accent);
}

.kpi-label {
    font-size: .8rem;
    color: var(--text-muted);
    margin-top: .15rem;
}

.corporate-shell {
    max-width: 1200px;
}

.corporate-block {
    margin-bottom: 2.25rem;
}

.corporate-block-head {
    margin-bottom: 1.1rem;
}

.section-heading {
    font-size: 1.45rem;
    margin: 0 0 .35rem 0;
}

.section-lead {
    color: var(--text-muted);
    max-width: 860px;
    margin: 0;
}

.field-steps {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 1rem;
}

.step-card {
    background: rgba(12,16,30,.95);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 1rem 1.1rem 1.15rem;
    box-shadow: 0 16px 36px rgba(0,0,0,.45);
}

.step-no {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(245,180,0,.18);
    border: 1px solid rgba(245,180,0,.35);
    color: var(--accent);
    font-weight: 900;
    margin-bottom: .7rem;
}

.step-card h3 {
    margin: .35rem 0 .35rem 0;
    font-size: 1.02rem;
}

.step-card p {
    color: var(--text-muted);
    margin: 0;
    font-size: .95rem;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 1rem;
}

.value-card {
    background: rgba(255,255,255,.03);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 1rem 1.1rem;
}

    .value-card h4 {
        margin: .15rem 0 .4rem 0;
        font-size: 1rem;
    }

    .value-card p {
        margin: 0;
        color: var(--text-muted);
    }

.corporate-footer-cta {
    margin-top: 2.2rem;
    padding: 1.4rem 1rem 1.8rem;
    background: rgba(255,255,255,.03);
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    box-shadow: 0 16px 36px rgba(0,0,0,.45);
}

/* ==========================================================
   REFERANSLAR
   ========================================================== */

.reference-hero {
    width: 100%;
    padding: 90px 0 70px;
    background: radial-gradient(circle at 20% 30%, rgba(255,193,7,0.12), transparent 45%), linear-gradient(135deg, #0b1020, #05070f);
}

.reference-hero__inner {
    text-align: left;
}

.reference-title {
    font-size: clamp(2.4rem, 3vw, 3.2rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.reference-subtitle {
    max-width: 720px;
    font-size: 1.05rem;
    color: #b8c0cc;
    line-height: 1.6;
    margin-bottom: 40px;
}

.reference-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.ref-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 26px 28px;
    backdrop-filter: blur(6px);
}

.ref-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffc107;
    margin-bottom: 6px;
}

.ref-text {
    font-size: 0.95rem;
    color: #d0d6e0;
}


.ref-kpi-grid {
    margin-top: 1.25rem;
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: .9rem;
    max-width: 980px;
}

.ref-kpi {
    text-align: center;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    padding: 1rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 14px 30px rgba(0,0,0,.35);
}

.ref-kpi-value {
    font-size: clamp(1.8rem,3.5vw,2.4rem);
    font-weight: 900;
    color: var(--accent);
}

.ref-kpi-label {
    margin-top: .15rem;
    font-size: .9rem;
    color: var(--text-muted);
}

.ref-shell {
    max-width: 1200px;
}

.ref-logo-grid {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 1rem;
}

.ref-logo-card {
    background: rgba(255,255,255,.03);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110px;
    box-shadow: 0 12px 28px rgba(0,0,0,.35);
}

    .ref-logo-card img {
        max-height: 70px;
        max-width: 100%;
        object-fit: contain;
    }

.ref-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 1rem;
}

.ref-testi {
    background: rgba(12,16,30,.95);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 1.1rem 1.2rem;
    box-shadow: 0 16px 36px rgba(0,0,0,.45);
}

.ref-testi-text {
    margin: 0;
    color: #eaeaea;
    line-height: 1.55;
}

.ref-testi-meta {
    margin-top: .6rem;
    font-size: .9rem;
    color: var(--text-muted);
}

.ref-testi-name {
    font-weight: 800;
    margin-right: .4rem;
    color: var(--accent);
}

.ref-cta {
    margin-top: 2rem;
    padding: 1.4rem 1rem 1.8rem;
    background: rgba(255,255,255,.03);
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    box-shadow: 0 16px 36px rgba(0,0,0,.45);
}

/* ==========================================================
   İLETİŞİM
   ========================================================== */

.contact-hero {
    position: relative;
    padding: 4.5rem 2.5rem 2.8rem;
    overflow: hidden;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 10%, rgba(245,180,0,.14), transparent 55%), radial-gradient(circle at 90% 90%, rgba(120,160,255,.10), transparent 55%);
    opacity: .9;
    pointer-events: none;
}

.contact-shell {
    max-width: 1200px;
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    padding: .35rem .85rem;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    color: var(--text-muted);
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: .7rem;
}

.contact-title {
    font-size: clamp(2rem,2.8vw,2.4rem);
    margin: 0 0 .5rem 0;
    font-weight: 900;
}

.contact-subtitle {
    color: var(--text-muted);
    max-width: 760px;
    margin: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 1.6rem;
}

.contact-card {
    background: rgba(12,16,30,.92);
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,.55);
    padding: 1.25rem 1.25rem 1.3rem;
}

.contact-form label {
    display: block;
    font-size: .85rem;
    color: var(--text-muted);
    margin-bottom: .3rem;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(0,0,0,.25);
    color: var(--text-main);
    padding: .6rem .75rem;
    outline: none;
}

    .contact-form input:focus, .contact-form textarea:focus {
        border-color: rgba(245,180,0,.85);
        box-shadow: 0 0 0 1px rgba(245,180,0,.25);
    }

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .9rem;
    margin-bottom: .9rem;
}

.contact-form-col-full {
    margin-bottom: .9rem;
}

.contact-form-actions {
    display: flex;
    gap: .6rem;
    margin-top: .25rem;
    flex-wrap: wrap;
}

.contact-success {
    margin-top: 1rem;
    padding: .8rem .9rem;
    border-radius: 14px;
    border: 1px solid rgba(34,197,94,.35);
    background: rgba(34,197,94,.12);
    color: #dcfce7;
}

/* ==========================================================
   RESPONSIVE (genel)
   ========================================================== */

@media (max-width: 1200px) {
    .category-grid {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
}

@media (max-width: 991.98px) {
    .main-header {
        padding-inline: 1.25rem;
    }

    .site-footer {
        padding-inline: 1.25rem;
    }

    /* Hero kart genişliği */
    .hero-slider, .hero-pro__overlay, .hero-pro__grid {
        width: min(1200px, calc(100% - 2.5rem));
    }

    .hero-pro__container {
        padding: 1.8rem 1.25rem;
        align-items: flex-start;
    }

    .category-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .group-feature-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .group-layout {
        grid-template-columns: 1fr;
    }

    .corporate-hero-kpis {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .field-steps, .value-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .ref-kpi-grid {
        grid-template-columns: 1fr;
    }

    .ref-testimonial-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ref-logo-grid {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .main-header {
        grid-template-columns: 1fr;
        gap: .6rem;
        align-items: flex-start;
    }

    .main-nav {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .hero-slider, .hero-pro__overlay, .hero-pro__grid {
        width: calc(100% - 2.5rem);
        border-radius: 18px;
    }

    .hero-pro__container {
        min-height: 440px;
        border-radius: 18px;
    }

    .hero-pro__dots {
        right: 14px;
        bottom: 14px;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .group-feature-grid {
        grid-template-columns: 1fr;
    }

    .ref-testimonial-grid, .ref-logo-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-hero {
        padding: 3.5rem 1.25rem 2.2rem;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .ref-logo-grid {
        grid-template-columns: 1fr;
    }
}
/* HERO yüksekliklerini küçült */
.hero-section {
    padding: 1.75rem 0 2.25rem;
}
/* üst-alt boşluk daha az */

.hero-pro__container {
    min-height: 460px; /* eskisi 420px idi */
}

#heroSlider.hero-slider,
.hero-pro__overlay,
.hero-pro__grid {
    border-radius: 18px; /* görsel daha “kart” hissi */
    width: min(1100px, calc(100% - 3rem)); /* sağ/sol boşluk biraz daha fazla */
}

/* Başlık boyutunu da bir kademe küçültelim */
.hero-pro__title {
    font-size: clamp(1.8rem, 2.6vw, 2.4rem);
    margin-bottom: .6rem;
}

.hero-pro__subtitle {
    font-size: .98rem;
    margin-bottom: 1rem;
}

/* Tablet ve mobilde daha da kompakt */
@media (max-width: 991.98px) {
    .hero-pro__container {
        min-height: 300px;
    }
}

@media (max-width: 767.98px) {
    .hero-pro__container {
        min-height: 280px;
    }

    .hero-section {
        padding: 1.25rem 0 1.75rem;
    }
}
/* === HOME SLIDER HEIGHT KISMA (OVERRIDE) === */
.hero-pro {
    padding: 1.25rem 0 1.75rem;
    min-height: 460px; /* önce 520/420 gibi değerler vardı, küçültüldü */
}

@media (max-width: 768px) {
    .hero-pro {
        min-height: 300px;
        padding: 1rem 0 1.25rem;
    }
}
/* ==========================================================
   HERO PRO (OVERRIDE) - Kurumsal, kontrollü boyut + çakışma fix
   ========================================================== */

.hero-pro {
    padding: 1.25rem 0 2.25rem;
    border-bottom: 1px solid var(--border-soft);
}

.hero-pro__wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.25rem; /* sağ-sol boşluk */
}

.hero-pro__card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 22px 55px rgba(0,0,0,0.55);
    /* Yükseklik kontrolü (çok büyümesin) */
    height: clamp(300px, 42vh, 520px);
    min-height: 420px;
    background: rgba(0,0,0,0.18);
}

    /* Arka plan slider katmanı artık card içinde */
    .hero-pro__card .hero-pro__slides {
        position: absolute;
        inset: 0;
        z-index: 0;
        pointer-events: none;
    }

    .hero-pro__card .hero-pro__slide {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        opacity: 0;
        transform: scale(1.02);
        transition: opacity .65s ease, transform 1.2s ease;
        filter: saturate(1.05) contrast(1.05);
    }

        .hero-pro__card .hero-pro__slide.is-active {
            opacity: 1;
            transform: scale(1);
        }

    .hero-pro__card .hero-pro__overlay {
        position: absolute;
        inset: 0;
        z-index: 1;
        background: radial-gradient(circle at 15% 20%, rgba(245,180,0,0.18), transparent 55%), radial-gradient(circle at 85% 80%, rgba(204,198,255,0.16), transparent 55%), linear-gradient(to right, rgba(2,3,10,0.78), rgba(2,3,10,0.35));
    }

    .hero-pro__card .hero-pro__grid {
        position: absolute;
        inset: 0;
        z-index: 2;
        background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
        background-size: 22px 22px;
        opacity: 0.12;
        pointer-events: none;
    }

    /* İçerik card içinde, düzgün padding */
    .hero-pro__card .hero-pro__container {
        position: relative;
        z-index: 3;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
        padding: 2.1rem 2.2rem;
    }

    .hero-pro__card .hero-pro__content {
        max-width: 760px;
    }

    .hero-pro__card .hero-pro__dots {
        position: absolute;
        right: 16px;
        bottom: 16px;
        z-index: 4;
        display: flex;
        gap: .5rem;
    }

/* Slider sonrası bölüm üst üste binmesin */
#urun-gruplari.category-section {
    position: relative;
    z-index: 1;
    margin-top: 0;
}

/* Mobil iyileştirme */
@media (max-width: 768px) {
    .hero-pro__card {
        height: clamp(280px, 38vh, 360px);
        border-radius: 18px;
    }

        .hero-pro__card .hero-pro__container {
            padding: 1.35rem 1.25rem;
            align-items: flex-start;
        }
}
