/* 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); }
}

/* Mobile Menu & Overlay */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-menu.active,
.mobile-menu.translate-x-0 {
    transform: translateX(0);
}

.mobile-menu.translate-x-full {
    transform: translateX(100%);
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* FAQ Accordion */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), padding 0.4s ease;
}

.faq-content.active {
    max-height: 600px;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-icon.rotate-180 {
    transform: rotate(180deg);
}

/* Glass Effect */
.glass {
    background: rgba(255,255,255,0.9);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #F97316 0%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Scrollbar Custom */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #F97316, #EA580C);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #EA580C, #C2410C);
}
