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

body {
    /* Custom subtle texture or color fallback */
    background-color: #FAFAF8;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F5F5F4;
}
::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a41c3a;
}

/* Animation Utilities */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Form Focus States */
input:focus, textarea:focus {
    outline: none;
    border-color: #a41c3a;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

/* Image Aspect Ratio Fixes */
img {
    display: block;
    max-width: 100%;
    height: auto;
}
