/* Custom Styles for Counterbore Repair */

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

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Scroll Reveal Animation */
.reveal-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Delay Classes */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

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

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

::-webkit-scrollbar-thumb {
    background: #23472b;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2d5c37;
}

/* Focus Styles */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid #447a4e;
    outline-offset: 2px;
}

/* Selection Color */
::selection {
    background-color: #23472b;
    color: #fcfbf8;
}

/* Print Styles */
@media print {
    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }
    
    nav,
    #mobile-menu-btn {
        display: none !important;
    }
}
