:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --accent-color: #ffffff;
    --card-bg: #111111;
    --button-hover: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.1) 1px, transparent 0);
    background-size: 30px 30px;
    color: var(--text-color);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
}

.hero {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeIn 1s ease-out;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.accent {
    color: var(--accent-color);
}

.hero-text {
    font-size: 1.5rem;
    opacity: 0.8;
    max-width: 600px;
    margin-bottom: 1rem;
}

.hero-subtext {
    font-size: 1.1rem;
    opacity: 0.6;
    max-width: 500px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    animation-delay: calc(var(--order) * 0.1s);
}

.project-card {
    scale: 1;
    transition: all 0.3s ease;
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.3s ease;
    position: relative;
    aspect-ratio: 16/9;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 1);
    animation: slideUp 0.5s ease-out;
    animation-fill-mode: both;
    background-size: cover;
    background-position: center;
}

.project-card::before {
    transition: all 0.3s ease;

    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.project-card:hover {
    scale: 1.05;
    transition: all 0.3s ease;
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 1);
}

.card-content {
    padding: 1.5rem;
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    z-index: 2;
}

.card-content h3 {
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.card-content p {
    opacity: 0.8;
}

.card-button {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin-top: 1rem;
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.card-button:hover {
    background: var(--button-hover);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
