/* Custom styles for Village Glass LLC */

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

/* Selection color */
::selection {
    background-color: #2d6e3d;
    color: #faf9f6;
}

/* Navbar scroll state */
#navbar.scrolled {
    background-color: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(45, 110, 61, 0.08);
}

/* Service card hover effect */
.service-card {
    transition: background-color 0.3s ease;
}

/* Gallery item */
.gallery-item {
    cursor: pointer;
}

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

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

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

/* Button hover lift */
button:hover,
a:hover {
    transition: all 0.2s ease;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .gallery-item img,
    .service-card {
        transition: none;
    }
    
    .gallery-item img {
        transform: none !important;
    }
}

/* Print styles */
@media print {
    header,
    #contactForm,
    .gallery-item {
        display: none;
    }
}
