﻿/*==================================================
    HERO SECTION
==================================================*/

.mst-hero {
    position: relative;
    min-height: 760px;
    height: 88vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: #111;
    padding-top: 90px;
}

    /*==================================================
    BACKGROUND
==================================================*/

    .mst-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: url('/Content/images/hero/depo.jpg') center center/cover no-repeat;
        transform: scale(1.1);
        z-index: 1;
        animation: heroSlowZoom 18s ease-in-out infinite alternate;
    }

@keyframes heroSlowZoom {

    0% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1.1);
    }
}

.mst-badge {
    animation: badgeGlow 2.6s ease-in-out infinite;
}

@keyframes badgeGlow {

    0%, 100% {
        box-shadow: 0 0 0 rgba(245,130,32,0);
    }

    50% {
        box-shadow: 0 0 22px rgba(245,130,32,.35);
    }
}

/*==================================================
    OVERLAY
==================================================*/

.mst-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,.82) 100% );
    z-index: 2;
}

/*==================================================
    CONTAINER
==================================================*/

.mst-hero .container {
    position: relative;
    z-index: 5;
}

/*==================================================
    CONTENT
==================================================*/

.mst-hero-content {
    max-width: 620px;
}

.mst-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    border-radius: 50px;
    margin-bottom: 25px;
    font-size: 13px;
    font-weight: 700;
}

.mst-hero .mst-title {
    color: #fff;
    font-size: 52px;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 25px;
    text-shadow: 0 3px 15px rgba(0,0,0,.55);
}

    .mst-title span {
        color: var(--primary);
    }

.mst-hero .mst-description {
    color: rgba(255,255,255,.90);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 540px;
}

/*==================================================
    BUTTONS
==================================================*/

.mst-hero .mst-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* NOT: Bu kurallar SADECE hero içindeki butonları hedefler.
   Eskiden ".mst-btn-primary" / ".mst-btn-outline" scope'suz (site geneli) tanımlıydı,
   bu yüzden "Bayi Girişi Yap", "Tüm Ürünler" gibi diğer sayfalardaki aynı class'a
   sahip butonlar da yanlışlıkla bu boyut/köşe değerlerini alıp gereğinden uzun/
   köşeli görünüyordu. Artık sadece .mst-hero içindekiler etkileniyor. */
.mst-hero .mst-btn-primary {
    min-width: 210px;
    height: 58px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    font-weight: 700;
}

    .mst-hero .mst-btn-primary i {
        transition: .35s;
    }

    .mst-hero .mst-btn-primary:hover i {
        transform: translateX(6px);
    }

.mst-hero .mst-btn-outline {
    min-width: 210px;
    height: 58px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
}

/*==================================================
    STATS
==================================================*/

.mst-stats {
    position: relative;
    margin-top: 70px;
    margin-bottom: 40px;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 0;
    z-index: 5;
    background: rgba(0,0,0,.45);
    backdrop-filter: blur(16px);
}

    .mst-stats .item {
        text-align: center;
        color: #fff;
    }

    .mst-stats h2 {
        font-size: 42px;
        font-weight: 800;
        margin-bottom: 6px;
        color: rgba(255,255,255,.72);
    }

    .mst-stats span {
        color: rgba(255,255,255,.72);
        text-transform: uppercase;
        letter-spacing: 1px;
        font-size: 13px;
    }

/*==================================================
    SCROLL
==================================================*/

.mst-scroll {
    position: absolute;
    left: 50%;
    bottom: 120px;
    transform: translateX(-50%);
    width: 34px;
    height: 54px;
    border: 2px solid rgba(255,255,255,.5);
    border-radius: 50px;
    z-index: 10;
}

    .mst-scroll span {
        position: absolute;
        width: 5px;
        height: 10px;
        background: #fff;
        border-radius: 10px;
        left: 50%;
        top: 8px;
        transform: translateX(-50%);
        animation: scrollMouse 2s infinite;
    }

@keyframes scrollMouse {

    0% {
        opacity: 1;
        top: 8px;
    }

    100% {
        opacity: 0;
        top: 28px;
    }
}

/*==================================================
    RESPONSIVE
==================================================*/

