/* Custom styles for PrecisionAerial UAS */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Selection color */
::selection {
    background-color: #0d9488;
    color: white;
}

/* Fade-in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Stagger children animation */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
}

.stagger-children.animated > *:nth-child(1) { animation: fadeInUp 0.6s ease-out 0.1s forwards; }
.stagger-children.animated > *:nth-child(2) { animation: fadeInUp 0.6s ease-out 0.2s forwards; }
.stagger-children.animated > *:nth-child(3) { animation: fadeInUp 0.6s ease-out 0.3s forwards; }
.stagger-children.animated > *:nth-child(4) { animation: fadeInUp 0.6s ease-out 0.4s forwards; }
.stagger-children.animated > *:nth-child(5) { animation: fadeInUp 0.6s ease-out 0.5s forwards; }
.stagger-children.animated > *:nth-child(6) { animation: fadeInUp 0.6s ease-out 0.6s forwards; }

/* Navbar scroll state */
.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Image hover zoom */
img {
    transition: transform 0.5s ease;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    nav, #contact, footer {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
