@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap');

body {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* Variables CSS */
:root {
    --primary-color: #de6b70;
    --primary-color-dark: #c55a5f;
    --primary-color-rgb: 222, 107, 112;
    --text-color: #323232;
    --background-color: #ffffff;
    --input-background: #ffffff;
    --border-color: #dddddd;
    --disabled-color: #cccccc;
    --dark-background: #1a1a1a;
    --dark-input-background: #2d2d2d;
    --dark-border-color: #404040;
}

/* Reset CSS de base */
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    overflow-x: hidden;
    width: 100%;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

* {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* Personnalisation de la barre de défilement */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #de6b70 0%, #4c681a 100%);
    border-radius: 10px;
    border: 3px solid #f5f5f5;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #c55a5f 0%, #3a4f14 100%);
}

/* Personnalisation de la barre de défilement pour le mode sombre */
.dark-theme ::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 10px;
}

.dark-theme ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #42a5f5 0%, #1976d2 100%);
    border-radius: 10px;
    border: 3px solid #f5f5f5;
}

.dark-theme ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #1976d2 0%, #1565c0 100%);
}

/* Style du footer */
.footer {
    background-color: #DDD0C8;
    padding: 3rem 0 1rem 0;
    margin-top: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 0 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.footer-section h3 {
    color: #4c681a;
    margin: 0;
    padding: 0;
    font-size: 1.2rem;
    line-height: 40px;
    font-weight: 600;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 40px;
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-section p,
.footer-section .social-links,
.footer-section .footer-link {
    margin-top: 1rem;
}

.footer-section p {
    color: #323232;
    margin: 0.5rem 0;
    font-size: 1rem;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: #323232;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #4c681a;
}

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

.footer-bottom p {
    color: #323232;
    font-size: 0.9rem;
}

.footer-link {
    display: block;
    color: #323232;
    text-decoration: none;
    margin: 0.5rem 0;
    font-size: 1rem;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-link:hover {
    color: #4c681a;
}

/* Media queries pour la responsivité */
@media (max-width: 1209px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .burger-menu {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #DDD0C8;
        padding: 2rem;
        flex-direction: column;
        align-items: flex-start;
        height: calc(100vh - 72px);
        overflow-y: auto;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        width: 100%;
        padding: 1rem 0;
        font-size: 1.4rem;
    }

    .dropdown-content {
        position: static;
        display: none;
        background-color: transparent;
        box-shadow: none;
        margin-left: 1rem;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .dropdown.active .fa-arrow-down {
        transform: rotate(180deg);
    }

    .dropdown-link {
        padding: 0.5rem 0;
    }
}

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

/* Styles pour le mode sombre */
.dark-theme .footer {
    background-color: #BAD2E0;
    border-top: none;
}

.dark-theme .footer-section h3 {
    color: #4c681a;
}

.dark-theme .footer-section p,
.dark-theme .footer-link {
    color: #323232;
}

.dark-theme .footer-bottom p {
    color: #323232;
}

.dark-theme .social-links a {
    color: #323232;
}

.dark-theme .social-links a:hover {
    color: #0A1F2E;
}

.dark-theme .footer-link:hover {
    color: #0A1F2E;
}

/* Styles pour la section contact */
.contact-section {
    padding: 8rem 2rem 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 5rem;
}
@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
@media (max-width: 480px) {
    .contact-container {
        padding: 0 0.5rem;
    }
}

/* Styles pour la partie informations de contact */
.contact-info {
    padding: 2rem;
    background: var(--background-color);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Ajout styles pour contact identique à index.html */
.contact-info h2 {
    color: #323232;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}
.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #de6b70, #4c681a);
    border-radius: 2px;
}
.contact-description {
    color: #113356;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}
.contact-item i {
    font-size: 1.5rem;
    color: #de6b70;
    background: rgba(222, 107, 112, 0.1);
    padding: 1rem;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-item h3 {
    color: #4c681a;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.contact-item p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* Styles pour le formulaire de contact */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    min-height: 500px;
    display: flex;
    flex-direction: column;
}
@media (max-width: 1024px) {
    .contact-form {
        padding: 2rem;
    }
}
@media (max-width: 768px) {
    .contact-form {
        padding: 1.5rem;
    }
}
@media (max-width: 480px) {
    .contact-form {
        padding: 1rem;
    }
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
    flex: 1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: transparent;
    box-sizing: border-box;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
    flex: 1;
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
    pointer-events: none;
    font-size: 1rem;
    background: var(--background-color);
    padding: 0 0.5rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb), 0.1);
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.8rem;
    font-size: 0.9rem;
    background: var(--background-color);
    padding: 0 0.5rem;
    color: var(--primary-color);
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: auto;
}

.submit-button:hover {
    background: var(--primary-color-dark);
    transform: translateY(-2px);
}

.submit-button:disabled {
    background: var(--disabled-color);
    cursor: not-allowed;
    transform: none;
}

/* Styles pour la carte Google Maps */
.map-container {
    width: 100%;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative !important;
    z-index: 10;
    background: transparent !important;
    overflow: visible !important;
}

/* Wrapper pour permettre l'affichage de la bordure */
.map-wrapper {
    position: relative;
    overflow: visible;
    padding: 20px;
    margin: -20px;
}

/* Reproduction exacte du style .about-image::before pour la carte */
.map-container::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid #de6b70;
    border-radius: 15px;
    z-index: 0;
    pointer-events: none;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    position: relative;
    z-index: 1;
}

/* Mode sombre */
.dark-theme .map-container::before {
    border: 2px solid #42a5f5;
}

@media (max-width: 768px) {
    .map-container::before {
        display: none;
    }
}

/* Styles pour le mode sombre */
.dark-theme {
    background: linear-gradient(135deg, #e8f4f8 0%, #d4e6f1 100%);
}

.dark-theme .contact-info,
.dark-theme .contact-form {
    background-color: white;

    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.dark-theme .contact-info h2 {
    color: #323232;
}

.dark-theme .contact-info p,
.dark-theme .contact-item p {
}

.dark-theme .form-group input,
.dark-theme .form-group textarea {
    background-color: white;
    border-color: #e0e0e0;
    color: #323232;
}

.dark-theme .form-group label {
    background-color: white !important;
    color: #42a5f5 !important;
}

.dark-theme .submit-button {
    background: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%) !important;
    color: #fff !important;
    box-shadow: 0 5px 15px rgba(25, 118, 210, 0.3) !important;
}
.dark-theme .submit-button:hover {
    background: linear-gradient(135deg, #1565c0 0%, #42a5f5 100%) !important;
    box-shadow: 0 8px 20px rgba(25, 118, 210, 0.4) !important;
}

.dark-theme .contact-info h2::after {
    background: linear-gradient(90deg, #42a5f5, #1976d2);
}

.dark-theme .contact-item i {
    color: #1976d2 !important;
}

/* Media queries pour la responsivité */
@media (max-width: 1209px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-section {
        padding: 6rem 1rem 2rem 1rem;
        min-height: auto;
    }

    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-form {
        min-height: 400px;
    }

    .contact-info h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 6rem 1rem 2rem 1rem;
    }

    .contact-info h2 {
        font-size: 1.8rem;
    }

    .contact-item {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-item i {
        font-size: 1.2rem;
        padding: 0.8rem;
    }
    
    .contact-form {
        padding: 1rem;
        min-height: 350px;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group textarea {
        min-height: 120px;
    }
}

/* === Styles du calendrier === */
.calendar-icon {
    position: fixed;
    right: 30px !important;
    bottom: 100px !important;
    width: 50px;
    height: 50px;
    background-color: #333;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
}
.calendar-icon:hover {
    transform: translateY(-5px);
    background-color: #444;
}
.calendar-icon i {
    font-size: 1.7rem !important;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.calendar-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}
.calendar-modal.active {
    display: flex;
}
.calendar-container {
    background-color: white;
    border-radius: 15px;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.calendar-title {
    font-size: 1.5rem;
    color: #323232;
    margin: 0;
}
.calendar-nav {
    background: none;
    border: none;
    color: #323232;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.3s ease;
}
.calendar-nav:hover {
    color: #4c681a;
}
.calendar-main {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.calendar-grid {
    flex: 1;
    min-width: 300px;
}
.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 10px;
}
.calendar-weekdays div {
    text-align: center;
    font-weight: bold;
    color: #323232;
    padding: 5px;
}
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}
.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    position: relative;
    background-color: #f8f8f8;
    margin: 2px;
    border: 1px solid transparent;
    color: #000000;
}
.calendar-day:hover {
    background-color: #e8e8e8;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.calendar-day.today {
    background: #DDD0C8;
    color: #323232;
    font-weight: bold;
    border: 2px solid #de6b70;
}
.calendar-day.selected {
    background: #de6b70;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(222, 107, 112, 0.3);
    border: 1px solid #de6b70;
}
.calendar-day.other-month {
    color: #ccc;
    background-color: #f5f5f5;
}
.calendar-day.has-events {
    position: relative;
    border: 1px solid #4c681a;
    background-color: rgba(76, 104, 26, 0.05);
}
.calendar-day.has-events:hover {
    border-color: #de6b70;
    background-color: rgba(222, 107, 112, 0.05);
}
.calendar-day.selected.has-events {
    border-color: white;
    background-color: #de6b70;
}
.calendar-day.today.has-events {
    border-color: #de6b70;
    background-color: #DDD0C8;
}
.calendar-day.has-events::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #4c681a;
    border-radius: 50%;
    box-shadow: 
        -8px 0 0 #4c681a,
        8px 0 0 #4c681a;
}
.calendar-day.has-events:hover::after {
    background: #de6b70;
    box-shadow: 
        -8px 0 0 #de6b70,
        8px 0 0 #de6b70;
}
.calendar-day.selected.has-events::after {
    background: white;
    box-shadow: 
        -8px 0 0 white,
        8px 0 0 white;
}
.calendar-events {
    flex: 1;
    min-width: 300px;
    background-color: #f8f8f8;
    border-radius: 15px;
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #e8e8e8;
}
.calendar-events h3 {
    font-size: 1.2rem;
    color: #323232;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #de6b70, #4c681a) 1;
}
.event-item {
    background-color: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e8e8e8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 10px;
}
.event-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}
.event-item .event-title {
    font-weight: bold;
    color: #323232;
    margin-bottom: 8px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.event-item .event-title::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #de6b70;
    border-radius: 50%;
}
.event-item .event-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
}
.no-events {
    color: #666;
    text-align: center;
    margin: 30px 0;
    font-style: italic;
    font-size: 1.1rem;
    padding: 20px;
    background-color: white;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
}
.quick-date-selector {
    background-color: #f8f8f8;
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid #e8e8e8;
}
.quick-date-selector h3 {
    font-size: 1.2rem;
    color: #323232;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #de6b70, #4c681a) 1;
}
.date-inputs {
    display: flex;
    gap: 15px;
    align-items: center;
}
.date-picker {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    font-size: 1rem;
    color: #323232;
    background-color: white;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.date-picker:focus {
    outline: none;
    border-color: #de6b70;
    box-shadow: 0 0 0 3px rgba(222, 107, 112, 0.1);
}
.date-button {
    background: linear-gradient(135deg, #de6b70 0%, #4c681a 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.date-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}
.date-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(222, 107, 112, 0.4);
}
.date-button:hover::before {
    left: 100%;
}
@media (max-width: 768px) {
    .calendar-main {
        flex-direction: column;
    }
    .calendar-grid,
    .calendar-events {
        min-width: 100%;
    }
    .date-inputs {
        flex-direction: column;
    }
    .date-button {
        width: 100%;
    }
}
.calendar-day.multi-day-event {
    background-color: rgba(76, 104, 26, 0.05);
    border: 1px solid #4c681a;
}
.calendar-day.multi-day-event:hover {
    background-color: rgba(222, 107, 112, 0.05);
    border-color: #de6b70;
}
.calendar-day.selected.multi-day-event {
    border-color: white;
    background-color: #de6b70;
}
.event-duration {
    font-size: 0.85rem;
    color: #666;
    margin-left: 8px;
    font-weight: normal;
    background-color: rgba(76, 104, 26, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
}
.event-start-date {
    font-size: 0.85rem;
    color: #666;
    margin-top: 8px;
    font-style: italic;
}

/* === Styles du calendrier en mode sombre === */
.dark-theme .calendar-day {
    color: #000000;
}

.dark-theme .calendar-day.today {
    background: #1976d2;
    color: white;
    font-weight: bold;
    border: 2px solid #42a5f5;
}

.dark-theme .calendar-day.selected {
    background: #1976d2;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
    border: 1px solid #42a5f5;
}

.dark-theme .calendar-day.selected.has-events {
    border-color: white;
    background-color: #1976d2;
}

.dark-theme .calendar-day.today.has-events {
    border-color: #42a5f5;
    background-color: #1976d2;
}

.dark-theme .calendar-day.selected.has-events::after {
    background: white;
    box-shadow: 
        -8px 0 0 white,
        8px 0 0 white;
}

.dark-theme .calendar-day.selected.multi-day-event {
    border-color: white;
    background-color: #1976d2;
}

/* === Styles des titres h3 du calendrier en mode sombre === */
.dark-theme .calendar-events h3 {
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #42a5f5, #1976d2) 1;
}

.dark-theme .quick-date-selector h3 {
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #42a5f5, #1976d2) 1;
}

/* --- Bouton retour en haut de page --- */
.back-to-top {
    position: fixed;
    right: 30px !important;
    bottom: 170px !important;
    width: 50px;
    height: 50px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1100 !important;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    transform: translateY(-5px);
    background-color: #444;
}
.back-to-top i {
    transition: transform 0.3s ease;
}
.back-to-top:hover i {
    transform: translateY(-2px);
}
@media (max-width: 768px) {
    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        bottom: 20px;
        right: 20px;
    }
}

.dark-theme .navbar {
    background-color: #BAD2E0;
}

.dark-theme .navbar-blur {
    background-color: rgba(186, 210, 224, 0.8);
}

.dark-theme .nav-link,
.dark-theme .dropdown-link {
    color: #113356;
}

.dark-theme .nav-link:hover,
.dark-theme .dropdown-link:hover {
    color: #0A1F2E;
}

.dark-theme .nav-link::after,
.dark-theme .dropdown-link::after {
    background: linear-gradient(90deg, #42a5f5, #1976d2);
}

.dark-theme .dropdown-content {
    background-color: #BAD2E0;
    border: none;
}

/* === Styles manquants pour le mode sombre === */
.dark-theme .date-button,
.dark-theme .slide-button,
.dark-theme .methode-button,
.dark-theme .methode-active-button,
.dark-theme .submit-button {
    background: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%) !important;
    color: #fff !important;
    box-shadow: 0 5px 15px rgba(25, 118, 210, 0.3) !important;
}

.dark-theme .date-button:hover,
.dark-theme .slide-button:hover,
.dark-theme .methode-button:hover,
.dark-theme .methode-active-button:hover,
.dark-theme .submit-button:hover {
    background: linear-gradient(135deg, #1565c0 0%, #42a5f5 100%) !important;
    box-shadow: 0 8px 20px rgba(25, 118, 210, 0.4) !important;
}

.dark-theme .calendar-day.other-month {
    color: #999;
    background-color: #f0f0f0;
}

.dark-theme .contact-item h3 {
    color: #113356;
}

@media (max-width: 768px) {
    .map-horizontal-line,
    .map-border {
        display: none;
    }
} 

/* Couleur explicite pour les titres de section du footer */
.footer-section h3 {
    color: #4c681a !important;
}
.dark-theme .footer-section h3 {
    color: #113356 !important;
}

/* === Styles du calendrier en mode sombre === */
.dark-theme .calendar-container {
    background-color: #BAD2E0;
    border: 1px solid #00A9BA;
}

.dark-theme .calendar-title {
    color: #113356;
}

.dark-theme .calendar-nav {
    color: #113356;
}

.dark-theme .calendar-nav:hover {
    color: #1976d2;
}

.dark-theme .calendar-weekdays div {
    color: #113356;
    font-weight: bold;
}

.dark-theme .calendar-day {
    color: #113356;
    background-color: #E8F4F8;
    border: 1px solid #B8D4E3;
}

.dark-theme .calendar-day:hover {
    background-color: #D4E6F1;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(17, 51, 86, 0.2);
}

.dark-theme .calendar-day.today {
    background: #42a5f5;
    color: white;
    font-weight: bold;
    border: 2px solid #1976d2;
}

.dark-theme .calendar-day.selected {
    background: #1976d2;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.4);
    border: 1px solid #42a5f5;
}

.dark-theme .calendar-day.other-month {
    color: #8A9BA8;
    background-color: #F0F4F7;
}

.dark-theme .calendar-day.has-events {
    border: 1px solid #1976d2;
    background-color: rgba(25, 118, 210, 0.08);
}

.dark-theme .calendar-day.has-events:hover {
    border-color: #42a5f5;
    background-color: rgba(66, 165, 245, 0.1);
}

.dark-theme .calendar-day.selected.has-events {
    border-color: white;
    background-color: #1976d2;
}

.dark-theme .calendar-day.today.has-events {
    border-color: #1976d2;
    background-color: #42a5f5;
}

.dark-theme .calendar-day.has-events::after {
    background: #1976d2;
    box-shadow: 
        -8px 0 0 #1976d2,
        8px 0 0 #1976d2;
}

.dark-theme .calendar-day.has-events:hover::after {
    background: #42a5f5;
    box-shadow: 
        -8px 0 0 #42a5f5,
        8px 0 0 #42a5f5;
}

.dark-theme .calendar-day.selected.has-events::after {
    background: white;
    box-shadow: 
        -8px 0 0 white,
        8px 0 0 white;
}

.dark-theme .calendar-day.multi-day-event {
    background-color: rgba(25, 118, 210, 0.08);
    border: 1px solid #1976d2;
}

.dark-theme .calendar-day.multi-day-event:hover {
    background-color: rgba(66, 165, 245, 0.1);
    border-color: #42a5f5;
}

.dark-theme .calendar-day.selected.multi-day-event {
    border-color: white;
    background-color: #1976d2;
}

.dark-theme .calendar-events {
    background-color: #E8F4F8;
    border: 1px solid #B8D4E3;
}

.dark-theme .calendar-events h3 {
    color: #113356;
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #42a5f5, #1976d2) 1;
}

.dark-theme .event-item {
    background-color: #F0F4F7;
    border: 1px solid #B8D4E3;
}

.dark-theme .event-item:hover {
    background-color: #E8F4F8;
    box-shadow: 0 6px 16px rgba(17, 51, 86, 0.15);
}

.dark-theme .event-item .event-title {
    color: #113356;
}

.dark-theme .event-item .event-title::before {
    background: #1976d2;
}

.dark-theme .event-item .event-description {
    color: #4A5A6B;
}

.dark-theme .no-events {
    color: #4A5A6B;
    background-color: #F0F4F7;
    border: 1px solid #B8D4E3;
}

.dark-theme .quick-date-selector {
    background-color: #E8F4F8;
    border: 1px solid #B8D4E3;
}

.dark-theme .quick-date-selector h3 {
    color: #113356;
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #42a5f5, #1976d2) 1;
}

.dark-theme .date-picker {
    background-color: #F0F4F7;
    border: 1px solid #B8D4E3;
    color: #113356;
}

.dark-theme .date-picker:focus {
    border-color: #1976d2;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

.dark-theme .date-button {
    background: linear-gradient(135deg, #42a5f5 0%, #1976d2 100%);
    color: white;
}

.dark-theme .date-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(25, 118, 210, 0.4);
    background: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%);
}

.dark-theme .event-duration {
    background-color: rgba(25, 118, 210, 0.15);
    color: #113356;
}

.dark-theme .event-start-date {
    color: #4A5A6B;
} 

.contact-info p {
    color: #113356;
}

.dark-theme .contact-item p {
    color: #113356;
} 

/* Ajout : nav-links active en mode sombre */
.dark-theme .nav-links.active {
    background-color: #BAD2E0 !important;
} 

.burger-menu {
    color: #4c681a;
}

.burger-menu:hover {
    color: #4c681a;
}

.dark-theme .burger-menu {
    color: #113356;
}

.dark-theme .burger-menu:hover {
    color: #113356;
} 

/* === Placement et style des icônes audio, calendrier et retour en haut === */
.calendar-icon,

.calendar-icon {
    right: 30px !important;
    bottom: 100px !important;
    width: 50px;
    height: 50px;
    background-color: #333;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
}


@media (max-width: 768px) {
    
}
@media (max-width: 480px) {
    
}
.dark-theme 

.back-to-top, .back-to-top.visible {
    right: 30px !important;
    bottom: 170px !important;
    z-index: 1100 !important;
}
.calendar-icon i,

.calendar-icon:hover,

@media (max-width: 768px) {
    .calendar-icon,
    
    .calendar-icon i,
    
    .calendar-icon {
        right: 70px;
    }
    
}
@media (max-width: 480px) {
    .calendar-icon,
    
    .calendar-icon i,
    
    .calendar-icon {
        right: 60px;
    }
    
} 

/* Styles pour la modale musicale et le bouton Play/Pause */


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

@keyframes popIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}







@media (max-width: 500px) {
    
    
    
}
/* Mode sombre pour la modale musicale */
.dark-theme 
.dark-theme 
.dark-theme 
.dark-theme 
.dark-theme 
.dark-theme  

/* === Bloc CSS complet et strictement identique à index.html pour les boutons flottants === */
.calendar-icon, 
.calendar-icon {
    bottom: 30px;
    right: 90px;
    cursor: pointer;
}

.back-to-top {
    bottom: 100px;
    right: 30px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    z-index: 1100;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.calendar-icon i, 
.calendar-icon:hover, 
@media (max-width: 768px) {
    .calendar-icon, 
    .calendar-icon i, 
    .calendar-icon {
        right: 70px;
    }
    
}
@media (max-width: 480px) {
    .calendar-icon, 
    .calendar-icon i, 
    .calendar-icon {
        right: 60px;
    }
    
}

.back-to-top, .back-to-top.visible {
    right: 30px !important;
    bottom: 100px !important;
    z-index: 1100 !important;
}
.calendar-icon {
    right: 30px !important;
    bottom: 100px !important;
    z-index: 1000;
}
.back-to-top, .back-to-top.visible {
    right: 30px !important;
    bottom: 170px !important;
    z-index: 1100 !important;
}
/* === Fin du bloc CSS boutons flottants === */ 
