/* Reset et bases */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #000000;
    --primary-medium: #444444;
    --primary-light: #f5f5f5;
    --text-dark: #333333;
    --text-light: #666666;
    --accent: #007bff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to right, var(--primary-dark), var(--primary-medium));
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    max-height: 60px;
    width: auto;
    padding: 5px 0;
}

.logo-text {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Navigation Desktop */
.nav-desktop {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link, .lang-switch {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link:hover, .lang-switch:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.lang-switch {
    background-color: var(--accent);
    margin-left: 1rem;
}

/* Navigation Mobile */
.nav-mobile {
    display: none;
}

.burger-menu {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.burger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: 0.3s;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--primary-dark);
    min-width: 200px;
    display: none;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.dropdown-menu.active {
    display: flex;
}

.dropdown-menu a {
    color: white;
    text-decoration: none;
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: background 0.3s;
}

.dropdown-menu a:hover {
    background-color: var(--primary-medium);
}

/* HERO SECTION - IMAGES EN PLEIN ÉCRAN */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Contenu superposé */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 3rem 4rem;
    border-radius: 10px;
    max-width: 800px;
    z-index: 1;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.9);
}

.btn-decouvrir {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-decouvrir:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Sections */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-text {
    padding: 1.5rem;
}

.service-text h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.service-text p {
    color: var(--text-light);
}

.service-card:hover .service-text {
    background-color: var(--primary-light);
}

/* À propos */
.apropos-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Projets */
.projets-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.projets-container {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.projet-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.projet-slide.active {
    opacity: 1;
}

.projet-slide img {
    width: 100%;
    height: 70%;
    object-fit: cover;
}

.projet-desc {
    padding: 1.5rem;
    background: white;
    height: 30%;
}

.projet-desc h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-controls button {
    background: var(--accent);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-controls button:hover {
    background: #0056b3;
    transform: scale(1.1);
}

/* Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-info address {
    font-style: normal;
    line-height: 1.8;
    color: var(--text-light);
}

.contact-info a {
    color: var(--accent);
    text-decoration: none;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.btn-submit {
    background-color: var(--accent);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: white;
    text-align: center;
    padding: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        padding: 0 1rem;
    }

    .nav-desktop {
        display: none;
    }

    .nav-mobile {
        display: block;
    }

    .hero-content {
        padding: 2rem;
        margin: 0 1rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    section {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .projets-container {
        height: 400px;
    }

    .contact-info,
    .contact-form {
        text-align: center;
    }
}