/*
 * tnt-processingApps.css
 * TNT | TechNoviceTools | Processing Apps page (processing_apps.html) styles
 * Requires: tnt-base-styles.css (loaded first)
 *
 * Covers: hero config, Processing intro + stat callout, app grid figures,
 *         search bar, responsive tweaks.
 *
 * Mirrors tnt-jsapps.css structure — accent color shifted to
 * Processing's signature coral/pink (#E7489E) throughout.
 */


/* ═══════════════════════════════════════════════════════════════════
   HERO — Processing Apps
   Background: images/threeHueCircles7-15-19.png
   Jewel-toned arcs on dark — pure Processing energy.
═══════════════════════════════════════════════════════════════════ */
#hero {
    min-height: 46vh;
    background:
        linear-gradient(135deg, rgba(10,14,26,0.82) 0%, rgba(60,0,80,0.60) 100%),
        url('../images/threeHueCircles7-15-19.png') center / cover no-repeat;
    position: relative;
    padding: 3.5rem 1rem 4rem;
}

.hero-title {
    font-size: clamp(2.6rem, 6.5vw, 4.2rem);
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 2.5rem;
}

/* CTA row below the subtitle */
.proc-hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
}

/* Secondary outline button */
.btn-hero-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.6);
    font-family: var(--boogaloo);
    font-size: 1.05rem;
    font-weight: 700;
    padding: 0.6rem 1.6rem;
    border-radius: 50px;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-hero-outline:hover {
    background: rgba(255,255,255,0.10);
    border-color: #E7489E;
    color: #E7489E;
    text-decoration: none;
    transform: translateY(-2px);
}


/* ═══════════════════════════════════════════════════════════════════
   PROCESSING INTRO  (#procIntro)
   Light warm background — same tone as other intro sections.
═══════════════════════════════════════════════════════════════════ */
#procIntro {
    background: #f4f5f7;
    padding: 5rem 0;
}

#procIntro .section-title { color: var(--tnt-dark); }

#procIntro p {
    font-size: 0.96rem;
    color: #444;
    line-height: 1.72;
}

/* ── Stat + legacy callout box ── */
.proc-stat-callout {
    background: var(--tnt-dark);
    border: 2px solid #E7489E;
    border-radius: 18px;
    padding: 2rem 1.75rem;
    text-align: center;
}

.proc-stat-icon {
    font-size: 3rem;
    color: #E7489E;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.proc-stat-callout h3 {
    font-family: var(--boogaloo);
    font-size: 1.55rem;
    color: #fff;
    margin: 0 0 0.85rem;
}

.proc-stat-callout h4 {
    font-family: var(--boogaloo);
    font-size: 1.15rem;
    color: #fff;
    margin: 0 0 0.4rem;
}

.proc-stat-callout p {
    color: rgba(255,255,255,0.68);
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0 0 0.75rem;
}

.proc-stat-row {
    display: flex;
    justify-content: center;
    gap: 1.4rem;
    flex-wrap: wrap;
    margin-bottom: 0.85rem;
}

.proc-stat { text-align: center; }

.proc-stat-num {
    font-family: var(--boogaloo);
    font-size: 2rem;
    color: #E7489E;
    line-height: 1;
    display: block;
}

.proc-stat-label {
    font-size: 0.70rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.50);
}

.proc-callout-rule {
    border-color: rgba(255,255,255,0.18);
    margin: 1.25rem 0;
}


/* ═══════════════════════════════════════════════════════════════════
   APP GRID SECTION  (#appGridSection)
   Dark mid-tone — same as other app grid sections.
═══════════════════════════════════════════════════════════════════ */
#appGridSection {
    background: var(--tnt-mid);
    padding: 5rem 0;
    color: #fff;
}

#appGridSection .section-title { color: #fff; }
#appGridSection .section-label { color: #E7489E; }

.apps-sub {
    color: rgba(255,255,255,0.60);
    font-size: 0.95rem;
    max-width: 520px;
    margin: 0 auto;
}

/* ── Search bar ── */
.proc-search-input {
    max-width: 400px;
    width: 100%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.20);
    border-radius: 50px;
    color: #fff;
    padding: 0.5rem 1.2rem;
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.proc-search-input::placeholder { color: rgba(255,255,255,0.40); }

.proc-search-input:focus {
    border-color: #E7489E;
    background: rgba(255,255,255,0.12);
}

.proc-count-badge {
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.70);
    border-radius: 50px;
    padding: 0.3rem 0.85rem;
    font-size: 0.82rem;
    white-space: nowrap;
}

/* ── Individual app figure ── */
#appGrid {
    gap: 0.75rem;
    padding: 0.5rem 0;
}

#appGrid figure {
    width: 120px;
    text-align: center;
    margin: 0;
    border-radius: 12px;
    padding: 1rem 0.5rem 0.75rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

#appGrid figure:not(.future):hover {
    background: rgba(255,255,255,0.11);
    border-color: #E7489E;
    transform: translateY(-3px);
    cursor: pointer;
}

#appGrid figure a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.app-icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
    display: block;
    margin: 0 auto 0.5rem;
}

#appGrid figcaption {
    font-size: 0.73rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.35;
}

/* Future / placeholder figures — visually muted */
#appGrid figure.future .app-icon  { opacity: 0.35; }
#appGrid figure.future figcaption { color: rgba(255,255,255,0.35); }


/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE TWEAKS
═══════════════════════════════════════════════════════════════════ */
@media (max-width: 576px) {
    #appGrid figure { width: 105px; }
    .app-icon       { width: 58px; height: 58px; }
}
