/* Base & Resets */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: #1A120D;
    color: #F5F0EB;
}

::selection {
    background-color: #C0623A;
    color: #F5F0EB;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1A120D;
}
::-webkit-scrollbar-thumb {
    background: #3D2B1F;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #C0623A;
}

/* Selection for select elements */
select option {
    background-color: #2A1A12;
    color: #F5F0EB;
}

/* Mobile menu animation */
.mobile-link {
    opacity: 0;
    transform: translateY(10px);
}

#mobile-menu.open .mobile-link {
    animation: fadeInUp 0.4s ease forwards;
}

#mobile-menu.open .mobile-link:nth-child(1) { animation-delay: 0.05s; }
#mobile-menu.open .mobile-link:nth-child(2) { animation-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(3) { animation-delay: 0.15s; }
#mobile-menu.open .mobile-link:nth-child(4) { animation-delay: 0.2s; }
#mobile-menu.open .mobile-link:nth-child(5) { animation-delay: 0.25s; }

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

/* Hamburger animation */
#menu-toggle.active #line1 {
    transform: rotate(45deg) translate(3px, 3px);
}
#menu-toggle.active #line2 {
    opacity: 0;
}
#menu-toggle.active #line3 {
    transform: rotate(-45deg) translate(3px, -3px);
    width: 1.5rem;
}
