
/* Variables de couleurs */
:root {
    --primary-color: #2563eb;
    --secondary-color: #7c3aed;
    --bg-color: #ffffff;
    --text-color: #1f2937;
    --card-bg: #f3f4f6;
    --nav-bg: rgba(255, 255, 255, 0.95);
    --transition: all 0.3s ease;
    --accent-green:#22c55e;
    --input-bg:rgba(255,255,255,0.05);
}

.dark-theme {
    --bg-color: #0f172a;
    --text-color: #f8fafc;
    --card-bg: #1e293b;
    --nav-bg: rgba(29, 29, 31, 0.95);
    --dark-bg:#010202;
    --text-muted:#94a3b8;
    --accent-purple:#8b5cf6;
    --accent-pink:#ec4899;
 }

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: var(--transition);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Header & Nav */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: var(--nav-bg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    color: rgb(0, 255, 242);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.logo span { color: rgb(117, 31, 31); }

.nav-links { display: flex; gap: 2rem; }

.nav-links a:hover { color: var(--primary-color); }

#theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?auto=format&fit=crop&w=1500&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 0 5%;
}

.hero h1 { font-size: 3rem; margin-bottom: 1rem; }
.hero h1 span { color: var(--primary-color); }
.hero p { font-size: 1.2rem; margin-bottom: 2rem; max-width: 700px; }


.btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary { background: var(--primary-color); color: white; }
.btn-primary:hover { background: #1d4ed8; transform: translateY(-3px); }

.btn-whatsapp { background: #25d366; color: white; margin-left: 1rem; }

/* Services */
.services { padding: 5rem 5%; max-width: 1200px; margin: 0 auto; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
}

.service-card:hover { transform: translateY(-10px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.service-card i { font-size: 3rem; color: var(--primary-color); margin-bottom: 1.5rem; }

/* Stats & Testimonials */
.stats {
    background: var(--primary-color);
    color: white;
    display: flex;
    justify-content: space-around;
    padding: 3rem 5%;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-item { text-align: center; }
.stat-item h3 { font-size: 2.5rem; }

.testimonials { padding: 5rem 5%; text-align: center; background: var(--card-bg); }
.testimonial-box { max-width: 800px; margin: 0 auto; font-style: italic; font-size: 1.2rem; }

/* Portfolio */
.portfolio { padding: 5rem 5%; }
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
}

.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }

.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(37, 99, 235, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    color: white;
    font-weight: 600;
}

.portfolio-item:hover .overlay { opacity: 1; }
.portfolio-item:hover img { transform: scale(1.1); }

/* Contact */
 /* Hero / Contact Section */
        .contact-section {
            padding: 80px 20px;
            max-width: var(--container-max-width);
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            position: relative;
        }

        .contact-header {
            grid-column: 1 / -1;
            text-align: center;
            margin-bottom: 40px;
        }

        .contact-header h1 {
            font-size: 3rem;
            font-weight: 800;
            margin-bottom: 10px;
            letter-spacing: -1px;
        }


        .contact-header p {
            color: var(--text-muted);
            font-size: 1.1rem;
        }

        /* Left Column */
        .contact-info h2 {
            font-size: 2rem;
            margin-bottom: 20px;
        }

        .contact-info p.intro {
            color: var(--text-muted);
            margin-bottom: 30px;
        }

        .info-item {
            display: flex;
            align-items: center;
            margin-bottom: 25px;
        }

        .icon-circle {
            width: 45px;
            height: 45px;
            background: var(--accent-pink);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            flex-shrink: 0;
        }

        .info-text h4 {
            font-size: 0.9rem;
            color: var(--text-muted);
            margin-bottom: 2px;
        }

        .info-text p {
            font-weight: 500;
        }

        .whatsapp-btn {
            display: inline-flex;
            align-items: center;
            background-color: var(--accent-green);
            color: white;
            padding: 12px 25px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            margin-top: 20px;
            transition: transform 0.3s ease;
        }

        .whatsapp-btn:hover {
            transform: translateY(-3px);
        }

        /* Right Column - Form */
        .contact-form-container {
            /* background: rgba(255, 255, 255, 0.02); */
            padding: 40px;
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 20px 40px rgba(0,0,0,0.3);
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-size: 0.9rem;
            font-weight: 500;
        }

        .form-group input, .form-group textarea {
            width: 100%;
            padding: 12px 15px;
            background: var(--input-bg);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            color: white;
            font-family: inherit;
        }

        .submit-btn {
            width: 100%;
            padding: 14px;
            background: linear-gradient(90deg, var(--accent-pink), var(--accent-purple));
            border: none;
            border-radius: 8px;
            color: white;
            font-weight: 700;
            cursor: pointer;
            transition: opacity 0.3s;
            margin-top: 10px;
        }

        .submit-btn:hover {
            opacity: 0.9;
        }



        
/* Floating Elements */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
}

#back-to-top {
    position: fixed;
    bottom: 90px;
    right: 25px;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    display: none;
    cursor: pointer;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}



     
/* Section principale avec dégradé sombre */
.about-section {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    padding: 80px 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Titre et ligne rose */
.title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.underline {
    width: 60px;
    height: 4px;
    background-color: #e91e63; /* Rose/Magenta de l'image */
    margin: 0 auto 30px;
    border-radius: 2px;
}

/* Texte d'introduction */
.intro-text {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 50px;
    opacity: 0.9;
}

/* Conteneur des cartes */
.cards-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Style des cartes (Effet translucide) */
.card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px 20px;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    transition: transform 0.3s ease, background 0.3s ease;
    text-align: left;
}

.card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

/* Icônes et textes dans les cartes */
.icon {
    font-size: 1.5rem;
    color: #a5b4fc; /* Bleu clair */
    margin-bottom: 15px;
    display: block;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.card-desc {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Responsive pour mobiles */
@media (max-width: 768px) {
    .title { font-size: 2rem; }
    .cards-container { flex-direction: column; align-items: center; }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Simplifié pour le code, un menu burger complet peut être ajouté via JS */
    }
    .hero h1 { font-size: 2rem; }
    .btn-whatsapp { margin-left: 0; margin-top: 1rem; }
}

/* Footer */
            footer {
                background-color: var(--dark-bg);
                padding: 60px 20px 30px;
                border-top: 1px solid rgba(255, 255, 255, 0.05);
            }

            .footer-content {
                max-width: var(--container-max-width);
                margin: 0 auto;
                display: grid;
                grid-template-columns: 2fr 1fr 1fr;
                gap: 40px;
            }

            .footer-brand h3 {
                font-size: 1.5rem;
                margin-bottom: 15px;
            }

            .footer-brand p {
                color: var(--text-muted);
                max-width: 300px;
            }

            .footer-links h4, .footer-social h4 {
                font-size: 1.1rem;
                margin-bottom: 20px;
            }

            .footer-links ul {
                list-style: none;
            }

            .footer-links ul li {
                margin-bottom: 10px;
            }

            .footer-links ul li a {
                color: var(--text-muted);
                text-decoration: none;
                transition: color 0.3s;
            }

            .footer-links ul li a:hover {
                color: white;
            }

            .social-icons {
                display: flex;
                gap: 15px;
            }

            .social-icon {
                width: 36px;
                height: 36px;
                background: rgba(255, 255, 255, 0.1);
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                color: white;
                text-decoration: none;
                transition: background 0.3s;
            }

            .social-icon:hover {
                background: var(--accent-purple);
            }

            .footer-bottom {
                max-width: var(--container-max-width);
                margin: 40px auto 0;
                padding-top: 20px;
                border-top: 1px solid rgba(255, 255, 255, 0.05);
                text-align: center;
                color: var(--text-muted);
                font-size: 0.85rem;
            }

            /* Responsiveness */
            @media (max-width: 768px) {
                .contact-section {
                    grid-template-columns: 1fr;
                    padding: 40px 20px;
                }
                .footer-content {
                    grid-template-columns: 1fr;
                    text-align: center;
                }
                .footer-brand p {
                    margin: 0 auto;
                }
                .social-icons {
                    justify-content: center;
                }
                .contact-header h1 {
                    font-size: 2.2rem;
                }
            }

            /* Print optimization */
            @media print {
                body { background: white; color: black; }
                .contact-form-container, .whatsapp-btn { display: none; }
                .contact-section { grid-template-columns: 1fr; }
            }    

