/* Custom styles — editorial serif aesthetic */

::selection {
    background: #c5dfc9;
    color: #1c3721;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth image loading */
img {
    image-rendering: auto;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f3ed;
}
::-webkit-scrollbar-thumb {
    background: #c5dfc9;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #98c49c;
}

/* Navigation scroll state */
nav.scrolled {
    box-shadow: 0 1px 20px rgba(22, 42, 25, 0.08);
}

/* Button ripple-like hover effect */
a[href^="tel:"],
a[href^="mailto:"] {
    position: relative;
    overflow: hidden;
}

/* Subtle pattern overlay for dark sections */
.bg-forest-800::before,
.bg-forest-900::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(ellipse at 20% 50%, rgba(152, 196, 156, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.bg-forest-800,
.bg-forest-900 {
    position: relative;
}
