/* Custom styles for C and J Dental Laboratory */

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

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: #98c5a3;
    border-radius: 5px;
}

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

/* Selection color */
::selection {
    background: #064e3b;
    color: #fafaf8;
}

/* Form focus styles */
input:focus,
textarea:focus {
    outline: none;
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(6, 78, 59, 0.1);
}

/* Card hover effects */
.group:hover .group-hover\\:bg-forest-100 {
    background-color: #e3efe7;
}

/* Button transitions */
button,
a {
    transition: all 0.3s ease;
}
