/* ==========================================================================
   1. GLOBAL STYLES, VARIABLE DEFINITIONS & RESET
   ========================================================================== */
:root {
    --bg-dark: #000000;       
    --bg-charcoal: rgba(22, 22, 22, 0.75); 
    --accent: #D4AF37;        
    --text-light: #FFFFFF;
    --text-muted: #A0AEC0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.95)), url('bg-pattern.JPG');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; 
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

h2 {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 40px;
    letter-spacing: 2px;
    color: var(--text-light);
}

.highlight {
    color: var(--accent);
}

/* Add this to create the scroll offset for fixed headers */
section {
    scroll-margin-top: 60px; /* Adjust this value to match your header height + a little extra */
}

/* ==========================================================================
   2. HEADER & NAVIGATION BAR
   ========================================================================== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%; 
    background-color: rgba(0, 0, 0, 0.7); 
    backdrop-filter: blur(15px); 
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1); 
}

.logo-img {
    height: 70px; 
    width: auto;  
    display: block;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px; /* This creates the even spacing between all the links */
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent);
}

.btn-nav {
    background-color: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    padding: 8px 20px;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-left: 10px; /* Gives a little extra push away from the standard links */
}

.btn-nav:hover {
    background-color: var(--accent);
    color: var(--bg-dark);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* Hide the text links on very small mobile screens to prevent crowding */
@media (max-width: 900px) {
    .nav-link {
        display: none;
    }
}

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8%;
    text-align: center;
}

.hero-content {
    max-width: 900px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0 10px 20px rgba(0,0,0,0.8);
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 400;
}

.btn-main {
    background-color: var(--accent);
    color: var(--bg-dark);
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: 30px;
    transition: all 0.3s ease;
    display: inline-block;
    letter-spacing: 1px;
}

.btn-main:hover {
    transform: scale(1.05);
    background-color: #f7e096;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

/* ==========================================================================
   4. PATHWAY CARDS
   ========================================================================== */
.pathway {
    padding: 80px 8%;
    background-color: rgba(10, 10, 10, 0.9);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.card {
    background: linear-gradient(145deg, #111, #0a0a0a);
    padding: 40px 30px;
    border-radius: 12px;
    border-top: 3px solid var(--accent);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.15);
}

.card h3 {
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* ==========================================================================
   5. FOUNDER SECTION
   ========================================================================== */
.about-agent {
    padding: 100px 8%;
}

.agent-container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.agent-photo {
    flex: 0 0 400px;
}

.profile-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
    border: 1px solid rgba(212, 175, 55, 0.3); 
}

.agent-title {
    color: var(--accent);
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
    text-transform: none;
}

.agent-bio p {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 20px;
}

/* ==========================================================================
   6. SCOUTING INTAKE & MULTI-STEP FORM
   ========================================================================== */
.scouting {
    padding: 100px 8%;
    background: linear-gradient(to top, rgba(0,0,0,1), rgba(0,0,0,0.5));
    text-align: center;
}

.scouting p {
    max-width: 700px;
    margin: 0 auto 50px auto;
    color: var(--text-muted);
    font-size: 1.2rem;
}

.scout-form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--bg-charcoal);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 40px 50px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    text-align: left;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.form-progress {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.form-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 20%;
    right: 20%;
    height: 2px;
    background: rgba(255,255,255,0.1);
    z-index: 1;
}

.step-indicator {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--text-muted);
    z-index: 2;
    transition: all 0.3s ease;
}

