/* Estate INPSieme Guida al Bando 2026 - Styles */

/* Container Responsive */
.container-fluid {
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container-fluid { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
    .container-fluid { padding: 0 2rem; }
}

@media (min-width: 1280px) {
    .container-fluid { max-width: 1280px; }
}

@media (min-width: 1536px) {
    .container-fluid { max-width: 1400px; }
}

/* Image Effects */
.img-zoom {
    overflow: hidden;
}

.img-zoom img {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.img-zoom:hover img {
    transform: scale(1.05);
}

/* Card Hover Effect */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(0,0,0,0.15);
}

/* Timeline Horizontal Scroll */
.timeline-scroll {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding-bottom: 2rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.timeline-item {
    flex: 0 0 auto;
    width: 85vw;
    max-width: 320px;
    scroll-snap-align: center;
}

@media (min-width: 768px) {
    .timeline-item {
        scroll-snap-align: start;
    }
}

/* Check List Style */
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.check-list li::before {
    content: '✓';
    color: #10B981;
    font-weight: 800;
    min-width: 1.25rem;
}

/* Badge Float Animation */
.badge-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Blob Background Animations */
.blob-orange {
    background: radial-gradient(circle, rgba(249,115,22,0.3) 0%, transparent 70%);
    animation: blob 7s infinite;
}

.blob-blue {
    background: radial-gradient(circle, rgba(59,130,246,0.2) 0%, transparent 70%);
    animation: blob 7s infinite;
    animation-delay: 2s;
}

@keyframes blob {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}
