/* ========================================
   EXPORTED ATHLETES — style.css
   ======================================== */

/* --- CSS Variables --- */
:root {
    --bg-primary: #070057;
    --bg-card: #0e0a6e;
    --bg-footer: #040030;
    --text-primary: #ffffff;
    --accent-gold: #d4a824;
    --btn-blue: #0a1cbf;
    --btn-blue-hover: #1a2fd4;
    --btn-border: #fcfafa;
    --font-headline: 'Bebas Neue', sans-serif;
    --font-body: 'Barlow Condensed', sans-serif;
    --font-fine: 'Montserrat', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

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

/* --- Fade-in Animation --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   NAV BAR
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background: var(--bg-primary);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

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

.nav-logo {
    font-family: var(--font-headline);
    font-size: 24px;
    letter-spacing: 2px;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-btn {
    display: inline-block;
    background: var(--btn-blue);
    color: var(--text-primary);
    border: 1px solid var(--btn-border);
    padding: 10px 24px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

.nav-btn:hover {
    background: var(--btn-blue-hover);
    transform: scale(1.03);
}

.nav-contact-link {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.nav-contact-link:hover {
    opacity: 1;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

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

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 0, 87, 0.65);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 24px;
    max-width: 800px;
}

.hero-preheadline {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 16px;
}

.hero-headline {
    font-family: var(--font-headline);
    font-size: clamp(52px, 8vw, 100px);
    line-height: 1.05;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.hero-subheadline {
    font-family: var(--font-body);
    font-size: clamp(16px, 2.5vw, 22px);
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--btn-border);
    text-align: center;
}

.btn-primary {
    background: var(--btn-blue);
    color: var(--text-primary);
    border: 1px solid var(--btn-border);
}

.btn-primary:hover {
    background: var(--btn-blue-hover);
    transform: scale(1.03);
}

.btn-gold {
    background: var(--btn-blue);
    color: var(--text-primary);
    border: 1px solid var(--btn-border);
}

.btn-gold:hover {
    background: var(--btn-blue-hover);
    transform: scale(1.03);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--btn-border);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.03);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 14px;
}

.btn-full {
    width: 100%;
}

/* ========================================
   SECTIONS — SHARED
   ======================================== */
.section {
    padding: 100px 0;
}

.section-label {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-gold);
    text-align: center;
    margin-bottom: 12px;
}

.section-headline {
    font-family: var(--font-headline);
    font-size: clamp(36px, 5vw, 52px);
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: 1px;
}

/* ========================================
   WHAT WE DO — CARDS
   ======================================== */
.cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.pillar-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 40px 28px 36px;
    border-top: 3px solid var(--accent-gold);
    text-align: center;
    transition: transform 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-4px);
}

.card-icon {
    margin-bottom: 20px;
}

.card-icon svg {
    margin: 0 auto;
}

.card-title {
    font-family: var(--font-headline);
    font-size: 26px;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.card-body {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    opacity: 0.88;
}

/* ========================================
   NEWSLETTER
   ======================================== */
.newsletter {
    padding: 80px 0;
}

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

.newsletter-headline {
    margin-bottom: 32px;
}

.newsletter-embed {
    margin-bottom: 8px;
}

.newsletter-embed iframe {
    border-radius: 8px;
}

.fine-print {
    font-family: var(--font-fine);
    font-size: 12px;
    opacity: 0.5;
    margin-top: 16px;
}

/* ========================================
   OUR MISSION
   ======================================== */
.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mission-text .section-label,
.mission-text .section-headline {
    text-align: left;
}

.mission-body {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 20px;
}

.mission-credibility {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-gold);
    margin-top: 12px;
    line-height: 1.5;
}

.mission-tagline {
    font-family: var(--font-headline);
    font-size: 28px;
    color: var(--accent-gold);
    margin-top: 20px;
    letter-spacing: 2px;
}

