/* Base styles */
html {
    scroll-behavior: smooth;
}

* {
    font-family: "Nunito Sans", sans-serif;
}

::-webkit-scrollbar {
    display: none;
}

/* Utility classes */
.highlighted-section {
    outline: 2px solid #02648c;
    background-color: rgba(2, 100, 140, 0.1);
}

.edit-button {
    position: absolute;
    z-index: 1000;
}

/* Navigation active state */
.active-nav-link {
    position: relative;
}

.active-nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #02648c;
}

/* Mobile menu styles */
#mobile-menu {
    transition: all 0.3s ease-in-out;
    opacity: 0;
    transform: translateY(-20px);
    max-height: 0;
    overflow: hidden;
}

#mobile-menu.hidden {
    opacity: 0;
    transform: translateY(-20px);
    max-height: 0;
}

#mobile-menu:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
    max-height: 500px;
}

#mobile-menu a {
    transition: color 0.2s ease, background-color 0.2s ease;
    border-left: 4px solid transparent;
}

#mobile-menu a:hover, 
#mobile-menu a.active-nav-link {
    border-left: 4px solid #02648c;
    background-color: rgba(2, 100, 140, 0.05);
}

/* Styles pour le menu mobile */
#mobile-menu {
    transform: translateY(-20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
#mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
}

/* Styles pour les liens actifs dans la navigation */
.active-nav-link {
    position: relative;
}
.active-nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #02648c;
}

/* Styles pour le carrousel */
.carousel-slide {
    transition: opacity 0.5s ease;
}

#carousel-dots {
    margin-top: 20px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    border: none;
    margin: 0 5px;
    transition: background-color 0.3s ease;
}

.carousel-dot.active {
    background-color: #02648c;
}

#carousel-prev, #carousel-next {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

#carousel-prev:hover, #carousel-next:hover {
    background-color: #f0f0f0;
    transform: scale(1.1) translateY(-50%);
}

#carousel-prev:hover {
    transform: scale(1.1) translateY(-50%) translateX(-12px);
}

#carousel-next:hover {
    transform: scale(1.1) translateY(-50%) translateX(12px);
}

/* Styles pour le carrousel Slick */
.carousel-slide {
    margin: 10px;
    height: auto;
    padding: 30px;
    border-radius: 16px;
}

/* Personnalisation des flèches de navigation */
.slick-prev, .slick-next {
    width: 40px;
    height: 40px;
    background: transparent;
    z-index: 10;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.custom-nav:before {
    display: none !important;
}

.slick-prev {
    left: -60px;
}

.slick-next {
    right: -60px;
}

.slick-prev:hover, .slick-next:hover {
    background: transparent;
}

.slick-prev:before, .slick-next:before {
    display: none !important;
    content: '' !important;
    opacity: 0 !important;
}

.slick-prev i, .slick-next i {
    color: #02648c;
    font-size: 30px;
}

.slick-prev, .slick-next {
    opacity: 1;
}

/* Styles spécifiques pour masquer complètement les flèches par défaut de Slick */
button.slick-arrow::before {
    display: none !important;
    content: '' !important;
    opacity: 0 !important;
}

.slick-arrow::before {
    display: none !important;
    content: '' !important;
    opacity: 0 !important;
}

button.slick-prev::before,
button.slick-next::before {
    display: none !important;
    content: '' !important;
    opacity: 0 !important;
}

/* Supprimer les styles des thèmes de Slick qui pourraient interférer */
.slick-theme button::before,
.slick-theme .slick-arrow::before {
    display: none !important;
    content: '' !important;
    opacity: 0 !important;
}

/* Personnalisation des points indicateurs */
.slick-dots {
    bottom: -40px;
}

.slick-dots li button:before {
    font-size: 12px;
    color: #ddd;
    opacity: 1;
}

.slick-dots li.slick-active button:before {
    color: #02648c;
}

/* Style pour les transitions */
.slick-slider .slick-track {
    display: flex;
    align-items: stretch;
}

.slick-slide {
    height: auto; /* Pour que tous les slides aient la même hauteur */
}

p {
    text-align: justify;
}

/* Style responsive */
@media (max-width: 1024px) {
    .slick-prev, .slick-next {
        display: none !important;
    }
    
    #prices-carousel {
        padding: 0 10px;
    }
    
    .carousel-slide {
        padding: 20px;
    }
}
