/* /pages/shows/css/upcoming.css */

/* Wrapper */
.shows-upcoming-section {
    width: 100%;
    background: #000;
    padding: 4rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.shows-upcoming-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.75rem;
    text-align: center;
    box-sizing: border-box;
}

.shows-upcoming-title {
    font-family: 'Algerian', var(--header-font, serif);
    font-size: 2.4rem;
    color: #c8a763;
    margin-bottom: 0.75rem;
    text-shadow:
        0 2px 4px rgba(0,0,0,0.45),
        0 4px 10px rgba(0,0,0,0.35);
}

.shows-upcoming-subtitle {
    font-family: sans-serif;
    color: #e6e6e6;
    opacity: 0.85;
    font-size: 1rem;
    margin: 0 0 2rem;
}

/* Base: 1 column */
.shows-upcoming-list {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}

/* Desktop: 2 columns */
@media (min-width: 1200px) {
    .shows-upcoming-inner {
        max-width: 1200px;
    }

    .shows-upcoming-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.6rem;
    }

    .shows-upcoming-list .show-card {
        flex: 0 0 calc(50% - 0.8rem); /* 2 per row */
        text-align: left;
    }
}

/* Card base (similar but not identical to front page) */
.show-card {
    position: relative;
    padding: 1.1rem 1.2rem 1.35rem;
    background: radial-gradient(circle at top left, rgba(200,167,99,0.1), rgba(0,0,0,0.96));
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.14);
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
    box-shadow: 0 9px 22px rgba(0,0,0,0.7);

    --scroll-scale: 1;
    --hover-translate: 0px;
    transform: translateY(var(--hover-translate)) scale(var(--scroll-scale));
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.show-card:hover {
    --hover-translate: -4px;
    box-shadow: 0 13px 28px rgba(0,0,0,0.85);
    border-color: rgba(200,167,99,0.8);
    background: radial-gradient(circle at top left, rgba(200,167,99,0.2), rgba(0,0,0,0.98));
}

/* Center-highlighted card, controlled via JS */
.show-card.is-center {
    box-shadow: 0 14px 30px rgba(0,0,0,0.9);
    border-color: rgba(200,167,99,0.9);
}

/* Date */
.show-card-date {
    color: #c8a763;
    font-size: 1rem;
    margin: 0 0 0.35rem;
    font-family: 'Algerian', var(--header-font, serif);
    letter-spacing: 0.03em;
    display: inline-block;
    padding: 0.12rem 0.8rem;
    border-radius: 999px;
    background: rgba(200,167,99,0.12);
    border: 1px solid rgba(200,167,99,0.35);
}

/* Badges (This Weekend!, Tonight, etc.) */
.show-card-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
    margin: 0.35rem 0 0.7rem;
}

.show-card-badge {
    font-family: sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.16rem 0.7rem;
    border-radius: 999px;
    background: rgba(200,167,99,0.18);
    border: 1px solid rgba(200,167,99,0.55);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.45);
}

/* Venue / location */
.show-card-venue {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0.8rem 0 0.25rem;
    position: relative;
    padding-top: 0.8rem;
}

.show-card-venue::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(
        to right,
        rgba(200,167,99,0),
        rgba(200,167,99,0.9),
        rgba(200,167,99,0)
    );
    border-radius: 999px;
}

.show-card-location {
    color: #c8a763;
    opacity: 0.9;
    font-size: 0.98rem;
}

/* Time pill */
.show-card-time {
    display: inline-block;
    font-family: sans-serif;
    color: #e6e6e6;
    font-size: 0.98rem;
    margin: 0.35rem 0 0.65rem;
    padding: 0.12rem 0.8rem;
    border-radius: 999px;
    background: rgba(200,167,99,0.1);
    border: 1px solid rgba(200,167,99,0.3);
}

/* Photo */
.show-card-photo-wrap {
    width: 100%;
    margin: 0.7rem 0 0.9rem;
    display: flex;
    justify-content: center;
}

.show-card-photo {
    width: 100%;
    max-width: 680px;
    max-height: 260px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 7px 20px rgba(0,0,0,0.65);
}

/* Description */
.show-card-description {
    font-family: sans-serif;
    color: #e6e6e6;
    opacity: 0.92;
    font-size: 0.98rem;
    line-height: 1.5;
    margin: 0.4rem 0 0.8rem;
}

/* CTA buttons */
.show-card-cta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.45rem;
}

.show-card-btn {
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.86rem;
    padding: 0.5rem 1.5rem;
    border-radius: 999px;
    transition:
        transform 0.15s ease-out,
        box-shadow 0.15s ease-out,
        background 0.2s ease-out,
        color 0.2s ease-out,
        border-color 0.2s ease-out;
}

/* Primary (Tickets/RSVP) */
.show-card-btn.primary {
    font-family: 'Algerian', var(--header-font, serif);
    color: #000;
    background: linear-gradient(135deg, #c8a763, #7b6c55);
    box-shadow: 0 5px 14px rgba(200,167,99,0.35);
}

.show-card-btn.primary:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 9px 22px rgba(200,167,99,0.45);
}

/* Secondary (Join the Discussion) */
.show-card-btn.secondary {
    font-family: sans-serif;
    color: #c8a763;
    border: 1px solid rgba(200,167,99,0.7);
    background: rgba(0,0,0,0.6);
    box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

.show-card-btn.secondary:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 9px 22px rgba(0,0,0,0.85);
    background: rgba(200,167,99,0.15);
    border-color: rgba(200,167,99,1);
    color: #fff;
}

/* No shows */
.no-upcoming-shows {
    color: #e6e6e6;
    font-family: sans-serif;
    font-size: 1.02rem;
    opacity: 0.85;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* Desktop 2-column layout */
@media (min-width: 1200px) {
    .shows-upcoming-inner {
        max-width: 1200px;
    }

    .shows-upcoming-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.6rem;
    }

    .show-card {
        flex: 0 0 calc(50% - 0.8rem);
        text-align: left;
    }

    .show-card-venue {
        text-align: left;
    }

    .show-card-venue::before {
        left: 0;
        transform: none;
        width: 40%;
    }

    .show-card-cta-row {
        justify-content: flex-start;
    }
}

/* Mobile tweaks */
@media (max-width: 768px) {
    .shows-upcoming-inner {
        padding: 0 1.2rem;
    }

    .show-card {
        padding: 0.9rem 0.95rem 1.1rem;
    }

    .show-card-photo {
        max-height: 190px;
    }

    .show-card-btn {
        width: 100%;
        text-align: center;
    }
}

.show-card--soonest {
    border: 2px solid #c8a763;
    box-shadow: 0 0 16px rgba(200,167,99,0.45);
}
/* ============================================
   NEXT SHOW BADGE — styled like the date bubble
   ============================================ */

.show-card-next-badge {
    position: absolute;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px;

    padding: 0.15rem 0.75rem;
    font-family: 'Algerian', serif;
    font-size: 1rem;           /* matches date size */
    letter-spacing: 0.03em;
    text-transform: uppercase;

    border-radius: 999px;
    border: 1px solid rgba(200,167,99,0.55);
    background: rgba(200,167,99,0.12);   /* same faint gold haze used by date bubble */
    color: #c8a763;

    box-shadow:
        0 1px 4px rgba(0,0,0,0.45),
        inset 0 0 4px rgba(200,167,99,0.25);

    pointer-events: none;
    z-index: 10;
}

@media (max-width: 1200px) {
    .show-card-next-badge {
        left: auto;              /* cancel horizontal centering */
        transform: none;
        right: 0.5rem;           /* position at top right */
        top: 0.5rem;
        margin-top: 6px;
    }
}