﻿/* =====================================================
   HERO – FINAL (OVERRIDE SAFE)
===================================================== */

#heroSlider.hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 90vh;
    overflow: hidden;
}

/* SLIDES */
#heroSlider .hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: var(--pos, 50% 50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease;
}

    #heroSlider .hero-slide.active {
        opacity: 1;
        visibility: visible;
        z-index: 1;
    }

/* OVERLAY */
#heroSlider .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
}

/* CONTENT */
#heroSlider .hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    max-width: 640px;
    margin-left: auto;
    margin-right: 10vw; /* 🔥 SADECE SOLA YAKLAŞTIRIR */
    padding: 0 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

/* TEXT */
#heroSlider .hero-label {
    font-size: .85rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #d6b25e;
    margin-bottom: .75rem;
}

#heroSlider .hero-title {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

#heroSlider .hero-sub {
    opacity: .9;
    margin-bottom: 1.75rem;
}

/* =====================================================
   HERO NAV
===================================================== */

#heroSlider .hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(0,0,0,.25);
    cursor: pointer;
    display: grid;
    place-items: center;
}

#heroSlider .hero-prev {
    left: 1.5rem;
}

#heroSlider .hero-next {
    right: 1.5rem;
}

    #heroSlider .hero-prev::before,
    #heroSlider .hero-next::before {
        font-size: 32px;
        color: #fff;
    }

#heroSlider .hero-prev::before {
    content: "‹";
}

#heroSlider .hero-next::before {
    content: "›";
}

/* =====================================================
   HERO SOCIAL ACTIONS – FINAL
===================================================== */

#heroSlider .hero-actions-social {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

    /* BASE CTA (SADECE SOCIAL) */
    #heroSlider .hero-actions-social .hero-cta {
        display: inline-flex;
        align-items: center;
        gap: .75rem;
        padding: .75rem 1.35rem;
        border-radius: 999px;
        text-decoration: none;
        font-size: .72rem;
        letter-spacing: .14em;
        text-transform: uppercase;
        font-weight: 500;
        color: #ffffff;
        backdrop-filter: blur(10px);
        transition: transform .25s ease, background .25s ease;
    }

/* ICON WRAP */
#heroSlider .cta-icon-wrap {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.18);
}

#heroSlider .cta-icon {
    width: 16px;
    height: 16px;
}

/* =========================
   INSTAGRAM
========================= */

#heroSlider .hero-cta-instagram {
    background: linear-gradient( 135deg, rgba(255,255,255,.22), rgba(255,255,255,.08) );
    border: 1px solid rgba(255,255,255,.28);
}

    #heroSlider .hero-cta-instagram:hover {
        transform: translateY(-1px);
    }

        #heroSlider .hero-cta-instagram:hover .cta-icon {
            filter: drop-shadow(0 0 6px rgba(214,41,118,.55));
        }

/* =========================
   YOUTUBE
========================= */

#heroSlider .hero-cta-youtube {
    background: rgba(0,0,0,.35);
    border: 1px solid rgba(255,255,255,.25);
}

    #heroSlider .hero-cta-youtube:hover {
        transform: translateY(-1px);
    }

        #heroSlider .hero-cta-youtube:hover .cta-icon {
            filter: drop-shadow(0 0 6px rgba(255,0,0,.55));
        }

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

    #heroSlider.hero {
        aspect-ratio: 3 / 4;
    }

    #heroSlider .hero-content {
        padding: 0 1.5rem;
    }

    #heroSlider .hero-slide {
        background-position: var(--pos-m, var(--pos, 50% 50%));
    }

    #heroSlider .hero-actions-social {
        gap: .75rem;
    }

        #heroSlider .hero-actions-social .hero-cta {
            padding: .7rem 1.1rem;
            font-size: .68rem;
        }

    #heroSlider .cta-icon-wrap {
        width: 30px;
        height: 30px;
    }
}
