/* ==========================================
   HERO SECTION
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

.hero{
    width:100%;
    padding:25px 0;
    background:#f7f7f7;
}

.hero-container{

    width:95%;
    max-width:1600px;
    margin:auto;

    display:grid;
    grid-template-columns:2fr 1fr;
    gap:20px;

}


/* ==========================================
   RIGHT COLUMN
========================================== */

.hero-side{

    display:grid;
    grid-template-rows:1fr 1fr;
    gap:20px;

}


/* ==========================================
   SLIDER
========================================== */

.slider{

    position:relative;
    overflow:hidden;

    border-radius:16px;

    background:#ddd;

    box-shadow:0 10px 30px rgba(0,0,0,.15);

}


/* MAIN */

.hero-main{

    height:620px;

}


/* SMALL */

.small-slider{

    height:300px;

}


/* ==========================================
   SLIDES
========================================== */

.slides{

    position:relative;

    width:100%;
    height:100%;

}


/* ==========================================
   SINGLE SLIDE
========================================== */

.slide{

    position:absolute;

    inset:0;

    opacity:0;

    visibility:hidden;

    transition:

    opacity .7s ease,

    visibility .7s ease;

}


/* ACTIVE */

.slide.active{

    opacity:1;

    visibility:visible;

    z-index:2;

}


/* ==========================================
   IMAGE
========================================== */

.slide img{

    width:100%;

    height:100%;

    object-fit:cover;

    display:block;

}


/* ==========================================
   DARK OVERLAY
========================================== */

.overlay{

    position:absolute;

    inset:0;

    background:

    linear-gradient(

    to right,

    rgba(0,0,0,.65),

    rgba(0,0,0,.25),

    rgba(0,0,0,.10)

    );

}


/* ==========================================
   CAPTION
========================================== */

.caption{

    position:absolute;

    left:60px;

    bottom:70px;

    max-width:520px;

    color:#fff;

    z-index:5;

}


.caption.small{

    left:25px;

    bottom:25px;

    max-width:250px;

}


/* ==========================================
   BADGE
========================================== */

.badge{

    display:inline-block;

    background:#ff2d2d;

    color:#fff;

    padding:8px 18px;

    border-radius:40px;

    font-size:13px;

    font-weight:bold;

    letter-spacing:1px;

    margin-bottom:18px;

}


/* ==========================================
   TITLES
========================================== */

.caption h2{

    font-size:52px;

    line-height:1.15;

    margin-bottom:20px;

}


.caption h3{

    font-size:28px;

    margin-bottom:15px;

}


/* ==========================================
   TEXT
========================================== */

.caption p{

    font-size:18px;

    line-height:1.8;

    margin-bottom:30px;

}


/* ==========================================
   BUTTON
========================================== */

.btnflash{

    display:inline-block;

    padding:14px 35px;

    background:#ff2d2d;

    color:#fff;

    text-decoration:none;

    border-radius:40px;

    transition:.3s;

    font-weight:bold;

}


.btnflash:hover{

    background:#111;

}


.small-btnflash{

    padding:10px 22px;

}


/* ==========================================
   ARROWS
========================================== */

.prev,
.next{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:18px;

    height:18px;

    border:none;

    border-radius:50%;

    background:rgba(255,255,255,.9);

    cursor:pointer;

    font-size:12px;

    transition:.3s;

    z-index:10;

}


.prev{

    left:20px;

}


.next{

    right:20px;

}


.prev:hover,
.next:hover{

    background:#ff2d2d;

    color:#fff;

}


/* ==========================================
   HOVER ZOOM
========================================== */

.slide img{

    transition:transform 8s linear;

}


.slide.active img{

    transform:scale(1.08);

}


/* ==========================================
   MOBILE
========================================== */

@media(max-width:992px){

.hero-container{

grid-template-columns:1fr;

}

.hero-main{

height:500px;

}

.small-slider{

height:260px;

}

}


@media(max-width:768px){

.hero-main{

height:420px;

}

.small-slider{

height:220px;

}

.caption{

left:25px;

bottom:25px;

}

.caption h2{

font-size:34px;

}

.caption h3{

font-size:22px;

}

.caption p{

font-size:15px;

}

.btn{

padding:12px 24px;

}

}


@media(max-width:480px){

.hero-main{

height:340px;

}

.small-slider{

height:180px;

}

.caption h2{

font-size:28px;

}

.caption h3{

font-size:18px;

}

.badge{

font-size:11px;

padding:6px 14px;

}

.prev,
.next{

width:40px;

height:40px;

}

}