/* Additional custom styles beyond Tailwind */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fefdf8;
}
::-webkit-scrollbar-thumb {
    background: #c5dbb8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9dc18a;
}

/* Selection color */
::selection {
    background: #c5dbb8;
    color: #1f3719;
}

/* Subtle leaf pattern for cream sections */
.leaf-pattern {
    background-color: #fefdf8;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 8C40 8 60 24 60 40C60 52 52 64 40 64C28 64 20 52 20 40C20 24 40 8 40 8Z' fill='%23548540' fill-opacity='0.03'/%3E%3Cpath d='M40 20C40 20 54 32 54 42C54 50 48 58 40 58C32 58 26 50 26 42C26 32 40 20 40 20Z' fill='%23548540' fill-opacity='0.04'/%3E%3C/svg%3E");
}

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

/* Animation for mobile menu */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu.open {
    animation: slideDown 0.3s ease forwards;
}

/* Service card stagger */
.service-card:nth-child(1) { transition-delay: 0.05s; }
.service-card:nth-child(2) { transition-delay: 0.1s; }
.service-card:nth-child(3) { transition-delay: 0.15s; }
.service-card:nth-child(4) { transition-delay: 0.2s; }
.service-card:nth-child(5) { transition-delay: 0.25s; }
.service-card:nth-child(6) { transition-delay: 0.3s; }

/* About section stagger */
.about-card:nth-child(1) { transition-delay: 0.05s; }
.about-card:nth-child(2) { transition-delay: 0.1s; }
.about-card:nth-child(3) { transition-delay: 0.15s; }
.about-card:nth-child(4) { transition-delay: 0.2s; }
