/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700&display=swap');

/* Variables et reset */
:root {
    --primary-blue: #81D6F3;
    --primary-red: #ff0033;
    --dark-blue: #2c89a0;
    --dark: #000000;
    --light: #ffffff;
    --neon-blue: 0 0 10px var(--primary-blue), 0 0 20px var(--primary-blue);
    --neon-red: 0 0 10px var(--primary-red), 0 0 20px var(--primary-red);
}

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--light);
    background-color: var(--dark);
    min-height: 100vh;
}

/* Header */
header {
    position: relative;
    background-color: var(--dark);
    color: var(--light);
    text-align: center;
   /* padding: 2.5rem 0;*/
    border-bottom: 2px solid var(--primary-red);
    box-shadow: var(--neon-red);
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, 
            var(--dark) 25%, 
            var(--primary-blue) 25%, 
            var(--primary-blue) 50%, 
            var(--dark) 50%, 
            var(--dark) 75%, 
            var(--primary-blue) 75%, 
            var(--primary-blue));
    background-size: 40px 40px;
    opacity: 0.15;
    z-index: 1;
    animation: moveCheckerboard 60s linear infinite;
}

@keyframes moveCheckerboard {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 1000px 1000px;
    }
}

h1 {
    position: relative;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--primary-red);
    text-shadow: 0 0 5px var(--primary-red),
                 0 0 10px var(--primary-red),
                 0 0 15px var(--primary-red);
    animation: redNeonPulse 2s infinite alternate;
    z-index: 2;
    padding: 0.5rem 2rem;
    background-color: rgba(0, 0, 0, 0.8);
    display: inline-block;
    border-radius: 8px;
    border: 2px solid var(--primary-red);
}

h2 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    color: var(--primary-red);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 5px var(--primary-blue);
    font-size: 2rem;
    letter-spacing: 2px;
}
h2.bif {    
    margin-bottom: 0.5rem;    
}

.photo-border { 
border: 2px solid #ff0033;
padding:2px;
 }
 
 #portfolio a img{
	margin:7px;
	border:2px solid #ff0033;
	transition: all 250ms;
}

#portfolio a img:hover{
	border-radius:50%;
	border:10px solid #ff0033;
}

#portfolio a:hover, #portfolio a:focus, #portfolio a:active{
	background-color:transparent !important;
	opacity:0.9;  
}
 
 

/* Slideshow */
.slideshow-container {
    position: relative;
    max-width: 100%;
    height: 500px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.1) brightness(0.9);
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 1rem;
    color: var(--light);
    background-color: rgba(0, 0, 0, 0.3);
    font-size: 1.5rem;
    transition: 0.3s ease;
    text-shadow: var(--neon-blue);
    border: 1px solid var(--primary-red);
}

.prev {
    left: 0;
}


.next {
    right: 0;
}

.prev:hover, .next:hover {
    background-color: rgba(255, 0, 51, 0.3);
    box-shadow: var(--neon-red);
}

/* Introduction */
.introduction, .main-content, .event-description {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    text-align: center;
    font-size: 1.2rem;
    background-color: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--primary-blue);
    border-radius: 10px;
    box-shadow: var(--neon-blue);
}

.introduction:hover, .main-content:hover, .event-description:hover {
    border-color: var(--primary-red);
    box-shadow: var(--neon-red);
    transition: all 0.3s ease;
}

/* Gallery */
.gallery {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.image-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.image-container img, .triple-image-container img {
    width: calc(50% - 1rem);
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--primary-red);
    transition: all 0.3s ease;
    filter: contrast(1.1) brightness(0.9);
    box-shadow: var(--neon-red);
}

.image-container img:hover, .triple-image-container img:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px var(--primary-red),
                0 0 30px var(--primary-red);
}

