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

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #2d2d2d;
    --accent-color: #4a9eff;
    --text-color: #ffffff;
    --text-secondary: #b0b0b0;
    --section-bg: #f5f5f5;
    --section-text: #333333;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--primary-color);
    background-image: url('../images/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    overflow-x: hidden;
}

/* Header & Navigation */
header {
    background-color: transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo img {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-color);
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

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

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

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

/* Landing Page */
.landing-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

.landing-container {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    background-color: transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-top: 3rem;
    color: var(--text-color);
}

.landing-page h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--accent-color), #6bb3ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8));
}

.landing-subtitle {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--text-color);
    padding: 2.5rem;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    background-color: rgba(0, 0, 0, 0.6);
}

.service-card h2 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin: 1rem 0;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Sections */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hide sections by default, show landing page */
.section-content {
    display: none;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-color);
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.landing-page {
    display: flex;
}

.landing-page.hidden {
    display: none !important;
}

/* Show section when active */
.section-content.active {
    display: block !important;
}

.section-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.section-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1rem;
}

/* Production Accounting - IMDb Style Filmography */
.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.filmography {
    margin-top: 2rem;
}

.filmography h3 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-weight: 600;
}

.film-year-group {
    margin-bottom: 2.5rem;
}

.year-header {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.film-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1.5fr 1.5fr 1.2fr;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    align-items: center;
    transition: background-color 0.2s ease;
}

.film-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
}

.film-title {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1.05rem;
}

.film-type {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-style: italic;
}

.film-role {
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 500;
}

.film-company {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.film-location {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.film-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: right;
}

.remote-note {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Zomes Section */
.zome-feature {
    margin-top: 2rem;
}

.zome-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.zome-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zome-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.zome-content {
    margin-top: 2rem;
}

.zome-content h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.zome-content h3:first-of-type {
    margin-top: 0;
}

.status-badge {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.planning {
    background-color: #ff9800;
    margin-bottom: 1.5rem;
}

/* Free Heap Section */
.free-heap-content {
    margin-top: 1.5rem;
}

.free-heap-content h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.feature-list li {
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--accent-color);
    line-height: 1.7;
    color: var(--text-color);
}

.feature-list li strong {
    color: var(--text-color);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.focus-areas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.focus-tag {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 500;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.focus-tag:hover {
    transform: scale(1.05);
    background-color: #3a8eef;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    padding: 2rem;
    text-align: center;
    color: var(--text-secondary);
    margin-top: 4rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 1rem;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        padding: 1rem 2rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .landing-page h1 {
        font-size: 2.2rem;
    }

    .landing-subtitle {
        font-size: 1.1rem;
    }

    .service-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .service-card h2 {
        font-size: 1.5rem;
    }

    .card-icon {
        font-size: 3rem;
    }

    .section-content {
        padding: 2rem 1.5rem;
    }

    .section-content h2 {
        font-size: 2rem;
    }

    nav {
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        color: var(--text-color);
        font-size: 1.5rem;
        cursor: pointer;
    }

    .logo-text {
        font-size: 1.4rem;
    }

    .logo img {
        height: 40px;
    }

    /* Filmography responsive */
    .film-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 1.25rem 0;
    }

    .film-title {
        font-size: 1.1rem;
        margin-bottom: 0.25rem;
    }

    .film-type,
    .film-role,
    .film-company,
    .film-location,
    .film-date {
        font-size: 0.9rem;
        padding-left: 1rem;
    }

    .film-date {
        text-align: left;
        padding-left: 1rem;
    }

    .year-header {
        font-size: 1.3rem;
    }

    .filmography h3 {
        font-size: 1.7rem;
    }

    /* Zomes responsive */
    .zome-images {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .zome-image {
        height: 200px;
    }

    .zome-content h3 {
        font-size: 1.3rem;
    }

    /* Free Heap responsive */
    .focus-areas {
        gap: 0.75rem;
    }

    .focus-tag {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    .feature-list li {
        padding: 0.75rem;
    }
}

@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Section Animations */
.section-content {
    animation: fadeInUp 0.6s ease-out;
}

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

