/* Custom styles for the modernized AscensionTech website */
/* Using Tailwind CSS for most styling, these are supplementary custom styles */

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

/* Fixed background parallax effect */
.fixed-bg {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Add padding-top to body to account for fixed header */
body {
    padding-top: 80px; /* Height of fixed header (h-20 = 5rem = 80px) */
}

/* Custom animations */
@keyframes appear {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gentle-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

.appear {
    animation: appear 1s ease-in-out;
}

@keyframes appear-left {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.appear-left {
    animation: appear-left 1s ease-in-out;
}

@keyframes appear-right {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.appear-right {
    animation: appear-right 1s ease-in-out;
}

/* Custom gradient backgrounds */
.gradient-primary {
    background: linear-gradient(135deg, #0062A8 0%, #004A80 100%);
}

.gradient-secondary {
    background: linear-gradient(135deg, #00A651 0%, #008040 100%);
}

.gradient-accent {
    background: linear-gradient(135deg, #FF6B35 0%, #E85A2B 100%);
}

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

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

::-webkit-scrollbar-thumb {
    background: #0062A8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #004A80;
}

/* Print styles */
@media print {
    .fixed-bg {
        background-attachment: scroll;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .appear,
    .appear-left,
    .appear-right {
        animation: none;
    }
    
    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}