@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Fira+Code:wght@400;600&display=swap');

body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

.mono {
    font-family: 'Fira Code', monospace;
}

.gradient-text {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism Navbar effect */
.nav-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
    cursor: pointer;
}

    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -4px;
        left: 0;
        background-color: #3b82f6;
        transition: width 0.3s ease;
    }

    .nav-link:hover::after {
        width: 100%;
    }

/* Dropdown logic */
.dropdown-content {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease-in-out;
}

.group:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* View switching */
.view {
    display: none;
}

    .view.active {
        display: block;
        animation: fadeIn 0.4s ease-out;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Experience Timeline */
.timeline-dot {
    position: relative;
}

    .timeline-dot::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 2.5rem;
        bottom: -2.5rem;
        width: 2px;
        background: #e2e8f0;
        transform: translateX(-50%);
    }

.timeline-item:last-child .timeline-dot::before {
    display: none;
}

.recipe-card:hover {
    transform: translateY(-4px);
    transition: all 0.3s ease;
}
