﻿:root {
    --bg: #0b1220;
    --text: #eaf0ff;
    --muted: #9fb0d0;
    --line: rgba(255,255,255,.08);
    --primary: #6ea8fe;
    --primary2: #3b82f6;
    --danger: #ff6b6b;
}

/* PAGE BLOCKS */
.block {
    padding: 26px 0 18px;
}

.block-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.block-title {
    margin: 0;
    font-size: 24px;
    letter-spacing: .2px;
    color: var(--text);
    font-weight: 950;
}

.block-sub {
    margin: 0;
    color: var(--muted);
}

/* HERO */
.hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    border-radius: 18px;
    overflow: hidden;
    margin-top: 16px;
    border: 1px solid var(--line);
    /* ✅ İnşaat fotoğrafını buraya koy */
    background-image: url("/uploads/construction.jpg");
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(900px 400px at 20% 10%, rgba(110,168,254,.22), transparent 60%), linear-gradient(90deg, rgba(11,18,32,.92), rgba(11,18,32,.62), rgba(11,18,32,.32));
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding: 40px 18px;
}

.hero-content {
    max-width: 720px;
}

.hero-pill {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.03);
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.hero-title {
    margin: 14px 0 10px;
    font-size: 44px;
    line-height: 1.08;
    letter-spacing: .2px;
    font-weight: 1000;
    color: var(--text);
}

.hero-desc {
    margin: 0;
    color: rgba(234,240,255,.82);
    line-height: 1.6;
    font-size: 16px;
    max-width: 62ch;
}

.hero-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btnx {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--line);
    text-decoration: none;
    font-weight: 850;
    transition: .15s ease;
    cursor: pointer;
}

    .btnx:hover {
        transform: translateY(-1px);
    }

.btnx-primary {
    color: var(--text);
    background: linear-gradient(180deg, rgba(110,168,254,.95), rgba(59,130,246,.85));
    border-color: rgba(110,168,254,.55);
}

.btnx-soft {
    color: var(--text);
    background: rgba(255,255,255,.04);
}

.btnx-ghost {
    color: var(--muted);
    background: transparent;
}

    .btnx-ghost:hover {
        color: var(--text);
        border-color: rgba(110,168,254,.35);
    }

/* Swiper Arrows (ev + ürün) */
.swiper_arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(11,18,32,.7);
    color: rgba(234,240,255,.9);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: .15s ease;
    user-select: none;
    font-size: 22px;
    font-weight: 900;
}

    .swiper_arrow:hover {
        transform: translateY(-50%) translateY(-1px);
        border-color: rgba(110,168,254,.35);
        box-shadow: 0 20px 50px rgba(0,0,0,.25);
    }

.arrow-prev {
    left: -10px;
}

.arrow-next {
    right: -10px;
}

.prod-prev {
    left: -10px;
}

.prod-next {
    right: -10px;
}

@media (max-width: 768px) {
    .arrow-prev, .prod-prev {
        left: 6px;
    }

    .arrow-next, .prod-next {
        right: 6px;
    }
}

/* Cards (hem ev hem ürün) */
.cardx {
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
    border-radius: 18px;
    overflow: hidden;
    transition: .15s ease;
}

    .cardx:hover {
        transform: translateY(-2px);
    }

.cardx-imglink {
    position: relative;
    display: block;
}

.cardx-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--line);
}

.cardx-badges {
    position: absolute;
    left: 10px;
    top: 10px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badgeX {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-size: 12px;
    color: var(--muted);
    background: rgba(255,255,255,.03);
    font-weight: 800;
}

.badgeX-primary {
    color: rgba(110,168,254,.95);
    border-color: rgba(110,168,254,.35);
    background: rgba(110,168,254,.10);
}

.badgeX-danger {
    color: rgba(255,107,107,.95);
    border-color: rgba(255,107,107,.25);
    background: rgba(255,107,107,.08);
}

.badgeX-soft {
    color: var(--muted);
}

.cardx-body {
    padding: 14px;
}

.cardx-title {
    font-weight: 950;
    color: var(--text);
    letter-spacing: .2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cardx-sub {
    margin-top: 6px;
    color: var(--muted);
    font-size: 13.2px;
    line-height: 1.45;
    min-height: 38px;
}

.cardx-foot {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.priceX {
    font-weight: 1000;
    color: var(--text);
    letter-spacing: .2px;
}

/* Responsive Hero */
@media (max-width: 992px) {
    .hero-title {
        font-size: 34px;
    }

    .hero {
        min-height: 380px;
    }
}

@media (max-width: 576px) {
    .hero {
        border-radius: 16px;
    }

    .hero-title {
        font-size: 30px;
    }
}
