
* {
    font-family: 'Poppins', sans-serif;
}

.romantic-font {
    font-family: 'Great Vibes', cursive;
}

/* Configurazione colori custom Tailwind */
:root {
    --primary: #8B7355;
    --secondary: #F5F5DC;
}

/* Animazione pulsante WhatsApp */
@keyframes pulse-soft {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.pulse-whatsapp {
    animation: pulse-soft 2s ease-in-out infinite;
}

/* Animazioni on-scroll - inizialmente nascosti */
.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-down {
    opacity: 0;
    transform: translateY(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

/* Classe attiva quando elemento è visibile */
.is-visible {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

/* Slider progress indicator */
.slider-indicator {
    width: 8px;
    height: 8px;
    background: #F5F5DC;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.slider-indicator.active {
    width: 40px;
    border-radius: 20px;
    background: #F5F5DC;
    position: relative;
    overflow: hidden;
}

.slider-indicator.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #8B7355;
    animation: progressBar 4s linear;
}

@keyframes progressBar {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Slider fullscreen */
.hero-slider {
    height: 100vh;
    width: 100vw;
    position: relative;
    overflow: hidden !important;
}
body, html {
    overflow-x: hidden !important;
    max-width: 100vw;
}

#slider {
    width: 125%; /* 4 immagini × 100% */
}

.min-w-full {
    min-width: 100vw;
    width: 100vw;
}

.slider-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    width: 90%;
}

/* Transizioni smooth */
.smooth-scroll {
    scroll-behavior: smooth;
}

/* Google Maps responsive */
.map-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 12px;
}

/* Navbar trasparente su hero */
.navbar-transparent {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* Navbar */
.navbar-solid {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 0px 0px 16px 16px;
}

/* Gallery grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 12px;
}

.gallery-item:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }
}