﻿/* ----------------------------
       Modern Hero Section
    -----------------------------*/

.hero-modern {
    position: relative;
    min-height: 75vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* Slides */
.hero-slides,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1s ease, transform 6s ease;
}

    .hero-slide.active {
        opacity: 1;
        transform: scale(1);
    }

/* Dark + gradient overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to right, rgba(0,0,0,.65), rgba(0,0,0,.35), rgba(0,0,0,.65) );
    z-index: 1;
}

/* Content container */
.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    padding: 0 1.5rem;
    margin: auto;
    color: #fff;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: .4rem .9rem;
    border-radius: 50px;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(6px);
    font-size: .85rem;
    letter-spacing: .04em;
    margin-bottom: 1rem;
}

.hero-container h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-container p {
    max-width: 820px;
    margin: 0 auto 2rem;
    font-size: 1.05rem;
    color: #e8e8e8;
}

/* Actions */
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.download-btn {
    padding: 10px 40px;
    text-align: center;
    text-transform: capitalize;
    text-decoration: none;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    border-radius: 50px;
    display: block;
    border: 0px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0px 0px 14px -7px #f09819;
    background-image: linear-gradient(45deg, #1c7c54 0%, #28a745 51%, #1c7c54 100%);
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

    .download-btn:hover {
        background-position: right center;
        color: #fff;
        text-decoration: none;
        transform: translateY(-2px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    }


/* Secondary button */
.btn-outline-hero {
    color: #fff;
    border: 1px solid rgba(255,255,255,.5);
    padding: .8rem 1.6rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    backdrop-filter: blur(5px);
    transition: background .2s ease;
}

    .btn-outline-hero:hover {
        background: rgba(255,255,255,.12);
    }

/* Navigation arrows */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(0,0,0,.45);
    border: none;
    color: #fff;
    font-size: 1.8rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .hero-nav.prev {
        left: 16px;
    }

    .hero-nav.next {
        right: 16px;
    }

    .hero-nav:hover {
        background: rgba(0,0,0,.65);
    }

/* Responsive */
@media (max-width: 768px) {
    .hero-modern {
        min-height: 65vh;
    }

    .hero-container p {
        font-size: .95rem;
    }

    .hero-nav {
        display: none;
    }
}
