/* LeonSite - Football Player Portfolio
   University of Idaho Vandals: Gold #F1B300, Dark #191919 */

:root {
    --gold: #F1B300;
    --gold-light: #F5C840;
    --gold-dark: #C49200;
    --silver: #C0C0C0;
    --silver-light: #E0E0E0;
    --dark: #111111;
    --dark-card: #191919;
    --dark-surface: #222222;
    --dark-border: #333333;
    --white: #FFFFFF;
    --text-muted: #999999;
    --success: #4CAF50;
    --danger: #E53935;
    --warning: #FFA726;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold-light); }

img { max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Navigation */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--dark-border);
    padding: 15px 0;
    transition: all 0.3s;
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.navbar .logo {
    font-size: 1.5rem; font-weight: 700; color: var(--white);
    letter-spacing: 2px; text-transform: uppercase; line-height: 1.2;
    display: flex; flex-direction: column;
}
.navbar .logo span { color: var(--gold); }
.navbar .logo .pronunciation {
    display: block; font-size: 0.55rem; font-weight: 400;
    color: var(--text-muted); letter-spacing: 0.5px;
    text-transform: none; font-style: italic;
}
.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a {
    color: var(--silver); font-size: 0.9rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: 1px; transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }

/* Hero Section */
.hero {
    position: relative; height: 85vh; min-height: 500px;
    display: flex; align-items: center; justify-content: center;
    text-align: center; overflow: hidden;
}
.hero-bg {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover; background-position: center top;
    filter: brightness(0.9);
}
.hero-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(17,17,17,0.1) 0%, rgba(17,17,17,0.2) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 0 20px; }
.hero-content h1 {
    font-size: 4rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: 3px; margin-bottom: 10px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}
.hero-content h1 span { color: var(--gold); }
.hero-content .position-badge {
    display: inline-block; background: var(--gold);
    color: var(--dark); padding: 8px 25px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px; font-size: 1rem;
    margin-bottom: 15px;
}
.hero-content .school { font-size: 1.3rem; color: var(--silver); letter-spacing: 2px; }
.hero-content .tagline { font-size: 1.1rem; color: var(--white); margin-top: 10px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-cta { margin-top: 30px; display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
    display: inline-block; padding: 12px 30px; border: none; border-radius: 4px;
    font-size: 0.95rem; font-weight: 600; cursor: pointer;
    text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s;
    text-align: center;
}
.btn-primary { background: var(--gold); color: var(--dark); }
.btn-primary:hover { background: var(--gold-light); color: var(--dark); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--silver); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-danger { background: var(--danger); color: var(--white); }
.btn-danger:hover { background: #C62828; }
.btn-sm { padding: 8px 18px; font-size: 0.8rem; }

/* Sections */
.section { padding: 80px 0; }
.section-dark { background: var(--dark-card); }
.section-title {
    text-align: center; margin-bottom: 50px;
}
.section-title h2 {
    font-size: 2.5rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 2px; margin-bottom: 10px;
}
.section-title h2 span { color: var(--gold); }
.section-title p { color: var(--text-muted); font-size: 1.1rem; }
.section-title .divider {
    width: 60px; height: 3px; background: var(--gold);
    margin: 15px auto 0;
}

/* Video Grid */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 25px; }
.video-card {
    background: var(--dark-surface); border-radius: 8px; overflow: hidden;
    border: 1px solid var(--dark-border); transition: transform 0.3s, border-color 0.3s;
}
.video-card:hover { transform: translateY(-5px); border-color: var(--gold); }
.video-card .video-wrapper {
    position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
}
.video-card .video-wrapper.x-embed {
    padding-bottom: 0; height: auto; overflow: visible;
}
.video-card .video-wrapper iframe {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none;
}
.video-card .video-wrapper.x-embed iframe {
    position: static; min-height: 450px;
}
.video-card .video-info { padding: 15px; }
.video-card .video-info h3 { font-size: 1.1rem; margin-bottom: 5px; }
.video-card .video-info .category {
    display: inline-block; background: var(--gold-dark); color: var(--white);
    padding: 3px 10px; border-radius: 3px; font-size: 0.75rem;
    text-transform: uppercase; letter-spacing: 1px;
}
.video-card .video-info p { color: var(--text-muted); font-size: 0.9rem; margin-top: 8px; }

/* Featured Video */
.featured-video {
    max-width: 900px; margin: 0 auto 40px;
}
.featured-video .video-wrapper {
    position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
    border-radius: 8px; border: 2px solid var(--gold);
}
.featured-video .video-wrapper.x-embed {
    padding-bottom: 0; height: auto; overflow: visible;
}
.featured-video .video-wrapper iframe {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none;
}
.featured-video .video-wrapper.x-embed iframe {
    position: static; min-height: 500px;
}

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.stat-card {
    background: var(--dark-surface); border: 1px solid var(--dark-border);
    border-radius: 8px; padding: 25px; text-align: center;
    transition: border-color 0.3s;
}
.stat-card:hover { border-color: var(--gold); }
.stat-card .stat-value { font-size: 2.5rem; font-weight: 800; color: var(--gold); }
.stat-card .stat-label { color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; margin-top: 5px; }

/* Measurables */
.measurables-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; margin-top: 30px; }
.measurable-item {
    background: var(--dark-surface); border: 1px solid var(--dark-border);
    border-radius: 8px; padding: 20px; text-align: center;
}
.measurable-item .value { font-size: 1.8rem; font-weight: 700; color: var(--gold); }
.measurable-item .label { color: var(--text-muted); font-size: 0.85rem; text-transform: uppercase; margin-top: 5px; }

