/* Custom overrides and additional styles */

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

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

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

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

/* Subtle pattern overlay on cream sections */
.bg-cream-50::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(45, 66, 38, 0.03) 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 0;
}

/* Ensure service cards have content above pseudo-element */
.service-card {
    position: relative;
    z-index: 1;
}

/* Better mobile tap targets */
@media (max-width: 768px) {
    .mobile-link {
        padding: 12px 0;
        border-bottom: 1px solid rgba(45, 66, 38, 0.08);
    }
}

/* Print styles */
@media print {
    header, #contact-form, .animate-bounce {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
}
