*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.font-serif {
    font-family: 'Playfair Display', serif;
}

/* Mobile menu animation */
#mobileMenu {
    animation: fadeIn 0.3s ease forwards;
}

#mobileMenu.hidden {
    animation: fadeOut 0.2s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a1229;
}

::-webkit-scrollbar-thumb {
    background: #c49a2e33;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c49a2e66;
}

/* Selection color */
::selection {
    background: rgba(196, 154, 46, 0.3);
    color: #fff;
}
