/* Custom styles that extend Tailwind */

:root {
    --color-emerald-500: #10b981;
    --color-gold-400: #d4af37;
    --color-stone-950: #0c0a09;
}

body {
    background-color: var(--color-stone-950);
    color: #faf8f5;
}

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

::-webkit-scrollbar-track {
    background: #1c1917;
}

::-webkit-scrollbar-thumb {
    background: #3f3f46;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #10b981;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

/* Gold Gradient Text Utility */
.text-gradient-gold {
    background: linear-gradient(to right, #d4af37, #f3e5ab, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Input Date Picker Styling for Dark Mode */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.8) sepia(1) saturate(5) hue-rotate(10deg);
    cursor: pointer;
}

/* Hover effects for images */
img {
    image-rendering: -webkit-optimize-contrast;
}

/* Smooth transition for navbar */
nav {
    transition: background-color 0.3s ease, padding 0.3s ease;
}

nav.scrolled {
    background-color: rgba(12, 10, 9, 0.95);
    padding-top: 1rem;
    padding-bottom: 1rem;
    backdrop-filter: blur(10px);
}

/* Mobile menu transitions */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

#mobile-menu.open {
    transform: translateX(0);
}
