/* Custom styles for U.S Essential VN */

/* Scroll reveal base - content always visible, JS adds animation */
.scroll-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .scroll-reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll line animation */
@keyframes scrollLine {
    0% { top: -16px; }
    100% { top: 40px; }
}
.scroll-line {
    animation: scrollLine 1.2s ease-in-out infinite;
}

/* Navbar glass effect */
.nav-scrolled {
    background: rgba(253, 251, 247, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf5e8;
}
::-webkit-scrollbar-thumb {
    background: #e9d5a0;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d1401e;
}

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

/* Hero image gradient overlay fix */
.hero-img-wrapper {
    position: relative;
}

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

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