/* Custom Styles for ZAA Imports */

/* Smooth Scrolling is handled by Tailwind class 'scroll-smooth' on html */

/* Style Guide (UI/UX updates)
   - Inputs: text color #1A1A1A (zaa-dark), white backgrounds (#FFFFFF), gray borders (#D1D5DB), focus ring #009B4D
   - Cards: subtle shadows, rounded corners, consistent spacing
   - Accessibility: ensure text/background contrast >= 4.5:1 for WCAG AA
*/

/* Loader Animation */
.loader-line {
    animation: loadLine 1.5s ease-in-out forwards;
}

@keyframes loadLine {
    0% { width: 0; }
    100% { width: 100%; }
}

/* Marquee Animation */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    animation: marquee 20s linear infinite;
    width: max-content;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #15803d;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #166534;
}

/* Text Selection */
::selection {
    background-color: #15803d;
    color: white;
}

/* Glassmorphism utilities if needed, though we are leaning towards Kinetic/Modernist */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Typography tweaks */
.font-display {
    font-feature-settings: "ss01", "ss02";
}

/* Navigation Transition */
nav.scrolled {
    background-color: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* 3D Card Effects */
.perspective-1000 {
    perspective: 1000px;
}

.rotate-y-12 {
    transform: rotateY(12deg);
}

@keyframes bounce-slow {
    0%, 100% { transform: translateY(-5%) rotate(12deg); }
    50% { transform: translateY(5%) rotate(12deg); }
}

.animate-bounce-slow {
    animation: bounce-slow 3s infinite ease-in-out;
}
