/* Custom styles for Hammond Farm */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1C1C1C;
}
::-webkit-scrollbar-thumb {
    background: #E8604A;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #D44A35;
}

/* Navigation transitions */
.nav-logo-text {
    color: #E5E7EB;
}

.navbar-scrolled .nav-logo-text {
    color: #1C1C1C;
}

.navbar-light .nav-logo-text {
    color: #1C1C1C;
}

.nav-link {
    color: #E5E7EB;
}

.navbar-scrolled .nav-link {
    color: #1C1C1C;
}

/* Service card hover */
.service-card {
    transform: translateY(0);
}

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

/* Testimonial card hover */
.testimonial-card {
    transform: translateY(0);
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

/* Mobile menu */
.mobile-menu-link {
    opacity: 1;
    transform: translateY(0);
}

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

/* Selection color */
::selection {
    background-color: #E8604A;
    color: #ffffff;
}

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

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Progressive enhancement: hidden by default for below-fold */
@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        opacity: 1;
        transform: translateY(0);
    }
}
