/* ===== LEGEND GARAGE - PERFORMANCE OPTIMIZED ===== */ /* Reset and Base Styles */ * { margin: 0; padding: 0; box-sizing: border-box; } :root { --primary-orange: #CC5500; --dark-orange: #AA4400; --light-orange: #FF7722; --accent-orange: #FF8833; --neon-orange: #FF9944; --dark-bg: #0a0a0a; --darker-bg: #050505; --text-light: #ffffff; --text-gray: #cccccc; --text-dark: #333333; --gold: #FFD700; --steel: #4A4A4A; --chrome: #C0C0C0; --fire-red: #FF4500; --electric-blue: #00BFFF; --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); --glow-shadow: 0 0 20px var(--primary-orange), 0 0 40px var(--primary-orange), 0 0 60px var(--primary-orange); } html { scroll-behavior: smooth; } body { font-family: 'Roboto', sans-serif; line-height: 1.6; color: var(--text-light); background: var(--darker-bg); overflow-x: hidden; position: relative; } /* ===== PRELOADER ULTRA-VELOCE ===== */ .cinematic-preloader { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%); display: flex; justify-content: center; align-items: center; z-index: 10000; overflow: hidden; } .preloader-content { position: fixed; text-align: center; z-index: 2; width: auto; max-width: none; padding: 0; } .harley-logo-3d { position: relative; animation: logoFloat 3s ease-in-out infinite; } .harley-logo-3d h1 { font-family: 'Orbitron', monospace; font-size: 4rem; font-weight: 900; color: var(--primary-orange); text-shadow: 0 0 10px var(--primary-orange), 0 0 20px var(--primary-orange), 0 0 40px var(--primary-orange); letter-spacing: 8px; margin-bottom: 2rem; white-space: nowrap; } .logo-flames { position: absolute; top: -20px; left: 0; right: 0; height: 60px; background: linear-gradient(45deg, transparent 0%, var(--fire-red) 25%, var(--primary-orange) 50%, var(--neon-orange) 75%, transparent 100%); filter: blur(15px); opacity: 0.7; } .loading-bar { width: 300px; height: 4px; background: rgba(255, 255, 255, 0.1); border-radius: 2px; overflow: hidden; margin: 2rem auto; position: relative; } .loading-progress { height: 100%; background: linear-gradient(90deg, var(--primary-orange), var(--neon-orange)); border-radius: 2px; width: 0%; transition: width 0.3s ease; } .loading-text { color: var(--text-gray); font-family: 'Orbitron', monospace; font-size: 0.9rem; letter-spacing: 2px; } .audio-trigger { background: linear-gradient(45deg, var(--primary-orange), var(--neon-orange)); border: 2px solid var(--primary-orange); color: white; padding: 12px 24px; margin-top: 2rem; border-radius: 25px; font-family: 'Orbitron', monospace; font-size: 0.8rem; font-weight: 700; letter-spacing: 1px; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; gap: 8px; text-transform: uppercase; box-shadow: 0 4px 15px rgba(204, 85, 0, 0.4); animation: audioPulse 2s infinite; } .audio-trigger:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 8px 25px rgba(204, 85, 0, 0.6); } .audio-trigger.active { background: linear-gradient(45deg, #28a745, #20c997); border-color: #28a745; animation: none; } .audio-trigger i { font-size: 1rem; } @keyframes audioPulse { 0%, 100% { box-shadow: 0 4px 15px rgba(204, 85, 0, 0.4); transform: scale(1); } 50% { box-shadow: 0 4px 25px rgba(204, 85, 0, 0.8); transform: scale(1.02); } } @keyframes logoFloat { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-20px); } } /* ===== NAVIGATION ESSENZIALE ===== */ .navbar { position: fixed; top: 0; width: 100%; background: rgba(5, 5, 5, 0.9); backdrop-filter: blur(20px); z-index: 1000; padding: 1rem 0; transition: all 0.3s ease; border-bottom: 1px solid rgba(204, 85, 0, 0.2); } .navbar.scrolled { background: rgba(5, 5, 5, 0.95); box-shadow: 0 8px 32px rgba(204, 85, 0, 0.3); } .nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto; padding: 0 20px; } .nav-logo h2 { color: var(--primary-orange); font-size: 2rem; letter-spacing: 3px; text-shadow: 0 0 20px var(--primary-orange); } .nav-logo span { font-size: 0.8rem; color: var(--text-gray); display: block; text-transform: uppercase; letter-spacing: 2px; font-family: 'Orbitron', monospace; } .nav-menu { display: flex; gap: 3rem; align-items: center; } .nav-link { color: var(--text-light); text-decoration: none; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s ease; position: relative; padding: 0.5rem 1rem; font-family: 'Orbitron', monospace; } .nav-link:hover { color: var(--primary-orange); text-shadow: 0 0 10px var(--primary-orange); transform: translateY(-2px); } /* ===== HERO SECTION OTTIMIZZATA ===== */ .hero { height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; background: var(--darker-bg); } .hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: url('img/sfondo.png'); background-size: cover; background-position: center; background-repeat: no-repeat; filter: blur(8px); z-index: 1; transform: scale(1.1); } .hero::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient( 45deg, rgba(5, 5, 5, 0.7) 0%, rgba(204, 85, 0, 0.3) 30%, rgba(255, 69, 0, 0.2) 70%, rgba(5, 5, 5, 0.8) 100% ); z-index: 2; } .hero-content { text-align: center; z-index: 3; position: relative; } .hero-title { font-size: 6rem; color: var(--primary-orange); margin-bottom: 1rem; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 30px var(--primary-orange); letter-spacing: 6px; font-family: 'Orbitron', monospace; font-weight: 900; } .hero-subtitle { font-size: 1.8rem; color: var(--gold); margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 3px; font-weight: 300; text-shadow: 0 0 20px var(--gold); } .hero-description { font-size: 1.2rem; color: var(--text-gray); margin-bottom: 3rem; max-width: 700px; margin-left: auto; margin-right: auto; line-height: 1.8; } .cta-button { background: linear-gradient(45deg, var(--primary-orange), var(--neon-orange)); color: white; border: none; padding: 20px 50px; font-size: 1.2rem; font-weight: bold; text-transform: uppercase; letter-spacing: 2px; cursor: pointer; border-radius: 50px; transition: all 0.3s ease; box-shadow: 0 8px 25px rgba(204, 85, 0, 0.4); font-family: 'Orbitron', monospace; } .cta-button:hover { transform: translateY(-5px) scale(1.05); box-shadow: 0 15px 35px rgba(204, 85, 0, 0.6); } .scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); color: var(--primary-orange); font-size: 2rem; animation: scrollBounce 2s infinite; cursor: pointer; } @keyframes scrollBounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); } 40% { transform: translateY(-15px) translateX(-50%); } 60% { transform: translateY(-8px) translateX(-50%); } } /* ===== TYPOGRAPHY ===== */ .section-title { font-size: 4rem; text-align: center; margin-bottom: 4rem; color: var(--primary-orange); position: relative; text-transform: uppercase; letter-spacing: 4px; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); } .section-title::after { content: ''; position: absolute; bottom: -15px; left: 50%; transform: translateX(-50%); width: 150px; height: 4px; background: linear-gradient(90deg, var(--primary-orange), var(--neon-orange), var(--primary-orange)); border-radius: 2px; } /* ===== SEZIONI OTTIMIZZATE ===== */ .about, .services, .gallery, .contact { padding: 120px 0; position: relative; } .about { background: linear-gradient(135deg, var(--darker-bg) 0%, #1a1a1a 50%, var(--darker-bg) 100%); } .services { background: linear-gradient(135deg, var(--dark-bg) 0%, #2a2a2a 50%, var(--dark-bg) 100%); } .gallery { background: linear-gradient(135deg, var(--darker-bg) 0%, #1a1a1a 50%, var(--darker-bg) 100%); } .contact { background: linear-gradient(135deg, var(--dark-bg) 0%, #2a2a2a 50%, var(--dark-bg) 100%); } .container { max-width: 1400px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; } /* ===== ABOUT SECTION ===== */ .about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; } .about-text h3 { font-size: 3rem; color: var(--primary-orange); margin-bottom: 2rem; text-transform: uppercase; letter-spacing: 2px; } .about-text p { font-size: 1.2rem; color: var(--text-gray); margin-bottom: 2rem; line-height: 2; } .stats { display: flex; gap: 3rem; margin-top: 3rem; } .stat { text-align: center; padding: 2rem; background: rgba(204, 85, 0, 0.1); border-radius: 15px; border: 1px solid rgba(204, 85, 0, 0.3); transition: all 0.3s ease; } .stat:hover { transform: translateY(-10px); background: rgba(204, 85, 0, 0.2); } .stat h4 { font-size: 3rem; color: var(--primary-orange); margin-bottom: 1rem; font-family: 'Orbitron', monospace; font-weight: 900; min-width: 120px; font-variant-numeric: tabular-nums; text-align: center; display: inline-block; } .stat p { color: var(--text-gray); text-transform: uppercase; letter-spacing: 1px; } .image-placeholder { width: 100%; height: 400px; background: linear-gradient(45deg, var(--steel), var(--primary-orange)); border: 2px solid var(--primary-orange); border-radius: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--primary-orange); font-size: 4rem; transition: all 0.3s ease; } .image-placeholder:hover { transform: scale(1.05); box-shadow: 0 25px 50px rgba(204, 85, 0, 0.4); } .image-placeholder p { font-size: 1.2rem; margin-top: 1.5rem; text-transform: uppercase; letter-spacing: 2px; font-family: 'Orbitron', monospace; } /* ===== SERVICES SECTION ===== */ .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 3rem; } .service-card { background: linear-gradient(145deg, rgba(204, 85, 0, 0.1), rgba(255, 255, 255, 0.05)); padding: 3rem; border-radius: 20px; text-align: center; transition: all 0.3s ease; border: 1px solid rgba(204, 85, 0, 0.3); position: relative; overflow: hidden; } .service-card:hover { transform: translateY(-20px); box-shadow: 0 25px 50px rgba(204, 85, 0, 0.3); } .service-icon { font-size: 4rem; color: var(--primary-orange); margin-bottom: 2rem; text-shadow: 0 0 30px var(--primary-orange); } .service-card h3 { font-size: 1.8rem; color: var(--text-light); margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 2px; } .service-card p { color: var(--text-gray); line-height: 1.8; font-size: 1.1rem; } /* ===== GALLERY SECTION ===== */ .gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; } .gallery-item { position: relative; overflow: hidden; border-radius: 20px; transition: all 0.3s ease; } .gallery-item:hover { transform: scale(1.05); z-index: 10; } .gallery-item .image-placeholder { height: 300px; background: linear-gradient(45deg, var(--steel), var(--primary-orange)); display: flex; flex-direction: column; align-items: center; justify-content: center; color: white; font-size: 3rem; } /* ===== CONTACT SECTION ===== */ .contact-content { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; } .contact-info h3, .contact-form h3 { font-size: 2.5rem; color: var(--primary-orange); margin-bottom: 3rem; text-transform: uppercase; letter-spacing: 2px; } .info-item { display: flex; align-items: flex-start; margin-bottom: 3rem; padding: 2rem; background: rgba(204, 85, 0, 0.1); border-radius: 15px; border: 1px solid rgba(204, 85, 0, 0.3); transition: all 0.3s ease; } .info-item:hover { transform: translateX(10px); background: rgba(204, 85, 0, 0.2); } .info-item i { font-size: 2rem; color: var(--primary-orange); margin-right: 1.5rem; margin-top: 0.5rem; } .info-item strong { color: var(--text-light); display: block; margin-bottom: 0.5rem; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 1px; } .info-item p { color: var(--text-gray); line-height: 1.6; font-size: 1.1rem; } .contact-form { background: linear-gradient(145deg, rgba(204, 85, 0, 0.1), rgba(255, 255, 255, 0.05)); padding: 3rem; border-radius: 20px; border: 1px solid rgba(204, 85, 0, 0.3); } .contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 1.5rem; margin-bottom: 2rem; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(204, 85, 0, 0.5); border-radius: 10px; color: var(--text-light); font-size: 1.1rem; transition: all 0.3s ease; font-family: 'Orbitron', monospace; } .contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary-orange); box-shadow: 0 0 20px rgba(204, 85, 0, 0.4); } .submit-btn { width: 100%; background: linear-gradient(45deg, var(--primary-orange), var(--neon-orange)); color: white; border: none; padding: 1.5rem; font-size: 1.2rem; font-weight: bold; text-transform: uppercase; letter-spacing: 2px; cursor: pointer; border-radius: 10px; transition: all 0.3s ease; font-family: 'Orbitron', monospace; } .submit-btn:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(204, 85, 0, 0.4); } /* ===== FOOTER ===== */ .footer { background: linear-gradient(135deg, var(--darker-bg) 0%, #1a1a1a 100%); padding: 4rem 0 2rem; border-top: 1px solid rgba(204, 85, 0, 0.3); } .footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3rem; margin-bottom: 3rem; } .footer-logo h3 { color: var(--primary-orange); font-size: 2rem; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 2px; } .footer-logo p { color: var(--text-gray); font-size: 1.1rem; line-height: 1.6; } .footer-links a { color: var(--text-gray); text-decoration: none; display: block; margin-bottom: 1rem; transition: all 0.3s ease; font-size: 1.1rem; } .footer-links a:hover { color: var(--primary-orange); transform: translateX(10px); } .social-links { display: flex; gap: 1.5rem; } .social-links a { color: var(--text-gray); font-size: 2rem; transition: all 0.3s ease; padding: 1rem; border-radius: 50%; background: rgba(204, 85, 0, 0.1); border: 1px solid rgba(204, 85, 0, 0.3); } .social-links a:hover { color: var(--primary-orange); transform: translateY(-5px); background: rgba(204, 85, 0, 0.2); } .footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(204, 85, 0, 0.2); color: var(--text-gray); font-size: 1.1rem; } /* ===== ANIMAZIONI CSS PERFORMANCE-OPTIMIZED ===== */ .animate-in { animation: slideInUp 0.8s ease-out forwards; } .service-card.animate-in { animation: slideInScale 0.6s ease-out forwards; } .gallery-item.animate-in { animation: fadeInScale 0.5s ease-out forwards; } .section-title.animate-in { animation: titleReveal 1s ease-out forwards; } @keyframes slideInUp { 0% { opacity: 0; transform: translateY(50px); } 100% { opacity: 1; transform: translateY(0); } } @keyframes slideInScale { 0% { opacity: 0; transform: translateY(30px) scale(0.9); } 100% { opacity: 1; transform: translateY(0) scale(1); } } @keyframes fadeInScale { 0% { opacity: 0; transform: scale(0.8); } 100% { opacity: 1; transform: scale(1); } } @keyframes titleReveal { 0% { opacity: 0; transform: translateY(50px) scale(0.8); } 100% { opacity: 1; transform: translateY(0) scale(1); } } /* ===== HAMBURGER MENU ===== */ .hamburger { display: none; flex-direction: column; cursor: pointer; padding: 0.5rem; } .hamburger span { width: 30px; height: 3px; background: var(--primary-orange); margin: 4px 0; transition: all 0.3s ease; border-radius: 2px; } .hamburger.active span:nth-child(2) { opacity: 0; } .hamburger.active span:nth-child(1) { transform: translateY(11px) rotate(45deg); } .hamburger.active span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); } /* ===== RESPONSIVE DESIGN OTTIMIZZATO ===== */ /* Large Desktop */ @media (max-width: 1440px) { .container { max-width: 1200px; } .nav-container { max-width: 1200px; } } /* Medium Desktop */ @media (max-width: 1200px) { .hero-title { font-size: 5rem; } .section-title { font-size: 3.5rem; } .about-content { gap: 5rem; } .contact-content { gap: 5rem; } .stats { gap: 2.5rem; } .services-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } } /* Tablet Landscape */ @media (max-width: 1024px) { .hero-title { font-size: 4rem; letter-spacing: 4px; } .hero-subtitle { font-size: 1.6rem; } .section-title { font-size: 3rem; } .about-content { gap: 4rem; } .contact-content { gap: 4rem; } .stats { gap: 2rem; } .service-card { padding: 2.5rem; } .about-text h3 { font-size: 2.5rem; } /* Navbar adjustments */ .nav-logo h2 { font-size: 1.8rem; } .nav-menu { gap: 2rem; } } /* Tablet Portrait */ @media (max-width: 768px) { /* Navigation Mobile */ .nav-menu { position: fixed; left: -100%; top: 80px; flex-direction: column; background: rgba(5, 5, 5, 0.98); backdrop-filter: blur(20px); width: 100%; text-align: center; transition: 0.3s ease; padding: 3rem 0; border-top: 1px solid rgba(204, 85, 0, 0.3); height: calc(100vh - 80px); overflow-y: auto; } .nav-menu.active { left: 0; } .hamburger { display: flex; } .nav-logo h2 { font-size: 1.6rem; } .nav-logo span { font-size: 0.7rem; } /* Hero Section Mobile */ .hero-title { font-size: 3rem; letter-spacing: 2px; margin-bottom: 1.5rem; } .hero-subtitle { font-size: 1.2rem; letter-spacing: 2px; margin-bottom: 2rem; } .hero-description { font-size: 1rem; margin-bottom: 2.5rem; padding: 0 1rem; } /* Preloader Mobile */ .harley-logo-3d h1 { font-size: 2.5rem; letter-spacing: 4px; margin-bottom: 1.5rem; } .loading-bar { width: 250px; margin: 1.5rem auto; } .loading-text { font-size: 0.8rem; letter-spacing: 1px; } /* Sections */ .section-title { font-size: 2.2rem; margin-bottom: 3rem; letter-spacing: 2px; } .about, .services, .gallery, .contact { padding: 80px 0; } .about-content { grid-template-columns: 1fr; gap: 3rem; } .about-text h3 { font-size: 2rem; margin-bottom: 1.5rem; } .about-text p { font-size: 1.1rem; margin-bottom: 1.5rem; } .stats { flex-direction: column; gap: 2rem; align-items: center; margin-top: 2rem; } .stat { padding: 1.5rem; width: 100%; max-width: 300px; } .stat h4 { font-size: 2.5rem; min-width: auto; } .contact-content { grid-template-columns: 1fr; gap: 3rem; } .contact-info h3, .contact-form h3 { font-size: 2rem; margin-bottom: 2rem; } .info-item { padding: 1.5rem; margin-bottom: 2rem; } .info-item i { font-size: 1.5rem; } .info-item strong { font-size: 1.1rem; } .info-item p { font-size: 1rem; } .services-grid { grid-template-columns: 1fr; gap: 2rem; } .service-card { padding: 2rem; margin-bottom: 1rem; } .service-icon { font-size: 3rem; } .service-card h3 { font-size: 1.5rem; } .service-card p { font-size: 1rem; } .gallery-grid { grid-template-columns: 1fr; gap: 1.5rem; } .gallery-item .image-placeholder { height: 250px; font-size: 2.5rem; } .footer-content { grid-template-columns: 1fr; text-align: center; gap: 2rem; } .footer-logo h3 { font-size: 1.8rem; } .social-links { justify-content: center; } /* Buttons & Forms */ .cta-button { padding: 15px 30px; font-size: 1rem; letter-spacing: 1px; } .contact-form { padding: 2rem; } .contact-form input, .contact-form select, .contact-form textarea { padding: 1.2rem; font-size: 1rem; margin-bottom: 1.5rem; } .submit-btn { padding: 1.2rem; font-size: 1.1rem; } } /* Mobile Large */ @media (max-width: 480px) { /* Navigation */ .navbar { padding: 0.8rem 0; } .nav-container { padding: 0 15px; } .nav-logo h2 { font-size: 1.4rem; letter-spacing: 2px; } .nav-logo span { font-size: 0.6rem; } /* Hero */ .hero-title { font-size: 2.2rem; letter-spacing: 1px; line-height: 1.2; } .hero-subtitle { font-size: 1rem; letter-spacing: 1px; } .hero-description { font-size: 0.9rem; line-height: 1.6; } /* Preloader */ .harley-logo-3d h1 { font-size: 2rem; letter-spacing: 2px; line-height: 1.2; } .loading-bar { width: 200px; } .loading-text { font-size: 0.7rem; } /* Sections */ .section-title { font-size: 1.8rem; margin-bottom: 2.5rem; letter-spacing: 1px; } .about, .services, .gallery, .contact { padding: 60px 0; } .container { padding: 0 15px; } .about-text h3 { font-size: 1.6rem; } .about-text p { font-size: 1rem; } .stat h4 { font-size: 2rem; } .stat p { font-size: 0.9rem; } .service-card { padding: 1.5rem; border-radius: 15px; } .service-icon { font-size: 2.5rem; } .service-card h3 { font-size: 1.3rem; margin-bottom: 1rem; } .service-card p { font-size: 0.95rem; } .contact-info h3, .contact-form h3 { font-size: 1.6rem; } .contact-form { padding: 1.5rem; border-radius: 15px; } .info-item { padding: 1rem; border-radius: 10px; } .gallery-item .image-placeholder { height: 200px; font-size: 2rem; border-radius: 15px; } /* Buttons */ .cta-button { padding: 12px 25px; font-size: 0.9rem; border-radius: 30px; } /* Forms */ .contact-form input, .contact-form select, .contact-form textarea { padding: 1rem; font-size: 0.9rem; border-radius: 8px; } .submit-btn { padding: 1rem; font-size: 1rem; border-radius: 8px; } /* Footer */ .footer { padding: 3rem 0 1.5rem; } .footer-logo h3 { font-size: 1.5rem; } .footer-logo p { font-size: 1rem; } .social-links a { font-size: 1.5rem; padding: 0.8rem; } } /* Mobile Small */ @media (max-width: 375px) { .hero-title { font-size: 1.8rem; } .hero-subtitle { font-size: 0.9rem; } .section-title { font-size: 1.6rem; } .harley-logo-3d h1 { font-size: 1.8rem; } .loading-bar { width: 180px; } .about-text h3 { font-size: 1.4rem; } .stat h4 { font-size: 1.8rem; } .cta-button { padding: 10px 20px; font-size: 0.85rem; } } /* Landscape Orientation Mobile */ @media (max-width: 768px) and (orientation: landscape) { .hero { height: auto; min-height: 100vh; padding: 2rem 0; } .hero-title { font-size: 2.5rem; } .hero-subtitle { font-size: 1.1rem; } .nav-menu.active { height: 100vh; } } /* Touch Optimizations */ @media (hover: none) and (pointer: coarse) { /* Rimuovi hover effects su touch devices */ .service-card:hover, .gallery-item:hover, .stat:hover, .info-item:hover { transform: none; } /* Migliora touch targets */ .nav-link { padding: 1rem 1.5rem; margin: 0.5rem 0; } .cta-button { min-height: 44px; min-width: 120px; } .social-links a { min-height: 44px; min-width: 44px; } /* Touch feedback */ .cta-button:active, .submit-btn:active, .nav-link:active { transform: scale(0.98); opacity: 0.8; } } /* ===== PERFORMANCE OPTIMIZATIONS ===== */ * { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; } /* GPU Acceleration per elementi animati */ .hero-title, .service-card, .gallery-item, .cta-button, .nav-link, .section-title { transform: translateZ(0); will-change: transform, opacity; backface-visibility: hidden; } /* Prevenzione layout shift */ .hero { min-height: 100vh; height: 100vh; } .section-title { min-height: 80px; } .service-card { min-height: 300px; } /* Scrollbar personalizzata */ ::-webkit-scrollbar { width: 8px; background: var(--darker-bg); } ::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--primary-orange), var(--neon-orange)); border-radius: 4px; min-height: 40px; } ::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--neon-orange), var(--fire-red)); } /* Riduzione motion per accessibilità */ @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }