* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f5f5f5;
}

/* Header Styles */
/* .header-top {
    background-color: #2c3e50;
    color: white;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-info {
    font-size: 14px;
} */

.login-menu a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.login-menu a:hover {
    color: #3498db;
}

/* .header-main {
    background-color: #fff;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 4px;
    padding-bottom: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
} */

.logo {
    max-height: 60px;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

/* Navigation */
.nav-menu {
    flex-grow: 1;
    margin: 0 30px;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 15px;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #3498db;
}

/* Contact Info */
.contact-info {
    text-align: right;
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

/* Main Content */
.content-wrapper {
    display: flex;
    flex: 1;
    padding: 20px;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Menu Sidebar */
.menu {
    width: 280px;
    flex-shrink: 0;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    align-self: center;
    justify-self: center;
    height: auto;
}

.menu button {
    width: 200px;
    /* width: 100%; */
    padding: 12px;
    margin: 10px 0;
    background-color: #0047AB;
    /*background-color: #3498db;*/
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.3s;
    text-align: center;
    align-self: center;
    justify-self: center;
}

.menu button:hover {
    transform: translateY(-2px);
    background-color: #2980b9;
}

/* Main Content Area */
.content {
    flex: 1;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Carousel */
.carousel {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s;
}

.carousel-slide.active {
    opacity: 1;
}

/* Form Container */
.form-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.form-container input {
    width: 100%;
    padding: 12px;
    margin: 8px 0 20px;
    border: 2px solid #ddd;
    border-radius: 6px;
}

.form-container button {
    padding: 12px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-container button:hover {
    background-color: #2980b9;
}

/* Loader */
.loader {
    display: none;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 2s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Separator */
.separator {
    /*background: linear-gradient(45deg, #3498db, #2980b9);*/
    color: white;
    text-align: center;
    padding: 15px 0;
    font-size: 24px;
    font-weight: bold;
    margin: 20px 0;
    color: #0047AB;
}

/* Footer */
/* footer {
    background-color: #2c3e50;
    color: white;
    padding: 40px 20px;
    margin-top: auto;
}

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

.footer-section {
    flex: 1;
}

.footer-section h3 {
    color: #3498db;
    margin-bottom: 20px;
    font-size: 18px;
    color: #0047AB;
}

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

.footer-section li {
    margin: 10px 0;
    font-size: 14px;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #3498db;
} */

/* Responsive Design */
@media (max-width: 768px) {
    /* .header-main {
        flex-direction: column;
        text-align: center;
        padding: 10px;
    } */

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .content-wrapper {
        flex-direction: column;
        padding: 10px;
    }

    .menu {
        width: 100%;
        
    flex-shrink: 0;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    align-self: center;
    justify-self: center;
    height: auto;
    text-align: center;
    }
/* 
    .footer-content {
        flex-direction: column;
        gap: 20px;
    } */

    .contact-info {
        text-align: center;
        margin-top: 10px;
    }
}

.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    animation: floatIn 0.5s ease-out;
    max-width: 400px;
    width: 90%;
}

.modal-content {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.close-button {
    display: block;
    margin: 0 auto;
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.close-button:hover {
    background-color: #2980b9;
}

@keyframes floatIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -60%);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.search-results {
    display: none;
    margin-top: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.search-results h3 {
    margin-top: 0;
    color: #333;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.results-container {
    padding: 10px;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.results-table th,
.results-table td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.results-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.results-table tr:hover {
    background-color: #f5f5f5;
}

.form-container {
    margin-bottom: 20px;
}

/* Styles pour la galerie d'images */
.gallery-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-start;
    margin-top: 20px;
}

.gallery-item {
    width: calc(33.333% - 10px);
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    background-color: white;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.gallery-item:hover img {
    opacity: 0.9;
}

.gallery-item .item-title {
    padding: 10px;
    font-weight: bold;
    text-align: center;
    color: #333;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
}

/* Styles pour adaptatif */
@media (max-width: 992px) {
    .gallery-item {
        width: calc(50% - 10px);
    }
}

@media (max-width: 576px) {
    .gallery-item {
        width: 100%;
    }
}

/* Styles pour le zoom */
.lb-data .lb-caption {
    font-size: 16px;
    font-weight: bold;
}

.lb-outerContainer {
    border-radius: 4px;
}
