/**
 * IndoKontraktor — Homepage Hero Section
 * Extracted from call-to-action/index.blade.php inline style.
 * Load order: app.css → hero.css
 */

/* ═══════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════ */
.hero-section {
    background:
        linear-gradient(
            -45deg,
            rgba(102,126,234,0.83), rgba(118,75,162,0.83),
            rgba(79,172,254,0.83),  rgba(0,210,230,0.83)
        ),
        url('https://img.freepik.com/free-photo/bangkok-city_1203-3074.jpg') center / cover no-repeat;
    background-size: 400% 400%, cover;
    animation: hero-gradient 20s ease infinite;
    min-height: 56vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

@keyframes hero-gradient {
    0%   { background-position: 0%   50%, center; }
    50%  { background-position: 100% 50%, center; }
    100% { background-position: 0%   50%, center; }
}

/* Motion-safe: keep animation */
@media (prefers-reduced-motion: reduce) {
    .hero-section { animation: none; }
}

/* ── H1 ─────────────────────────────────────── */
.hero-h1 {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: #fff;
    margin: 0 0 1.25rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.28);
}

.hero-h1 .hero-h1__brand {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.78;
    margin-bottom: 0.5rem;
}

/* ── Tagline (p, not heading) ────────────────── */
.hero-tagline {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255,255,255,0.92);
    max-width: 680px;
    margin: 0 auto 0;
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 991px) {
    .hero-section { min-height: 44vh; padding: 3rem 0; }
    .hero-h1 { font-size: 2.25rem; }
}

@media (max-width: 575px) {
    .hero-section { min-height: auto; padding: 2.5rem 0; }
    .hero-h1 { font-size: 1.75rem; }
    .hero-tagline { font-size: 0.95rem; }
}


/* ═══════════════════════════════════════════════════
   FEATURES SECTION  (directly below hero)
═══════════════════════════════════════════════════ */
.hero-features {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.hero-features__heading {
    font-size: 1.45rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.hero-feature-card {
    padding: 1.5rem 1rem;
    border-radius: 12px;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.hero-feature-card:hover {
    background: #fff;
    box-shadow: 0 4px 16px rgba(15,23,42,0.08);
}

.hero-feature-card__icon {
    margin-bottom: 1rem;
    line-height: 1;
}

.hero-feature-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.5rem;
    letter-spacing: -0.01em;
}

.hero-feature-card__desc {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}
