/* ===============================
   HERO SLIDER — IMPROVED
================================= */
*,
*::before,
*::after {
    box-sizing: border-box
}

.hero {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px
}

/* ---------- TOP ---------- */
.hero-top {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 10px;
    height: 68vh;
    min-height: 420px;
}

.hero-left,
.hero-right {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #111;
}

/* ---------- RIGHT PANEL ---------- */
.hero-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-right:hover img {
    transform: scale(1.04)
}

.hero-right-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 2;
}

.hero-right-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 16px 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
    color: #fff;
    z-index: 2;
}

.hero-right-label h3 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 4px
}

.hero-right-label p {
    font-size: 0.75rem;
    opacity: 0.75
}

/* ---------- SLIDER ---------- */
.slider {
    position: relative;
    width: 100%;
    height: 100%
}

.slides {
    position: relative;
    width: 100%;
    height: 100%
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.9s ease;
}

.slide.active {
    opacity: 1;
    z-index: 1
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.1) 60%, transparent 100%);
}

/* ---------- SLIDE CONTENT ---------- */
.slide-content {
    position: absolute;
    bottom: 80px;
    left: 36px;
    color: #fff;
    z-index: 5;
    max-width: 65%;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease 0.2s, transform 0.7s ease 0.2s;
}

.slide.active .slide-content {
    opacity: 1;
    transform: translateY(0)
}

.slide-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.75;
    margin-bottom: 10px;
}

.slide-content h2 {
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 10px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.slide-content p {
    font-size: 1rem;
    opacity: 0.85;
    margin-bottom: 20px;
    line-height: 1.6;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #111;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 10px 22px;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.slide-btn:hover {
    background: #f0f0f0;
    transform: translateY(-1px)
}

/* ---------- CONTROLS ---------- */
.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s, transform 0.2s;
}

.prev-btn:hover,
.next-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.08);
}

.prev-btn {
    left: 16px
}

.next-btn {
    right: 16px
}

/* ---------- DOTS ---------- */
.slider-controls {
    position: absolute;
    bottom: 22px;
    left: 36px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    border: none;
    padding: 0;
    transition: all 0.3s ease;
}

.dot.active {
    background: #fff;
    width: 24px;
    border-radius: 4px
}

/* ---------- PROGRESS BAR ---------- */
.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.75);
    width: 0%;
    z-index: 10;
    border-radius: 0 2px 2px 0;
}

/* ---------- BOTTOM GALLERY ---------- */
.hero-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    height: 32vh;
    min-height: 160px;
}

.hero-bottom-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.hero-bottom-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.hero-bottom-item:hover img {
    transform: scale(1.07)
}

.hero-bottom-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
    opacity: 0.7;
    transition: opacity 0.3s;
}

.hero-bottom-item:hover .hero-bottom-overlay {
    opacity: 1
}

.hero-bottom-label {
    position: absolute;
    bottom: 14px;
    left: 16px;
    color: #fff;
    z-index: 2;
}

.hero-bottom-label span {
    font-size: 0.8rem;
    opacity: 0.75;
    display: block;
    margin-bottom: 2px
}

.hero-bottom-label strong {
    font-size: 0.95rem;
    font-weight: 500
}

/* ---------- RESPONSIVE ---------- */
@media(max-width:900px) {
    .hero-top {
        grid-template-columns: 1fr;
        height: auto;
        min-height: unset
    }

    .hero-left {
        height: 55vw;
        min-height: 280px;
        max-height: 420px
    }

    .hero-right {
        height: 40vw;
        min-height: 200px
    }

    .slide-content {
        left: 20px;
        bottom: 70px;
        max-width: 85%
    }

    .slide-content h2 {
        font-size: 1.5rem
    }

    .slider-controls {
        left: 20px
    }

    .hero-bottom {
        grid-template-columns: 1fr 1fr;
        height: auto
    }

    .hero-bottom-item {
        height: 28vw;
        min-height: 140px
    }

    .hero-bottom-item:last-child {
        grid-column: span 2
    }
}

@media(max-width:560px) {
    .hero {
        padding: 8px;
        gap: 8px
    }

    .hero-left {
        height: 60vw;
        min-height: 240px
    }

    .hero-right {
        height: 45vw;
        min-height: 180px
    }

    .slide-content h2 {
        font-size: 1.25rem
    }

    .slide-content p {
        font-size: 0.875rem
    }

    .slide-btn {
        font-size: 0.8rem;
        padding: 8px 16px
    }

    .prev-btn,
    .next-btn {
        width: 34px;
        height: 34px
    }

    .hero-bottom {
        grid-template-columns: 1fr;
        height: auto
    }

    .hero-bottom-item {
        height: 44vw;
        min-height: 150px
    }

    .hero-bottom-item:last-child {
        grid-column: unset
    }
}
