/* ══════════════════════════════════════════
   CP MESSAGE STYLES — cp-message.css
   ══════════════════════════════════════════ */

.cp-container {
    width: min(85vw, 96%);
    margin: 0 auto;
}

.cp-message-section {
    padding: 2.5vw 0;
    background-color: #fdfdfd; /* Very soft gray/white */
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cp-section-title {
    text-align: center;
    font-family: var(--font-heading);
    color: var(--theme-accent);
    font-size: clamp(1.4vw, 1.8vw, 2.2vw);
    text-transform: uppercase;
    letter-spacing: 0.2vw;
    margin-bottom: 2vw;
    position: relative;
}

.cp-section-title::after {
    content: '';
    position: absolute;
    bottom: -1vw;
    left: 50%;
    transform: translateX(-50%);
    width: 4vw;
    height: 0.2vw;
    background: var(--theme-accent);
}

.cp-message-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5vw;
    align-items: center;
}

.cp-image-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.cp-img-wrapper {
    width: 100%;
    height: 70vh; /* Increased height */
    background-color: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
}

.cp-img-wrapper:hover {
    transform: translateY(-0.5vw) scale(1.02);
}

.cp-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ════════════ LIGHTBOX ════════════ */
.cp-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 2vw;
}

.lightbox-content {
    max-width: 95%;
    max-height: 90vh;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
    border: 0.5vw solid #fff;
    border-radius: 0.5vw;
}

.lightbox-close {
    position: absolute;
    top: 2vw;
    right: 2.5vw;
    color: #fff;
    font-size: 3vw;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: var(--theme-accent);
}

@keyframes zoomIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@media (max-width: 960px) {
    .cp-message-section {
        padding: 8vw 0;
    }
    .cp-message-row {
        grid-template-columns: 1fr;
        gap: 10vw;
    }
    .cp-img-wrapper {
        height: 75vh;
        padding: 0;
        background: transparent;
        box-shadow: none;
        border: none;
    }
    .cp-section-title {
        font-size: 6vw;
        letter-spacing: 0.3vw;
        margin-bottom: 8vw;
    }
    .cp-section-title::after {
        width: 12vw;
        height: 0.8vw;
        bottom: -3vw;
    }
    .lightbox-close {
        font-size: 10vw;
        top: 5vw;
        right: 5vw;
    }
    .cp-img-wrapper img {
        object-fit: cover;
    }
}
