
/* Rider Biomechanics Page Styles */

.rider-hero {
    min-height: 100vh;
    background-image: url('attached_assets/horsefield_1756644593452.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
}

.rider-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(74, 144, 226, 0.3);
    z-index: 1;
}

.rider-hero .hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.rider-hero .hero-text {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.rider-hero .hero-image-card {
    width: 300px;
    height: 200px;
    background-image: url('attached_assets/horse.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    margin: 2rem auto 0;
}

.rider-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.rider-hero .hero-subtitle {
    font-size: 1.4rem;
    color: white;
    margin-bottom: 2rem;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Intro Section */
.rider-intro {
    padding: 5rem 0;
    background-color: #f8f6f4;
}

.rider-intro p {
    font-size: 1.3rem;
    color: #555;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}

/* Info Cards Section */
.rider-info-cards {
    padding: 5rem 0;
    background-color: #e8e0d6;
}

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

.info-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
}

.card-icon::before {
    content: '';
    width: 40px;
    height: 40px;
    background-color: white;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

.balance-sprite {
    background: linear-gradient(135deg, #4a90e2, #4170b5);
}

.balance-sprite::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5'%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3Cpath d='M12 2l8 4v10l-8 4-8-4V6l8-4z'/%3E%3C/svg%3E");
}

.strength-sprite {
    background: linear-gradient(135deg, #8fbc8f, #6b8e6b);
}

.strength-sprite::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5'%3E%3Cpath d='M6.5 6.5h11v11h-11z'/%3E%3Cpath d='M21 12h-3M6 12H3M12 21v-3M12 6V3'/%3E%3C/svg%3E");
}

.flexibility-sprite {
    background: linear-gradient(135deg, #5a9bd8, #2f4f4f);
}

.flexibility-sprite::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5'%3E%3Cpath d='M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8'/%3E%3Cpath d='M3 3v5h5'/%3E%3C/svg%3E");
}

.protection-sprite {
    background: linear-gradient(135deg, #6fa0d1, #567ca6);
}

.protection-sprite::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E");
}

.info-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: bold;
}

.info-card p {
    color: #666;
    line-height: 1.5;
    font-size: 1.1rem;
}

/* Additional Information Section */
.rider-info {
    padding: 5rem 0;
    background-color: #f8f6f4;
}

.rider-info h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 2rem;
    font-weight: bold;
}

.rider-info p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Contact CTA Section */
.rider-cta {
    padding: 5rem 0;
    background-color: #4a90e2;
    color: white;
    text-align: center;
}

.rider-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: white;
    font-weight: bold;
}

.rider-cta .btn-primary {
    background-color: white;
    color: #4a90e2;
    padding: 1.5rem 3rem;
    font-size: 1.3rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rider-cta .btn-primary:hover {
    background-color: #f8f6f4;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .rider-hero h1 {
        font-size: 2.2rem;
    }

    .rider-hero .hero-text {
        margin: 0 1rem;
    }

    .rider-hero .hero-image-card {
        width: 100%;
        height: 200px;
        margin-top: 2rem;
        border-radius: 15px;
    }

    .rider-intro,
    .rider-info {
        padding: 3rem 0;
    }

    .rider-intro p,
    .rider-info p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .info-card {
        padding: 2rem 1.5rem;
    }

    .rider-cta {
        padding: 4rem 0;
    }

    .rider-cta h2 {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .rider-cta .btn-primary {
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .rider-hero h1 {
        font-size: 1.8rem;
    }

    .rider-hero .hero-subtitle {
        font-size: 1.2rem;
    }

    .rider-hero .hero-image-card {
        height: 180px;
        margin-top: 1.5rem;
        border-radius: 12px;
    }

    .info-card {
        padding: 2rem 1rem;
    }

    .card-icon {
        font-size: 3rem;
    }

    .info-card h3 {
        font-size: 1.3rem;
    }

    .rider-info h2 {
        font-size: 2rem;
    }

    .rider-cta h2 {
        font-size: 1.8rem;
    }
}
