@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

* {
    font-family: 'Inter', sans-serif;
}

.hero-gradient {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

.taxi-stripe {
    background: repeating-linear-gradient( 45deg, #000000, #000000 20px, #FFD700 20px, #FFD700 40px );
    height: 4px;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .hover-lift:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    }

@keyframes pulse-yellow {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.pulse-yellow {
    animation: pulse-yellow 2s ease-in-out infinite;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    aspect-ratio: 4/3;
}

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .gallery-item:hover img {
        transform: scale(1.1);
    }

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 2rem;
}

    .lightbox.active {
        display: flex;
    }

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

    .lightbox-content img {
        max-width: 100%;
        max-height: 85vh;
        object-fit: contain;
        border-radius: 8px;
    }

.lightbox-close {
    position: absolute;
    top: -3rem;
    right: 0;
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    transition: transform 0.2s ease;
}

    .lightbox-close:hover {
        transform: scale(1.2);
    }

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 215, 0, 0.9);
    border: none;
    color: black;
    font-size: 2rem;
    cursor: pointer;
    padding: 1rem 1.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

    .lightbox-nav:hover {
        background: #FFD700;
        transform: translateY(-50%) scale(1.1);
    }

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

.lightbox-caption {
    text-align: center;
    color: white;
    margin-top: 1rem;
    font-size: 1.125rem;
}

.filter-btn {
    transition: all 0.3s ease;
}

    .filter-btn.active {
        background: #FFD700;
        color: black;
    }

/* --- Regole aggiunte da blocchi <style> inline --- */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #FFD700, #FFA500);
}
@media (max-width: 768px) {
    .timeline-line {
        left: 20px;
    }
}
.monaco-gradient {
    background: linear-gradient(135deg, #c41e3a 0%, #8b0000 100%);
}
.nice-gradient {
    background: linear-gradient(135deg, #0066cc 0%, #0047ab 100%);
}

/* Video Intro Styles */
#videoIntro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000000;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    cursor: pointer;
}

#videoIntro.active {
    opacity: 1;
}

#videoIntro.hiding {
    opacity: 0;
}

#videoIntro video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.skip-intro {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: rgba(255, 215, 0, 0.9);
    color: #000;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    opacity: 0;
    animation: fadeInDelay 0.5s ease-in-out 1s forwards;
    transition: all 0.3s ease;
}

.skip-intro:hover {
    background: #FFD700;
    transform: scale(1.05);
}

@keyframes fadeInDelay {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