@media (max-width:1200px) {

    .mst-title {
        font-size: 44px;
    }
}


/*==================================================
    TABLET
==================================================*/

@media (max-width:992px) {

    .mst-hero {
        min-height: auto;
        height: auto;
        padding-top: 110px;
        padding-bottom: 40px;
        align-items: flex-start;
    }

        .mst-hero::before {
            /* Masaüstünde depo görselinin merkezi kadraja alınıyor,
               ama telefon genişliklerinde bu görsel gereğinden büyük/
               alakasız bir kısmı gösteriyordu. Tablet/telefonda görseli
               biraz uzaklaştırıp üstten hizalıyoruz ki bina/logo daha
               dengeli görünsün ve metinle çakışmasın. */
            background-position: center 20%;
            background-size: cover;
            transform: scale(1);
        }

    .mst-hero-overlay {
        background: linear-gradient( 180deg, rgba(0,0,0,.20), rgba(0,0,0,.45), rgba(0,0,0,.82) );
    }

    .mst-hero-content {
        max-width: 100%;
    }

    .mst-badge {
        font-size: 12px;
        padding: 8px 16px;
        margin-bottom: 18px;
    }

    .mst-hero .mst-title {
        font-size: 34px;
        line-height: 1.18;
        margin-bottom: 18px;
    }

    .mst-hero .mst-description {
        font-size: 15px;
        line-height: 1.75;
        margin-bottom: 25px;
        max-width: 100%;
    }

    .mst-hero .mst-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 30px;
    }

    .mst-hero .mst-btn-primary,
    .mst-hero .mst-btn-outline {
        width: 100%;
        min-width: 100%;
        height: 54px;
    }

    /*=========================
        STATS
    =========================*/

    .mst-stats {
        position: relative;
        margin-top: 15px;
        padding: 0;
        background: none;
        backdrop-filter: none;
    }

        .mst-stats .row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1px;
            overflow: hidden;
            border-radius: 18px;
            border: 1px solid rgba(255,255,255,.12);
            background: rgba(255,255,255,.08);
            backdrop-filter: blur(20px);
            box-shadow: 0 20px 45px rgba(0,0,0,.35);
        }

        .mst-stats .col-6 {
            width: 100%;
            max-width: 100%;
        }

        .mst-stats .item {
            background: rgba(0,0,0,.45);
            padding: 28px 10px;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .mst-stats h2 {
            font-size: 32px;
            margin-bottom: 8px;
        }

        .mst-stats span {
            font-size: 12px;
            letter-spacing: .5px;
        }

    .mst-scroll {
        display: none;
    }
}


/*==================================================
    PHONE
==================================================*/

@media (max-width:768px) {

    .mst-hero {
        padding-top: 95px;
    }

        /* Telefonda depo fotoğrafını daha "sıkı" bir kadraja alıp
           biraz karartıyoruz; böylece metin her zaman okunaklı kalıyor
           ve görsel dekor gibi durup içerikle yarışmıyor. */
        .mst-hero::before {
            background-position: center 15%;
        }

    .mst-hero-overlay {
        background: linear-gradient( 180deg, rgba(0,0,0,.35), rgba(0,0,0,.55), rgba(0,0,0,.88) );
    }

    .mst-title {
        font-size: 30px;
    }

    .mst-description {
        font-size: 14px;
    }

    .mst-stats .item {
        padding: 24px 10px;
    }

    .mst-stats h2 {
        font-size: 28px;
    }
}


@media (prefers-reduced-motion: reduce) {

    .mst-hero::before,
    .mst-badge {
        animation: none;
    }
}


/*==================================================
    SMALL PHONE
==================================================*/

@media (max-width:576px) {

    .mst-title {
        font-size: 27px;
    }

    .mst-description {
        font-size: 13.5px;
        line-height: 1.7;
    }

    .mst-badge {
        width: 100%;
        justify-content: center;
    }

    .mst-stats .item {
        padding: 22px 8px;
    }

    .mst-stats h2 {
        font-size: 26px;
    }

    .mst-stats span {
        font-size: 11px;
    }
}

@media (max-width:991px) {

    .mst-hero::before {
        background-image: url('/Content/images/hero/depo-mobile.jpg');
        background-position: center center;
    }
}