/* Custom styles for Jlh Interior Construction */

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

/* Navbar transitions */
.nav-text {
    color: #3d141c;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.8);
    border: none;
}

.nav-btn svg {
    color: #7B2D3B;
}

/* Dark navbar */
nav.scrolled .nav-text {
    color: #3d141c;
}

nav.scrolled .nav-btn {
    background: rgba(255, 255, 255, 0.95);
}

/* Mobile menu */
.mobile-link {
    color: #3d141c;
    border-bottom: 1px solid #fce7eb;
    padding-bottom: 0.5rem;
}

/* Scroll reveal base - always visible by default */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Animation only when JS is enabled and preference allows */
@media (prefers-reduced-motion: no-preference) {
    .js-enabled .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .js-enabled .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

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

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

/* Selection color */
::selection {
    background: #fce7eb;
    color: #3d141c;
}
