/* Custom styles for Lisa Shofner Upholstery */

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

/* Floating cards animation */
.floating-card {
    animation: float 4s ease-in-out infinite;
}

.floating-card:nth-child(2) {
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Service card hover effect */
.service-card {
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: #c6dbb3;
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(46, 76, 33, 0.1);
}

/* Gallery item hover */
.gallery-item {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Navbar scroll effect */
#navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

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

/* Subtle line decorations */
.section-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #3a5f28, #c6dbb3);
}

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

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

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

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .floating-card {
        animation: none;
    }
    
    .gallery-item img {
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}
