/* Styles généraux */
body {
    font-family: 'poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #000000;
    overflow-x: hidden;
}

/* ==================== */
/* PREMIER HEADER (INFO BAR) */
/* ==================== */
.info-bar {
    background-color: #333;
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
    position: sticky;
    top: 0;
    z-index: 1001;
    transition: all 0.3s ease;
}

.info-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info {
    display: flex;
    gap: 20px;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.contact-info i {
    color: #fd9001;
    font-size: 14px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #fff;
    transition: color 0.3s ease;
    font-size: 16px;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons a:hover {
    color: #fd9001;
    transform: scale(1.1);
}

/* ==================== */
/* DEUXIÈME HEADER (MAIN HEADER) */
/* ==================== */
.main-header {
    background-color: #f7f7f7;
    color: #000000;
    padding: 5px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 41px;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    margin-bottom: 0 !important;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo */
.logo img {
    height: auto;
    max-width: 70px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Boutons à droite */
.header-right {
    display: flex;
    align-items: center;
    gap: 50px;
}

/* Navigation */
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
}

nav ul li a {
    color: #000000;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

nav ul li a:hover {
    color: #fd9001;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #fd9001;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Menu déroulant pour la sélection de langue */
.language-switcher {
    position: relative;
    z-index: 1000;
}

.language-button {
    background-color: #f88d0000;
    color: #000000;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 4px;
    transition: background-color 0.1s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.language-button:hover {
    background-color: #77777707;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 120px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    border-radius: 4px;
    overflow: hidden;
    right: 0;
}

.dropdown-content a {
    color: #000000;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: #333;
}

.language-switcher:hover .dropdown-content {
    display: block;
}

/* Menu hamburger pour mobile */
.menu-icon {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1000;
    padding: 10px;
}

.menu-icon span {
    width: 25px;
    height: 3px;
    background-color: #ff8e0eaf;
    transition: all 0.3s ease;
}

/* ==================== */
/* HOME SLIDER */
/* ==================== */
.home {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.bg-img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    object-position: center;
}

.slider-contain {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1200px;
    padding: 0 150px;
    text-align: left;
    z-index: 2;
}

.slider-contain h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0px;
    color: #fff;
}
.btn-quote {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
}


.home-swiper {
    margin-bottom: 30px !important;
}

/* ==================== */
/* OUR SERVICES SECTION */
/* ==================== */
.our-services {
    padding: 10px 0 60px;
    background-color: rgb(255, 255, 255);
}

.section-title {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #c24105;
    margin-bottom: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-logo img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    object-fit: contain;
}

.service-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.service-description {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* ==================== */
/* ABOUT US SECTION */
/* ==================== */
.about-us {
    padding: 60px 0;
    background-color: #d4d1d1;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #c24105;
    margin-bottom: 15px;
}

.about-text p {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* ==================== */
/* BLOG SECTION */
/* ==================== */
.blog-updates {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 25px;
}

.blog-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.blog-date {
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    display: block;
}

.blog-excerpt {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* ==================== */
/* RESPONSIVE ADJUSTMENTS */
/* ==================== */
@media (max-width: 992px) {
    /* Header adjustments */
    .header-right {
        gap: 30px;
    }
    
    /* Slider adjustments */
    .home {
        height: 400px;
    }
    
    .slider-contain h1 {
        font-size: 3rem;
    }
    
    /* About section adjustments */
    .about-content {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    /* Hide info bar on mobile */
    .info-bar {
        display: none;
    }
    
    /* Adjust main header */
    .main-header {
        top: 0;
        padding: 10px 0;
    }
    
    /* Logo size */
    .logo img {
        max-width: 60px;
    }
    
    /* Mobile menu */
    .header-right {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: #f7f7f7;
        padding: 30px 20px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
        overflow-y: auto;
        align-items: flex-start;
        gap: 30px;
        max-height: calc(100vh - 80px);
    }

    .header-right.active {
        display: flex;
    }

    /* Navigation */
    nav ul {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    nav ul li a {
        font-size: 18px;
        padding: 12px 0;
        border-bottom: 1px solid #eee;
    }
    
    nav ul li a::after {
        display: none;
    }

    /* Language switcher */
    .language-switcher {
        width: 100%;
    }

    .language-button {
        width: 100%;
        padding: 12px 0;
        font-size: 16px;
        justify-content: space-between;
    }

    .dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
        display: none;
    }

    .language-switcher:hover .dropdown-content,
    .language-switcher:focus-within .dropdown-content {
        display: block;
    }

    /* Show hamburger menu */
    .menu-icon {
        display: flex;
    }

    /* Hamburger animation */
    .menu-icon.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-icon.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-icon.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    /* Slider adjustments */
    .home {
        height: 300px;
    }
    
    .slider-contain h1 {
        font-size: 2rem;
    }
    
    .slider-contain h4 {
        font-size: 1.2rem;
    }
    
    /* About section adjustments */
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .about-image img {
        max-width: 80%;
    }
}

@media (max-width: 576px) {
    /* Slider adjustments */
    .home {
        height: 250px;
    }
    
    .slider-contain h1 {
        font-size: 1.8rem;
    }
    
    /* Services grid */
    .services-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    /* Section titles */
    .section-title {
        font-size: 2rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }