/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #fff;
    z-index: 1000;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.logo-link {
    font-size: 1.25rem;
    font-weight: 500;
    color: #000;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #000;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
}

.nav-link:hover {
    opacity: 0.6;
}

/* Video Section */
.video-section {
    width: 100%;
    margin-top: 80px;
}

.video-wrapper {
    width: 100%;
    position: relative;
    pointer-events: none;
}

.video-container {
    width: 100%;
    padding: 56.25% 0 0 0;
    position: relative;
    pointer-events: none;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: auto;
}

/* Work Section */
.work-section {
    padding: 6rem 0;
    border-top: 1px solid #e0e0e0;
}

.work-section h2 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 3rem;
    color: #000;
}

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

.work-item {
    display: flex;
    flex-direction: column;
}

.work-image {
    width: 100%;
    background: #f5f5f5;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.work-image:not(.work-image-carousel) {
    height: 300px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Carousel Styles */
.work-image-carousel {
    position: relative;
    aspect-ratio: 1 / 1;
    height: auto;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 32px;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.carousel-btn:hover {
    color: rgba(255, 255, 255, 1);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: rgba(255, 255, 255, 1);
}

.work-info h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: #000;
}

.work-info p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.work-year {
    font-size: 0.9rem;
    color: #999;
    font-weight: 400;
}

/* About Section */
.about-section {
    padding: 6rem 0;
    border-top: 1px solid #e0e0e0;
}

.about-section h2 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: #000;
}

.about-content {
    max-width: 600px;
}

.about-content p {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    border-top: 1px solid #e0e0e0;
}

.contact-section h2 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: #000;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-link {
    font-size: 1.25rem;
    color: #000;
    text-decoration: none;
    font-weight: 400;
    display: inline-block;
}

.contact-link:hover {
    opacity: 0.6;
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.footer p {
    font-size: 0.9rem;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .nav-container {
        padding: 0 1.5rem;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .work-section,
    .about-section,
    .contact-section {
        padding: 4rem 0;
    }

    .work-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .work-section h2,
    .about-section h2,
    .contact-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }

    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .work-section h2,
    .about-section h2,
    .contact-section h2 {
        font-size: 1.75rem;
    }
}