.step-indicator.active {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.form-step {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.form-step.active {
    display: block;
}

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

.form-step h3 {
    color: var(--accent);
    margin-bottom: 25px;
    font-size: 1.8rem;
    text-align: center;
}

.section-subtitle {
    color: var(--text-light);
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 5px;
}

.badge {
    background-color: var(--accent);
    color: #000;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 10px;
    margin-left: 10px;
    vertical-align: middle;
}

.input-group {
    margin-bottom: 20px;
}

.input-row {
    display: flex;
    gap: 20px;
}

.input-row .input-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

input[type="text"],
input[type="date"],
input[type="email"],
input[type="tel"],
select {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--accent);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 15px;
}

.checkbox-group input {
    margin-top: 5px;
}

.checkbox-group label {
    font-size: 0.85rem;
    line-height: 1.4;
}

.upload-group input {
    padding: 10px 0;
    background: transparent;
    border: none;
}

.button-group {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.btn-next, .btn-submit {
    background-color: var(--accent);
    color: #000;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.btn-next:hover, .btn-submit:hover {
    background-color: #f7e096;
    transform: translateY(-2px);
}

.btn-back {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--text-muted);
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-back:hover {
    color: #fff;
    border-color: #fff;
}

.direct-contact-hint {
    text-align: center;
    margin-top: 30px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

/* ==========================================================================
   7. FOOTER
   ========================================================================== */
footer {
    text-align: center;
    padding: 40px;
    background-color: var(--bg-dark);
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
}

/* ==========================================================================
   8. RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 900px) {
    .hero h1 { font-size: 3rem; }
    .agent-container { flex-direction: column; text-align: center; }
    .agent-photo { flex: 0 0 auto; width: 80%; }
}

@media (max-width: 600px) {
    .input-row { flex-direction: column; gap: 0; }
    .scout-form-container { padding: 30px 20px; }
}

/* ==========================================================================
   9. MEET THE TEAM SECTION
   ========================================================================== */
.team-section {
    padding: 100px 8%;
    background-color: var(--bg-dark); /* Blends into the dark theme */
}

.section-intro {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: -20px auto 50px auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: linear-gradient(145deg, #111, #0a0a0a);
    border-radius: 12px;
    border-top: 3px solid var(--accent);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.15);
}

.team-img-wrapper {
    width: 100%;
    height: 350px; /* Uniform height for all photos */
    overflow: hidden;
    background-color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images fill the box without squishing */
    object-position: top center;
    transition: transform 0.5s ease;
}

.team-card:hover .team-img {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

/* Fallback styling for missing images */
.placeholder-img {
    opacity: 0.5;
    filter: grayscale(100%);
}

.empty-avatar {
    font-size: 5rem;
    color: var(--accent);
    opacity: 0.3;
    font-family: 'Montserrat', sans-serif;
}

.team-info {
    padding: 30px;
    text-align: center;
    flex-grow: 1;
}

.team-info h3 {
    color: var(--text-light);
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.team-title {
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.team-info p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.placeholder-card {
    border-top: 3px dashed var(--text-muted);
    background: transparent;
    border: 1px dashed rgba(255,255,255,0.1);
}

.placeholder-card:hover {
    border-top: 3px dashed var(--accent);
}

/* ==========================================================================
   10. TARGET PROFILES / SHOWCASE SECTION
   ========================================================================== */
.showcase-section { padding: 80px 8%; background-color: #050505; }
.section-intro { text-align: center; margin-bottom: 50px; color: var(--text-muted); }

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.player-card {
    background: #0a0a0a;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.player-img-wrapper {
    position: relative;
    background-color: #000; /* Keeps the background consistent */
    border-bottom: 1px solid rgba(212, 175, 55, 0.1); /* Adds a subtle line between image and content */
}

.player-img {
    width: 200px !important;  /* Forces a specific width */
    height: 200px !important; /* Forces a specific height */
    object-fit: contain;     /* Ensures the ball logo stays intact */
    margin: 15px auto;       /* Centers the logo */
    display: block;
    background-color: transparent; /* Removes the black box background */
}

.player-position-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--accent);
    color: #000;
    font-weight: 900;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 3px;
    text-transform: uppercase;
}

.player-info { padding: 20px; flex-grow: 1; }
.player-info h3 { font-size: 1rem; margin-bottom: 15px; color: var(--text-light); }

.stat-item { margin-bottom: 10px; }
.stat-item strong { display: block; color: var(--accent); font-size: 0.65rem; text-transform: uppercase; }
.stat-item span { font-size: 0.85rem; color: var(--text-muted); }

.btn-outline {
    display: block;
    margin-top: 15px;
    padding: 10px;
    text-align: center;
    border: 1px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    font-size: 0.85rem;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-outline:hover { background-color: var(--accent); color: #000; }

@media (max-width: 1024px) { .showcase-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .showcase-grid { grid-template-columns: 1fr; } }

.player-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.15);
    border-color: var(--accent);
}

.player-img-wrapper {
    width: 100%;
    height: 250px;
    background-color: #000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.player-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.5s ease;
}

.player-card:hover .player-img {
    opacity: 1;
    transform: scale(1.05);
}

.player-position-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent);
    color: #000;
    font-weight: 800;
    padding: 8px 15px;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.player-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.player-info h3 {
    color: var(--text-light);
    font-size: 1.6rem;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
}

.player-stats {
    list-style: none;
    margin-bottom: 25px;
    flex-grow: 1;
}

.player-stats li {
    color: var(--text-muted);
    margin-bottom: 10px;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
}

.player-stats li strong {
    color: var(--text-light);
}

.prospect-text {
    color: var(--text-muted);
    margin-bottom: 25px;
    flex-grow: 1;
    line-height: 1.6;
}

.btn-highlight {
    display: inline-block;
    background-color: var(--accent);
    color: var(--bg-dark);
    text-align: center;
    padding: 12px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.btn-highlight:hover {
    background-color: #f7e096;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background-color: var(--accent);
    color: var(--bg-dark);
}

/* ==========================================================================
   11. FOOTER & CONTACT AREA (Centered Layout)
   ========================================================================== */
.site-footer {
    background-color: #050505;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 80px 8% 40px 8%;
    color: var(--text-muted);
    text-align: center; /* Centers all content by default */
}

.footer-centered-content {
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.footer-logo {
    height: 95px; 
    width: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.contact-list strong {
    color: var(--accent);
    display: block; /* Stacks label above the text */
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.social-icon {
    display: inline-block;
    width: 35px;
    height: 35px;
    transition: all 0.3s ease; /* Ensure this covers all properties */
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

/* This adds the subtle gold glow */
.social-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6); /* Gold glow on hover */
    border-radius: 4px; /* Keeps the glow shape nice and clean */
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    font-size: 0.8rem;
}

.disclaimer {
    margin-top: 10px;
    font-style: italic;
    opacity: 0.6;
}

/* Responsive Footer */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    .footer-brand p { margin: 15px auto 0 auto; }
}

.logo-img {
    height: 120px; 
    width: auto;
    display: block;
}

/* Responsive Grid for Showcase */
@media (max-width: 1100px) {
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr); /* 2x2 grid on tablets */
    }
}

@media (max-width: 600px) {
    .showcase-grid {
        grid-template-columns: 1fr; /* Stacked on mobile */
    }
}

/* Intake Form Branding */
.scout-section { padding: 80px 8%; max-width: 700px; margin: 0 auto; background: rgba(10,10,10,0.9); border-radius: 8px; }
.form-step { display: none; margin-top: 30px; }
.form-step.active { display: block; }

.progress-bar { display: flex; justify-content: center; gap: 20px; margin-bottom: 40px; }
.indicator { width: 40px; height: 40px; border: 2px solid var(--accent); color: var(--accent); display: flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: bold; }
.indicator.active { background-color: var(--accent); color: #000; }

input, select { width: 100%; padding: 12px; margin: 10px 0; background: #000; border: 1px solid #333; color: white; border-radius: 4px; }
input:focus { border-color: var(--accent); outline: none; }
.btn-secondary { background: transparent; border: 1px solid var(--accent); color: var(--accent); padding: 10px; cursor: pointer; margin: 10px 0; }
.btn-main { width: 100%; padding: 15px; background: var(--accent); border: none; font-weight: bold; cursor: pointer; margin-top: 20px; }

.consent-box {
    margin-top: 20px;
    padding: 15px;
    background: rgba(212, 175, 55, 0.05); /* Very light gold tint */
    border: 1px solid var(--accent);
    border-radius: 4px;
}

.consent-box label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.consent-text {
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--text-light);
}

.consent-box input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
}