:root {
    --primary-color: #f5f5f7;
    --secondary-color: #86868b;
    --accent-color: #0071e3;
    --bg-color: #032021;
    --card-bg: #053233;
    --text-color: #f5f5f7;
    --text-dim: #a1a1a6;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav {
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-color);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    padding: 150px 0 50px;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.highlight {
    background: linear-gradient(90deg, #fff, #86868b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-dim);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: var(--text-color);
    color: var(--bg-color);
}

.btn-primary:hover {
    transform: scale(1.05);
    background: #fff;
}

.btn-secondary {
    border: 1px solid var(--text-dim);
    color: var(--text-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

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

.image-wrapper:hover img {
    transform: scale(1.1);
}

/* About Section */
.about {
    padding: 50px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.stat-label {
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Work Section */
.work {
    padding: 50px 0;
}

.work-columns {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    align-items: flex-start;
    width: 100%;
}

.work-column {
    flex: 1;
    min-width: 0;
    /* Prevents long content from overflowing/stretching the column */
}

.work-grid-vertical {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.category-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    border-left: 4px solid var(--accent-color);
    padding-left: 1rem;
}

.work-card {
    background: var(--card-bg);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition);
}

.work-card:hover {
    transform: translateY(-10px);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
}

.video-container video,
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

.work-image {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    /* Subtle inset background */
}

.work-info {
    padding: 1.5rem;
}

.work-info h3 {
    margin-bottom: 0.5rem;
}

.work-info p {
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 50px 0;
    text-align: center;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-content p {
    font-size: 1.3rem;
    color: var(--text-dim);
    margin-bottom: 2rem;
}

.email-link {
    font-size: 2rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 700;
    display: block;
    margin-bottom: 3rem;
    transition: var(--transition);
}

.email-link:hover {
    color: var(--accent-color);
    letter-spacing: 1px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--text-color);
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--text-dim);
    font-size: 0.8rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.fade-in-delayed {
    opacity: 0;
    animation: fadeIn 1s 0.3s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        height: auto;
        padding: 150px 0 100px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .image-wrapper {
        width: 300px;
        height: 300px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        margin-top: 2rem;
    }
}

@media (max-width: 800px) {
    .work-columns {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .nav-links {
        display: none;
        /* Mobile menu would go here, keeping it simple for now */
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .stat-number {
        font-size: 2rem;
    }
}