/* Custom animations and styles */ @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .fade-in { animation: fadeIn 0.6s ease-out; } /* Smooth scrolling */ html { scroll-behavior: smooth; } /* FAQ animations */ .faq-answer { transition: max-height 0.3s ease-out; } /* Mobile menu transitions */ #mobile-menu { transition: all 0.3s ease-out; } /* Hover effects */ .hover-lift { transition: transform 0.3s ease; } .hover-lift:hover { transform: translateY(-5px); } /* Custom scrollbar */ ::-webkit-scrollbar { width: 10px; } ::-webkit-scrollbar-track { background: #f1f1f1; } ::-webkit-scrollbar-thumb { background: #EA2917; border-radius: 5px; } ::-webkit-scrollbar-thumb:hover { background: #cc1e10; } /* Part card hover effect */ .part-card { transition: all 0.3s ease; } .part-card:hover { transform: scale(1.05); box-shadow: 0 10px 25px rgba(0,0,0,0.1); } /* Button ripple effect */ .ripple { position: relative; overflow: hidden; } .ripple::after { content: ''; position: absolute; top: 50%; left: 50%; width: 5px; height: 5px; background: rgba(255, 255, 255, 0.5); opacity: 0; border-radius: 100%; transform: scale(1, 1) translate(-50%); transform-origin: 50% 50%; } .ripple:focus:not(:active)::after { animation: ripple 1s ease-out; } @keyframes ripple { 0% { transform: scale(0, 0); opacity: 1; } 20% { transform: scale(25, 25); opacity: 1; } 100% { opacity: 0; transform: scale(40, 40); } } /* Loading spinner */ .spinner { border: 3px solid #f3f3f3; border-top: 3px solid #EA2917; border-radius: 50%; width: 40px; height: 40px; animation: spin 1s linear infinite; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* Notification toast */ .toast { position: fixed; bottom: -100px; left: 50%; transform: translateX(-50%); background: #2D2D2D; color: white; padding: 12px 24px; border-radius: 8px; transition: bottom 0.3s ease; z-index: 1000; } .toast.show { bottom: 20px; } /* Mobile optimizations */ @media (max-width: 768px) { .hero-title { font-size: 2rem; } .service-card { margin-bottom: 1rem; } } /* Trust indicators styles */ .trust-indicator { transition: transform 0.3s ease; } .trust-indicator:hover { transform: translateY(-5px); } /* Enhanced hero section */ .hero-gradient { background: linear-gradient(135deg, #2D2D2D 0%, #1a1a1a 50%, #EA2917 100%); } /* Parts catalog enhancements */ .parts-category { transition: all 0.3s ease; } .parts-category:hover { transform: scale(1.05); box-shadow: 0 8px 20px rgba(0,0,0,0.1); } /* FAQ improvements */ .faq-item { transition: all 0.3s ease; } .faq-item:hover { box-shadow: 0 4px 15px rgba(0,0,0,0.1); } .faq-question { transition: background-color 0.3s ease; } .faq-question:hover { background-color: #f9f9f9; } /* Service cards enhancement */ .service-card { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } .service-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); } /* Button enhancements */ .btn-primary { position: relative; overflow: hidden; transition: all 0.3s ease; } .btn-primary::before { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: rgba(255, 255, 255, 0.2); border-radius: 50%; transform: translate(-50%, -50%); transition: width 0.6s, height 0.6s; } .btn-primary:hover::before { width: 300px; height: 300px; } /* Navigation enhancements */ nav { backdrop-filter: blur(10px); background: rgba(255, 255, 255, 0.95); } /* Footer enhancements */ footer { background: linear-gradient(180deg, #2D2D2D 0%, #1a1a1a 100%); } /* Contact form improvements */ #contact-form input, #contact-form textarea { transition: all 0.3s ease; } #contact-form input:focus, #contact-form textarea:focus { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(234, 41, 23, 0.2); } /* WhatsApp button pulse */ @keyframes whatsapp-pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } } .whatsapp-float { animation: whatsapp-pulse 2s infinite; } /* Loading states */ .loading { position: relative; pointer-events: none; } .loading::after { content: ''; position: absolute; top: 50%; left: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border: 2px solid transparent; border-top-color: #EA2917; border-radius: 50%; animation: spin 1s linear infinite; } /* Success message */ .success-message { background: linear-gradient(135deg, #10b981, #059669); color: white; padding: 1rem 2rem; border-radius: 0.5rem; margin: 1rem 0; animation: slideIn 0.3s ease; } @keyframes slideIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } } /* Price highlight */ .price-highlight { background: linear-gradient(135deg, #EA2917, #cc1e10); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-weight: bold; } /* Availability badge */ .in-stock { background: linear-gradient(135deg, #10b981, #059669); } .out-of-stock { background: linear-gradient(135deg, #ef4444, #dc2626); } /* Smooth reveal animation */ .reveal { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; } .reveal.active { opacity: 1; transform: translateY(0); } /* Service card animations */ .service-card { opacity: 0; transform: translateY(30px); transition: all 0.5s ease; } .service-card.visible { opacity: 1; transform: translateY(0); } /* Parts category badges */ .badge { display: inline-block; padding: 0.25rem 0.5rem; font-size: 0.75rem; font-weight: 600; border-radius: 0.25rem; background: #EA2917; color: white; } /* Custom checkbox */ .custom-checkbox { appearance: none; width: 20px; height: 20px; border: 2px solid #EA2917; border-radius: 4px; transition: all 0.3s ease; position: relative; cursor: pointer; } .custom-checkbox:checked { background: #EA2917; } .custom-checkbox:checked::after { content: '✓'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: white; font-weight: bold; } /* Gallery styles */ .gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; } .gallery-item { position: relative; overflow: hidden; border-radius: 0.5rem; cursor: pointer; } .gallery-item img { transition: transform 0.3s ease; } .gallery-item:hover img { transform: scale(1.1); } /* Input focus styles */ input:focus, textarea:focus, select:focus { outline: none; border-color: #EA2917; box-shadow: 0 0 0 3px rgba(234, 41, 23, 0.1); } /* Testimonial card */ .testimonial-card { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 2rem; border-radius: 1rem; position: relative; overflow: hidden; } .testimonial-card::before { content: '"'; position: absolute; top: -20px; left: 20px; font-size: 100px; opacity: 0.1; } /* Price display */ .price-tag { display: inline-flex; align-items: baseline; font-size: 1.5rem; font-weight: bold; color: #EA2917; } .price-tag .currency { font-size: 1rem; margin-right: 0.25rem; } /* Brand logos display */ .brand-logos { display: flex; justify-content: center; align-items: center; gap: 2rem; flex-wrap: wrap; padding: 2rem 0; } .brand-logos img { height: 40px; filter: grayscale(100%); transition: filter 0.3s ease; } .brand-logos img:hover { filter: grayscale(0%); }