/* GovFest Public Schedule Styles */

:root {
    --govfest-color-1: #FFC619;
    --govfest-color-2: #00D4D4;
    --govfest-color-3: #FF1493;
    --govfest-color-4: #FF6B00;
    --govfest-color-5: #9C00FF;
    --govfest-color-6: #0066FF;
}

.govfest-schedule {
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.govfest-schedule__title {
    font-size: 32px;
    font-weight: 800;
    color: #1e1e1e;
    margin-bottom: 32px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

/* ===== LINEUP FORMAT (Band bio + photos) ===== */

.govfest-schedule--lineup .govfest-show {
    margin-bottom: 48px;
}

.govfest-show__header {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.govfest-show__header a {
    text-decoration: none;
    font-weight: 700;
}

.govfest-show__header a:hover {
    text-decoration: underline;
}

.govfest-show__bands {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.govfest-band-card {
    border-radius: 10px;
    padding: 20px;
    background: #e9e9e9;
    transition: box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.govfest-band-card__header {
    margin-bottom: 16px;
}

.govfest-band-card__image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 4px;
    
}

.govfest-band-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.govfest-band-card__body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.govfest-band-card__name {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 12px 0;
    color: #1e1e1e;
    line-height: 1.3;
}

.govfest-band-card__name a {
    text-decoration: none;
}

.govfest-band-card__name a:hover {
    text-decoration: underline;
}

.govfest-band-card__bio {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin: 0 0 16px 0;
    flex: 1;
}

.govfest-band-card__link {
    display: inline-block;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.govfest-band-card__link:hover {
    text-decoration: underline;
}

/* auto-fit handles responsive breakpoints automatically */

/* ===== BATTLE ROUNDS FORMAT (Simple timetable) ===== */

.govfest-schedule--battle .govfest-show-battle {
    margin-bottom: 48px;
    padding: 32px;
    border-left: 5px solid;
    border-radius: 4px;
    
}

.govfest-show-battle__header {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.govfest-show-battle__venue {
    font-size: 15px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.4;
}

.govfest-show-battle__venue a {
    text-decoration: none;
    font-weight: 700;
}

.govfest-show-battle__venue a:hover {
    text-decoration: underline;
}

.govfest-show-battle__timing {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    font-weight: 600;
}

.govfest-show-battle__header-wrapper {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.govfest-show-battle__bands {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.govfest-battle-band {
    display: flex;
    gap: 24px;
    font-size: 15px;
    font-weight: 600;
}

.govfest-battle-band__time {
    min-width: 70px;
    text-align: right;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.govfest-battle-band__name a {
    color: #1e1e1e;
    text-decoration: none;
    transition: color 0.2s ease;
}

.govfest-battle-band__name a:hover {
    text-decoration: underline;
}

/* ===== GRAND FINALE FORMAT (Times + inline bios) ===== */

.govfest-schedule--finale .govfest-show-finale {
    margin-bottom: 48px;
    padding: 32px;
    border-left: 5px solid;
    border-radius: 4px;
    background: #fafafa;
}

.govfest-show-finale__header {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.govfest-show-finale__header a {
    text-decoration: none;
    font-weight: 700;
}

.govfest-show-finale__header a:hover {
    text-decoration: underline;
}

.govfest-show-finale__featuring-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e1e1e;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.govfest-show-finale__featuring {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.govfest-finale-band {
    display: flex;
    gap: 24px;
}

.govfest-finale-band__time {
    font-weight: 700;
    min-width: 70px;
    text-align: right;
    flex-shrink: 0;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.govfest-finale-band__details {
    flex: 1;
}

.govfest-finale-band__name {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #1e1e1e;
}

.govfest-finale-band__name a {
    text-decoration: none;
}

.govfest-finale-band__name a:hover {
    text-decoration: underline;
}

.govfest-finale-band__bio {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

.govfest-finale-band__bio p {
    margin: 0 0 12px 0;
}

.govfest-finale-band__bio p:last-child {
    margin-bottom: 0;
}

.govfest-finale-band__bio a {
    text-decoration: underline;
}

.govfest-finale-band__bio a:hover {
    text-decoration: underline;
}



/* Lineup band cards */

/* Battle rounds shows */
.govfest-show-battle:nth-child(6n+1) {
    border-left-color: #FFC619;
    background: rgba(255, 198, 25, 0.15);
}

.govfest-show-battle:nth-child(6n+1) .govfest-show-battle__header {
    // color: #FFC619;
}

.govfest-show-battle:nth-child(6n+2) {
    border-left-color: #00D4D4;
    background: rgba(0, 212, 212, 0.15);
}

.govfest-show-battle:nth-child(6n+2) .govfest-show-battle__header {
    // color: #00D4D4;
}

.govfest-show-battle:nth-child(6n+3) {
    border-left-color: #FF1493;
    background: rgba(255, 20, 147, 0.15);
}

.govfest-show-battle:nth-child(6n+3) .govfest-show-battle__header {
    // color: #FF1493;
}

.govfest-show-battle:nth-child(6n+4) {
    border-left-color: #FF6B00;
    background: rgba(255, 107, 0, 0.15);
}

.govfest-show-battle:nth-child(6n+4) .govfest-show-battle__header {
    // color: #FF6B00;
}

.govfest-show-battle:nth-child(6n+5) {
    border-left-color: #9C00FF;
    background: rgba(156, 0, 255, 0.15);
}

.govfest-show-battle:nth-child(6n+5) .govfest-show-battle__header {
    // color: #9C00FF;
}

.govfest-show-battle:nth-child(6n+6) {
    border-left-color: #0066FF;
    background: rgba(0, 102, 255, 0.15);
}

.govfest-show-battle:nth-child(6n+6) .govfest-show-battle__header {
        // color: #0066FF;
        // font-family: "Luckiest Guy", cursive;
        // font-weight: 400;
    }

/* Grand finale shows */
.govfest-show-finale:nth-child(6n+1) {
    border-left-color: #FFC619;
}

.govfest-show-finale:nth-child(6n+1) .govfest-show-finale__header {
    color: #FFC619;
    border-bottom-color: #FFC619;
}

.govfest-show-finale:nth-child(6n+1) .govfest-show-finale__header a {
    color: #FFC619;
}

.govfest-show-finale:nth-child(6n+2) {
    border-left-color: #00D4D4;
}

.govfest-show-finale:nth-child(6n+2) .govfest-show-finale__header {
    color: #00D4D4;
    border-bottom-color: #00D4D4;
}

.govfest-show-finale:nth-child(6n+2) .govfest-show-finale__header a {
    color: #00D4D4;
}

.govfest-show-finale:nth-child(6n+3) {
    border-left-color: #FF1493;
}

.govfest-show-finale:nth-child(6n+3) .govfest-show-finale__header {
    color: #FF1493;
    border-bottom-color: #FF1493;
}

.govfest-show-finale:nth-child(6n+3) .govfest-show-finale__header a {
    color: #FF1493;
}

.govfest-show-finale:nth-child(6n+4) {
    border-left-color: #FF6B00;
}

.govfest-show-finale:nth-child(6n+4) .govfest-show-finale__header {
    color: #FF6B00;
    border-bottom-color: #FF6B00;
}

.govfest-show-finale:nth-child(6n+4) .govfest-show-finale__header a {
    color: #FF6B00;
}

.govfest-show-finale:nth-child(6n+5) {
    border-left-color: #9C00FF;
}

.govfest-show-finale:nth-child(6n+5) .govfest-show-finale__header {
    color: #9C00FF;
    border-bottom-color: #9C00FF;
}

.govfest-show-finale:nth-child(6n+5) .govfest-show-finale__header a {
    color: #9C00FF;
}

.govfest-show-finale:nth-child(6n+6) {
    border-left-color: #0066FF;
}

.govfest-show-finale:nth-child(6n+6) .govfest-show-finale__header {
    color: #0066FF;
    border-bottom-color: #0066FF;
}

.govfest-show-finale:nth-child(6n+6) .govfest-show-finale__header a {
    color: #0066FF;
}

/* ===== ERROR/INFO MESSAGES ===== */

.govfest-error {
    background: #fce4e4;
    color: #c5192d;
    border: 1px solid #f5a6a6;
}

.govfest-info {
    background: #e7f3ff;
    color: #0559d6;
    border: 1px solid #b3d9ff;
}

/* ===== BAND MODAL (Battle Rounds) ===== */

.govfest-band-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.govfest-band-modal--open {
    display: flex;
}

.govfest-band-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    animation: fadeIn 0.2s ease;
}

.govfest-band-modal__container {
    position: relative;
    background: #fff;
    border-radius: 8px;
    margin: auto;
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease;
}

.govfest-band-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 32px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    z-index: 1;
}

.govfest-band-modal__close:hover {
    color: #333;
}

.govfest-band-modal__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 40px 30px 30px 30px;
}

.govfest-band-modal__image {
    width: 100%;
    max-height: 400px;
    border-radius: 6px;
    overflow: hidden;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.govfest-band-modal__image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.govfest-band-modal__no-image {
    color: #999;
    font-size: 14px;
}

.govfest-band-modal__info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.govfest-band-modal__title {
    font-size: 24px;
    font-weight: 700;
    color: #1e1e1e;
    margin: 0;
}

.govfest-band-modal__bio {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

.govfest-band-modal__bio p {
    margin: 0 0 12px 0;
}

.govfest-band-modal__bio p:last-child {
    margin-bottom: 0;
}

.govfest-band-modal__bio a {
    color: #2c5aa0;
    text-decoration: underline;
}

.govfest-band-modal__bio a:hover {
    color: #1a3a6f;
}

/* Modal animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive modal */
@media (max-width: 768px) {
    .govfest-band-modal__container {
        width: 95%;
        max-height: 90vh;
    }

    .govfest-band-modal__content {
        padding: 36px 20px 20px 20px;
    }

    .govfest-band-modal__image {
        height: 250px;
    }

    .govfest-band-modal__title {
        font-size: 20px;
    }

    .govfest-band-modal__bio {
        font-size: 13px;
    }
}

