/* ===================== */
/* GLOBAL STYLES */
/* ===================== */
body {
    background: radial-gradient(circle at top left, #0f2027, #000);
    color: #fff;
    font-family: "Segoe UI", sans-serif; 
    margin: 0;
    padding: 0;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 80px;
    flex-wrap: wrap;
    position: relative;
}

.logo {
    font-size: 42px;
    font-weight: 800;
    color: #ff4f9a;
    letter-spacing: 2px;
}

nav {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

nav a {
    color: #ddd;
    text-decoration: none;
}

.cta {
    background: #3ccfcf;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

/* Hamburger */
.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #ddd;
}

/* HERO */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px;
    flex-wrap: wrap;
}

.hero-text {
    max-width: 50%;
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #ccc;
}

.primary-btn {
    background: #3ccfcf;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 30px;
}

.features li {
    list-style: none;
    margin: 10px 0;
    color: #9ff;
}

.hero-image img {
    width: 450px;
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

/* Services */
.services-section {
    padding: 40px 80px;
    text-align: center;
}

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

.service {
    background: #192a32;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.service:hover {
    transform: translateY(-5px);
}

.service h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #3ccfcf;
}

.service p {
    font-size: 16px;
    color: #ddd;
    line-height: 1.6;
}

/* Contact & Merci Sections */
.contact-section,
.merci-section {
    width: 80%;
    max-width: 600px;
    margin: 50px auto;
    padding: 30px;
    background-color: #192a32;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.contact-section h1,
.merci-section h1 {
    font-size: 2.5em;
    color: #3ccfcf;
    margin-bottom: 20px;
    text-align: center;
}

.contact-section p,
.merci-section p {
    font-size: 1.1em;
    color: #ddd;
    text-align: center;
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 1.1em;
    color: #eee;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
}

.submit-button {
    background: #3ccfcf;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

/* ===================== */
/* MEDIA QUERIES MOBILE */
/* ===================== */
@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 20px;
        position: relative;
    }

    .hamburger {
        display: block;
        align-self: flex-end;
        margin-bottom: 10px;
    }

    #nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #0f2027;
        padding: 10px 0;
    }

    #nav-links.show {
        display: flex;
    }

    #nav-links a {
        display: block;
        padding: 10px 20px;
        color: #ddd;
        text-decoration: none;
        font-weight: bold;
    }

    #nav-links a.cta {
        background: #3ccfcf;
        border-radius: 8px;
        text-align: center;
        margin: 10px 20px;
    }

    /* HERO */
    .hero {
        padding: 40px 20px;
        flex-direction: column;
        align-items: center;
    }

    .hero-text {
        max-width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .hero-image img {
        width: 100%;
        max-width: 300px;
    }

    /* Services */
    .services-section {
        padding: 20px;
    }

    /* Contact & Merci */
    .contact-section,
    .merci-section {
        width: 90%;
        margin: 30px auto;
        padding: 20px;
    }

    .contact-section h1,
    .merci-section h1 {
        font-size: 1.8em;
    }

    .contact-section p,
    .merci-section p {
        font-size: 1em;
    }

    /* Garder boutons desktop-size */
    .primary-btn,
    .cta,
    .submit-button {
        width: auto;
        text-align: center;
        padding: 12px 20px;
        font-size: 16px;
    }
}
