/* ==========================================================================
   Hero Component
   ========================================================================== */

.hero {
    position: relative;
    padding: var(--space-3xl) 0;
    overflow: hidden;
}

.hero--gradient {
    background: var(--gradient-hero);
    color: var(--white);
}

.hero--gradient h1,
.hero--gradient h2,
.hero--gradient p {
    color: var(--white);
}

.hero--gradient .hero-subtitle {
    color: var(--blue-light);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero h1 {
    margin-bottom: var(--space-md);
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-pill);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--white);
}

/* Search bar in hero */
.hero-search {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    max-width: 560px;
}

.hero-search .form-select {
    flex: 1;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    border-right: none;
}

.hero-search .btn {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    white-space: nowrap;
}

/* Decorative wave */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--cream);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.hero--gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(46, 94, 166, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(200, 35, 51, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Specialty hero variant */
.hero--specialty {
    padding: var(--space-2xl) 0;
}

.hero--specialty::after {
    height: 40px;
}

@media (min-width: 768px) {
    .hero {
        padding: var(--space-4xl) 0;
    }

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

    .hero-search {
        max-width: 600px;
    }
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }
}
