/* 
   PRO ABOUT PAGE STYLES - Circuit 2000 
   Redesigned for a high-end, clean racing aesthetic.
*/

@font-face {
    font-family: 'AutoMotoFont';
    src: url('../ressource/automoto-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --racing-red: #ed1c24;
    --racing-black: #0a0a0a;
    --dark-gray: #121212;
    --light-gray: rgba(255, 255, 255, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

.about-page {
    background-color: var(--racing-black);
    color: white;
}

/* --- Hero Section (Like Planning) --- */
.about-hero {
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: -1;
    filter: brightness(0.4);
}

.about-hero h1 {
    font-family: var(--font-custom), sans-serif;
    font-size: 4.5vw;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.2vw;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin: 0;
    position: relative;
    z-index: 2;
}

.hero-stripe {
    width: 100px;
    height: 4px;
    background: var(--racing-red);
    margin: 20px auto 0;
}

/* --- Content Sections --- */
.description-section, .admin-section, .team-section {
    padding: 120px 5%;
}

.admin-section {
    background: transparent;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-grid.reverse {
    direction: ltr;
}

.about-grid.reverse > *:first-child {
    order: 2;
}
.about-grid.reverse > *:last-child {
    order: 1;
}

.section-tag {
    color: var(--racing-red);
    font-weight: bold;
    letter-spacing: 4px;
    font-size: 0.8rem;
    margin-bottom: 15px;
    display: block;
}

h2 {
    font-family: var(--font-custom), sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: normal;
    line-height: 1.1;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.content-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light-gray);
    margin-bottom: 30px;
}

/* Section specific visuals */
.desc-image, .admin-image, .team-image {
    position: relative;
}

.desc-image img, .admin-image img, .team-image img {
    width: 100%;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.image-accent-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(237, 28, 36, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.admin-features {
    display: grid;
    gap: 15px;
    margin-top: 30px;
}

.a-feat {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: bold;
    font-size: 0.95rem;
    color: white;
}

.a-feat span {
    color: var(--racing-red);
    font-size: 1.2rem;
}

.cta-link {
    color: var(--racing-red);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: 0.3s;
}

.cta-link:hover {
    letter-spacing: 2px;
}

/* --- Values Section (Kept) --- */
.values-section {
    padding: 120px 5%;
    background: var(--racing-black);
}

.centered {
    text-align: center;
    margin-bottom: 80px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 60px 40px;
    border-radius: 40px;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}

.value-index {
    position: absolute;
    top: 30px;
    right: 40px;
    font-family: var(--font-custom), sans-serif;
    font-size: 4rem;
    font-weight: normal;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
}

.value-icon {
    width: 70px;
    height: 70px;
    background: rgba(237, 28, 36, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: var(--racing-red);
}

.value-icon svg {
    width: 35px;
    height: 35px;
}

.value-card h3 {
    font-family: var(--font-custom), sans-serif;
    font-size: 1.8rem;
    font-weight: normal;
    margin-bottom: 20px;
}

.value-card p {
    color: var(--light-gray);
    font-size: 1rem;
    line-height: 1.7;
}

.values-grid:not(:hover) .value-card.active,
.value-card:hover {
    background: #111;
    border-color: var(--racing-red);
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

/* --- CTA Section (Kept) --- */
.about-cta-section {
    padding: 100px 5% 150px;
    background: var(--racing-black);
}

.cta-banner {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--racing-red);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 100px;
}

.cta-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.2) brightness(0.6);
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--racing-red) 30%, transparent);
}

.cta-content {
    position: relative;
    z-index: 5;
    max-width: 600px;
}

.cta-content h2 {
    font-family: var(--font-custom), sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: normal;
    line-height: 0.9;
    margin-bottom: 30px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-btns {
    display: flex;
    gap: 20px;
}

.cta-button {
    padding: 18px 40px;
    border-radius: 15px;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s;
    text-align: center;
    text-decoration: none;
}

.cta-button.primary {
    background: white;
    color: var(--racing-red);
}

.cta-button.primary:hover {
    background: var(--racing-black);
    color: white;
}

.cta-button.secondary {
    border: 2px solid white;
    color: white;
}

.cta-button.secondary:hover {
    background: white;
    color: var(--racing-red);
}

/* --- Responsive --- */
@media (max-width: 1100px) {
    .about-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .cta-banner { padding: 45px; }
    .cta-content p { font-size: 1rem; }
}

@media (max-width: 900px) {
    .values-grid { grid-template-columns: repeat(3, 1fr); gap: 15px; }
    .value-card { padding: 30px 20px; border-radius: 20px; }
    .value-card h3 { font-size: 1.2rem; }
    .value-card p { font-size: 0.8rem; }
    .value-icon { width: 50px; height: 50px; border-radius: 10px; margin-bottom: 15px; }
    .value-icon svg { width: 25px; height: 25px; }
    .about-hero h1 { font-size: 6vw; }
    .about-grid { gap: 20px; }
    .content-text p { font-size: 0.9rem; line-height: 1.6; }
    .cta-banner { padding: 30px; }
    .cta-content h2 { font-size: 2.2rem; }
    .cta-content p { font-size: 0.85rem; }
    .cta-button { padding: 12px 25px; font-size: 0.8rem; }
}

@media (max-width: 768px) {
    .about-grid { 
        grid-template-columns: 1fr; 
        gap: 35px; 
    }
    
    .about-grid.reverse > *:first-child {
        order: 2;
    }
    .about-grid.reverse > *:last-child {
        order: 1;
    }

    .values-grid { 
        grid-template-columns: 1fr; 
        gap: 20px;
    }

    .value-card { 
        padding: 30px 20px; 
        border-radius: 20px; 
    }

    .cta-banner { 
        padding: 40px 20px; 
        flex-direction: column; 
        text-align: center; 
    }

    .cta-bg { 
        width: 100%; 
        height: 50%; 
        bottom: 0; 
        top: auto; 
    }

    .cta-overlay { 
        background: linear-gradient(to bottom, var(--racing-red) 40%, transparent); 
    }

    .cta-btns { 
        justify-content: center; 
        gap: 15px;
        flex-direction: column;
        width: 100%;
    }

    .cta-button {
        width: 100%;
        padding: 14px 20px;
    }

    .about-hero h1 { 
        font-size: 8vw; 
    }
    
    .description-section, .admin-section, .team-section, .values-section, .about-cta-section {
        padding: 40px 20px;
    }
}
