/* projects/project-style.css */

.project-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12rem 1rem 4rem;
}

.project-intro {
    margin-bottom: 2rem;
}

.project-tags {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    opacity: 0.6;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-intro h1 {
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
}

.project-gallery {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.img-large {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.img-large.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.img-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.img-grid-5 .img-item {
    aspect-ratio: 2/3;
    background-color: #f0f0f0;
    border-radius: 4px;
}

.img-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.img-grid-3 .img-item {
    aspect-ratio: 1/1;
    background-color: #f0f0f0;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .project-intro h1 {
        font-size: 2.2rem;
    }

    .img-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }

    .img-grid-3 {
        grid-template-columns: 1fr;
    }
}