/* ===== RESET DE BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #1e1e1e;
    background-color: #f8f9fa;
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding: 0 15px;
}

/* ===== ANIMATION FADE-IN ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== HEADER ===== */
header {
    background-color: #e3f2fd;
    color: #1976d2;
    padding: 20px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 20px;
}

header .logo {
    height: 50px;
}

header h1 {
    font-size: 1.8rem;
    margin-left: 20px;
    flex: 1;
}

nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav li {
    margin: 0 15px;
}

nav a {
    color: #1976d2;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #1565c0;
}

/* ===== HERO ===== */
.hero {
    background: url('images/banner.jpg') center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(25, 118, 210, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-subtext {
    font-size: 1.5rem;
    margin-bottom: 40px;
}

.cta-button {
    background-color: #1976d2;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: relative;
}

.cta-button:hover {
    background-color: #1565c0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cta-button i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

/* ===== SECTIONS GÉNÉRALES ===== */
section {
    padding: 60px 20px;
    width: 100%;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #ffffff;
    font-weight: 600;
}

h3 {
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 500;
}

.services-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    width: 100%;
}

/* ===== SERVICES ===== */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.services-list li {
    background-color: #e0f7fa;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s ease-in-out;
    position: relative;
}

.services-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.services-list li:hover .service-icon {
    transform: scale(1.1);
}

/* ===== PRODUITS ===== */
.products-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.product-item {
    background-color: #e0f2f7;
    border-radius: 12px;
    text-align: center;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s, box-shadow 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 15px;
}

.badge {
    position: absolute;
    background-color: #ff6b6b;
    color: #fff;
    padding: 5px 10px;
    font-size: 0.8rem;
    border-radius: 20px;
    top: 10px;
    left: 10px;
    font-weight: bold;
    z-index: 2;
}

/* ===== ABOUT ===== */
.about p {
    text-align: center;
    font-size: 1.1rem;
}

/* ===== CONTACT FORM ===== */
.contact form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    padding: 0 20px;
}

.contact label {
    margin-bottom: 5px;
    font-weight: 600;
    color: #1976d2;
}

.contact input,
.contact textarea {
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 12px;
    border: 1px solid #ced4da;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact input:focus,
.contact textarea:focus {
    border-color: #1976d2;
}

.contact textarea {
    height: 150px;
    resize: none;
}

.contact button {
    align-self: center;
    padding: 12px 25px;
    background-color: #1976d2;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.contact button:hover {
    background-color: #1565c0;
    transform: translateY(-2px);
}

.contact button i {
    margin-left: 8px;
}

.form-message {
    margin-top: 10px;
    font-size: 0.95rem;
}

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(45deg, #1976d2, #42a5f5);
    color: white;
    padding: 40px 20px;
    text-align: center;
    border-radius: 12px;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer p {
    margin-bottom: 10px;
}

.social-media {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.social-media a {
    color: white;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-media a:hover {
    transform: scale(1.2);
}

/* ===== DROPDOWN FILTER ===== */
.dropdown-filter {
    margin-bottom: 32px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: background-color 0.3s ease;
}

.dropdown-filter label {
    color: #1976d2;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.dropdown-filter select {
    appearance: none;
    padding: 14px 20px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 12px;
    background-color: #fafafa;
    color: #333;
    font-family: 'Roboto', sans-serif;
    width: 100%;
    max-width: 300px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.dropdown-filter select:hover {
    background-color: #f0f0f0;
}

.dropdown-filter select:focus {
    outline: none;
    border-color: #1976d2;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.3);
}

.dropdown-filter select option {
    padding: 10px;
    background-color: #ffffff;
}

/* Pour flèche personnalisée (approche simple) */
.dropdown-filter select::after {
    content: '\2193';
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #1976d2;
    pointer-events: none;
}

/* ===== BURGER / RESPONSIVE ===== */
.burger-menu {
    display: none;
}
@media (max-width: 768px) {
    header .logo {
        height: 40px;
    }

    header h1 {
        font-size: 1.4rem;
        margin-left: 0;
        text-align: center;
        width: 100%;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .header-container {
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 10px;
        flex-wrap: wrap;
    }
    .header-container > * {
        margin-bottom: 10px;
    }

    nav {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    nav ul {
        display: none;
        flex-direction: column;
        background-color: #e3f2fd;
        width: 100%;
        margin-top: 10px;
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        transition: all 0.3s ease-in-out;
    }

    nav ul.show {
        display: flex;
    }

    nav li {
        margin: 10px 0;
        text-align: center;
    }

    .burger-menu {
        display: block;
        font-size: 30px;
        background: none;
        border: none;
        color: #1976d2;
        cursor: pointer;
    }

    .services-list,
    .products-list {
        grid-template-columns: 1fr;
    }

    .contact form {
        width: 100%;
        padding: 0 10px;
    }

    .services-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    width: 100%;
}

}
