/* Custom styles — overrides and enhancements beyond Tailwind */

/* Smooth focus outlines */
*:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/* Hero text shadow for readability */
.hero-bg h1,
.hero-bg p {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Subtle pattern overlay on cream sections */
.pattern-bg {
    background-image: radial-gradient(circle, rgba(6, 95, 70, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Card hover lift */
.bg-white.rounded-2xl {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bg-white.rounded-2xl:hover {
    transform: translateY(-2px);
}

/* Image hover zoom */
.aspect-\[4\/3\] img,
.aspect-square img,
.aspect-\[3\/4\] img {
    transition: transform 0.5s ease;
}

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

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #ecfdf5;
}
::-webkit-scrollbar-thumb {
    background: #047857;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #065f46;
}

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