/* Custom styles beyond Tailwind CDN */

html {
    scroll-behavior: smooth;
}

body {
    font-feature-settings: "cv02", "cv03", "cv04";
}

/* Thin line separator between sections */
section + section::before {
    content: '';
    display: block;
    max-width: 6rem;
    height: 1px;
    background: linear-gradient(to right, transparent, #c5d8c1, transparent);
    margin: 0 auto;
}

/* Subtle focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #6d9a62;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Smooth transition for navbar background */
#navbar.scrolled {
    background: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid #e3ece1;
}

/* Selection color */
::selection {
    background: #c5d8c1;
    color: #1a3a2a;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf9f6;
}
::-webkit-scrollbar-thumb {
    background: #c5d8c1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #97b98e;
}
