/* --- CSS VARIABLES & SYSTEM RESET --- */
:root {
    --primary-color: #1c352d; /* Elegant forest/equestrian green */
    --primary-dark: #11211b;
    --accent-color: #d4af37;  /* Muted Gold */
    --accent-hover: #e5c158;
    --bg-light: #fbfaf7;      /* Soft off-white */
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Accessibility Focus Ring */
:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

/* --- REUSABLE COMPONENTS --- */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 16px 30px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* --- NAVIGATION NAVBAR --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px;
    background-color: rgba(28, 53, 45, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.navbar .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity 0.3s ease;
}

.navbar .logo:hover {
    opacity: 0.85;
}

.navbar .logo img {
    height: 52px;
    width: auto;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 18px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: color 0.3s ease;
}

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

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    flex-shrink: 0;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lang-btn.active {
    color: var(--accent-color);
    font-weight: 700;
}

.lang-divider {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: var(--transition-smooth);
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* --- HERO SECTION --- */
.hero {
    height: 80vh;
    min-height: 500px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('endurance 1.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    padding: 0 20px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 650px;
    margin: 0 auto 30px auto;
    font-weight: 300;
}

/* --- ABOUT SECTION --- */
.about-section {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(rgba(28, 53, 45, 0.88), rgba(28, 53, 45, 0.88)), 
                url('https://images.unsplash.com/photo-1598974357801-aecae02a500f?q=80&w=1920') no-repeat center center/cover;
}

.about-section h2, .coaches-section h2, .services-section h2, .faq-section h2, .form-container h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 20px;
}

.about-section h2 { color: var(--accent-color); }
.about-section p {
    color: #f8f9fa;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
}

/* --- MOBILE COACHING & PAIN POINTS --- */
.coaching-section {
    padding: 80px 20px;
    background-color: #1c352d;
}

.coaching-section .container {
    display: flex;
    flex-direction: column;
    gap: 40px; /* Provides continuous spacing between distinct cards */
}

.coaching-hero-card {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 35px 25px;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--accent-color);
}

.coaching-hero-card h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    margin-bottom: 15px;
    line-height: 1.4;
}

.coaching-hero-card p {
    color: #555;
    font-size: 1.05rem;
}

.pain-box {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    background: #ffffff;
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #cc0000;
}

.pain-box h3 {
    color: #b30000;
    font-size: 1.4rem;
    margin-bottom: 25px;
    text-align: center;
    font-family: var(--font-heading);
}

.pain-list {
    list-style: none;
    margin-bottom: 30px;
}

.pain-list li {
    font-size: 1.05rem;
    color: #333;
    padding: 12px 15px;
    margin-bottom: 10px;
    background: #fff5f5;
    border-left: 4px solid #cc0000;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pain-icon {
    flex-shrink: 0;
}

.pain-quote {
    font-style: italic;
    background: #111111;
    color: #f1f1f1;
    padding: 20px 25px;
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--accent-color);
    font-size: 0.98rem;
    line-height: 1.6;
}

.mobile-service-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 50px 35px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2d8c3;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.mobile-badge {
    display: inline-block;
    background: var(--accent-color);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.mobile-service-card h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    margin-bottom: 15px;
}

.mobile-lead {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.mobile-desc {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

.what-we-do-title {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 25px;
    text-align: center;
}

.mobile-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.feature-item {
    background: #fdfbf7;
    padding: 25px 20px;
    border-radius: 12px;
    border: 1px solid #eae2d0;
}

.feature-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.feature-item h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 0.92rem;
    color: #666;
}

.banner-cta-container {
    text-align: center;
    margin-top: 40px;
}

.cta-subtitle {
    color: #666;
    font-size: 0.95rem;
    margin-top: 8px;
}

.btn-premium-banner {
    display: block;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 22px 30px;
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    color: #1c352d;
    text-align: center;
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
    border: 2px solid #fff;
    transition: all 0.3s ease;
    animation: pulse-glow 2s infinite;
}

.btn-premium-banner:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.6);
    background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
    color: #000;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
    70% { box-shadow: 0 0 0 18px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* --- FOUNDERS SECTION --- */
.coaches-section {
    padding: 80px 20px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('worldcup.jpeg');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.coaches-section h2 { color: var(--accent-color); }
.section-subtitle { color: white; margin-bottom: 40px; }

.coaches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.coach-card {
    background: #ffffff;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.coach-img-wrapper {
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-color);
}

.coach-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coach-role {
    display: block;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.85rem;
    margin: 5px 0 15px;
    text-transform: uppercase;
}

/* --- SERVICES & PILLARS SECTION --- */
.services-section h2 {
    text-align: center;
    color: var(--primary-color);
}

.services-section .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 35px;
}

