/*
    TNT | Tool Time: AI Edition — Home Page Styles
    toolTimeHomeStyles.css
    Created: 2026-10-25
    Extracted from toolTimeHome.html inline <style> block.
    Separation of concerns: structure in HTML, presentation in CSS.

    Color identity: warm amber #E8862A — workshop/improvement palette
    Companion: ../toolTimeHome.html
*/

/* ═══════════════════════════════════════════════════════════
   DESIGN TOKENS — warm amber/workshop palette
═══════════════════════════════════════════════════════════ */
:root {
    --tt-amber:       #E8862A;
    --tt-amber-dark:  #C86E1A;
    --tt-amber-glow:  rgba(232, 134, 42, 0.18);
    --tt-dark:        #110d07;
    --tt-dark-mid:    #1c1408;
    --tt-card:        #211908;
    --tt-card-hover:  #2c2210;
    --tt-border:      rgba(232, 134, 42, 0.16);
    --tt-light-bg:    #FBF6EE;
}

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
#ttHero {
    min-height: 64vh;
    background:
        linear-gradient(to bottom, rgba(17,13,7,0.82) 0%, rgba(100,45,5,0.48) 50%, rgba(17,13,7,0.86) 100%),
        url('../images/toolTimeHero.jpg') center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 1rem 4rem;
    color: #fff;
}

.tt-hero-content { max-width: 820px; }

.tt-eyebrow {
    font-size: 0.74rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.48);
    margin-bottom: 0.75rem;
}

.tt-hero-title {
    font-family: 'Boogaloo', cursive;
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    line-height: 1.10;
    margin-bottom: 0.65rem;
}

.tt-hero-title .tt-highlight { color: #E8862A; }

.tt-hero-tagline {
    font-family: 'Boogaloo', cursive;
    font-size: clamp(1rem, 2.4vw, 1.35rem);
    color: rgba(255,255,255,0.48);
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
}

.tt-hero-subtitle {
    font-size: clamp(0.92rem, 2.1vw, 1.1rem);
    color: rgba(255,255,255,0.75);
    line-height: 1.72;
    margin-bottom: 2.25rem;
}

.btn-tt-primary {
    background: #E8862A;
    color: #fff;
    border: none;
    font-family: 'Boogaloo', cursive;
    font-size: 1.15rem;
    padding: 0.6rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s, transform 0.15s;
}

.btn-tt-primary:hover {
    background: #C86E1A;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-tt-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.45);
    font-family: 'Boogaloo', cursive;
    font-size: 1.15rem;
    padding: 0.6rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.btn-tt-secondary:hover {
    background: rgba(255,255,255,0.08);
    border-color: #E8862A;
    color: #E8862A;
    text-decoration: none;
    transform: translateY(-2px);
}

.tt-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.tt-hero-nudge {
    margin-top: 1rem;
    font-size: 0.84rem;
}

.tt-hero-nudge a {
    color: rgba(255,255,255,0.52);
    text-decoration: none;
    transition: color 0.2s;
    letter-spacing: 0.3px;
}

.tt-hero-nudge a:hover { color: #E8862A; }
.tt-hero-nudge a strong { color: inherit; }

/* ═══════════════════════════════════════════════════════════
   SHARED SECTION LABELS
═══════════════════════════════════════════════════════════ */
.tt-section-label {
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.tt-section-title {
    font-family: 'Boogaloo', cursive;
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    margin-bottom: 1.25rem;
}

/* ═══════════════════════════════════════════════════════════
   WHAT IS TOOL TIME? — light section
═══════════════════════════════════════════════════════════ */
#ttWhat {
    background: #FBF6EE;
    padding: 5rem 0;
}

#ttWhat .tt-section-label { color: #C86E1A; }
#ttWhat .tt-section-title { color: #1a0f04; }

#ttWhat p {
    font-size: 0.96rem;
    color: #444;
    line-height: 1.78;
}

.tt-principle-card {
    background: #fff;
    border: 1.5px solid #ede4d6;
    border-top: 4px solid #E8862A;
    border-radius: 14px;
    padding: 1.5rem 1.4rem;
    height: 100%;
}

.tt-principle-icon { font-size: 1.85rem; margin-bottom: 0.5rem; }

.tt-principle-title {
    font-family: 'Boogaloo', cursive;
    font-size: 1.18rem;
    color: #1a0f04;
    margin-bottom: 0.4rem;
}

.tt-principle-desc {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.62;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   ENTRY GALLERY — dark section
═══════════════════════════════════════════════════════════ */
#ttEntries {
    background: #110d07;
    padding: 5rem 0;
    color: #fff;
}

#ttEntries .tt-section-label { color: #E8862A; }
#ttEntries .tt-section-title { color: #fff; }

.tt-entries-subtitle {
    font-size: 0.90rem;
    color: rgba(255,255,255,0.42);
    margin-bottom: 3rem;
}

/* ── Entry card ─────────────────────────────────────────── */
.tt-entry-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}

.tt-entry-card {
    background: #211908;
    border: 1.5px solid rgba(232,134,42,0.16);
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tt-entry-link:hover .tt-entry-card {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.65);
    border-color: #E8862A;
}

.tt-entry-card.placeholder {
    opacity: 0.38;
    pointer-events: none;
}

/* ── Thumbnail ──────────────────────────────────────────── */
.tt-entry-thumb {
    width: 100%;
    height: 155px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2a1d0b;
    font-size: 2.8rem;
    flex-shrink: 0;
}

.tt-entry-thumb-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.28;
    transition: opacity 0.3s, transform 0.4s;
    z-index: 0;
}

