/* Variables CSS */
:root {
    --primary-color: #ff6600;
    --secondary-color: #1a1f71;
    --background-color: #f9f9f9;
    --text-color: #333;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Reset et styles de base */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .logo img {
    height: 50px;
    transition: transform 0.3s ease;
}

header .logo img:hover {
    transform: scale(1.1);
}

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

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.9em;
    transition: color 0.3s ease, transform 0.3s ease;
    font-size: 1.2em;
    
}

nav ul li a:hover {
    color: #ff6600;
    transform: translateY(-2px);
}

nav ul li a.active {
    color: #ff6600;
    border-bottom: 2px solid #ff6600;
}
nav ul li:not(:last-child)::after {
    content: "|";
    margin: 12px;
    color: #ccc;}


/* Section Hero */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 150px 20px;
    
}

#hero-heading {
    font-size: 4em;
    margin-bottom: 20px;
    animation: slideInDown 1s ease-in-out;
}

.hero-info p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

/* Main Content */
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 20px;
}

/* Texte principal */
.main-text {
    text-align: center;
    max-width: 800px;
    margin-bottom: 40px;
}

/* Conteneur des coordonnées et de la partie "Nouveau en ce moment" */
.info-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch; /* Assure que les deux blocs ont la même hauteur */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px; /* Espace entre les deux sections */
}

/* Section À propos */
.about {
    padding: 80px 20px;
    text-align: center;
}

.about h2, .activities h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.about h3 {
    text-align: left;
}

.about img {
    max-width: 400px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.about img:hover {
    transform: scale(1.05);
}
.about ul {
    list-style: none;
    padding: 0;
}

.about ul li {
    margin: 10px 0;
    font-size: 1.1em;
    color: #555;
    text-align: left;
}
/* Liste des réalisations */
.text-content {
    font-size: 1.1em;
    text-align: left;
    list-style-type: none;
    padding-left: 0;
}

.about li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    color: #444;
    font-weight: 500;
}

.about li::before {
    content: "•";
    color: #3498db;
    font-size: 1.5em;
    position: absolute;
    left: 0;
    top: -5px;
}


/* Effets de hover sur les éléments de liste */
.about li:hover {
    color: #3498db;
    cursor: pointer;
    transform: translateX(5px);
    transition: transform 0.2s ease, color 0.2s ease;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 10px;
    margin-left: 5%;
    max-width: 90%;;
}

.activity {
    padding: 15px; /* Réduire le padding des activités */
    margin-bottom: 20px; 
    background-color: #ffffff;
    
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.activity img {
    
    max-width: 80%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.activity img:hover {
    transform: scale(1.05);
}
.servicelink {
    color: black;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.servicelink:hover {
    color: #3498db;
    transform: scale(1.05);
}
/* Section Contact améliorée */
.contact-info {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    width: 30%;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    margin-top: 20px;
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-info h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.8em;
    color: var(--secondary-color);
}

.info-item {
    margin-bottom: 15px;
    text-align: left;
    align-items: center;
    gap: 10px;
}

.info-item h3 {
    font-size: 1.2em;
    color: #007bff;
    margin: 0;
}

.info-item p {
    font-size: 1em;
    margin: 0;
}

.info-item a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    transition: color 0.3s ease;
}


.info-item a:hover {
    color: var(--primary-color);
}

/* Ajouter une icône devant chaque info */
.info-item i {
    font-size: 1.5em;
    color: var(--primary-color);
}

/* Mettre les éléments contact en colonne pour mobile */
@media (max-width: 768px) {
    .contact-info {
        width: 100%;
        padding: 20px;
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Style pour les boutons de contact */
.btn-contact {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    display: inline-block;
    margin-top: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-contact:hover {
    background-color: #e65c00;
    transform: scale(1.05);
}

.btn-contact:active {
    transform: scale(1);
}

/* Améliorer l'espacement entre les sections */
.new-content {
    flex: 1;
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 20%;
}

/* Style pour la nouvelle section avec image */
.new-content .info-item img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease-in-out;
}

.new-content .info-item img:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 60px 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 1.2em;
    color: var(--primary-color);
}

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

.footer-section ul li {
    margin: 10px 0;
}

.footer-section ul li a {
    text-decoration: none;
    color: var(--white);
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-icons img {
    width: 24px;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.social-icons img:hover {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #555;
}

.footer-bottom img {
    width: 100px;
    margin: 10px 0;
    transition: transform 0.3s ease;
}

.footer-bottom img:hover {
    transform: scale(1.1);
}

/* Boutons supplémentaires */
.styled {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: var(--shadow);
}

.styled:hover {
    background-color: #3756f3;
    transform: translateY(-2px);
}

.styled:active {
    transform: translateY(0);
}

.button-rouge {
    margin-right: 40px;
    background-color: #e74c3c;
    color: var(--white);
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.button-rouge:hover {
    background-color: #c0392b;
    transform: scale(1.05);
}

.button-rouge:active {
    transform: scale(1);
}

/* Main Content */
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 20px;
}

/* Texte principal */
.main-text {
    text-align: center;
    max-width: 800px;
    margin-bottom: 40px;
}

/* Conteneur des coordonnées et de la partie "Nouveau en ce moment" */
.info-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch; /* Assure que les deux blocs ont la même hauteur */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px; /* Espace entre les deux sections */
}

/* Coordonnées */
.info-container img {
    max-height:  50px;
}
