/* Custom Styles for Consertaprint */ * { scroll-behavior: smooth; } /* Custom scrollbar for dark theme */ ::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-track { background: #1f2937; } ::-webkit-scrollbar-thumb { background: #4b5563; border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: #6b7280; } /* Smooth transitions for all interactive elements */ a, button, input, textarea, select { transition: all 0.3s ease; } /* Custom focus styles */ input:focus, textarea:focus, select:focus { transform: translateY(-1px); box-shadow: 0 10px 25px rgba(59, 130, 246, 0.15); } /* Custom animations */ @keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } } @keyframes shimmer { 0% { background-position: -200px 0; } 100% { background-position: calc(200px + 100%) 0; } } .animate-fade-in-up { animation: fadeInUp 0.6s ease-out; } .animate-pulse-slow { animation: pulse 3s ease-in-out infinite; } /* Authorized brands special effects */ .authorized-glow { position: relative; overflow: hidden; } .authorized-glow::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent); animation: shimmer 3s infinite; } /* Hover effects for cards */ .service-card, .brand-card, .supply-card { transition: all 0.3s ease; } .service-card:hover, .brand-card:hover, .supply-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); } /* Authorized brand cards special effects */ .authorized-card { position: relative; background: linear-gradient(145deg, #1f2937, #111827); border: 2px solid; border-image: linear-gradient(45deg, #fbbf24, #f59e0b, #d97706) 1; box-shadow: 0 0 20px rgba(251, 191, 36, 0.3); } .authorized-card:hover { transform: scale(1.05); box-shadow: 0 0 30px rgba(251, 191, 36, 0.5); } /* Custom gradient backgrounds */ .gradient-bg-1 { background: linear-gradient(135deg, #1f2937 0%, #111827 100%); } .gradient-bg-2 { background: linear-gradient(135deg, #374151 0%, #1f2937 100%); } /* Button hover effects */ .btn-primary { background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%); box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3); } .btn-primary:hover { box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4); transform: translateY(-2px); } .btn-secondary { background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%); box-shadow: 0 4px 15px rgba(8, 145, 178, 0.3); } .btn-secondary:hover { box-shadow: 0 6px 20px rgba(8, 145, 178, 0.4); transform: translateY(-2px); } /* Navigation improvements */ nav { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); } /* Loading animation for form submission */ .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 #ffffff; border-top: 2px solid transparent; border-radius: 50%; animation: spin 1s linear infinite; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* Mobile optimizations */ @media (max-width: 768px) { .hero-title { font-size: 2.5rem; line-height: 1.2; } .hero-subtitle { font-size: 1.125rem; } .authorized-brand-card { margin-bottom: 1rem; } } /* Print styles */ @media print { .no-print { display: none !important; } } /* Accessibility improvements */ .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } /* Focus visible for better keyboard navigation */ .focus-visible:focus { outline: 2px solid #3b82f6; outline-offset: 2px; } /* High contrast mode support */ @media (prefers-contrast: high) { .bg-gray-800 { background-color: #000000; } .bg-gray-700 { background-color: #1a1a1a; } } /* Reduced motion support */ @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; } } /* Custom utilities */ .text-shadow { text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); } .backdrop-blur { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); } /* Form improvements */ .form-group { position: relative; } .form-error { border-color: #ef4444 !important; box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important; } .error-message { color: #ef4444; font-size: 0.875rem; margin-top: 0.25rem; } /* Success states */ .success-message { background: linear-gradient(135deg, #10b981 0%, #059669 100%); color: white; padding: 1rem; border-radius: 0.5rem; margin-top: 1rem; } /* Floating elements animation */ @keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-10px); } } .float-animation { animation: float 6s ease-in-out infinite; } /* Authorized badge styles */ .authorized-badge { background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%); background-size: 200% 200%; animation: gradientShift 3s ease infinite; box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4); } @keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } /* Star rating effect for authorized brands */ .star-effect { position: relative; display: inline-block; } .star-effect::after { content: '⭐'; position: absolute; top: -5px; right: -10px; font-size: 0.8rem; animation: twinkle 2s infinite; } @keyframes twinkle { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.2); } }