/* Skills Chart */
.skills-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.skill-bar-item { margin-bottom: 15px; }
.skill-bar-item .skill-header { display: flex; justify-content: space-between; margin-bottom: 8px; }
.skill-bar-item .skill-name { font-weight: 600; font-size: 0.95rem; }
.skill-bar-item .skill-value { color: var(--gold); font-weight: 700; }
.skill-bar {
    height: 8px; background: var(--dark-border); border-radius: 4px; overflow: hidden;
}
.skill-bar .skill-fill {
    height: 100%; background: linear-gradient(90deg, var(--gold-dark), var(--gold));
    border-radius: 4px; transition: width 1s ease;
}

/* Bio Section */
.bio-content { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: start; }
.bio-image { border-radius: 8px; border: 3px solid var(--gold); overflow: hidden; }
.bio-image img { width: 100%; display: block; }
.bio-text h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--gold); }
.bio-text p { color: var(--silver-light); margin-bottom: 15px; line-height: 1.8; }
.bio-details { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.bio-detail { padding: 14px; background: var(--dark-surface); border-radius: 4px; }
.bio-detail .label { display: block; font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.bio-detail .value { display: block; font-weight: 600; color: var(--white); font-size: 1rem; }

/* Awards */
.awards-list { max-width: 800px; margin: 0 auto; }
.award-item {
    display: flex; align-items: center; gap: 20px;
    background: var(--dark-surface); border: 1px solid var(--dark-border);
    border-radius: 8px; padding: 20px; margin-bottom: 15px;
    transition: border-color 0.3s;
}
.award-item:hover { border-color: var(--gold); }
.award-item .award-year {
    background: var(--gold); color: var(--dark); padding: 8px 15px;
    font-weight: 700; border-radius: 4px; white-space: nowrap;
}
.award-item .award-info h4 { font-size: 1.1rem; }
.award-item .award-info p { color: var(--text-muted); font-size: 0.9rem; }

/* Photo Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 15px; }
.gallery-item {
    border-radius: 8px; overflow: hidden; position: relative; cursor: pointer;
    aspect-ratio: 4/3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 20px 15px 10px; font-size: 0.9rem;
    opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover .caption { opacity: 1; }

/* Contact Form */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info h3 { color: var(--gold); margin-bottom: 15px; }
.contact-info p { color: var(--silver); margin-bottom: 20px; }
.contact-info .info-item { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--silver); }
.social-links { display: flex; gap: 15px; margin-top: 20px; }
.social-links a {
    display: flex; align-items: center; justify-content: center;
    width: 45px; height: 45px; border-radius: 50%;
    background: var(--dark-surface); border: 1px solid var(--dark-border);
    color: var(--silver); font-size: 1.2rem; transition: all 0.3s;
}
.social-links a:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }

.form-group { margin-bottom: 22px; }
.form-group label { display: block; margin-bottom: 10px; font-weight: 600; font-size: 0.9rem; color: var(--silver); line-height: 1; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 12px 15px; background: var(--dark-surface);
    border: 1px solid var(--dark-border); border-radius: 4px;
    color: var(--white); font-size: 1rem; font-family: inherit;
    transition: border-color 0.3s; display: block; box-sizing: border-box;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none; border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 25px; }
