/* Custom styles beyond Tailwind */

/* Smooth scroll padding for fixed header */
section {
    scroll-margin-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FDFBF7;
}
::-webkit-scrollbar-thumb {
    background: #065f46;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #064e3b;
}

/* Select arrow customization */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23064e3b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Subtle pattern overlay for decorative elements */
.section-pattern {
    background-image: radial-gradient(circle, rgba(6, 78, 59, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Active nav link state */
.nav-link-active {
    color: #064e3b;
    position: relative;
}
.nav-link-active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: #064e3b;
    border-radius: 1px;
}

/* Mobile menu animation */
#mobile-menu {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

/* Hamburger to X transition */
#menu-icon {
    transition: transform 0.3s ease;
}
body.menu-open #menu-icon {
    transform: rotate(90deg);
}

/* Button focus styles */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #064e3b;
    outline-offset: 2px;
}