/* Triple Gallery Section */
.triple-gallery {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.triple-image-container {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

/* Main Content */
.main-content {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
    font-size: 1.2rem;
    background-color: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--primary-blue);
    border-radius: 10px;
    box-shadow: var(--neon-blue);
}

.main-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 2px solid var(--primary-red);
    box-shadow: var(--neon-red);
}

.contact-info {
    text-align: center;
}

.contact-info p {
    margin: 0.5rem 0;
    color: var(--light);
}

/* Animations */
@keyframes subtleNeonPulse {
    from {
        text-shadow: 0 0 3px var(--primary-red),
                     0 0 5px var(--primary-blue);
    }
    to {
        text-shadow: 0 0 2px var(--primary-blue),
                     0 0 3px var(--primary-red);
    }
}

@keyframes redNeonPulse {
    from {
        text-shadow: 0 0 5px var(--primary-red),
                     0 0 10px var(--primary-red),
                     0 0 15px var(--primary-red);
    }
    to {
        text-shadow: 0 0 2px var(--primary-red),
                     0 0 4px var(--primary-red),
                     0 0 6px var(--primary-red);
    }
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

/* Styles pour la page Articles */
.main-nav {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 1rem;
    text-align: center;
    border-bottom: 2px solid var(--primary-red);
    box-shadow: var(--neon-red);
}

.main-nav a {
    color: var(--light);
    text-decoration: none;
    margin: 0 1rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-red);
    text-shadow: var(--neon-red);
    background-color: rgba(255, 0, 0, 0.1);
}

.article-hero {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--primary-blue);
    box-shadow: var(--neon-blue);
}

.hero-content h2 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: var(--neon-blue);
}

.hero-content p {
    color: var(--light);
    font-size: 1.2rem;
}

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

.article-card {
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--primary-blue);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--neon-blue);
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-content {
    padding: 1.5rem;
}

.article-content h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-shadow: var(--neon-red);
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--light);
    font-size: 0.9rem;
}

.article-meta span {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
}

.article-content p {
    color: var(--light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    color: var(--primary-blue);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-blue);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.read-more:hover {
    background-color: var(--primary-blue);
    color: var(--dark);
    text-shadow: none;
}

.newsletter {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 4rem 2rem;
    text-align: center;
    margin-top: 4rem;
    border-top: 2px solid var(--primary-red);
    box-shadow: var(--neon-red);
}

.newsletter h2 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    text-shadow: var(--neon-red);
}

.newsletter p {
    color: var(--light);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light);
    border: 1px solid var(--primary-blue);
}

.newsletter-form button {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    background-color: var(--primary-red);
    color: var(--light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: var(--primary-blue);
    box-shadow: var(--neon-blue);
}

/* Styles pour le menu de navigation */
.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.nav-list li {
    position: relative;
}

.nav-list a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary-red);
    text-shadow: var(--neon-red);
}

/* Styles pour les menus déroulants */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(0, 0, 0, 0.95);
    min-width: 200px;
    box-shadow: var(--neon-blue);
    border: 1px solid var(--primary-blue);
    z-index: 1000;
    border-radius: 0 0 5px 5px;
}

.dropdown-content a {
    padding: 0.8rem 1.5rem;
    color: var(--light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

.dropdown-content a:hover {
    background-color: rgba(255, 0, 0, 0.1);
}
#cookieChoiceInfo {
        background-color:#000;
    }

/* Animation pour le menu déroulant */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media queries pour le menu responsive */
@media (max-width: 768px) {
    .nav-list {
        flex-direction: column;
        align-items: stretch;
    }

    .dropdown-content {
        position: static;
        display: none;
        background-color: rgba(0, 0, 0, 0.8);
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }

    .nav-list a {
        padding: 0.8rem 1rem;
        text-align: center;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .image-container {
        flex-direction: column;
    }
    
    .image-container img {
        width: 100%;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .slideshow-container {
        height: 300px;
    }
    
    .triple-image-container {
        flex-direction: column;
    }
    
    .triple-image-container img {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .articles-container {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }
}

