:root {
    --bg-color: #000000;
    --text-color: #f5f5f7;
    --accent-color: #0071e3;
    --secondary-text: #86868b;
    --glass-bg: rgba(22, 22, 23, 0.8);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --nav-height: 48px;
    --transition: cubic-bezier(0.28, 0.11, 0.32, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Scroll Smoothing */
html {
    scroll-behavior: smooth;
}

/* Nav */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    background: var(--glass-bg);
    backdrop-filter: saturate(180%) blur(20px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-content {
    width: 100%;
    max-width: 1024px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
}

.nav-logo {
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: -0.01em;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.8rem;
    margin-left: 20px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 1;
}

/* Sections */
section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 22px;
}

/* Hero */
.hero {
    text-align: center;
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}

.hero p {
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--secondary-text);
    max-width: 800px;
}

/* Project Cards */
.projects-grid {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.project-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: transform 0.8s var(--transition), opacity 0.8s var(--transition);
}

.project-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.project-image-wrapper {
    width: 100%;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    background: #1d1d1f;
    aspect-ratio: 16 / 9;
}

.project-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--transition);
}

.project-card:hover .project-image-wrapper img {
    transform: scale(1.03);
}

.project-info h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.project-info p {
    color: var(--secondary-text);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.btn-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-link::after {
    content: '→';
}

/* Footer & Contact */
.footer {
    padding-bottom: 50px;
    text-align: center;
    color: var(--secondary-text);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .project-info h2 { font-size: 1.8rem; }
}
