/* Pincolor Videos Section */
.pcv-section {
    padding: 60px 0;
    background-color: #fafafa;
}

.pcv-layout {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 40px;
    align-items: center;
}

.pcv-header {
    text-align: left;
}

.pcv-title {
    font-family: "Inter", sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #18181b;
    margin: 0 0 16px;
    line-height: 1.3;
}

.pcv-subtitle {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #18181b;
    margin: 0;
}

.pcv-layout--no-header {
    grid-template-columns: 1fr;
}

.pcv-carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.pcv-video-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1), 0px 1px 2px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pcv-video-item:hover {
    transform: translateY(-4px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
}

.pcv-video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.pcv-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.pcv-video-thumbnail:hover img {
    transform: scale(1.05);
}

.pcv-video-play {
    display: block;
    position: relative;
}

.pcv-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease;
}

.pcv-play-button svg circle {
    transition: fill 0.2s ease;
}

.pcv-video-play:hover .pcv-play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

.pcv-video-play:hover .pcv-play-button svg circle {
    fill: rgba(106, 201, 187, 0.9);
}

.pcv-video-info {
    padding: 20px;
}

.pcv-video-title {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #18181b;
    margin: 0 0 8px;
    line-height: 1.4;
}

.pcv-video-description {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    color: #71717a;
    margin: 0;
    line-height: 1.5;
}

/* Swiper navigation */
.pcv-swiper-button-prev,
.pcv-swiper-button-next {
    position: absolute;
    top: calc(50% - 30px);
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.2s ease, color 0.2s ease;
    color: #18181b;
}

.pcv-swiper-button-prev:hover,
.pcv-swiper-button-next:hover {
    background-color: #6ac9bb;
    color: #fff;
}

.pcv-swiper-button-prev {
    left: -8px;
}

.pcv-swiper-button-next {
    right: -8px;
}

.pcv-swiper-button-prev.swiper-button-disabled,
.pcv-swiper-button-next.swiper-button-disabled {
    opacity: 0.35;
    pointer-events: none;
}

/* Swiper pagination */
.pcv-section .swiper-pagination {
    position: relative;
    margin-top: 20px;
}

.pcv-section .swiper-pagination-bullet {
    background: #d4d4d8;
    opacity: 1;
}

.pcv-section .swiper-pagination-bullet-active {
    background: #6ac9bb;
}

/* Modal */
.pcv-video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.pcv-video-modal.active {
    display: flex;
}

.pcv-video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
}

.pcv-video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s ease;
}

.pcv-video-modal-close:hover {
    color: #6ac9bb;
}

.pcv-video-modal-player {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.pcv-video-modal-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Responsive */
@media (max-width: 1200px) {
    .pcv-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pcv-header {
        text-align: center;
        max-width: 500px;
        margin: 0 auto;
    }

    .pcv-swiper-button-prev {
        left: 4px;
    }

    .pcv-swiper-button-next {
        right: 4px;
    }
}

@media (max-width: 640px) {
    .pcv-section {
        padding: 40px 0;
    }

    .pcv-title {
        font-size: 20px;
    }

    .pcv-video-info {
        padding: 16px;
    }
}
