/* hero.css — Sprint-inspired hero with mtandao clean style + background depth */

:root {
    --accent: rgb(237, 36, 78);
    --text-dark: #111827;
    --bg-gradient: linear-gradient(135deg, #f9fafb 0%, #eef2ff 100%);
}

/* Hero Wrapper */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 0;
    position: relative;
    background: var(--bg-gradient);
    overflow: hidden;
}

/* Subtle diagonal overlay */
.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Optional grid/pattern for depth */
.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.3; 
    z-index: 0;
    pointer-events: none;
}

/* Hero Content */
.hero-content {
    max-width: 50%;
    z-index: 1;
    position: relative;
}

.hero-content h1 {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-dark);
}

.hero-content .subtitle {
    margin: 20px 0 30px;
    font-size: 1.25rem;
    color: #4B5563;
}

/* CTA Button */
.btn-hero-cta {
    background: var(--accent);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.btn-hero-cta:hover {
    background: #00cc7a;
    transform: translateY(-2px);
}

/* Hero Image */

.hero-image {
    width: 45%;
    height: 500px;
    background: url('/assets/hero-image.png') center/contain no-repeat,
    url('/assets/hero.png')  left/cover repeat;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: transform 0.6s ease;
    position: relative;
    z-index: 1;
}

.hero-image:hover {
    transform: scale(1.03);
}


/* Responsiveness */
@media (max-width: 960px) {
    .hero-section {
        flex-direction: column-reverse;
        text-align: center;
        padding: 80px 0;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-image {
        width: 100%;
        height: 300px;
        margin-bottom: 40px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content .subtitle {
        font-size: 1.125rem;
    }
}

/* Entry Animation */
.hero-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-section.fade-in {
    opacity: 1;
    transform: translateY(0);
}