.news-card {
    background: var(--dark-surface); border: 1px solid var(--dark-border);
    border-radius: 8px; overflow: hidden; transition: border-color 0.3s;
}
.news-card:hover { border-color: var(--gold); }
.news-card img { width: 100%; height: 300px; object-fit: cover; }
.news-card .news-body { padding: 20px; }
.news-card .news-body h3 { margin-bottom: 10px; }
.news-card .news-body .date { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 10px; }
.news-card .news-body p { color: var(--silver); font-size: 0.95rem; }
a.news-link { text-decoration: none; color: inherit; display: block; }
a.news-link:hover .read-more { color: var(--gold-light); }
.news-card .read-more { display: inline-block; margin-top: 12px; color: var(--gold); font-size: 0.9rem; font-weight: 600; }
.news-card .read-more i { margin-left: 4px; font-size: 0.75rem; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.testimonial-card {
    background: var(--dark-surface); border: 1px solid var(--dark-border); border-radius: 8px;
    padding: 30px; position: relative;
}
.testimonial-icon { color: var(--gold); font-size: 1.5rem; margin-bottom: 15px; opacity: 0.6; }
.testimonial-quote { color: var(--silver-light); font-size: 1rem; line-height: 1.6; font-style: italic; margin-bottom: 20px; }
.testimonial-author { border-top: 1px solid var(--dark-border); padding-top: 15px; }
.testimonial-author strong { display: block; color: var(--white); font-size: 0.95rem; }
.testimonial-author span { color: var(--text-muted); font-size: 0.85rem; }

/* Offers & Interest */
.offers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 25px; }
.offer-card {
    background: var(--dark-surface); border: 1px solid var(--dark-border); border-radius: 8px;
    padding: 25px; text-align: center; transition: border-color 0.3s;
}
.offer-card:hover { border-color: var(--gold); }
.offer-logo { width: 80px; height: 80px; margin: 0 auto 15px; }
.offer-logo img { width: 100%; height: 100%; object-fit: contain; }
.offer-logo-placeholder { display: flex; align-items: center; justify-content: center; background: var(--dark-border); border-radius: 50%; }
.offer-logo-placeholder i { font-size: 2rem; color: var(--text-muted); }
.offer-card h4 { color: var(--white); margin-bottom: 8px; }
.offer-details { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 5px; }
.offer-location { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 12px; }
.offer-location i { margin-right: 4px; }
.offer-badge { display: inline-block; padding: 4px 14px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.offer-badge-interest { background: rgba(158,158,158,0.2); color: #9e9e9e; }
.offer-badge-offer { background: rgba(33,150,243,0.2); color: #42a5f5; }
.offer-badge-committed { background: rgba(76,175,80,0.2); color: #66bb6a; }
.offer-badge-signed { background: rgba(244,67,54,0.2); color: #ef5350; }

/* Footer */
.footer {
    background: var(--dark-card); border-top: 1px solid var(--dark-border);
    padding: 40px 0 20px; text-align: center;
}
.footer .footer-links { display: flex; justify-content: center; gap: 30px; margin-bottom: 20px; flex-wrap: wrap; }
.footer .footer-links a { color: var(--silver); font-size: 0.9rem; }
.footer .footer-links a:hover { color: var(--gold); }
.footer .copyright { color: var(--text-muted); font-size: 0.85rem; }

/* Lightbox */
.lightbox {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.95); z-index: 9999;
    align-items: center; justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 90vh; border-radius: 4px; }
.lightbox .close-lightbox {
    position: absolute; top: 20px; right: 30px;
    color: var(--white); font-size: 2rem; cursor: pointer;
    background: none; border: none;
}

/* Alert */
.alert {
    padding: 15px 20px; border-radius: 4px; margin-bottom: 20px;
    font-size: 0.95rem;
}
.alert-success { background: rgba(76, 175, 80, 0.15); border: 1px solid var(--success); color: var(--success); }
.alert-error { background: rgba(229, 57, 53, 0.15); border: 1px solid var(--danger); color: var(--danger); }

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--dark); flex-direction: column; padding: 20px; gap: 15px; border-bottom: 1px solid var(--dark-border); }
    .nav-links.active { display: flex; }
    .nav-toggle { display: block; }
    .hero-content h1 { font-size: 2.5rem; }
    .bio-content { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .video-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .measurables-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 2rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .section { padding: 50px 0; }
    .section-title h2 { font-size: 1.8rem; }
}

/* Video filter tabs */
.filter-tabs { display: flex; gap: 10px; justify-content: center; margin-bottom: 30px; flex-wrap: wrap; }
.filter-tab {
    padding: 8px 20px; border: 1px solid var(--dark-border); border-radius: 4px;
    background: transparent; color: var(--silver); cursor: pointer;
    font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px;
    transition: all 0.3s;
}
.filter-tab:hover, .filter-tab.active {
    background: var(--gold); color: var(--dark); border-color: var(--gold);
}

/* Season stats table */
.stats-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.stats-table th {
    background: var(--gold-dark); color: var(--white); padding: 12px 15px;
    text-align: left; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px;
}
.stats-table td { padding: 12px 15px; border-bottom: 1px solid var(--dark-border); }
.stats-table tr:hover td { background: var(--dark-surface); }

/* Inquiry type badges */
.badge {
    display: inline-block; padding: 3px 10px; border-radius: 3px;
    font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
}
.badge-coach { background: #1565C0; color: white; }
.badge-business { background: var(--gold-dark); color: white; }
.badge-media { background: #7B1FA2; color: white; }
.badge-general { background: var(--dark-border); color: var(--silver); }
.badge-new { background: var(--success); color: white; }
.badge-read { background: var(--warning); color: var(--dark); }
.badge-replied { background: #1565C0; color: white; }
.badge-archived { background: var(--dark-border); color: var(--silver); }
