/* Custom CSS Variables and Animations */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #fafafa;
    overflow-x: hidden;
}

a.tba {
    
    pointer-events: none;
    opacity: 0.5;
}

.project-card.tba {
    cursor: not-allowed;
}

/* Font families for utility */
.font-playfair {
    font-family: 'Playfair Display', serif;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(12px);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-fade-in {
    animation: fadeIn 1s forwards;
}

.animate-bounce-slow {
    animation: bounce 2s ease-in-out infinite;
}

/* Logo container */
#logo-container {
    position: relative;
    width: 48px;
    height: 48px;
    transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        height 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer;
}

#logo-container.expanded {
    width: 140px;
    height: 32px;
}

#logo-container:hover {
    transform: scale(1.05);
}

.logo-square {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.logo-icon {
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Intersection Observer Animation */
.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile menu animation */
#mobile-menu {
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.3s ease;
}

#mobile-menu.hidden {
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
}

/* Custom gradient text */
.gradient-text {
    background: linear-gradient(135deg, #d97706 0%, #ea580c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}