/* Custom styles for The Woodrum Team */

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

/* Selection color */
::selection {
    background: #ff6f55;
    color: white;
}

/* Subtle gradient overlay for hero image */
.hero-img-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,26,26,0.3) 0%, transparent 40%);
    pointer-events: none;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f5f5;
}
::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #ff6f55;
    outline-offset: 2px;
}

/* Mobile menu animation */
#mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}

#menu-btn.active #bar1 {
    transform: rotate(45deg) translate(4px, 4px);
}
#menu-btn.active #bar2 {
    opacity: 0;
}
#menu-btn.active #bar3 {
    width: 24px;
    transform: rotate(-45deg) translate(4px, -4px);
    margin-left: 0;
}

/* Subtle image hover */
section img {
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
section:hover img {
    transform: scale(1.02);
}

/* Nav scroll state */
nav.scrolled {
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

/* Testimonial card hover lift */
#testimonials > div > div > div {
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
#testimonials > div > div > div:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
