/* Custom CSS for ChromaZenith Studio */ /* Smooth scrolling */ html { scroll-behavior: smooth; } /* Custom scrollbar */ ::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-track { background: #f1f5f9; } .dark ::-webkit-scrollbar-track { background: #1e293b; } ::-webkit-scrollbar-thumb { background: linear-gradient(to bottom, #f97316, #06b6d4); border-radius: 5px; } ::-webkit-scrollbar-thumb:hover { background: linear-gradient(to bottom, #ea580c, #0891b2); } /* Selection color */ ::selection { background: rgba(249, 115, 22, 0.3); color: inherit; } .dark ::selection { background: rgba(249, 115, 22, 0.4); } /* Glass morphism utilities */ .glass { background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); } .dark .glass { background: rgba(15, 23, 42, 0.8); } /* Gradient text animation */ .gradient-text { background-size: 200% auto; animation: gradient-shift 3s ease infinite; } @keyframes gradient-shift { 0%, 100% { background-position: 0% center; } 50% { background-position: 100% center; } } /* Floating animation variations */ .float-1 { animation: float 6s ease-in-out infinite; } .float-2 { animation: float 6s ease-in-out infinite 2s; } .float-3 { animation: float 6s ease-in-out infinite 4s; } /* Tab transitions */ .tab-panel { transition: opacity 0.3s ease, transform 0.3s ease; } .tab-panel.hidden { display: none; opacity: 0; transform: translateY(10px); } .tab-panel.active { opacity: 1; transform: translateY(0); } /* Button hover effects */ .btn-shine { position: relative; overflow: hidden; } .btn-shine::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); transition: left 0.5s; } .btn-shine:hover::after { left: 100%; } /* Card hover lift effect */ .card-lift { transition: transform 0.3s ease, box-shadow 0.3s ease; } .card-lift:hover { transform: translateY(-8px); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); } /* Input focus ring */ .input-focus { transition: all 0.2s ease; } .input-focus:focus { outline: none; box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.3); } /* Dark mode transitions */ .dark-transition { transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; } /* Loading shimmer */ @keyframes shimmer { 0% { background-position: -1000px 0; } 100% { background-position: 1000px 0; } } .shimmer { background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); background-size: 1000px 100%; animation: shimmer 2s infinite linear; } .dark .shimmer { background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%); background-size: 1000px 100%; } /* Pricing card popular badge pulse */ .badge-pulse { animation: badge-pulse 2s ease-in-out infinite; } @keyframes badge-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } } /* Custom focus styles */ *:focus-visible { outline: 2px solid #f97316; outline-offset: 2px; } /* Reduce motion preference */ @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } html { scroll-behavior: auto; } } /* Hide scrollbar but keep functionality */ .no-scrollbar::-webkit-scrollbar { display: none; } .no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; } /* Gradient border effect */ .gradient-border { position: relative; background: linear-gradient(var(--bg-color, white), var(--bg-color, white)) padding-box, linear-gradient(135deg, #f97316, #06b6d4) border-box; border: 2px solid transparent; } .dark .gradient-border { background: linear-gradient(#0f172a, #0f172a) padding-box, linear-gradient(135deg, #f97316, #06b6d4) border-box; } /* Marquee animation for testimonials */ @keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } } .animate-marquee { animation: marquee 30s linear infinite; } /* Staggered animation delays */ .stagger-1 { animation-delay: 0.1s; } .stagger-2 { animation-delay: 0.2s; } .stagger-3 { animation-delay: 0.3s; } .stagger-4 { animation-delay: 0.4s; } .stagger-5 { animation-delay: 0.5s; } /* Glow effect */ .glow-primary { box-shadow: 0 0 20px rgba(249, 115, 22, 0.4); } .glow-secondary { box-shadow: 0 0 20px rgba(6, 182, 212, 0.4); } /* Text balance for better typography */ .text-balance { text-wrap: balance; } /* Aspect ratio utilities */ .aspect-square { aspect-ratio: 1 / 1; } .aspect-video { aspect-ratio: 16 / 9; } .aspect-portrait { aspect-ratio: 3 / 4; }