/* PROJECT PAGES STYLES */

.project-page {
    width: 100%;
    background-color: #F5F1E8;
    min-height: 100vh;
    padding-bottom: 0;
}

/* TITLE SECTION */
.project-title-section {
    padding: 40px 5%;
    background-color: #F5F1E8;
}

.page-title {
    font-family: 'Tungsten', Arial, sans-serif;
    font-size: clamp(40px, 8vw, 100px);
    font-weight: 900;
    /* Tungsten Black */
    color: #000000;
    margin: 0;
    padding: 0 40px;
    max-width: 1400px;
    margin: 0 auto;
    text-transform: uppercase;
}

/* =========================================
   STYLE 1 GRID (Reel + Text / Banner)
   ========================================= */
.style-1-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 40px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.style-1-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.style-1-reel {
    width: 100%;
    aspect-ratio: 9 / 16;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.style-1-reel img,
.style-1-reel video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.style-1-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    height: 100%;
}

.style-1-banner {
    width: 100%;
    aspect-ratio: 16 / 9;
    /* Or auto height based on content */
    background-color: #000;
    overflow: hidden;
}

.style-1-banner img,
.style-1-banner video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =========================================
   STYLE 2 GRID (Banner / Text / Banner)
   ========================================= */
.style-2-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding: 40px 5%;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.style-2-banner {
    width: 100%;
    /* aspect-ratio: 16 / 9; removed fixed aspect ratio to allow natural image height */
    background-color: #000;
    overflow: hidden;
}

.style-2-banner img,
.style-2-banner video {
    width: 100%;
    height: auto;
    display: block;
}

.style-2-text {
    width: 100%;
    max-width: 800px;
    /* Limit text width for readability */
    text-align: center;
    /* Center text for Style 2 stack */
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

/* SHARED TEXT STYLES */
.project-intro {
    font-family: 'Tungsten', Arial, sans-serif;
    font-size: clamp(16px, 2vw, 24px);
    font-weight: 400;
    color: #000000;
    margin: 0;
    line-height: 1.4;
}

.project-intro-small {
    font-family: 'Tungsten', Arial, sans-serif;
    font-size: clamp(14px, 1.5vw, 20px);
    font-weight: 400;
    color: #000000;
    margin: 0;
}

.project-name {
    font-family: 'Tungsten', Arial, sans-serif;
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 700;
    color: #000000;
    margin: 10px 0;
    text-transform: uppercase;
}

.project-info {
    font-family: 'Tungsten', Arial, sans-serif;
    font-size: clamp(14px, 1.5vw, 22px);
    font-weight: 400;
    color: #000000;
    line-height: 1.6;
}

.project-info p {
    margin: 5px 0;
    text-transform: uppercase;
}

.project-description-large {
    font-family: 'Tungsten', Arial, sans-serif;
    font-size: clamp(16px, 2vw, 28px);
    font-weight: 400;
    color: #000000;
    margin: 0 0 20px 0;
    line-height: 1.4;
    text-transform: uppercase;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .style-1-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .page-title {
        padding: 0 20px;
        font-size: 36px;
    }

    .style-1-grid,
    .style-2-grid {
        padding: 30px 5%;
        gap: 30px;
    }
}

/* ========================================= */
/*   PINTEREST-STYLE MASONRY GRID          */
/* ========================================= */
.masonry-grid {
    column-count: 2;
    column-gap: 30px;
    padding: 40px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 30px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.masonry-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.masonry-item img,
.masonry-item video {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .masonry-grid {
        column-count: 1;
    }
}

@media (min-width: 1200px) {
    .masonry-grid {
        column-count: 3;
    }
}