/* Custom styles for Apex Security Systems */

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

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

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

::-webkit-scrollbar-thumb {
    background: #9f1532;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #84142e;
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Hero image gradient overlay */
.hero-gradient {
    background: linear-gradient(135deg, rgba(159, 21, 50, 0.1) 0%, rgba(255, 77, 77, 0.05) 100%);
}

/* Card hover effects */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

/* Button focus states */
button:focus, a:focus {
    outline: 2px solid #9f1532;
    outline-offset: 2px;
}

/* Form focus states */
input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 3px rgba(159, 21, 50, 0.1);
}
