/* ============================================
   TICINO-EVENT - CSS MODERNO COMPLETO
   ============================================ */

/* ==================== VARIABILI CSS ==================== */
:root {
    /* Colori principali */
    --color-primary: #ff5733;
    --color-primary-dark: #cc4627;
    --color-secondary: #ffd700;
    --color-accent: #ff8c42;
    
    /* Colori neutri */
    --color-dark: #0a0a0a;
    --color-dark-light: #1a1a1a;
    --color-gray: #333333;
    --color-gray-light: #b3b3b3;
    --color-light: #f5f5f5;
    --color-white: #ffffff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #ff5733 0%, #ff8c42 100%);
    --gradient-dark: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(10,10,10,0.8) 0%, rgba(255,87,51,0.3) 100%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.2);
    --shadow-glow: 0 0 30px rgba(255,87,51,0.3);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ==================== RESET ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--color-dark);
    color: var(--color-light);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ==================== UTILITY CLASSES ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ==================== NAVBAR ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition-normal);
}

.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-normal);
}

.nav-logo:hover {
    transform: translateY(-2px);
}

.nav-logo:hover .logo-img {
    filter: brightness(1.1);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    position: relative;
    color: var(--color-light);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    transition: var(--transition-normal);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 3px;
    transition: var(--transition-normal);
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--color-dark);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 87, 51, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 140, 66, 0.15) 0%, transparent 50%),
        linear-gradient(180deg, var(--color-dark) 0%, var(--color-dark-light) 100%);
    animation: heroGradient 10s ease infinite;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://source.unsplash.com/1920x1080/?dj,concert,music') no-repeat center center/cover;
    opacity: 0.15;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: rgba(255, 87, 51, 0.15);
    border: 1px solid rgba(255, 87, 51, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    animation: slideDown 0.8s ease-out 0.2s backwards;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-title-main {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
    line-height: 1;
    animation: slideDown 0.8s ease-out 0.3s backwards;
}

.hero-title-sub {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 400;
    color: var(--color-light);
    letter-spacing: 2px;
    animation: slideDown 0.8s ease-out 0.4s backwards;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--color-gray-light);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition-normal);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(255, 87, 51, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(255, 87, 51, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-primary);
    transform: translateY(-3px);
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s ease-in-out infinite;
}

.hero-scroll i {
    font-size: 2rem;
    color: var(--color-primary);
}

/* ==================== SECTION HEADERS ==================== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 0.8s ease-out;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 87, 51, 0.1);
    border: 1px solid rgba(255, 87, 51, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--color-gray-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ==================== CHI SONO SECTION ==================== */
.section-about {
    padding: var(--spacing-xl) 0;
    background: var(--color-dark-light);
    position: relative;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
}

.about-intro {
    font-size: 1.3rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--color-gray-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-normal);
    cursor: default;
}

.feature-item:hover {
    background: rgba(255, 87, 51, 0.05);
    border-color: rgba(255, 87, 51, 0.3);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.feature-item i {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    display: block;
    transition: var(--transition-normal);
}

.feature-item:hover i {
    transform: scale(1.1) rotate(5deg);
}

.feature-item h4 {
    font-size: 1.3rem;
    color: var(--color-white);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.feature-item p {
    font-size: 1rem;
    color: var(--color-gray-light);
    margin: 0;
}

.about-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    padding: 1.5rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-white);
}

.about-location i {
    font-size: 1.5rem;
}

/* ==================== SERVIZI SECTION ==================== */
.section-services {
    padding: var(--spacing-xl) 0;
    background: var(--color-dark);
}

/* Tabs Navigation */
.tabs-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.8rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--color-gray-light);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 87, 51, 0.3);
    color: var(--color-white);
}

.tab-btn.active {
    background: var(--gradient-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-glow);
}

/* Tab Content */
.tabs-content {
    position: relative;
}

.tab-pane {
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.tab-pane.active {
    display: block;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Service Card */
.service-card {
    background: var(--color-dark-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 87, 51, 0.5);
    box-shadow: var(--shadow-lg);
}

.service-card-featured {
    border: 2px solid var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-dark);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50px;
    z-index: 10;
}

.badge-popular {
    background: var(--gradient-primary);
    color: var(--color-white);
}

.badge-complete {
    background: var(--color-secondary);
    color: var(--color-dark);
}

.service-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(10,10,10,0.7) 100%);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 2rem;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--color-gray-light);
    font-size: 0.95rem;
}

