/* Custom styles for Vintage Acres Mini Hereford */

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

/* Navbar glass effect on scroll */
.navbar-scrolled {
    background: rgba(253, 252, 248, 0.92) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(86, 128, 50, 0.08);
}

/* Scroll indicator animation */
@keyframes scroll-indicator {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.animate-scroll-indicator {
    animation: scroll-indicator 1.5s ease-in-out infinite;
}

/* FAQ transitions */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.35s ease;
    opacity: 0;
}

.faq-content.is-open {
    max-height: 200px;
    opacity: 1;
}

/* Subtle hover glow on cards */
.card-hover-glow:hover {
    box-shadow: 0 0 40px rgba(86, 128, 50, 0.12);
}

/* Selection color */
::selection {
    background: rgba(86, 128, 50, 0.2);
    color: #2c401b;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #9dc07a;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .fade-in-section {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .animate-scroll-indicator {
        animation: none;
    }

    .faq-content {
        transition: none;
    }
}

/* Mobile menu animation */
#mobileMenu {
    animation: slideDown 0.25s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
