/* ==========================================
   HERO SLIDER FULL WIDTH
========================================== */

.hero-slider{
    position:relative;
    width:100vw;
    height:450px;
    overflow:hidden;
    margin-left:calc(50% - 50vw);
}

.hero-slide{
    position:absolute;
    inset:0;
    opacity:0;
    transition:opacity .8s ease;
}

.hero-slide.active{
    opacity:1;
    z-index:2;
}

.hero-slide img{
    width:100%;
    height:100%;
    object-fit:fill;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(0,0,0,.85),
        rgba(0,0,0,.25)
    );
}

.hero-content{
    position:absolute;
    left:8%;
    bottom:10%;
    max-width:700px;
    color:#fff;
    z-index:3;
}

.hero-tag{
    display:inline-block;
    background:#c90000;
    padding:8px 14px;
    border-radius:5px;
    margin-bottom:15px;
    font-weight:700;
}

.hero-content h2{
    font-size:3rem;
    margin-bottom:15px;
    line-height:1.1;
}

.hero-content p{
    font-size:1.1rem;
    margin-bottom:20px;
    line-height:1.6;
}

.hero-btn{
    display:inline-block;
    background:#fff;
    color:#111;
    text-decoration:none;
    padding:12px 25px;
    border-radius:6px;
    font-weight:700;
}

.hero-nav{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:55px;
    height:55px;
    border:none;
    border-radius:50%;
    background:rgba(0,0,0,.45);
    color:#fff;
    font-size:24px;
    cursor:pointer;
    z-index:10;
}

.hero-prev{
    left:20px;
}

.hero-next{
    right:20px;
}

.hero-dots{
    position:absolute;
    bottom:25px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:10px;
    z-index:10;
}

.hero-dot{
    width:12px;
    height:12px;
    border-radius:50%;
    background:rgba(255,255,255,.4);
    cursor:pointer;
}

.hero-dot.active{
    background:#fff;
}

@media(max-width:768px){

    .hero-slider{
        height:420px;
    }

    .hero-content{
        left:20px;
        right:20px;
        bottom:60px;
    }

    .hero-content h2{
        font-size:1.8rem;
    }

    .hero-content p{
        font-size:.95rem;
    }
}