﻿/* =========================
   HERO SLIDER
========================= */
.hero-bg {
    position: relative;
    min-height: 520px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1;
    pointer-events: none; /* overlay tıklanabilirlik engellemez */
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.05;
}

.hero-subtitle {
    font-size: 18px;
    color: #eaeaea;
    max-width: 520px;
}

.hero-badge {
    display: inline-block;
    background: #111;
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 800;
}

.hero-btn {
    display: inline-block;
    background: #b33;
    color: #fff;
    padding: 14px 22px;
    border-radius: 10px;
    font-weight: 900;
    text-decoration: none;
    position: relative;
    z-index: 5;
    pointer-events: auto;
    transition: all 0.3s ease;
}

    .hero-btn:hover {
        opacity: 0.9;
        transform: translateY(-2px);
    }

/* =========================
   SLIDER OKLARI
========================= */
.carousel-control-prev,
.carousel-control-next {
    z-index: 15; /* overlay’in üstünde */
    width: 5%; /* ok genişliği daraltıldı */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 100%, 100%;
}

/* =========================
   KATEGORİ KARTLARI
========================= */
.cat-card-inner {
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .cat-card-inner:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    }

.cat-title {
    font-weight: 700;
    color: #333;
}

.cat-link {
    font-size: 14px;
    color: #b33;
    font-weight: 600;
    transition: color 0.3s;
}

    .cat-link:hover {
        color: #7a0000;
    }

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
    .hero-bg {
        min-height: 420px;
    }

    .hero-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 28px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: block;
    }
}
