/* Custom styles that go beyond Tailwind utility classes */

html {
    scroll-behavior: smooth;
}

body {
    /* Ensuring the font rendering is crisp */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F2EBE1;
}
::-webkit-scrollbar-thumb {
    background: #C05A35;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a04626;
}

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

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

/* Mobile Menu Transitions */
#line1 {
    transform-origin: right;
}
#line2 {
    transform-origin: right;
}
.menu-open #line1 {
    transform: rotate(45deg) translate(4px, -4px);
}
.menu-open #line2 {
    transform: rotate(-45deg) translate(2px, 4px);
    width: 2rem; /* Match w-8 */
}

/* Image Hover Zoom Effect */
img {
    transition: transform 0.5s ease;
}
.group:hover img {
    transform: scale(1.05);
}
