/**
 * Bromak hero slider — site-onyuz slider.php yapısına uyum
 */

 .hero-section-2.hero-2 {
    padding: 0;
    overflow: hidden;
}

.hero-section-2.hero-2::before {
    display: none;
}

.hero-2 .hero-slider-2 {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero-2 .hero-slider-2 .swiper-wrapper,
.hero-2 .hero-slider-2 .swiper-slide {
    height: auto;
}

.hero-2 .hero-2-slide {
    position: relative;
    width: 100%;
    min-height: 820px;
    padding: 470px 0 120px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-2 .hero-2-slide__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    pointer-events: none;
}

.hero-2 .hero-2-slide__video {
    background: #000;
}

.hero-2 .hero-2-slide::before {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(357deg, #3b3b3b 30.35%, rgb(0 0 0) 91.12%);
    opacity: 0.7;
    z-index: 1;
    pointer-events: none;
}

.hero-2 .hero-2-slide .hero-items {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Slider başlığı her zaman görünür — char-animation/ScrollTrigger kaydırınca gizlemesin */
.hero-2 .hero-title,
.hero-2 .hero-title * {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.hero-2 .swiper-slide-active .hero-title {
    animation: bromakHeroTitleIn 0.85s ease both;
}

@keyframes bromakHeroTitleIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1199.98px) {
    .hero-2 .hero-2-slide {
        min-height: 620px;
        padding-top: 250px;
        padding-bottom: 100px;
    }
}

@media (max-width: 991.98px) {
    .hero-2 .hero-2-slide {
        min-height: 560px;
        padding-top: 170px;
        padding-bottom: 90px;
    }
}

@media (max-width: 767.98px) {
    .hero-2 .hero-2-slide {
        min-height: 520px;
        padding-top: 150px;
        padding-bottom: 80px;
    }
}

.hero-2 .hero-slider-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 36px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 0 30px;
    pointer-events: none;
}

.hero-2 .hero-slider-prev,
.hero-2 .hero-slider-next {
    pointer-events: all;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--theme-color-white);
    color: var(--theme-color2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.hero-2 .hero-slider-prev:hover,
.hero-2 .hero-slider-next:hover {
    background: var(--theme-color1);
    color: var(--theme-color-white);
}

.hero-2 .hero-slider-pagination {
    pointer-events: all;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto !important;
    position: static;
}

.hero-2 .hero-slider-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 !important;
    background: rgba(255, 255, 255, 0.45);
    opacity: 1;
}

.hero-2 .hero-slider-pagination .swiper-pagination-bullet-active {
    background: var(--theme-color1);
}

.hero-2 .hero-items .content .hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 36px;
}

.hero-2 .hero-items .content .hero-actions .theme-btn-main {
    margin-top: 0;
}

.hero-2 .hero-items .content .hero-catalog-btn {
    border: 0;
    cursor: pointer;
    appearance: none;
    font: inherit;
    background-color: transparent;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.85);
}

.hero-2 .hero-items .content .hero-catalog-btn .theme-btn {
    color: #fff;
}

.hero-2 .hero-items .content .hero-catalog-btn:hover {
    background-color: #bd2428;
    box-shadow: none;
}

@media (max-width: 767.98px) {
    .hero-2 .hero-items .content .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 767.98px) {
    .hero-2 .hero-slider-controls {
        bottom: 20px;
        gap: 12px;
    }

    .hero-2 .hero-slider-prev,
    .hero-2 .hero-slider-next {
        width: 40px;
        height: 40px;
    }
}
