﻿/* =========================
   HERO SLIDER (Standalone CSS)
   File: wwwroot/css/hero-slider.css
   ========================= */

.hero-full {
    display:contents;
    width: 100%;
    padding: 0 16px;
}

.hero-slider {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15,23,42,.14);
    background: #0a1020;
    height: 650px; /* desktop default */
    max-width: 1400px;
    margin: 0 auto;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity .6s ease, transform .9s ease;
}

    .hero-slide.active {
        opacity: 1;
        transform: scale(1);
    }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(1200px 520px at 20% 25%, rgba(0,0,0,.30), transparent 55%), linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.78));
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 26px 24px 74px;
    max-width: 1120px;
    margin: 0;
    color: #fff;
}

.hero-title {
    font-size: clamp(1.45rem, 1.1rem + 1.8vw, 2.2rem);
    line-height: 1.10;
    letter-spacing: -.02em;
    margin: 0 0 10px 0;
    font-weight: 900;
}

.hero-subtitle {
    font-size: clamp(.98rem, .9rem + .45vw, 1.2rem);
    line-height: 1.55;
    margin: 0 0 16px 0;
    opacity: .92;
    max-width: 760px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Dots */
.hero-slider-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 3;
    padding: 0 12px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.45);
    background: rgba(255,255,255,.18);
    cursor: pointer;
}

    .hero-dot.active {
        background: #fbbf24;
        border-color: rgba(0,0,0,.10);
        transform: scale(1.1);
    }

/* =========================
   MOBILE: height lock = 450px
   ========================= */
@media (max-width: 640px) {
    .hero-full {
        padding: 0 10px;
    }

    .hero-slider {
        height: 450px !important; /* kesin kilit */
        border-radius: 18px;
        max-width: 520px;
    }

    .hero-content {
        padding: 18px 16px 62px;
    }

    .hero-title {
        font-size: 9px;
        line-height: 1.12;
        text-shadow: 0 8px 30px rgba(0,0,0,.45);
    }

    .hero-subtitle {
        font-size: 9px;
        line-height: 1.45;
        text-shadow: 0 8px 26px rgba(0,0,0,.40);
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

        .hero-actions .btn-tt {
            width: 100%;
            height: 48px;
            border-radius: 16px;
        }

    .hero-slider-dots {
        bottom: 10px;
    }

    .hero-dot {
        width: 9px;
        height: 9px;
    }

    .hero-overlay {
        background: radial-gradient(900px 420px at 18% 30%, rgba(0,0,0,.20), transparent 60%), linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.82));
    }
}
