/* Styles de base */
body {
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;

}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    border-bottom: 1px solid #e5e5e5;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.logo-circle {
    width: 25px;
    height: 25px;
    background-color: #22c55e;
    border-radius: 50%;
    margin-right: 10px;
}

nav ul {
    display: flex;
    list-style-type: none;
    padding: 0;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
}

nav ul li .azer:hover {
    background-color: #22c55e;
    color: #fff;
    padding: 10px;
    transition: ease-in-out 0.3s;
    border-radius: 50px;
}

nav ul li .azer.active {
    background-color: #22c55e;
    color: #fff;
    padding: 10px;
    border-radius: 50px;
}

/* Styles pour le menu déroulant */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    text-decoration: none;
    color: #333;
    cursor: pointer;
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    list-style: none;
    padding: 10px 0;
    z-index: 1000;
    width: 150px;
}

.dropdown-menu li {
    text-align: left;
    padding: 10px 20px;
    margin: 15px;
}

.dropdown-menu li a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
    font-size: 14px;
}

.dropdown-menu li a:hover {
    color: #22c55e;
}

/* Affiche le sous-menu au survol */
.dropdown:hover .dropdown-menu {
    display: block;
}


/* Hero Section */
.hero {
    position: relative;
    background-image: url(img/Hero.png);
    background-size: cover;
    color: white;
    padding: 80px 0;
    text-align: center;
    height: 350px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 26, 20, 0.85);
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    color: #22c55e;
    position: relative;
    z-index: 2;
}

.hero p {
    position: relative;
    color: #ffffff;
    z-index: 2;
}

.hero a {
    color: #fff;
    z-index: 2;
    position: relative;
    background-color: #22c55e;
    padding: 12px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
}

.info {
    overflow: hidden;
    white-space: nowrap;
    background-color: #22c55e;
    padding: 10px;
    color: #fff;
    font-weight: bold;
}

.info span {
    display: inline-block;
    animation: scroll 20s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Formulaire */
.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 10px;
}

.form-wrapper {
    width: 88%;
    max-width: 390px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    padding: 30px;
    text-align: center;
}

.form-wrapper h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.form-wrapper p {
    color: #666;
    font-size: 14px;
    margin-bottom: 50px;
}

.form-wrapper input,
.form-wrapper select,
.form-wrapper button {
    width: 100%;
    padding: 12px;
    margin-bottom: 25px;
    border-radius: 30px;
    border: 1px solid #ddd;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.form-wrapper input {
    width: 360px;
}

.check {
    margin-bottom: 15px;
    display: flex;
}

.check label {
    margin-left: 10px;
}

.check input {
    width: auto;
}

.form-wrapper input:hover,
.form-wrapper select:hover {
    border-color: #22c55e;
}

.form-wrapper button {
    background-color: #22c55e;
    color: white;
    font-weight: bold;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease;
}

.form-wrapper button:hover {
    background-color: #1b9f53;
}

.form-wrapper input::placeholder {
    color: #aaa;
}

/* Products */
.products {
    padding: 60px 20px;
}

.products h2 {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.product-card {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: box-shadow 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.product-card img {
    max-width: 100%;
    height: 100px;
    object-fit: contain;
    margin-bottom: 10px;
}

/* Menu de navigation */
.navbar {
    display: flex;
    list-style: none;
    gap: 20px;
    z-index: 1000;
}

/* Hamburger */
.menu-toggle {
    display: none;
    /* Caché par défaut */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    width: 25px;
    height: 3px;
    background-color: #333;
    position: relative;
    display: block;
}

.hamburger::before,
.hamburger::after {
    content: '';
    width: 25px;
    height: 3px;
    background-color: #333;
    position: absolute;
    left: 0;
    transition: transform 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Transforme le hamburger en croix quand le menu est ouvert */
.menu-toggle.active .hamburger {
    background-color: transparent;
}

.menu-toggle.active .hamburger::before {
    transform: rotate(45deg) translateY(8px);
}

.menu-toggle.active .hamburger::after {
    transform: rotate(-45deg) translateY(-8px);
}

/* Menu caché par défaut sur mobile */
.navbar {
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    /* Caché par défaut */
    transition: transform 0.3s ease;
}

/* Menu visible quand actif */
.navbar.active {
    display: flex;
}

footer {
    background-color: #1b1b1b;
    color: #ffffff;
    padding: 40px 0;
    font-size: 14px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.footer-logo {
    text-align: center;
}

.footer-logo .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    color: #ffffff;
}

.footer-logo .logo-circle {
    width: 20px;
    height: 20px;
    background-color: #22c55e;
    border-radius: 50%;
    margin-right: 10px;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    font-size: 16px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    text-decoration: none;
    color: #22c55e;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #1b9f53;
}

.footer-social .social-icons a {
    margin-right: 10px;
}

.footer-social .social-icons img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.footer-social .social-icons a:hover img {
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 12px;
    color: #888;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        /* Affiche le menu hamburger */
    }

    .navbar {
        position: absolute;
        top: 60px;
        right: 20px;
        background-color: #f9f9f9;
        padding: 10px 0;
        border-radius: 8px;
    }

    .navbar ul {
        flex-direction: column;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .navbar li {
        text-align: center;
        padding: 10px 0;
        border-bottom: 1px solid #e5e5e5;
    }


    .navbar li:last-child {
        border-bottom: none;
    }

    .form-wrapper input {
        width: 310px;
    }

    .check input {
        width: auto;
    }

    .hero h1 {
        font-size: 35px !important;
    }
}

@media (min-width: 769px) {
    .navbar {
        display: flex;
        flex-direction: row;
        position: static;
        background-color: transparent;
        box-shadow: none;
        width: auto;
    }

    .navbar ul {
        margin: 0;
        padding: 0;
    }

    .navbar li {
        padding: 0 15px;
        border-bottom: none;
    }

    .logo {
        font-size: 18px;

    }
}