/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif; /* Changement de police pour plus de modernité */
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background-color: #f0f0f0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
   text-decoration: none;
}

/* Header et Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95); /* Plus sombre */
    backdrop-filter: blur(10px);
    z-index: 1000; /* Très haut pour rester au-dessus de tout le reste */
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-size: 2rem;
    font-weight: 800; /* Plus impactant */
    color: #fff;
    letter-spacing: 2px;
}

.logo span {
    color: #e74c3c;
    font-style: normal;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-links a:hover, .nav-links a.active {
    color: #e74c3c;
    text-shadow: 0 0 5px rgba(231, 76, 60, 0.5); /* Effet néon subtil */
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px; /* Plus visible */
    background: #e74c3c;
    transition: width 0.3s ease-out;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

/* Section Hero */
.hero {
    height: 100vh;
    background: 
        radial-gradient(circle at 10% 90%, rgba(231, 76, 60, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 90% 10%, rgba(52, 152, 219, 0.2) 0%, transparent 50%),
        #111; /* Fond très sombre */
    background-size: 300% 300%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: backgroundMove 20s ease-in-out infinite;
}

@keyframes backgroundMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-content {
    z-index: 2;
    position: relative;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px rgba(231, 76, 60, 0.6); /* Néon plus marqué */
}

.subtitle {
    font-size: 1.5rem;
    color: #bdc3c7; /* Couleur plus claire */
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(90deg, #e74c3c, #c0392b);
    color: white;
    padding: 18px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 15px 40px rgba(231, 76, 60, 0.4);
    position: relative;
    overflow: hidden;
}

.hero-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(231, 76, 60, 0.6);
}

.hero-cta span:last-child {
    transform: translateX(0);
    transition: transform 0.3s ease;
}
.hero-cta:hover span:last-child {
    transform: translateX(5px);
}

/* Animations d'entrée */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Sections générales */
section {
    padding: 100px 0;
    position: relative; 
    z-index: 10; 
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 800;
}

.section-title::after {
    content: '';
    display: block;
    width: 150px; /* Plus large */
    height: 5px; /* Plus épais */
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    margin: 25px auto;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Services */
.services {
    background: #fff; /* Plus clair pour contraster */
}

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

.service-card {
    background: #f8f8f8; /* Légèrement grisé */
    border: 1px solid #eee;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: #e74c3c;
}

.service-icon {
    font-size: 3.5rem; /* Plus grand */
    margin-bottom: 1rem;
    color: #e74c3c; /* Couleur d'accentuation */
    display: block;
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: #2c3e50;
}

/* About Section */
.about {
    background: #111; /* Fond sombre pour le contraste */
    color: #ecf0f1;
}

.about .section-title,
.about .section-subtitle {
    color: white; /* Assure que le titre reste blanc sur fond sombre */
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Deux colonnes */
    gap: 4rem;
    align-items: center; /* Centrage vertical des deux blocs */
    margin-top: 3rem;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #bdc3c7; /* Texte gris clair pour la lisibilité */
    margin-bottom: 1.5rem;
    text-align: left; /* Aligner à gauche */
    max-width: none; /* Annuler l'ancien max-width */
}

.about-visual {
    height: 400px; /* Hauteur fixe pour le bloc visuel */
    background: 
        linear-gradient(135deg, #e74c3c, #c0392b),
        url('img/dj-desk.jpg') center/cover; /* Mettez ici votre image */
    background-blend-mode: multiply; /* Assombrit l'image avec la couleur */
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.visual-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7); /* Effet néon blanc */
}

/* Nouveau CTA pour la section About */
.about-cta {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 10px 25px;
    background: #e74c3c;
    color: white;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.about-cta:hover {
    background: #c0392b;
}


/* Responsive pour la section About */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr; /* Une seule colonne sur les petits écrans */
        gap: 2rem;
    }
    .about-visual {
        order: -1; /* Place le visuel au-dessus du texte sur mobile */
        height: 300px;
    }
}


/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-item {
    background: #1a1a1a; /* Fond sombre pour les images */
    color: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.portfolio-image {
    height: 250px; /* Taille uniforme */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.portfolio-image.with-image {
    padding: 0;
}

/* Style spécifique pour les images dans les cartes de portfolio */
.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Assure que l'image couvre le conteneur */
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1); /* Zoom au survol */
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #e74c3c;
}

/* NOUVELLE SECTION TÉMOIGNAGES */
.testimonials {
    background: #1c1c1c;
    color: white;
}

.testimonials .section-title,
.testimonials .section-subtitle {
    color: white;
}

.testimonial-slider {
    position: relative;
    min-height: 200px;
    overflow: hidden;
}

.testimonial-item {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    text-align: center;
    padding: 20px 0;
}

.testimonial-item.active {
    opacity: 1;
    position: relative;
}

.quote {
    font-style: italic;
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 15px;
    line-height: 1.5;
    color: #ecf0f1;
    position: relative;
    padding: 0 20px;
}

.quote::before, .quote::after {
    content: "“";
    font-size: 3rem;
    color: #e74c3c;
    position: absolute;
    top: -10px;
    opacity: 0.7;
}

.quote::after {
    content: "”";
    top: auto;
    bottom: -30px;
    right: 20px;
}

.author {
    font-weight: bold;
    font-size: 1.1rem;
    color: #95a5a6;
}

.slider-dots {
    text-align: center;
    margin-top: 30px;
}

.dot {
    display: inline-block;
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #555;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #e74c3c;
    box-shadow: 0 0 5px #e74c3c;
}
/* FIN NOUVELLE SECTION */


/* Contact */
.contact {
    background: #2c3e50;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.08); /* Fond plus transparent/sombre */
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #ecf0f1;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3); /* Bordure visible mais subtile */
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15); /* Fond transparent */
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    -webkit-appearance: none; /* Pour unifier le style des selects/inputs */
    appearance: none;
}

.form-group select {
    background: rgba(255, 255, 255, 0.15) url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M287%20197.3l-136%20136c-2.4%202.4-5.5%203.6-8.7%203.6s-6.3-1.2-8.7-3.6l-136-136c-4.8-4.8-4.8-12.5%200-17.3s12.5-4.8%2017.3%200l127.3%20127.3%20127.3-127.3c4.8-4.8%2012.5-4.8%2017.3%200s4.8%2012.5%200%2017.3z%22%2F%3E%3C%2Fsvg%3E') no-repeat right 12px top 50%;
    background-size: 10px;
    padding-right: 30px; /* Espace pour la flèche */
}

/* Style pour les options de select */
.form-group select option {
    background: #2c3e50; /* Fond sombre pour les options */
    color: white;
    padding: 5px 0;
}

/* Placeholder style */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Focus state */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e74c3c;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.5); /* Effet néon au focus */
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

/* Style des messages d'erreur JS */
.error {
    color: #e74c3c; /* Rouge pour l'erreur */
    font-size: 0.9rem;
    margin-top: 5px;
}


.submit-btn {
    width: 100%;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(231, 76, 60, 0.4);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(231, 76, 60, 0.6);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    font-size: 2rem;
    min-width: 50px;
}

.contact-details h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #f1c40f; /* Or Jaune */
}

.contact-details p {
    color: #bdc3c7;
    line-height: 1.6;
}

.contact-info a {
    color: #f1c40f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #e74c3c;
}


/* Footer */
footer {
    background: #0a0a0a; /* Noir absolu */
    color: white;
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Easter Egg */
.daft-footer {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #e74c3c;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    animation: pulse 2s infinite;
    z-index: 1000;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.05); }
}

/* Responsive */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr; /* Une seule colonne sur les petits écrans */
        gap: 2rem;
    }
    .about-visual {
        order: -1; /* Place le visuel au-dessus du texte sur mobile */
        height: 300px;
    }
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    nav {
        padding: 1rem;
    }

    .testimonial-item p.quote {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .service-card,
    .contact-form {
        padding: 1.5rem;
    }
}