/*
Theme Name: Kentucky Future Elite
Theme URI: https://kyfutureelite.com
Description: Custom theme for Kentucky Future Elite Basketball
Version: 1.0.0
Author: KY Future Elite
*/

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #000000 0%, #1a1a2e 50%, #2c3e95 100%);
    color: #ffffff;
    overflow-x: hidden;
}

/* ------------------------------------------------------------------ */
/* Animated background */
/* ------------------------------------------------------------------ */

.bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-30px); }
}

.basketball {
    position: absolute;
    overflow: hidden;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, #4169e1 0%, #1e2a6b 100%);
    box-shadow: 3px 6px 8px 3px rgba(0,0,0,0.2);
    animation: bounce 4s ease-in-out infinite;
    opacity: 0.1;
}

.basketball:before,
.basketball:after {
    content: '';
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    border: solid 1px #ffffff;
    border-radius: 50%;
    box-sizing: border-box;
}

.basketball .line1 {
    content: '';
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    border-right: solid 1px #ffffff;
    box-sizing: border-box;
    right: 50%;
}

.basketball .line2 {
    content: '';
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    border-top: solid 1px #ffffff;
    box-sizing: border-box;
    top: 50%;
}

.basketball:before { right: 70%; }
.basketball:after  { left: 70%; }

/* ------------------------------------------------------------------ */
/* Navigation */
/* ------------------------------------------------------------------ */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 2rem;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(44,62,149,0.3);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2c3e95, #4169e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.basketball-icon {
    overflow: hidden;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, #4169e1 0%, #1e2a6b 100%);
    box-sizing: border-box;
    position: relative;
    box-shadow: 2px 4px 6px 2px rgba(0,0,0,0.3);
    flex-shrink: 0;
}

.basketball-icon:before,
.basketball-icon:after {
    content: '';
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    border: solid 2px #ffffff;
    border-radius: 50%;
    box-sizing: border-box;
}

.basketball-icon .line1 {
    content: '';
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    border-right: solid 2px #ffffff;
    box-sizing: border-box;
    right: 50%;
}

.basketball-icon .line2 {
    content: '';
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    border-top: solid 2px #ffffff;
    box-sizing: border-box;
    top: 50%;
}

.basketball-icon:before { right: 70%; }
.basketball-icon:after  { left: 70%; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover { color: #4169e1; }

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #2c3e95, #4169e1);
    transition: width 0.3s ease;
}

.nav-links a:hover::after { width: 100%; }

/* ------------------------------------------------------------------ */
/* Buttons */
/* ------------------------------------------------------------------ */

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #2c3e95, #1e2a6b);
    color: white;
    box-shadow: 0 10px 30px rgba(44,62,149,0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(44,62,149,0.4);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #2c3e95;
}

.btn-secondary:hover {
    background: #2c3e95;
    color: #ffffff;
    transform: translateY(-3px);
}

/* ------------------------------------------------------------------ */
/* Hero */
/* ------------------------------------------------------------------ */

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 10;
    background-image: url('kyfutureelite.png');
    background-size: 750px;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.8);
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, #2c3e95, #4169e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 20px rgba(44,62,149,0.3)); }
    to   { filter: drop-shadow(0 0 40px rgba(65,105,225,0.3)); }
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ------------------------------------------------------------------ */
/* Quick links */
/* ------------------------------------------------------------------ */

.quick-links {
    background: rgba(44,62,149,0.1);
    padding: 3rem 2rem;
    position: relative;
    z-index: 10;
}

.quick-links-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.quick-link-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(44,62,149,0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    color: #ffffff;
    text-decoration: none;
    display: block;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    background: rgba(44,62,149,0.1);
    box-shadow: 0 15px 30px rgba(44,62,149,0.2);
}

.quick-link-card h3 {
    color: #4169e1;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.quick-link-card p {
    color: rgba(255,255,255,0.85);
}

/* ------------------------------------------------------------------ */
/* Sections */
/* ------------------------------------------------------------------ */

.section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(135deg, #ffffff, #2c3e95);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ------------------------------------------------------------------ */
/* Stats */
/* ------------------------------------------------------------------ */

.stats {
    background: rgba(44,62,149,0.1);
    border-radius: 20px;
    padding: 3rem;
    margin: 3rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h4 {
    font-size: 3rem;
    color: #4169e1;
    margin-bottom: 0.5rem;
    font-weight: 900;
}

.stat-item p {
    opacity: 0.9;
    font-weight: 500;
}

/* ------------------------------------------------------------------ */
/* Grade / team cards */
/* ------------------------------------------------------------------ */

.grade-levels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.grade-card,
.kyfe-team-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(44,62,149,0.3);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.grade-card:hover,
.kyfe-team-card:hover {
    transform: translateY(-10px);
    background: rgba(44,62,149,0.1);
    box-shadow: 0 20px 40px rgba(44,62,149,0.2);
}

.grade-card h3,
.kyfe-team-card h3 {
    color: #4169e1;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.grad-year {
    background: linear-gradient(135deg, #2c3e95, #1e2a6b);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.grade-info,
.kyfe-dates {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.grade-info p { margin-bottom: 0.5rem; }

.cost-info,
.kyfe-cost {
    background: rgba(44,62,149,0.1);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.cost-info strong,
.kyfe-cost strong { color: #4169e1; }

/* ------------------------------------------------------------------ */
/* Results */
/* ------------------------------------------------------------------ */

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.result-card,
.kyfe-result-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(44,62,149,0.3);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
}

.result-card h4,
.kyfe-result-card h4 { color: #4169e1; margin-bottom: 0.5rem; }

.result-card .placement {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4169e1;
    margin-bottom: 0.5rem;
}

/* ------------------------------------------------------------------ */
/* Contact form */
/* ------------------------------------------------------------------ */

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group { margin-bottom: 1.5rem; }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(44,62,149,0.3);
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    color: #ffffff;
    font-size: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.6); }

.form-group select option { background: #1a1a2e; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4169e1;
    box-shadow: 0 0 20px rgba(65,105,225,0.3);
}

/* ------------------------------------------------------------------ */
/* Footer */
/* ------------------------------------------------------------------ */

footer {
    background: rgba(0,0,0,0.9);
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(44,62,149,0.3);
    position: relative;
    z-index: 10;
}

footer p + p {
    margin-top: 0.5rem;
    opacity: 0.8;
}

/* ------------------------------------------------------------------ */
/* Mobile */
/* ------------------------------------------------------------------ */

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1   { font-size: 3rem; }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .quick-links-container,
    .grade-levels {
        grid-template-columns: 1fr;
    }
}
