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

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

a {
    text-decoration: none;
    color: #0066cc;
}

/* Header */
header {
    background: linear-gradient(to right, #ffffff, #ffffff);
    color: white;
    padding: 20px 0;
    position: relative;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    color: rgb(58, 58, 58);
}

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

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #1e40af;
}

.logo span {
    color: #f0b106;
}

/* Menu Hamburger - Caché par défaut */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #1e40af;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Animation du hamburger en X */
.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Navigation normale */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #1e40af;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

nav ul li a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Menu mobile - Caché par défaut */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    height: 100%;
    background: white;
    padding: 80px 30px 30px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

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

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

.mobile-menu ul li {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.mobile-menu ul li:last-child {
    border-bottom: none;
}

.mobile-menu ul li a {
    color: #1e40af;
    font-size: 18px;
    font-weight: 500;
    display: block;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.mobile-menu ul li a:hover {
    color: #f0b106;
}

/* Bouton fermer du menu mobile */
.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    color: #1e40af;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
}

/* Page Title */
.page-title {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 50px 0;
    text-align: center;
}

.page-title h1 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #1e40af;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Contact Info */
.contact-info {
    padding: 40px;
}

.contact-info h2 {
    color: #0066cc;
    font-size: 28px;
    margin-bottom: 30px;
}

.info-item {
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
}

.icon {
    background: #e9f2ff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #0066cc;
    font-size: 20px;
}

.info-content h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.info-content p {
    color: #666;
}

.social-media {
    margin-top: 40px;
}

.social-media h3 {
    margin-bottom: 15px;
    color: #0066cc;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #e9f2ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0066cc;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #0066cc;
    color: white;
}

/* Contact Form */
.contact-form-container {
    background: #f5f8ff;
    padding: 40px;
}

.contact-form-container h2 {
    color: #0066cc;
    font-size: 28px;
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
}

textarea.form-control {
    height: 150px;
    resize: vertical;
}

.form-group.radio-group {
    display: flex;
    gap: 20px;
}

.radio-option {
    display: flex;
    align-items: center;
}

.radio-option input {
    margin-right: 8px;
}

.btn {
    display: inline-block;
    background: #0066cc;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background 0.3s ease;
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    background: #0055aa;
}

/* Map Section */
.map-section {
    padding: 50px 0;
    background: #f7f9fc;
}

.map-container {
    height: 400px;
    background: #ddd;
    border-radius: 8px;
    overflow: hidden;
}

/* Hours Section */
.hours-section {
    padding: 60px 0;
    background: white;
}

.hours-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: #f5f8ff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.hours-content h2 {
    color: #0066cc;
    margin-bottom: 20px;
    font-size: 28px;
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table tr {
    border-bottom: 1px solid #e1e8f5;
}

.hours-table tr:last-child {
    border-bottom: none;
}

.hours-table td {
    padding: 12px 0;
}

.hours-table td:first-child {
    font-weight: bold;
    width: 150px;
}

.hours-image {
    width: 40%;
    height: 300px;
    background: #ddd;
    border-radius: 8px;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background: #f7f9fc;
}

.faq-section h2 {
    text-align: center;
    color: #0066cc;
    margin-bottom: 40px;
    font-size: 32px;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f9f9f9;
}

.faq-question.active {
    background: #e9f2ff;
    color: #0066cc;
}

.faq-answer {
    padding: 0 20px 20px;
    color: #666;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #ffffff;
    padding: 40px 0 20px;
    margin-top: 50px;
    font-family: 'Arial', sans-serif;
    position: relative;
    overflow: hidden;
}

/* Effet de superposition subtil */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

footer .container {
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.footer-column h3 {
    color: #e8e8e8 !important;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column p {
    color: #e8e8e8 !important;
    line-height: 1.6;
    margin-bottom: 10px;
    font-size: 14px;
}

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

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #d0d0d0 !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    position: relative;
}

.footer-column ul li a:hover {
    color: #ffd700 !important;
    transform: translateX(5px);
}

.footer-column ul li a::before {
    content: '▶';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #ffd700;
    font-size: 10px;
}

.footer-column ul li a:hover::before {
    opacity: 1;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.copyright p {
    color: #b8b8b8 !important;
    margin: 0;
    font-size: 13px;
}

/* Form Validation Styles */
.success-message {
    animation: slideIn 0.3s ease-in-out;
}

.error-message {
    animation: slideIn 0.3s ease-in-out;
}

.field-error {
    animation: fadeIn 0.2s ease-in-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .hours-container {
        flex-direction: column;
    }
    
    .hours-image {
        width: 100%;
        margin-top: 30px;
        order: 2;
    }
    
    .hours-content {
        width: 100%;
        order: 1;
    }
    
    .form-group.radio-group {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    /* Afficher le hamburger sur mobile */
    .hamburger {
        display: flex;
    }
    
    /* Cacher la navigation normale sur mobile */
    nav {
        display: none;
    }
    
    /* Afficher le menu mobile */
    .mobile-menu {
        display: block;
    }
    
    .page-title h1 {
        font-size: 28px;
    }
    
    .contact-info,
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .hours-container {
        padding: 30px 20px;
    }
    
    /* Empêcher le scroll quand le menu est ouvert */
    body.menu-open {
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    .mobile-menu-content {
        width: 85%;
        padding: 70px 20px 20px;
    }
    
    .mobile-menu ul li a {
        font-size: 16px;
    }
}