/* Custom Styles & Utilities */
html {
    scroll-behavior: smooth;
}

body {
    /* Prevent horizontal scroll */
    overflow-x: hidden;
}

/* Typography refinements */
h1, h2, h3, h4, .font-serif {
    letter-spacing: -0.02em;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Animation utilities */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subtle hover transitions for images */
img {
    transition: transform 0.5s ease;
}

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