:root {
    --primary-color: #2CA053;
    --secondary-color: #0047DE;
    --background-color: #282828;
    --text-color: #ffffff;
    --font-main: 'Space Mono', monospace;
}

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

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    position: relative;
}

#bg-canvas {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: -1 !important;
    pointer-events: none;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo img {
    height: 30px;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a img {
    height: 24px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.social-links a img svg {
    stroke: #ffffff;
}

.social-links a:hover img {
    opacity: 1;
}

main {
    padding-top: 100px;
}

.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: normal;
    text-align: left;
    line-height: 1.4;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 span {
    display: inline-block;
}

.dynamic-word1, .dynamic-word2 {
    transition: opacity 0.1s ease;
    position: relative;
    display: inline-block;
}

.dynamic-word1.animate-out, .dynamic-word2.animate-out {
    animation: fallOut 0.1s ease-out forwards;
}

.dynamic-word1.animate-in, .dynamic-word2.animate-in {
    animation: bounceIn 0.1s cubic-bezier(0.38, 0.2, 0.1, -0.55) forwards;
}

@keyframes fallOut {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(50%);
        opacity: 0;
    }
}

@keyframes bounceIn {
    0% {
        transform: translateY(-50%);
        opacity: 0;
    }
    60% {
        transform: translateY(2%);
    }
    80% {
        transform: translateY(-1%);
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.carousel {
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.carousel-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    flex: 0 0 100%;
    min-width: 0;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 16/9;
}

.recent-works {
    padding: 4rem 2rem;
}

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

.work-item {
    padding: 2rem;    
    transition: all 0.3s ease;
    cursor: pointer;
}

.work-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.work-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.work-item p {
    opacity: 0.8;
    margin: 0.5rem 0;
}

.clients {
    padding: 4rem 2rem;
}

.client-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 2rem;
}

.client-logos img {
    height: 40px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.client-logos img:hover {
    opacity: 1;
}

footer {
    padding: 2rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

@media (max-width: 768px) {
    header {
        padding: 1rem;
    }

    .logo img {
        height: 24px;
    }

    .social-links {
        gap: 1rem;
    }

    .social-links a img {
        height: 20px;
    }

    main {
        padding-top: 80px;
    }

    .hero h1 {
        font-size: clamp(3rem, 8vw, 6rem);
        line-height: 1.2;
    }

    .carousel {
        padding: 2rem 0;
    }

    .carousel-slide img {
        aspect-ratio: 9/16;
    }

    .work-item {
        padding: 1.5rem;
    }
} 