/* Hero Component - Extracted from styles.css */

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--hero-gradient-start), var(--hero-gradient-end));
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: var(--fs-4);
    font-weight: 700;
    margin-bottom: var(--space-5);
    line-height: 1.2;
}

.hero .lead {
    font-size: var(--fs-1);
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

/* Hero Enhancements */
.hero {
    min-height: 60vh; /* Taller for immersion */
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.2), rgba(0,0,0,0)); /* Subtle overlay */
    z-index: 1;
}

.hero .container {
    z-index: 2;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
}

.hero .lead {
    font-size: 1.3rem;
}

/* API Docs: remove hero overlay tint */
.page-api-docs .hero::before {
    background: transparent !important;
}

/* API Docs: make hero CTAs blue in all themes */
.page-api-docs .hero .cta-buttons .button.secondary {
    background: linear-gradient(135deg, var(--hero-gradient-start), var(--hero-gradient-end));
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

.page-api-docs .hero .cta-buttons .button.secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 2rem;
        padding: 0 20px;
    }

    .hero .lead {
        font-size: 1.1rem;
        padding: 0 20px;
        margin-bottom: 30px;
    }


}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .hero .lead {
        font-size: 1rem;
    }
}