:root {
    --primary-color: #10a37f;
    --background-color: #000000;
    --text-color: #ffffff;
    --secondary-color: #888888;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: rgba(0, 0, 0, 0.8);
    position: sticky;
    top: 0;
    z-index: 1000;
}



.header-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.back-to-main {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

.back-to-main:hover {
    opacity: 0.8;
}

.logo {
    font-size: 1.2rem;
    font-weight: 600;
}

.logo span {
    color: var(--primary-color);
}

.category-nav {
    display: flex;
    gap: 1rem;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-left {
        width: 100%;
        justify-content: space-between;
        margin-bottom: 1rem;
    }

    .category-nav {
        width: 100%;
        justify-content: space-between;
    }
}

.category-button {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: var(--text-color);
    background-color: transparent;
    border: 1px solid var(--text-color);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-button:hover {
    background-color: var(--text-color);
    color: var(--background-color);
}

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

.intro {
    text-align: center;
    margin-bottom: 3rem;
}

.intro h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.intro a {
    color: var(--primary-color);
    text-decoration: none;
}

section {
    margin-bottom: 4rem;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.project-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
}

.project-item video {
    width: 100%;
    height: auto;
    display: block;
}

.project-description {
    padding: 1rem;
}

.category-button.active {
    background-color: var(--text-color);
    color: var(--background-color);
}

.model-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 4rem;
}

.model-links a {
    padding: 0.5rem 0.5rem;
    background-color: var(--light-gray);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.model-links a:hover {
    background-color: var(--dark-gray);
}


#text-to-video, #image-to-video, #video-to-video {
    max-width: 1200px;
    margin: 6rem auto;
    padding: 0 2rem;
}

#text-to-video h1, #image-to-video h1, #video-to-video h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 3rem;
    text-align: center;
}
