/* Custom styles for Down Range Espresso */

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

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

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

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

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

/* Selection color */
::selection {
    background: #F4E4E1;
    color: #1a1a1a;
}

/* Mobile menu transitions */
#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

/* Fade in animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Image hover zoom effect */
img {
    transition: transform 0.7s ease;
}

/* Thin line decorations */
.decoration-line {
    position: relative;
}

.decoration-line::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 1px;
    background: #800020;
}

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

/* Focus styles for accessibility */
input:focus, textarea:focus, button:focus, a:focus {
    outline: none;
}

/* Mobile menu animation */
#mobile-menu {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Navbar background on scroll */
nav.scrolled {
    background: rgba(250, 248, 246, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}