.tt-entry-link:hover .tt-entry-thumb-bg {
    opacity: 0.52;
    transform: scale(1.05);
}

.tt-entry-thumb-icon {
    position: relative;
    z-index: 1;
}

/* ── Card body ──────────────────────────────────────────── */
.tt-entry-body {
    padding: 1.35rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tt-entry-num {
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #E8862A;
    margin-bottom: 0.22rem;
}

.tt-entry-title {
    font-family: 'Boogaloo', cursive;
    font-size: 1.30rem;
    line-height: 1.20;
    margin-bottom: 0;
}

/* Icon + stacked num/title — mirrors Creative Cross Training pattern */
.tt-entry-header {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.55rem;
}

.tt-entry-icon {
    font-size: 1.8rem;
    line-height: 1;
    flex-shrink: 0;
    padding-top: 0.1rem;
}

.tt-entry-author {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.38);
    font-style: italic;
    margin-bottom: 0.65rem;
}

.tt-entry-desc {
    font-size: 0.845rem;
    color: rgba(255,255,255,0.58);
    line-height: 1.56;
    flex: 1;
    margin-bottom: 0.9rem;
}

.tt-entry-langs {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 0.72rem;
}

.tt-lang-badge {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 0.18rem 0.65rem;
    border-radius: 50px;
    border: 1px solid;
}

.tt-lang-p5   { border-color: #e05c5c; color: #e05c5c; }
.tt-lang-js   { border-color: #f7df1e; color: #f7df1e; }
.tt-lang-java { border-color: #5ac8f5; color: #5ac8f5; }
.tt-lang-py   { border-color: #4ade80; color: #4ade80; }
.tt-lang-php  { border-color: #a78bfa; color: #a78bfa; }

.tt-entry-clip {
    font-size: 0.74rem;
    color: rgba(255,255,255,0.28);
    margin-top: auto;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.tt-entry-clip a {
    color: rgba(255,255,255,0.42);
    text-decoration: underline;
}

.tt-entry-clip a:hover { color: #E8862A; }

/* ── Workbench queue ────────────────────────────────────── */
.tt-upcoming {
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.tt-upcoming-label {
    font-size: 0.70rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.26);
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.tt-queue-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 0.85rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255,255,255,0.28);
    font-size: 0.875rem;
}

.tt-queue-num {
    font-family: 'Boogaloo', cursive;
    font-size: 1.05rem;
    color: rgba(255,255,255,0.16);
    min-width: 1.4rem;
    text-align: center;
}

.tt-queue-name { flex: 1; font-weight: 600; }

.tt-queue-note {
    font-size: 0.77rem;
    color: rgba(255,255,255,0.16);
    text-align: right;
}

@media (max-width: 575px) {
    .tt-queue-note { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   C.R.A.F.T. SECTION
═══════════════════════════════════════════════════════════ */
#ttCraft {
    background: #FBF6EE;
    padding: 5rem 0;
}

#ttCraft .tt-section-label { color: #C86E1A; }
#ttCraft .tt-section-title { color: #1a0f04; }

.craft-card {
    background: #fff;
    border: 1.5px solid #ede4d6;
    border-top: 4px solid #E8862A;
    border-radius: 14px;
    padding: 1.6rem 1rem 1.4rem;
    text-align: center;
    height: 100%;
    transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}

.craft-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(200,110,26,0.14);
    border-color: #E8862A;
}

.craft-letter {
    font-family: 'Boogaloo', cursive;
    font-size: 3.4rem;
    color: #E8862A;
    line-height: 1;
    margin-bottom: 0.15rem;
}

.craft-word {
    font-family: 'Boogaloo', cursive;
    font-size: 1.05rem;
    color: #1a0f04;
    margin-bottom: 0.4rem;
}

.craft-tagline {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #C86E1A;
    margin-bottom: 0.65rem;
}

.craft-desc {
    font-size: 0.845rem;
    color: #555;
    line-height: 1.62;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   S.P.A.R.K. CROSS-LINK SECTION
═══════════════════════════════════════════════════════════ */
#ttSpark {
    background: #1c1408;
    border-top: 1px solid rgba(232,134,42,0.12);
    border-bottom: 1px solid rgba(232,134,42,0.12);
    padding: 4.5rem 0;
    color: #fff;
}

.tt-spark-heading {
    font-family: 'Boogaloo', cursive;
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    color: #fff;
    margin-bottom: 0.5rem;
}

.tt-spark-sub {
    font-size: 0.90rem;
    color: rgba(255,255,255,0.52);
    line-height: 1.66;
    margin-bottom: 0;
}

.tt-spark-link-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(232,134,42,0.18);
    border-radius: 14px;
    padding: 1.35rem 1.4rem;
    text-decoration: none;
    color: #fff;
    display: block;
    transition: background 0.2s, border-color 0.2s, transform 0.18s;
    height: 100%;
}

.tt-spark-link-card:hover {
    background: rgba(232,134,42,0.09);
    border-color: #E8862A;
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px);
}

.tt-spark-link-icon {
    font-size: 1.65rem;
    margin-bottom: 0.5rem;
}

.tt-spark-link-title {
    font-family: 'Boogaloo', cursive;
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.tt-spark-link-desc {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.48);
    line-height: 1.55;
    margin: 0;
}