.mission-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-logo-box {
    width: 320px;
    height: 320px;
    background: var(--bg-card);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.mission-logo-img {
    max-width: 360px;
    width: 100%;
    height: auto;
}

/* ========================================
   MEET THE TEAM
   ======================================== */
.team-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.team-card {
    text-align: center;
    max-width: 240px;
}

.team-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-family: var(--font-headline);
    font-size: 28px;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.team-role {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--accent-gold);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.team-bio {
    font-family: var(--font-body);
    font-size: 15px;
    opacity: 0.7;
    line-height: 1.5;
}

/* ========================================
   PARTNERS
   ======================================== */
.partner-logos {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.partner-logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.partner-logo-img:hover {
    opacity: 1;
    filter: none;
}

.partner-placeholder {
    width: 200px;
    height: 80px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-fine);
    font-size: 13px;
    opacity: 0.4;
    letter-spacing: 1px;
}

.section-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 48px 0;
}

.partnership-invite {
    text-align: center;
}

.partnership-headline {
    font-family: var(--font-headline);
    font-size: 36px;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.partnership-body {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 400;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonial-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 36px 28px 32px;
    position: relative;
}

.quote-mark {
    font-family: Georgia, serif;
    font-size: 64px;
    color: var(--accent-gold);
    line-height: 1;
    display: block;
    margin-bottom: 8px;
}

.quote-text {
    font-family: var(--font-body);
    font-size: 16px;
    font-style: italic;
    line-height: 1.65;
    opacity: 0.9;
    margin-bottom: 20px;
}

.quote-author {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-gold);
}

.quote-meta {
    font-family: var(--font-fine);
    font-size: 13px;
    opacity: 0.5;
    margin-top: 4px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--bg-footer);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    font-family: var(--font-headline);
    font-size: 22px;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.footer-tagline {
    font-family: var(--font-body);
    font-size: 15px;
    opacity: 0.6;
}

.footer-col-title {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    opacity: 0.6;
}

.footer-links a,
.footer-contact a:not(.btn) {
    display: block;
    font-family: var(--font-body);
    font-size: 15px;
    margin-bottom: 10px;
    opacity: 0.75;
    transition: opacity 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:not(.btn):hover {
    opacity: 1;
}

.footer-contact .btn {
    margin-top: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-family: var(--font-fine);
    font-size: 13px;
    opacity: 0.4;
}

/* ========================================
   FLOATING CONTACT BUTTON
   ======================================== */
.floating-contact {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 900;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--btn-blue);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-contact svg {
    width: 28px;
    height: 28px;
}

.floating-contact:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.5);
}

/* ========================================
   CONTACT MODAL
   ======================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 24px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 40px;
    max-width: 480px;
    width: 100%;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 28px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s ease;
    line-height: 1;
}

.modal-close:hover {
    opacity: 1;
}

.modal-title {
    font-family: var(--font-headline);
    font-size: 32px;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.modal-subtitle {
    font-family: var(--font-body);
    font-size: 15px;
    opacity: 0.65;
    margin-bottom: 28px;
}

.brevo-form-container {
    margin-top: 8px;
}

.brevo-form-container iframe {
    max-width: 100%;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 6px;
    opacity: 0.8;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--btn-blue);
}

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

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ========================================
   RESPONSIVE — Mobile (768px)
   ======================================== */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 32px 32px;
        gap: 20px;
        transition: right 0.3s ease;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
    }

    .nav-links.open {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-headline {
        font-size: clamp(40px, 10vw, 64px);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .cards-row {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 64px 0;
    }

    .section-headline {
        margin-bottom: 32px;
    }

    .mission-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mission-text .section-label,
    .mission-text .section-headline {
        text-align: center;
    }

    .mission-body {
        text-align: center;
    }

    .mission-credibility {
        text-align: center;
    }

    .mission-logo-box {
        width: 240px;
        height: 240px;
    }

    .mission-logo-text {
        font-size: 72px;
    }

    .testimonial-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .floating-contact {
        width: 58px;
        height: 58px;
        bottom: 20px;
        right: 20px;
    }

    .floating-contact svg {
        width: 20px;
        height: 20px;
    }

    .modal {
        padding: 28px 24px;
    }
}
