/* Styles pour la page Dyno */

/* Effet de grille en arrière-plan avec dégradés multiples */
.dyno-article {
    padding: 6rem 0 2rem 0;
    background-color: #000;
    position: relative;
    overflow: hidden;
}

/* Grille centrale avec effet */
.dyno-article::before {
    content: '';
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: 
        linear-gradient(90deg, 
            rgba(0,0,0,1) 0%,
            rgba(0,0,0,0.5) 20%,
            rgba(0,0,0,0.3) 40%,
            rgba(0,0,0,0.3) 60%,
            rgba(0,0,0,0.5) 80%,
            rgba(0,0,0,1) 100%
        ),
        linear-gradient(
            rgba(227, 6, 19, 0.1) 1px, 
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(227, 6, 19, 0.1) 1px, 
            transparent 1px
        );
    background-size: 100% 100%, 30px 30px, 30px 30px;
    z-index: 1;
    pointer-events: none;
}

/* Effet de lumière centrale */
.dyno-article::after {
    content: '';
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: 
        radial-gradient(
            circle at 50% 50%,
            rgba(227, 6, 19, 0.15) 0%,
            rgba(0, 0, 0, 0.5) 60%,
            rgba(0, 0, 0, 0.8) 100%
        );
    z-index: 2;
    pointer-events: none;
}

/* Animation de la grille */
@keyframes gridMove {
    0% {
        transform: perspective(500px) rotateX(10deg) translateY(0);
    }
    50% {
        transform: perspective(500px) rotateX(10deg) translateY(-15px);
    }
    100% {
        transform: perspective(500px) rotateX(10deg) translateY(0);
    }
}

.dyno-article::before {
    animation: gridMove 10s ease-in-out infinite;
}

/* Animation de la lumière */
@keyframes glowPulse {
    0% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.8;
    }
}

.dyno-article::after {
    animation: glowPulse 4s ease-in-out infinite;
}

/* Ajustement pour que le contenu soit au-dessus des effets */
.section-container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.article-header {
    margin-bottom: 3rem;
    padding-top: 2rem;
}

/* Effet de profondeur pour les cartes */
.spec-card, .program-item {
    background: #1a1a1a; /* Gris très foncé */
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
}

.spec-card:hover, .program-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(227, 6, 19, 0.2);
    background: #222222; /* Légèrement plus clair au hover */
}

.article-title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.article-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #E30613;
}

.article-content-wrapper {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin: 2rem 0;
}

.article-text {
    flex: 1;
    order: 1;
}

.article-image {
    flex: 1;
    order: 2;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.article-intro {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #fff;
    margin: 0 0 1.5rem 0;
    text-align: justify;
    font-weight: 300;
}

.specs-section,
.programs-section {
    margin: 4rem 0;
}

.specs-section h2,
.programs-section h2 {
    color: #fff;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.specs-section h2::after,
.programs-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #E30613;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.spec-card i {
    font-size: 2rem;
    color: #E30613;
    margin-bottom: 1rem;
}

.spec-card h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.spec-card ul {
    list-style: none;
    padding: 0;
}

.spec-card li {
    margin-bottom: 0.5rem;
    color: #fff;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.program-item i {
    font-size: 2rem;
    color: #E30613;
    margin-bottom: 1rem;
}

.program-item h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.program-item ul {
    list-style: none;
    padding: 0;
}

.program-item li {
    margin-bottom: 0.5rem;
    color: #fff;
}

.contact-section {
    text-align: center;
    padding: 4rem 0;
    background: #E30613;
    color: white;
    border-radius: 10px;
    margin-top: 4rem;
}

.contact-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: white;
    color: #E30613;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-button:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 968px) {
    .article-content-wrapper {
        flex-direction: column;
    }

    .article-image {
        order: 1;
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .article-text {
        order: 2;
    }
}

@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }

    .specs-grid,
    .programs-grid {
        grid-template-columns: 1fr;
    }

    .spec-card,
    .program-item {
        padding: 1.5rem;
    }

    .article-intro {
        font-size: 1.1rem;
    }
}

/* Section réseaux sociaux */
.social-icons {
    display: none; /* On cache les icônes sociales du bas */
}

/* Suppression des styles sociaux du bas de page */
.social-icons {
    display: none; /* On cache les icônes sociales du bas */
}

@keyframes laser-border {
    0% {
        box-shadow: 0 0 0 red,
                   0 0 5px red,
                   0 0 10px red,
                   0 0 15px red;
    }
    50% {
        box-shadow: 0 0 5px red,
                   0 0 10px red,
                   0 0 15px red,
                   0 0 20px red;
    }
    100% {
        box-shadow: 0 0 0 red,
                   0 0 5px red,
                   0 0 10px red,
                   0 0 15px red;
    }
}

.grid-container {
    position: relative;
    padding: 20px;
}

.grid-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid red;
    pointer-events: none;
    animation: laser-border 2s infinite;
    z-index: 1;
} 