/* Custom styles for Whitmer Construction LLC */

/* Smooth scroll padding for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #f5f5f0;
}
::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ff6f61;
}

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

/* Mobile menu active state */
.mobile-menu-open #bar1 {
    transform: rotate(45deg) translate(3px, 3px);
}
.mobile-menu-open #bar2 {
    opacity: 0;
}
.mobile-menu-open #bar3 {
    width: 24px;
    transform: rotate(-45deg) translate(3px, -3px);
}

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

/* Form select arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 2rem;
}

/* Subtle hover underline for links */
a:not(.bg-charcoal-900):not(.bg-white):not([class*="bg-"]):not(.text-coral-500) {
    position: relative;
}

/* Print styles */
@media print {
    nav, #contactForm, .reveal { display: block !important; opacity: 1 !important; }
    #work, #cta { display: none; }
}
