/* ───────────────────────────────────────
   Venue Popup Widget – Frontend Styles
   ─────────────────────────────────────── */

/* ▸ CARD -------------------------------- */
.vpw-card {
    display: inline-block;
    text-align: center;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    max-width: 320px;
}

.vpw-card:hover {
    transform: translateY(-4px);
}

.vpw-card:focus-visible {
    outline: 2px solid #c9a96e;
    outline-offset: 4px;
    border-radius: 8px;
}

.vpw-card__image-wrap {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.25s ease;
}

.vpw-card:hover .vpw-card__image-wrap {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.vpw-card__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.vpw-card:hover .vpw-card__image {
    transform: scale(1.04);
}

.vpw-card__title {
    margin: 16px 0 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
}

/* ▸ POPUP OVERLAY ----------------------- */
.vpw-popup {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.vpw-popup.is-active {
    opacity: 1;
    visibility: visible;
}

.vpw-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* ▸ POPUP INNER ------------------------- */
.vpw-popup__inner {
    position: relative;
    display: flex;
    max-width: 900px;
    width: 92%;
    max-height: 85vh;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(30px) scale(0.97);
    transition: transform 0.35s ease;
    z-index: 1;
}

.vpw-popup.is-active .vpw-popup__inner {
    transform: translateY(0) scale(1);
}

/* ▸ CLOSE BUTTON ------------------------ */
.vpw-popup__close {
    position: absolute;
    top: 12px;
    right: 16px;
    z-index: 2;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.vpw-popup__close:hover {
    background: #f0f0f0;
}

/* ▸ IMAGE COLUMN (left) ---------------- */
.vpw-popup__image-col {
    flex: 0 0 45%;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ▸ DETAILS COLUMN (right) ------------- */
.vpw-popup__details-col {
    flex: 1;
    padding: 40px 36px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vpw-popup__title {
    margin: 0 0 8px;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a1a;
}

.vpw-popup__desc {
    margin: 0 0 24px;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* ▸ DETAIL LIST ------------------------- */
.vpw-popup__detail-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vpw-popup__detail-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}

.vpw-popup__detail-row:last-child {
    border-bottom: none;
}

.vpw-popup__detail-icon {
    flex-shrink: 0;
    width: 24px;
    text-align: center;
    font-size: 1.1rem;
    color: #c9a96e;
}

.vpw-popup__detail-icon svg {
    width: 20px;
    height: 20px;
    fill: #c9a96e;
}

.vpw-popup__detail-text {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.4;
}

.vpw-popup__detail-text strong {
    font-weight: 600;
    margin-right: 4px;
}

/* ▸ VENUE LINK -------------------------- */
.vpw-popup__venue-link {
    display: inline-block;
    margin-top: 24px;
    padding: 12px 24px;
    background: #c9a96e;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.vpw-popup__venue-link:hover {
    background: #b8944f;
    transform: translateY(-1px);
    color: #fff;
}

.vpw-popup__link-arrow {
    margin-left: 6px;
}

/* ▸ RESPONSIVE -------------------------- */
@media (max-width: 768px) {
    .vpw-popup__inner {
        flex-direction: column;
        max-height: 90vh;
    }

    .vpw-popup__image-col {
        flex: 0 0 200px;
        min-height: 200px;
    }

    .vpw-popup__details-col {
        padding: 24px 20px;
    }

    .vpw-popup__title {
        font-size: 1.3rem;
    }
}
