/* ============================================
   UHSW FUNDRAISER - UHS Wrestling Booster Club
   Blue & White | Bold | Mobile-First
   ============================================ */

:root {
    --navy: #0a1628;
    --blue: #1a3a6b;
    --blue-mid: #2554a0;
    --blue-bright: #3b7ddd;
    --blue-light: #e8f0fe;
    --white: #ffffff;
    --off-white: #f4f6f9;
    --gold: #c9a84c;
    --gold-light: #f0e4c1;
    --text: #1a1a2e;
    --text-muted: #5a6377;
    --success: #22c55e;
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Source Sans 3', -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- HERO ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--navy);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(26, 58, 107, 0.6) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(59, 125, 221, 0.3) 0%, transparent 50%),
        linear-gradient(160deg, var(--navy) 0%, #0d2240 50%, #112d55 100%);
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 40px 24px;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 12px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.2s;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(4rem, 15vw, 9rem);
    line-height: 0.9;
    color: var(--white);
    letter-spacing: 0.02em;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.4s;
}

.hero-divider {
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin: 20px auto;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.6s;
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.7s;
}

.hero-dates {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.8s;
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 1.2s;
}

.scroll-indicator span {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 8px;
}

.scroll-arrow {
    width: 2px;
    height: 24px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    top: -24px;
    left: 0;
    width: 100%;
    height: 24px;
    background: var(--gold);
    animation: scrollDown 1.5s ease-in-out infinite;
}

/* ---- BUTTONS ---- */
.btn-donate {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: 0.08em;
    color: var(--navy);
    background: var(--gold);
    padding: 16px 48px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-donate::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-donate:hover::before {
    left: 100%;
}

.btn-donate:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.3);
}

.btn-donate-hero {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 1s;
}

/* ---- SECTIONS ---- */
.section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 6vw, 3.2rem);
    letter-spacing: 0.04em;
    color: var(--navy);
    text-align: center;
    margin-bottom: 16px;
}

.section-lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

/* ---- WHY SECTION ---- */
.section-why {
    background: var(--off-white);
}

.funding-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.funding-card {
    background: var(--white);
    padding: 36px 28px;
    text-align: center;
    border: 1px solid rgba(26, 58, 107, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.funding-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(10, 22, 40, 0.08);
}

.funding-icon {
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.funding-amount {
    font-family: var(--font-display);
    font-size: 2.4rem;
    color: var(--blue-mid);
    letter-spacing: 0.02em;
}

.funding-label {
    font-weight: 700;
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.funding-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.per-athlete {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text);
    padding: 24px;
    background: var(--blue-light);
    border-left: 4px solid var(--blue-mid);
}

/* ---- PROGRESS SECTION ---- */
.section-progress {
    background: var(--navy);
    text-align: center;
    padding: 64px 0;
}

.goal-display {
    margin-bottom: 32px;
}

.goal-number {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 10vw, 6rem);
    color: var(--white);
    letter-spacing: 0.02em;
    line-height: 1;
}

.goal-text {
    font-size: 1rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
}

.progress-bar-wrapper {
    max-width: 600px;
    margin: 0 auto 16px;
}

.progress-bar {
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 6px;
    transition: width 1.5s ease-out;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
}

.progress-note {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-top: 16px;
}

/* ---- DONATE SECTION ---- */
.section-donate {
    background: var(--white);
}

.donate-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.donate-step {
    text-align: center;
    padding: 24px 16px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--navy);
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.donate-step h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    letter-spacing: 0.04em;
    color: var(--navy);
    margin-bottom: 8px;
}

.donate-step p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.donate-cta {
    text-align: center;
    padding: 40px;
    background: var(--blue-light);
}

.donate-reminder {
    margin-top: 16px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ---- SHARE KIT ---- */
.section-share {
    background: var(--off-white);
}

.share-card {
    background: var(--white);
    border: 1px solid rgba(26, 58, 107, 0.08);
    padding: 24px;
    margin-bottom: 16px;
    position: relative;
}

.share-label {
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue-mid);
    margin-bottom: 8px;
}

.share-text {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 12px;
    padding: 16px;
    background: var(--off-white);
    border-left: 3px solid var(--blue-bright);
}

.btn-copy {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--blue-mid);
    background: var(--blue-light);
    border: none;
    padding: 8px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-copy:hover {
    background: var(--blue-mid);
    color: var(--white);
}

.btn-copy.copied {
    background: var(--success);
    color: var(--white);
}

.share-link-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--white);
    border: 2px dashed rgba(26, 58, 107, 0.15);
    margin-top: 24px;
    flex-wrap: wrap;
}

.share-link-label {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--navy);
}

.share-link-url {
    font-size: 0.95rem;
    color: var(--blue-mid);
    background: var(--blue-light);
    padding: 4px 12px;
    flex: 1;
    min-width: 200px;
}

.btn-copy-small {
    padding: 6px 16px;
    font-size: 0.8rem;
}

/* ---- TIMELINE ---- */
.section-timeline {
    background: var(--white);
}

.timeline {
    max-width: 560px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: rgba(26, 58, 107, 0.12);
}

.timeline-item {
    position: relative;
    padding-bottom: 32px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 6px;
    width: 12px;
    height: 12px;
    background: var(--white);
    border: 2px solid var(--blue-mid);
    border-radius: 50%;
}

.timeline-item.active::before {
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.2);
}

.timeline-date {
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    color: var(--blue-mid);
}

.timeline-content strong {
    display: block;
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 4px;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ---- FOOTER ---- */
.site-footer {
    background: var(--navy);
    padding: 48px 0 24px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    align-items: center;
    margin-bottom: 32px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--white);
    letter-spacing: 0.06em;
}

.footer-brand p {
    font-size: 0.9rem;
    margin-top: 4px;
}

.footer-contact a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: var(--gold-light);
}

.footer-donate {
    text-align: right;
}

.btn-donate-footer {
    font-size: 1.1rem;
    padding: 12px 32px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollDown {
    0% { top: -24px; }
    100% { top: 24px; }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 640px) {
    .section {
        padding: 56px 0;
    }

    .funding-grid,
    .donate-steps {
        grid-template-columns: 1fr;
    }

    .footer-content {
        text-align: center;
    }

    .footer-donate {
        text-align: center;
    }

    .share-link-box {
        flex-direction: column;
        text-align: center;
    }

    .btn-donate {
        padding: 14px 36px;
        font-size: 1.2rem;
    }

    .donate-cta {
        padding: 28px 20px;
    }
}

/* ---- WORDPRESS ADMIN BAR FIX ---- */
body.admin-bar .hero {
    min-height: calc(100vh - 32px);
}

@media (max-width: 782px) {
    body.admin-bar .hero {
        min-height: calc(100vh - 46px);
    }
}
