/* Import component styles */
@import 'components/theme.css';
@import 'components/ui.css';
@import 'components/animations.css';

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
        Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    position: relative;
}

/* Particles Container */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }

.text-brand { color: var(--primary); }
.text-muted { color: var(--text-muted); }

/* Hero Logo */
.hero-logo {
    position: relative;
    z-index: 1;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

.big-logo {
    text-align: center;
    animation: fadeInUp 1s ease;
}

.big-logo-icon {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: white;
    animation: pulse 2s infinite;
    box-shadow: 0 0 50px rgba(255, 97, 0, 0.3);
    transition: transform 0.3s ease;
}

.big-logo-icon:hover {
    transform: rotate(10deg) scale(1.05);
}

.big-logo-text {
    font-size: 5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 0 0 30px rgba(255, 97, 0, 0.3);
    letter-spacing: -2px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 50px rgba(255, 97, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 70px rgba(255, 97, 0, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 50px rgba(255, 97, 0, 0.3);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main content z-index fix */
main {
    position: relative;
    z-index: 1;
    background: linear-gradient(to bottom,
        transparent,
        var(--bg-dark) 100px,
        var(--bg-dark)
    );
}

/* Footer z-index fix */
.footer {
    position: relative;
    z-index: 1;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-surface);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* Selection */
::selection {
    background: var(--primary);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .hero-logo {
        min-height: 50vh;
        padding: 3rem 1.5rem;
    }

    .big-logo-icon {
        width: 150px;
        height: 150px;
        font-size: 4rem;
        margin-bottom: 1.5rem;
    }

    .big-logo-text {
        font-size: 3.5rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        gap: 1.5rem;
    }

    .category-title {
        padding: 1rem;
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .project-card {
        padding: 1.25rem;
    }

    .project-icon {
        width: 3rem;
        height: 3rem;
    }

    .project-title {
        font-size: 1.25rem;
    }
}
