/* ============================================
   HERO.CSS - PUNKROCK GADGETS
   ============================================ */

/* ==== LAYOUT ==== */

.hero .section-inner {
    min-height: 100vh;

    display: grid;
    grid-template-rows:
        /* claim */
        auto
        /* h1 */
        auto
        /* subline */
        auto
        /* buttons */
        1fr
        /* spacer */
        1fr
        /* stats */
        1fr;

    align-items: center;
}

/* ==== HERO STYLES ==== */

.hero {
    padding: 1rem;
    background-image:
        linear-gradient(135deg,
            rgba(50, 50, 50, 0.9),
            rgba(53, 53, 53, 0.7)),
        url("../images/hero-image-gadgets.jpg");

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-bottom: var(--border-primary);
    color: var(--text-primary);
    text-align: center;
    filter: saturate(1.3) contrast(1.15) brightness(0.9);
}

.claim {
    font-size: clamp(1rem, 4vw, 1.4rem);
    text-transform: uppercase;
    font-family: var(--font-mono);
    color: var(--accent-secondary);
    padding: 0.5rem 0.75rem;
    display: inline-block;
    letter-spacing: 0.08em;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 8rem);
    padding: 1rem 0;
}

.hero .font-mono {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: clamp(1rem, 2.8vw, 1.2rem);
    line-height: 1.4;
}

.hero-divider {
    margin: 2rem auto;
    width: 80%;
    height: 1px;
    background: linear-gradient(0deg,
            transparent,
            var(--text-muted),
            transparent);
    opacity: 0.2;
}

/* Hero Stats */
.hero-stats-wrapper {
    width: 100%;
}

.hero-stats {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;

    text-align: center;
}

.hero-stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    letter-spacing: 0.08em;
    line-height: 1;
}

.hero-stat-label {
    display: block;
    margin-top: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ==== MEDIA QUERIES ==== */

/* ---- MOBILE (max-width: 768px) ---- */
@media (max-width: 768px) {

    /* Hero */
    .hero .section-inner {
        grid-template-rows: auto;
        row-gap: 1.5rem;
    }

    .hero-divider {
        opacity: 0;
    }

    .hero-stats-wrapper {
        display: none;
    }

}

/* ---- TABLET / SMALL DESKTOP (769px - 1399px) ---- */
@media (min-width: 769px) and (max-width: 1399px) {
    .hero {
        background-size: cover;
    }
}