.service-features i {
    color: var(--color-primary);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.service-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.price-label {
    font-size: 1rem;
    color: var(--color-gray-light);
}

.price-value {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-card {
    display: block;
    width: 100%;
    padding: 1rem;
    text-align: center;
    background: rgba(255, 87, 51, 0.1);
    border: 2px solid rgba(255, 87, 51, 0.3);
    color: var(--color-primary);
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition-normal);
}

.btn-card:hover {
    background: var(--gradient-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-card-featured {
    background: var(--gradient-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.btn-card-featured:hover {
    box-shadow: var(--shadow-glow);
}

/* ==================== GALLERIA SECTION ==================== */
.section-gallery {
    padding: var(--spacing-xl) 0;
    background: var(--color-dark-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    height: 300px;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(255,87,51,0.8) 100%);
    opacity: 0;
    transition: var(--transition-normal);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.15);
}

/* ==================== FAQ SECTION ==================== */
.section-faq {
    padding: var(--spacing-xl) 0;
    background: var(--color-dark);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-dark-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-item:hover {
    border-color: rgba(255, 87, 51, 0.3);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.faq-question:hover {
    background: rgba(255, 87, 51, 0.05);
}

.faq-question h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    margin: 0;
}

.faq-question i {
    color: var(--color-primary);
    font-size: 1.2rem;
    transition: var(--transition-normal);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 2rem 1.5rem 2rem;
    color: var(--color-gray-light);
    line-height: 1.8;
    margin: 0;
}

/* ==================== CONTATTI SECTION ==================== */
.section-contact {
    padding: var(--spacing-xl) 0;
    background: var(--color-dark-light);
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.contact-item:hover {
    background: rgba(255, 87, 51, 0.05);
    border-color: rgba(255, 87, 51, 0.3);
    transform: translateX(10px);
}

.contact-item i {
    font-size: 2rem;
    color: var(--color-primary);
    margin-top: 0.3rem;
}

.contact-item h4 {
    font-size: 1.2rem;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item a,
.contact-item p {
    font-size: 1.1rem;
    color: var(--color-gray-light);
    margin: 0;
}

.contact-item a:hover {
    color: var(--color-primary);
}

.contact-social {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.8rem;
    transition: var(--transition-normal);
}

.social-link.whatsapp {
    color: #25D366;
}

.social-link.telegram {
    color: #0088cc;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-md);
}

.social-link.whatsapp:hover {
    background: #25D366;
    color: var(--color-white);
    border-color: #25D366;
}

.social-link.telegram:hover {
    background: #0088cc;
    color: var(--color-white);
    border-color: #0088cc;
}

/* ==================== FOOTER ==================== */
.footer {
    padding: 3rem 0;
    background: var(--color-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Logo nel footer - centrato */
.footer .nav-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5rem;
}

.footer .logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.footer p {
    color: var(--color-gray-light);
    margin: 0.5rem 0;
}

.footer-tagline {
    font-size: 1.1rem;
    color: var(--color-primary);
    font-weight: 600;
}

/* ==================== WHATSAPP FLOATING BUTTON ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    cursor: pointer;
    transition: var(--transition-normal);
    opacity: 0;
    transform: scale(0);
    animation: fadeInScale 0.5s ease-out 1s forwards;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    z-index: -1;
    animation: pulse-ring 2s ease-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:active {
    transform: scale(0.95);
}

.whatsapp-float i {
    animation: wiggle 1s ease-in-out infinite;
}

/* Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: 80px;
    background: var(--color-white);
    color: var(--color-dark);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
    transform: translateX(10px);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid var(--color-white);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Stato nascosto */
.whatsapp-float.hidden {
    opacity: 0;
    transform: scale(0);
    pointer-events: none;
}

/* ==================== ANIMAZIONI ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

@keyframes heroGradient {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.2);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

@keyframes wiggle {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(10deg);
    }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }
    
    .logo-img {
        height: 55px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 3rem 2rem;
        gap: 2rem;
        transition: var(--transition-normal);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
    
    .hero {
        height: 100vh;
        padding: 0 1rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-about,
    .section-services,
    .section-gallery,
    .section-faq,
    .section-contact {
        padding: var(--spacing-lg) 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tabs-navigation {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tab-btn {
        width: 100%;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-item:hover {
        transform: translateY(-5px);
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    
    .whatsapp-tooltip {
        right: auto;
        bottom: 75px;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
    }
    
    .whatsapp-tooltip::after {
        right: auto;
        left: 50%;
        top: auto;
        bottom: -8px;
        transform: translateX(-50%);
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-top: 8px solid var(--color-white);
        border-bottom: none;
    }
    
    .whatsapp-float:hover .whatsapp-tooltip {
        transform: translateX(-50%) translateY(0);
    }
    
    .footer {
        padding: 2rem 0;
    }
    
    .footer .logo-img {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 45px;
    }
    
    .btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .service-content {
        padding: 1.5rem;
    }
    
    .faq-question {
        padding: 1.2rem 1.5rem;
    }
    
    .faq-answer p {
        padding: 0 1.5rem 1.2rem 1.5rem;
    }
    
    .contact-item {
        padding: 1.5rem;
    }
}

/* ==================== SCROLL ANIMATIONS ==================== */
@media (prefers-reduced-motion: no-preference) {
    .section-header,
    .feature-item,
    .service-card,
    .gallery-item,
    .faq-item,
    .contact-item {
        opacity: 0;
        animation: fadeInUp 0.8s ease-out forwards;
    }
    
    .feature-item:nth-child(1) { animation-delay: 0.1s; }
    .feature-item:nth-child(2) { animation-delay: 0.2s; }
    .feature-item:nth-child(3) { animation-delay: 0.3s; }
    .feature-item:nth-child(4) { animation-delay: 0.4s; }
    
    .service-card:nth-child(1) { animation-delay: 0.1s; }
    .service-card:nth-child(2) { animation-delay: 0.2s; }
    .service-card:nth-child(3) { animation-delay: 0.3s; }
    .service-card:nth-child(4) { animation-delay: 0.4s; }
}

/* Nascondi su stampa */
@media print {
    .whatsapp-float {
        display: none;
    }
}