/* Custom overrides and enhancements */

/* Smooth focus styles */
a:focus-visible, button:focus-visible {
    outline: 2px solid #16a34a;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fefdf8;
}
::-webkit-scrollbar-thumb {
    background: #16a34a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #15803d;
}

/* Subtle pattern for cream sections */
.bg-cream-50::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(22,163,74,0.03) 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
}

/* Selection color */
::selection {
    background: #16a34a;
    color: #fefdf8;
}

/* Image hover container */
.rounded-2xl {
    overflow: hidden;
}

/* Nav glass effect when scrolled */
nav.scrolled {
    background: rgba(254, 253, 248, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(22, 163, 74, 0.1);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

/* Hero text shadow for readability */
#hero h1 {
    text-shadow: 0 2px 40px rgba(0,0,0,0.3);
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Print styles */
@media print {
    nav, #hero, #gallery, #testimonials, .reveal { display: none; }
    body { color: #000; background: #fff; }
}
