/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

html {
    font-size: 16px;
}

/* Remplacer les media queries répétitives par ces classes utilitaires */
.responsive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.responsive-flex {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .responsive-flex {
        flex-direction: row;
    }
}


@media (max-width: 1200px) {
    html {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 12px;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover, nav a.active {
    color: #ff6b6b;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0a1f44 0%, #1a3a6e 100%);
    padding: 2rem 0; /* Updated padding */
    text-align: center;
}

.hero .container {
    max-width: 90%;
    margin: 0 auto;
    padding: 0;
}

.hero-image {
    max-width: 80%; /* Updated max-width */
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.hero-image:hover {
    transform: scale(1.02);
}

/* Supprimez ou commentez les styles suivants s'ils existent encore */
/*
.hero-logo,
.hero h1,
.services-list {
    display: none;
}
*/

/* Welcome Section */
.welcome {
    padding: 6rem 0;
    text-align: center;
    background-color: #ffffff;
}

.welcome h2 {
    /*Remplacer les sélecteurs spécifiques par des classes plus génériques */
    color: #ff6b6b;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    font-weight: 300;
}

.welcome p {
    max-width: 800px;
    margin: 0 auto;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Histoire Section */
.history {
    background-color: #f8f9fa;
    padding: 6rem 0;
}

.history-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.history h2 {
    /*Remplacer les sélecteurs spécifiques par des classes plus génériques */
    color: #ff6b6b;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    font-weight: 300;
}

.history p {
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
}

.history-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.history-image img:hover {
    transform: scale(1.02);
}

/* Services Section */
.services {
    padding: 6rem 0;
    background-color: #ffffff;
}

.services h2 {
    /*Remplacer les sélecteurs spécifiques par des classes plus génériques */
    color: #ff6b6b;
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 300;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.25rem;
    color: #333;
}

.service-card p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

.service-card a.info-button {
    display: inline-block;
    background-color: #ff6b6b;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    margin: 0 1.5rem 1.5rem;
    transition: background-color 0.3s ease;
}

.service-card a.info-button:hover {
    background-color: #ff5252;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .history-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

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

    .services-list {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .welcome, .history, .services {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 0;
    }

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

    .hero-logo {
        width: 100px;
    }

    .welcome h2, .history h2, .services h2 {
        font-size: 2rem;
    }
}

@media (min-width: 1921px) {
    .container {
        max-width: 1600px;
    }

    html {
        font-size: 18px;
    }
}

/* Footer Section */
.footer {
    background-color: #0a1f44;
    color: #ffffff;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem; /* Augmenté de 2rem à 3rem */
    margin-bottom: 3rem;
}

.footer-logo,
.contact-details,
.business-hours {
    margin-bottom: 1.5rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 2px solid #ff6b6b;
    padding: 2px;
    background-color: white;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff6b6b;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    gap: 2rem; /* Ajout d'un écart entre les éléments */
}

.contact-details, .business-hours {
    flex: 1;
}

.footer h3 {
    color: #ff6b6b;
    font-size: 1.2rem;
    margin-bottom: 1.2rem; /* Augmenté de 1rem à 1.2rem */
    font-weight: 500;
}


.footer p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.footer-icon {
    width: 16px;
    height: 16px;
    margin-right: 0.5rem;
    color: #ff6b6b;
}

.footer a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #ff6b6b;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-info {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        gap: 1rem;
    }
    /* .social-icons {
        justify-content: center;
    } */
}

@media (max-width: 480px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-logo-img {
        width: 60px;
        height: 60px;
    }

    .footer-logo-text {
        font-size: 1.2rem;
    }
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    margin-bottom: 1rem;
}

.mobile-menu a {
    font-size: 1.2rem;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-menu a:hover, .mobile-menu a.active {
    color: #ff6b6b;
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .mobile-menu {
        display: block;
    }
}

.seo-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Remplacer les sélecteurs spécifiques par des classes plus génériques */
.section-title {
    color: #ff6b6b;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.section-content {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
}