@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
    :root {
        --bg-main: #fcfcfc;
        --bg-surface: #ffffff;
        --bg-surface-hover: #f7f7f7;
        --text-main: #000000;
        --text-muted: #555555;
        --border-color: #eeeeee;
        --primary: #D87000;
        --primary-rgb: 216, 112, 0;
        --secondary: #2F9E0C;
    }

    .dark {
        --bg-main: #000000;
        --bg-surface: #0a0a0a;
        --bg-surface-hover: #111111;
        --text-main: #ffffff;
        --text-muted: #a0a0a0;
        --border-color: #1a1a1a;
    }

    body {
        background-color: var(--bg-main);
        color: var(--text-main);
        font-family: 'Outfit', sans-serif;
        overflow-x: hidden;
    }
}

@layer components {
    .glass-nav {
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border-color);
    }

    .dark .glass-nav {
        background: rgba(10, 10, 10, 0.85);
    }

    .glass-card {
        background: var(--bg-surface);
        border: 1px solid var(--border-color);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    }

    .dark .glass-card {
        background: #0a0a0a;
    }

    .mega-menu {
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        pointer-events: none;
    }

    .group:hover .mega-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .menu-link {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.6rem 1rem;
        border-radius: 0.75rem;
        color: var(--text-muted);
        font-size: 0.9rem;
        font-weight: 500;
        transition: all 0.2s ease;
    }

    .menu-link:hover {
        background-color: var(--bg-surface-hover);
        color: var(--primary);
    }

    .menu-link i,
    .menu-link svg {
        font-size: 1.1rem;
        color: var(--text-muted);
        transition: color 0.2s ease;
    }

    .menu-link:hover i,
    .menu-link:hover svg {
        color: var(--primary);
    }
}

/* Base Animations from original index.php */
@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.btn-glow:hover {
    box-shadow: 0 0 20px rgba(216, 112, 0, 0.3);
}