/* Portfolio Section */
.portfolio-section {
    width: 80%;
    margin: 0 auto 120px;
}

.portfolio-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 600;
}

/* MUSIC PORTFOLIO */
.portfolio-item-music {
    display: flex;
    flex-direction: column;
    gap: 50px;
    width: 100%;
    margin: 0 auto 150px;
}

.portfolio-item-music h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
    color: #f4cd59;
}

/* Video + Review row */
.video-review {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: stretch;
}

/* ── Fluid iframe wrapper ── */
.video-container {
    flex: 1 1 55%;          /* takes ~55% of the row */
    min-width: 0;           /* lets flex child shrink below its content size */
    position: relative;
    aspect-ratio: 16 / 9;  /* maintains ratio as width changes */
    border-radius: 12px;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    inset: 0;               /* top/right/bottom/left: 0 */
    width: 100%;
    height: 100%;
    border-radius: 12px;
    border: none;
}

/* Review card */
.portfolio-review {
    flex: 1 1 45%;
    min-width: 0;
    background-color: #8a60b18e;
    padding: 40px 35px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.p-r-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 25px;
    width: 85%;
    margin: 0 auto;
}

.p-r-content p {
    font-size: 15px;
    line-height: 1.7;
}

.p-r-content .client {
    font-size: 16px;
    font-weight: 600;
}

.clients-product-btn {
    color: white;
    background-color: #a855f7;
    text-decoration: none;
    font-size: 16px;
    border-radius: 50px;
    padding: 10px 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    white-space: nowrap;
}

.clients-product-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(213, 128, 255, 0.3);
}

/* Footer */
footer {
    text-align: center;
    padding: 60px 0 40px;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ── Responsive breakpoints ── */

/* Tablet: stack video above review */
@media (max-width: 900px) {
    .portfolio-section {
        width: 90%;
    }

    .video-review {
        flex-direction: column;
        gap: 24px;
    }

    /* Video: full width, ratio preserved */
    .video-container {
        flex: none;
        width: 100%;
    }

    /* Review: full width */
    .portfolio-review {
        flex: none;
        width: 100%;
    }

    .p-r-content {
        width: 80%;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .portfolio-section {
        width: 100%;
    }

    .portfolio-item-music {
        margin-bottom: 80px;
        gap: 30px;
    }

    .portfolio-item-music h3 {
        font-size: 1.25rem;
    }

    .portfolio-review {
        padding: 28px 20px;
    }

    .p-r-content {
        width: 100%;
        gap: 18px;
    }

    .p-r-content p {
        font-size: 14px;
    }

    .page-header h1 {
        font-size: 1.4rem;
    }

    .page-header h2 {
        font-size: 1.1rem;
    }
}