/* Global Styles for Makai Agro Foods */
html {
    scroll-behavior: smooth;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Glassmorphism Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.dark .glass-card {
    background: rgba(10, 12, 10, 0.7);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Smooth Theme Transitions */
html.transitioning,
html.transitioning body,
html.transitioning nav,
html.transitioning footer,
html.transitioning section,
html.transitioning div,
html.transitioning h1,
html.transitioning h2,
html.transitioning h3,
html.transitioning h4,
html.transitioning p,
html.transitioning span,
html.transitioning a,
html.transitioning button {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

/* Custom Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Mobile Menu Transition Optimization */
#mobile-menu {
    will-change: transform;
}

/* Custom Selection Colors */
.dark ::selection {
    background-color: #5dac5b;
    color: #002204;
}

::selection {
    background-color: #5dac5b;
    color: #ffffff;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.dark ::-webkit-scrollbar-track {
    background: #0a0c0a;
}

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

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

.dark ::-webkit-scrollbar-thumb {
    background: #333;
}

.dark ::-webkit-scrollbar-thumb:hover {
    background: #444;
}