/* =============================================
   HERO / BANNER
   Mobile-first
   ============================================= */

.hero {
    position: relative;
    z-index: auto;
    overflow: visible;
    color: var(--color-text);
    min-height: clamp(440px, 32vw + 220px, 600px);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(5, 12, 28, 0.15) 0%,
        rgba(5, 12, 28, 0.45) 100%
    );
}

.hero__inner {
    position: relative;
    z-index: auto;
}

/* ---- Duyuru şeridi ---- */

.hero__ticker-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.6rem;
    min-height: 36px;
    padding-block: 1rem;
}

.hero__ticker-icon {
    flex-shrink: 0;
    display: inline-flex;
    color: rgba(255, 255, 255, 0.9);
}

.hero__ticker-text {
    font-size: var(--font-size-xs);
    color: #ffffff;
    text-align: left;
    line-height: 1.4;
}

/* ---- Slider + alt grid — banner üstünde yüzen katman ---- */
.hero-stack {
    position: relative;
    top: -18rem;
    margin-bottom: -18rem;
    z-index: 20;
}

@media (min-width: 768px) {
    .hero-stack {
        top: -20rem;
        margin-bottom: -20rem;
    }
}

@media (min-width: 992px) {
    .hero-stack {
        top: -26rem;
        margin-bottom: -26rem;
    }
}

.hero-slider {
    position: relative;
    z-index: 20;
    color: #ffffff;
    pointer-events: none;
}

.hero-slider .container,
.hero-slider .hero-swiper,
.hero-slider .hero__card,
.hero-slider a,
.hero-slider button {
    pointer-events: auto;
}

.hero-swiper {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.hero-swiper .swiper-slide {
    height: auto;
}

.hero__card {
    position: relative;
    width: 100%;
    min-height: clamp(340px, 24vw + 200px, 480px);
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.hero__card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

.hero__card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: clamp(340px, 24vw + 200px, 480px);
    padding: 2rem 1.75rem;
    width: 100%;
}

.hero__card-content::before {
    content: '';
    position: absolute;
    inset: 0;
    width: 60%;
    background: linear-gradient(
        90deg,
        rgba(5, 10, 25, 0.5) 0%,
        rgba(5, 10, 25, 0.15) 75%,
        transparent 100%
    );
    pointer-events: none;
    z-index: -1;
}

.hero__title {
    position: relative;
    font-size: clamp(1.35rem, 3.5vw, 2.1rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
    max-width: 480px;
    color: #ffffff;
}

.hero__desc {
    position: relative;
    font-size: var(--font-size-sm);
    line-height: 1.65;
    color: #ffffff;
    margin-bottom: var(--spacing-lg);
    max-width: 420px;
}

.hero__actions {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 0.75rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-pill);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text);
    background: rgba(45, 55, 80, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background var(--transition), border-color var(--transition);
}

.hero__btn:hover {
    background: rgba(55, 65, 95, 0.6);
    border-color: #fff;
}

.hero__crown {
    display: block;
    width: 56px;
    height: auto;
    flex-shrink: 0;
    object-fit: contain;
}

.hero__slider-nav {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.hero__slider-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(70, 80, 105, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: rgba(255, 255, 255, 0.95);
    transition: background var(--transition);
}

.hero__slider-btn:hover {
    background: rgba(90, 100, 130, 0.65);
}

/* ---- Tablet+ ---- */
@media (min-width: 768px) {
    .hero-swiper {
        border-radius: 24px;
    }

    .hero__card-content {
        padding: 2.5rem 3rem;
        max-width: 55%;
    }

    .hero__title {
        font-size: clamp(1.75rem, 2.5vw, 2.25rem);
        max-width: 520px;
    }

    .hero__desc {
        max-width: 460px;
    }
}

/* ---- Desktop ---- */
@media (min-width: 992px) {
    .hero-swiper {
        border-radius: 28px;
    }

    .hero__card-content {
        padding: 3rem 3.5rem;
        max-width: 50%;
    }

    .hero__card-content::before {
        width: 55%;
    }
}
