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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    overflow-x: hidden;
}

:root {
    /* Vert clair (le "3D" du logo) */
    --primary: #B2D786; 
    
    /* Noir Charbon (le texte "Hinata") */
    --dark: #2C2C2C; 
    
    /* Bleu-Gris (l'imprimante) */
    --secondary-blue: #6A8E9A; 
    
    /* Blanc */
    --light: #ffffff; 
    
    /* Fond gris clair */
    --grey-bg: #f9f9f9; 
}

/* =========================================
   2. NAVIGATION (HEADER)
   ========================================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: 80px;
    background-color: var(--dark);
    color: var(--light);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo span {
    color: var(--primary); /* Le "3D" en vert */
}

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

.nav-links li a {
    color: var(--light);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.nav-links li a:hover {
    color: var(--primary);
}

.btn-contact {
    border: 2px solid var(--primary);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    transition: background 0.3s ease;
}

.btn-contact:hover {
    background-color: var(--primary);
    color: var(--dark) !important;
}

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero {
    height: 90vh;
    /* Fond sombre avec image en overlay */
    background: linear-gradient(rgba(44, 44, 44, 0.7), rgba(44, 44, 44, 0.5)), url('fond.jpg');
    background-size: cover;
background-size: 100% auto
    background-position: center;
background-position: 50% 50%; /* Positionnement horizontal et vertical au centre */
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--light);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero h1 span {
    color: var(--primary);
}

.btn-main {
    display: inline-block;
    background-color: var(--primary);
    color: var(--dark);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    margin-top: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(178, 215, 134, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(178, 215, 134, 0.6);
}

/* =========================================
   4. SECTIONS GENERALES
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    margin: 15px auto;
}

.section-subtitle em {
	color: var(--primary);
	font-weight: bold;
}
.section-subtitle {
    text-align: left;
    margin-bottom: 4rem;
    color: #666;
    max-width: 900px;
    margin: 0 auto 4rem auto;
}


/* =========================================
   5. GALERIE PRODUITS
   ========================================= */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.card {
    background: var(--light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.card-image {
    height: 300px;
    background-color: var(--grey-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.placeholder-img {
    color: var(--secondary-blue);
    font-weight: bold;
    font-size: 1.2rem;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-info {
    padding: 1.5rem;
    text-align: center;
}

.card-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

/* =========================================
   6. SERVICES
   ========================================= */
.services-section {
    background-color: var(--dark);
    color: var(--light);
    padding: 5rem 0;
}

.services-section .section-title {
    color: var(--light);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.service-box {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: background 0.3s;
}

.service-box:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--primary);
}

.service-box h3 {
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 1.5rem;
}

/* =========================================
   7. FOOTER
   ========================================= */
.footer {
    text-align: center;
    padding: 5rem 2rem;
    background-color: var(--primary);
    color: var(--dark);
}

.footer h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.btn-white {
    background-color: var(--dark);
    color: var(--primary);
    box-shadow: none;
}

.btn-white:hover {
    background-color: #333;
    color: var(--light);
}

.footer-links {
    margin-top: 4rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* =========================================
   8. RESPONSIVE & BURGER MENU
   ========================================= */
.burger {
    display: none; /* Caché sur PC */
}

@media screen and (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .navbar {
        padding: 0 2rem;
    }

    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 80px;
        background-color: var(--dark);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
        width: 60%;
        transform: translateX(100%);
        transition: transform 0.4s ease-in;
        box-shadow: -2px 0 5px rgba(0,0,0,0.5);
    }

    .nav-links li {
        opacity: 0;
    }
    
    .nav-links li a {
        margin-left: 0;
        font-size: 1.2rem;
    }

    .burger {
        display: block;
        cursor: pointer;
        z-index: 101;
    }

    .burger div {
        width: 28px;
        height: 3px;
        background-color: var(--primary);
        margin: 6px;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
}

.nav-active {
    transform: translateX(0%);
}

@keyframes navLinkFade {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0px); }
}

.toggle .line1 { transform: rotate(-45deg) translate(-6px, 7px); }
.toggle .line2 { opacity: 0; }
.toggle .line3 { transform: rotate(45deg) translate(-6px, -7px); }

.logo-img {
    height: 27px; /* Taille par défaut du logo */
    width: auto; /* Pour conserver les proportions */
    display: block; /* Évite les espaces indésirables sous l'image */
/*filter: drop-shadow(0px 0px 2px rgba(200,200,200,0.6)); /* Ombre plus prononcée pour le grand logo */*/
padding:0.15em;
}

/* Ajustement pour les petits écrans si le logo est trop grand */
@media screen and (max-width: 768px) {
    .logo-img {
        height: 30px; /* Légèrement plus petit sur mobile */
    }
}
/* Styles pour le logo dans la section HERO */
.hero-logo {
    max-width: 450px; /* Taille maximale sur grand écran */
    height: auto;
    margin-bottom: 2rem; /* Espace sous le logo */
filter: drop-shadow(0px 5px 10px rgba(255,255,255,0.8)); /* Ombre plus prononcée pour le grand logo */
}

/* Ajustements pour les petits écrans */
@media screen and (max-width: 768px) {
    .hero-logo {
        max-width: 300px; /* Plus petit sur mobile */
        margin-bottom: 1.5rem;
    }
}


/* --- NOUVEAU STYLE POUR LE CARROUSEL DANS LES CARTES PRODUIT --- */
.card-image-carousel {
    position: relative;
    height: 300px; /* Hauteur fixe comme avant */
    overflow: hidden; /* Masque les images qui ne sont pas visibles */
}

.slides-container {
    display: flex; /* Permet de mettre les images côte à côte */
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease; /* Animation de glissement */
}

.slide {
    min-width: 100%; /* Chaque image prend 100% de la largeur du conteneur visible */
    height: 100%;
    flex-shrink: 0; /* Empêche l'image de rétrécir */
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Assure que l'image remplit l'espace sans être déformée */
}

/* --- STYLE DES FLÈCHES DE NAVIGATION --- */
.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--light);
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 20; /* S'assure que les flèches sont au-dessus des images */
    transition: background-color 0.3s;
}

.prev-btn:hover, .next-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev-btn {
    left: 0;
    border-radius: 0 5px 5px 0;
}

.next-btn {
    right: 0;
    border-radius: 5px 0 0 5px;
}