/* =============================================
   Custom CSS — Portes de Vichy
   Styles que Tailwind CDN ne peut pas gérer
   ============================================= */

/* Scroll fluide */
html {
    scroll-behavior: smooth;
}

/* Lightbox */
#lightbox {
    backdrop-filter: blur(4px);
}

#lightbox img {
    transition: opacity 0.3s ease;
}

/* Galerie — hover sur les figures */
figure[data-lightbox] {
    cursor: zoom-in;
}

/* Body min-height pour le footer sticky */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body > main {
    flex: 1;
}

/* Transition de page */
main {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Carousel */
.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    padding: 0;
}

.carousel-dot.active {
    background: #fff;
    transform: scale(1.3);
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Print */
@media print {
    nav, footer, #lightbox, .no-print {
        display: none !important;
    }
}
