/* Custom styles that extend Tailwind */

html {
    scroll-behavior: smooth;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FAFAF8;
}
::-webkit-scrollbar-thumb {
    background: #c5decf;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #98c5ab;
}

/* Animation classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Image hover effects */
img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Subtle line decoration */
.section-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, #2f604a, #98c5ab);
}

/* Mobile menu transitions */
#mobile-menu {
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

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

/* Print styles */
@media print {
    header, footer, .no-print {
        display: none;
    }
    body {
        color: #000;
        background: #fff;
    }
}