.card {
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.card h3 {
    color: var(--accent-color);
    margin-bottom: 10px;
}

.card-hint {
    display: inline-block;
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 600;
}

.prep-card { background-image: linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.72)), url('prep.jpg'); }
.pacing-card { background-image: linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.72)), url('pacing.jpg'); }
.rider-card { background-image: linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.72)), url('rider.jpg'); }

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.25);
}

/* Full-Width Catalog Banner Styling */
.catalog-banner {
    background: linear-gradient(135deg, rgba(28, 53, 45, 0.95) 0%, rgba(15, 32, 26, 0.98) 100%);
    border: 2px solid var(--accent-color, #d4af37);
    border-radius: 20px;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    text-align: left;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    margin-top: 10px;
}

.banner-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    color: var(--accent-color, #d4af37);
    border: 1px solid var(--accent-color, #d4af37);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.catalog-banner-content h3 {
    font-family: var(--font-heading, 'Cinzel', serif);
    color: var(--accent-color, #d4af37);
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.catalog-banner-content p {
    color: var(--text-light, #e0e0e0);
    font-size: 0.98rem;
    margin: 0;
    max-width: 650px;
    line-height: 1.5;
}

.catalog-banner-action .btn-buy {
    white-space: nowrap;
    display: inline-block;
    padding: 14px 28px;
}

/* Modal Window Glassmorphism Overlay */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius-md);
    max-width: 600px;
    width: 90%;
    position: relative;
    border: 1px solid var(--accent-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.modal-close {
    position: absolute;
    top: 15px; right: 20px;
    background: none; border: none;
    font-size: 1.8rem; cursor: pointer;
    color: var(--text-dark);
}

/* --- FAQ ACCORDION --- */
.faq-section {
    padding: 80px 20px;
    text-align: center;
    background: #f9f6f0; /* Soft parchment tint */
    color: #2c2c2c;
}

.faq-section h2 { color: var(--primary-color); }
.faq-accordion { max-width: 800px; margin: 0 auto; text-align: left; }
.faq-item { border-bottom: 1px solid #ddd; margin-bottom: 10px; }
.faq-question {
    width: 100%;
    padding: 20px 0;
    background: none; border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}
.faq-answer { display: none; padding-bottom: 20px; color: #555; }

/* --- CONTACT FORM --- */
.contact-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: center;
    padding: 80px 20px;
}

.form-container h2 { color: var(--accent-color); }
.form-container p { margin-bottom: 40px; font-weight: 300; }

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    background-color: rgba(0,0,0,0.2);
    color: var(--text-light);
    font-family: var(--font-body);
    transition: var(--transition-smooth);
}

.contact-form input:focus, 
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
    background-color: rgba(0,0,0,0.4);
}

/* --- FOOTER & FLOATING WA --- */
footer {
    background-color: var(--primary-dark);
    color: rgba(255,255,255,0.6);
    text-align: center;
    padding: 30px 0;
    font-size: 0.85rem;
}

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 1500;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Scroll Animation Classes */
.hidden {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.show {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* --- RESPONSIVE MOBILE & TABLET BREAKPOINTS --- */
@media (max-width: 992px) {
    .services-section .grid {
        grid-template-columns: 1fr;
    }
    
    .catalog-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px 20px;
    }

    .catalog-banner-action {
        width: 100%;
    }

    .catalog-banner-action .btn-buy {
        display: block;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .navbar {
        flex-wrap: wrap;
        padding: 12px 4%;
    }

    .navbar .logo {
        max-width: calc(100% - 110px);
    }

    .navbar .logo img {
        height: 42px;
    }

    .navbar .logo span {
        font-size: 0.82rem;
        line-height: 1.2;
    }

    nav { width: 100%; }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        text-align: center;
        padding: 20px 0 10px;
        gap: 15px;
    }

    .nav-links.active {
        display: flex;
    }

    .hero {
        height: 70vh;
        min-height: 400px;
    }

    .container {
        padding: 50px 0;
    }
}

