/*
  Forged Freedom shared theme.
  Extracted from Leadership_Training.html so all site pages share one
  source of truth instead of duplicating this block three times.
*/

:root {
    --gold: #c8892a;
    --gold-light: #e8a83e;
    --gold-glow: rgba(200, 137, 42, 0.3);
    --bg-primary: #1a1a1a;
    --bg-secondary: #242424;
    --bg-card: #2c2c2c;
    --text-primary: #f0ece4;
    --text-muted: #9a9590;
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
}

.hero-bg {
    background:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 20px,
            rgba(200, 137, 42, 0.015) 20px,
            rgba(200, 137, 42, 0.015) 21px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 20px,
            rgba(200, 137, 42, 0.015) 20px,
            rgba(200, 137, 42, 0.015) 21px
        ),
        radial-gradient(ellipse at 50% 40%, rgba(200, 137, 42, 0.12) 0%, rgba(26, 26, 26, 1) 70%);
}

.forge-pattern {
    background:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 30px,
            rgba(200, 137, 42, 0.02) 30px,
            rgba(200, 137, 42, 0.02) 31px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 30px,
            rgba(200, 137, 42, 0.02) 30px,
            rgba(200, 137, 42, 0.02) 31px
        );
}

.gold-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
    opacity: 0.4;
}

.card-glow {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    border: 1px solid rgba(200, 137, 42, 0.08);
}

.card-glow:hover {
    box-shadow: 0 0 20px rgba(200, 137, 42, 0.15), inset 0 0 0 1px rgba(200, 137, 42, 0.3);
    transform: translateY(-2px);
}

.stat-card {
    border: 1px solid rgba(200, 137, 42, 0.3);
    background: var(--bg-card);
}

.nav-scrolled {
    background: rgba(26, 26, 26, 0.97) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.timeline-number {
    width: 48px;
    height: 48px;
    border: 2px solid var(--gold);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.timeline-connector {
    width: 2px;
    background: linear-gradient(to bottom, var(--gold), rgba(200, 137, 42, 0.1));
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .timeline-connector-h {
        height: 2px;
        background: linear-gradient(to right, var(--gold), rgba(200, 137, 42, 0.2));
        flex-grow: 1;
    }
}

.quote-mark {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    line-height: 1;
    color: var(--gold);
    opacity: 0.4;
}

.section-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.section-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.toast-enter {
    animation: toastSlideIn 0.4s ease-out forwards;
}

@keyframes toastSlideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.toast-exit {
    animation: toastSlideOut 0.4s ease-in forwards;
}

@keyframes toastSlideOut {
    from { transform: translateY(0); opacity: 1; }
    to { transform: translateY(-20px); opacity: 0; }
}

.star-filled { color: var(--gold); }

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 2px rgba(200, 137, 42, 0.2);
}

::selection {
    background: rgba(200, 137, 42, 0.3);
    color: #f0ece4;
}

.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.btn-gold {
    background: linear-gradient(135deg, #c8892a, #e8a83e);
    transition: all 0.3s ease;
}
.btn-gold:hover {
    background: linear-gradient(135deg, #e8a83e, #c8892a);
    box-shadow: 0 4px 20px rgba(200, 137, 42, 0.4);
}

/* --- Additions for the multi-page site (not in the original single file) --- */

/* Framed treatment for images with flat/white backgrounds (book cover) */
.framed-shot {
    border: 1px solid rgba(200, 137, 42, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    background: var(--bg-card);
}

/* Phone-frame mockup for app screenshots */
.phone-frame {
    border: 8px solid #111111;
    border-radius: 2.5rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(200, 137, 42, 0.25);
    overflow: hidden;
    background: #111111;
}

/* Slim in-page jump-nav (used on long single-page content like Leadership Training) */
.pill-nav a {
    border: 1px solid rgba(200, 137, 42, 0.35);
    color: var(--text-muted);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}
.pill-nav a:hover {
    color: var(--gold-light);
    border-color: var(--gold);
    background: rgba(200, 137, 42, 0.08);
}
