/* ==========================================================================
   VOICES THAT CARE - CHARITY CONCERT EVENT PAGE STYLES
   Replicating the visual spirit, typography, and palette of the concert flyer
   ========================================================================== */

:root {
    --flyer-sky-blue: #389cd6;
    --flyer-title-navy: #0e3768;
    --flyer-pill-cyan: #0689b7;
    --flyer-pill-teal: #08617d;
    --flyer-green-dark: #2d7738;
    --flyer-text-dark: #12283e;
    --flyer-card-bg: rgba(255, 255, 255, 0.94);
    --font-condensed: 'Barlow Condensed', 'Arial Narrow', sans-serif;
}

body.event-body {
    background-color: #e9f3fa;
    color: var(--flyer-text-dark);
    font-family: var(--font-sans);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    position: relative;
    overflow-x: hidden;
}

/* Event Specific Header Overrides */
.event-header {
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(14, 55, 104, 0.08);
}

.nav-back-link {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--flyer-title-navy);
    text-decoration: none;
    transition: var(--transition-smooth);
    margin-right: 15px;
}

.nav-back-link:hover {
    color: var(--color-accent);
}

/* Hero Section with Ambient Sky Backdrop */
.flyer-hero-section {
    position: relative;
    min-height: 100vh;
    padding: calc(var(--header-height) + 30px) 20px 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.sky-backdrop-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.sky-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: saturate(1.08) brightness(1.02);
    transform: scale(1.02);
}

.sky-overlay-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.6) 80%, rgba(233, 243, 250, 0.92) 100%);
}

.flyer-frame-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

/* The Flyer Card Canvas (Matches physical flyer aesthetics) */
.flyer-card-canvas {
    background: var(--flyer-card-bg);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(14, 55, 104, 0.16), 0 2px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 50px 60px 40px;
    text-align: center;
    animation: flyerFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes flyerFadeIn {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Flyer Header: Strengthening Lives Treble Clef Logo */
.flyer-logo-header {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.flyer-sl-logo {
    max-width: 360px;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.flyer-sl-logo:hover {
    transform: scale(1.03);
}

/* Flyer Main Title: Pragmatica / Condensed Bold style */
.flyer-main-title {
    font-family: var(--font-condensed);
    font-size: clamp(3.2rem, 7vw, 5.6rem);
    font-weight: 800;
    color: var(--flyer-title-navy);
    line-height: 0.98;
    letter-spacing: -0.5px;
    text-transform: none;
    margin: 0 0 16px;
    text-shadow: 0 2px 8px rgba(14, 55, 104, 0.08);
}

/* Theme Pill (Cyan / Teal gradient) */
.flyer-theme-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #0988b4 0%, #0d6389 100%);
    color: #ffffff;
    padding: 12px 36px;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(9, 136, 180, 0.3);
    margin-bottom: 26px;
}

.flyer-theme-pill .pill-text {
    font-family: var(--font-condensed);
    font-size: clamp(1.05rem, 2.4vw, 1.45rem);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Date, Time & Sponsor Row with QR Code */
.flyer-datetime-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(240, 248, 255, 0.7);
    border: 1px solid rgba(14, 55, 104, 0.1);
    border-radius: 14px;
    padding: 20px 30px;
    margin-bottom: 30px;
    text-align: left;
    gap: 20px;
}

.flyer-datetime-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.datetime-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.flyer-icon-calendar {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.datetime-text {
    font-family: var(--font-condensed);
    font-size: clamp(1.25rem, 2.5vw, 1.7rem);
    font-weight: 700;
    color: var(--flyer-title-navy);
    letter-spacing: 0.2px;
}

.sponsor-credit {
    font-size: 1.1rem;
    color: var(--flyer-title-navy);
}

.sponsor-credit .heart-icon {
    width: 24px;
    height: 24px;
    color: #e53935;
    flex-shrink: 0;
}

.sponsor-text strong {
    font-weight: 700;
    color: var(--flyer-title-navy);
}

/* QR Code Chip */
.flyer-qr-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    padding: 8px 10px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.flyer-qr-img {
    width: 76px;
    height: 76px;
    object-fit: contain;
    border-radius: 4px;
}

.qr-caption {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--flyer-pill-teal);
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Action Bar (Donate, Calendar, Directions, Flyer Download) */
.flyer-action-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 40px;
}

.btn-flyer-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(211, 47, 47, 0.3);
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.btn-flyer-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(211, 47, 47, 0.4);
    background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
}

.btn-flyer-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: var(--flyer-title-navy);
    font-family: var(--font-sans);
    font-size: 0.98rem;
    font-weight: 600;
    padding: 13px 22px;
    border-radius: 50px;
    border: 1px solid rgba(14, 55, 104, 0.2);
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.btn-flyer-secondary:hover {
    background: #f0f7fd;
    border-color: var(--flyer-pill-cyan);
    transform: translateY(-2px);
}

.btn-flyer-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--flyer-title-navy);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 13px 20px;
    border-radius: 50px;
    border: 1px dashed rgba(14, 55, 104, 0.35);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-flyer-outline:hover {
    background: rgba(14, 55, 104, 0.06);
    border-color: var(--flyer-title-navy);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* Calendar Dropdown */
.calendar-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.calendar-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 8px 0;
    min-width: 210px;
    z-index: 100;
    text-align: left;
    animation: menuFade 0.2s ease;
}

@keyframes menuFade {
    from { opacity: 0; transform: translate(-50%, -6px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

.calendar-menu.hidden {
    display: none;
}

.cal-menu-item {
    display: block;
    width: 100%;
    padding: 10px 20px;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--flyer-title-navy);
    background: transparent;
    border: none;
    text-decoration: none;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cal-menu-item:hover {
    background: #f0f7fd;
    color: var(--color-accent);
}

/* 2x2 Showcase Partners Grid (Matches 4 logos on flyer) */
.flyer-partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.partner-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(14, 55, 104, 0.08);
    border: 1px solid rgba(14, 55, 104, 0.08);
    padding: 24px 20px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(14, 55, 104, 0.14);
    border-color: var(--flyer-pill-cyan);
}

.partner-card-media {
    width: 100%;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.partner-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.partner-card:hover .partner-img {
    transform: scale(1.04);
}

.partner-img.band-img {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.partner-card-caption {
    width: 100%;
    text-align: center;
}

.partner-badge {
    display: inline-block;
    background: #eef6fc;
    color: var(--flyer-title-navy);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 6px;
}

.partner-badge.beneficiary-badge {
    background: #e8f5e9;
    color: #2e7d32;
}

.partner-badge.venue-badge {
    background: #fff8e1;
    color: #f57f17;
}

.partner-badge.talent-badge {
    background: #ede7f6;
    color: #512da8;
}

.partner-meta {
    font-size: 0.9rem;
    color: #5a6b7d;
    font-weight: 500;
    margin: 0;
}

/* Flyer Details Block: Location, Hours, Band, MC */
.flyer-details-block {
    background: #f7fafd;
    border: 1px solid rgba(14, 55, 104, 0.12);
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 26px;
    text-align: left;
}

.details-cols {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.detail-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #e1effa;
    color: var(--flyer-title-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon-box svg {
    width: 24px;
    height: 24px;
}

.detail-heading {
    font-family: var(--font-condensed);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--flyer-title-navy);
    margin: 0 0 4px;
    line-height: 1.2;
}

.detail-address {
    font-size: 1.05rem;
    color: var(--flyer-text-dark);
    margin: 0 0 6px;
    font-weight: 500;
}

.detail-highlight {
    font-size: 0.95rem;
    color: #1b5e20;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 8px;
}

.detail-map-link {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--flyer-pill-cyan);
    text-decoration: none;
    display: inline-block;
}

.detail-map-link:hover {
    text-decoration: underline;
    color: var(--flyer-title-navy);
}

.detail-genre {
    font-family: var(--font-condensed);
    font-size: 1.15rem;
    color: #556b82;
    font-weight: 600;
    margin: 0 0 12px;
}

.mc-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    color: var(--flyer-title-navy);
    background: #eef5fb;
    padding: 8px 14px;
    border-radius: 8px;
    display: inline-flex;
}

.mc-icon {
    width: 18px;
    height: 18px;
    color: var(--flyer-pill-teal);
}

/* 80% Net Proceeds Pill Banner (Matches flyer pill graphic) */
.flyer-proceeds-banner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(90deg, #134e6f 0%, #0d6389 100%);
    color: #ffffff;
    padding: 14px 34px;
    border-radius: 999px;
    box-shadow: 0 4px 16px rgba(19, 78, 111, 0.35);
    margin-bottom: 20px;
    max-width: 90%;
}

.proceeds-heart {
    width: 22px;
    height: 22px;
    color: #ffffff;
    flex-shrink: 0;
}

.proceeds-text {
    font-family: var(--font-condensed);
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Legal Tax Disclaimer (Flyer exact) */
.flyer-disclaimer {
    font-size: 0.85rem;
    color: #596e85;
    line-height: 1.5;
    margin: 0 auto;
    max-width: 680px;
    font-style: normal;
}

/* ==========================================================================
   DONATION SECTION (Matching Homepage UX, Sent as "Voices that Care")
   ========================================================================== */

.event-donation-section {
    background-color: #ffffff;
    padding: 100px 0;
    border-top: 1px solid rgba(14, 55, 104, 0.08);
}

.event-donation-section .donate-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.event-donation-section .donate-tag {
    font-family: var(--font-sans);
    font-size: 0.88rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--flyer-pill-cyan);
    font-weight: 700;
    margin-bottom: 14px;
}

.event-donation-section .donate-title {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    color: var(--flyer-title-navy);
    font-weight: 600;
    line-height: 1.18;
    margin-bottom: 24px;
}

.event-donation-section .donate-desc {
    font-size: 1.1rem;
    color: #4a5c6e;
    line-height: 1.75;
    margin-bottom: 18px;
}

.donate-venue-note {
    background: #f0f7fd;
    border-left: 3px solid var(--flyer-pill-cyan);
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    font-size: 0.96rem;
    color: var(--flyer-title-navy);
    line-height: 1.6;
    margin-bottom: 20px;
}

.event-donation-section .donate-disclaimer {
    font-size: 0.82rem;
    color: #7b8e9f;
    line-height: 1.5;
    margin-bottom: 30px;
    font-style: italic;
}

.event-donation-section .donation-impact-display {
    border-left: 3px solid var(--color-accent);
    padding-left: 20px;
    background: #fbfdff;
    padding-top: 14px;
    padding-bottom: 14px;
    border-radius: 0 8px 8px 0;
}

.event-donation-section .impact-title {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--color-accent);
    display: block;
    margin-bottom: 8px;
}

.event-donation-section .impact-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--flyer-title-navy);
    margin: 0;
}

.event-donation-section .donation-card {
    background: #ffffff;
    border: 1px solid rgba(14, 55, 104, 0.12);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 12px 36px rgba(14, 55, 104, 0.08);
    position: relative;
}

.donation-card-badge {
    position: absolute;
    top: -12px;
    right: 30px;
    background: var(--flyer-title-navy);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 14px;
    border-radius: 20px;
}

.event-donation-section .donation-card-title {
    font-family: var(--font-serif);
    font-size: 1.9rem;
    color: var(--flyer-title-navy);
    font-weight: 600;
    margin-bottom: 24px;
}

.secure-checkout-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #6a7c8e;
    margin-top: 16px;
}

.lock-icon {
    width: 14px;
    height: 14px;
    color: #2e7d32;
}

.donation-success-msg {
    margin-top: 20px;
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    color: #2e7d32;
}

.donation-success-msg.hidden {
    display: none;
}

.success-title {
    font-weight: 700;
    font-size: 1.05rem;
    margin: 0 0 4px;
}

.success-sub {
    font-size: 0.9rem;
    margin: 0;
}

/* ==========================================================================
   VENUE SECTION & HIGHLIGHTS
   ========================================================================== */

.event-venue-section {
    background-color: #f7fafd;
    padding: 90px 20px;
    border-top: 1px solid rgba(14, 55, 104, 0.06);
}

.venue-container {
    max-width: 1140px;
    margin: 0 auto;
    text-align: center;
}

.venue-tag {
    font-family: var(--font-sans);
    font-size: 0.88rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--flyer-pill-teal);
    font-weight: 700;
    margin-bottom: 10px;
}

.venue-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 3rem);
    color: var(--flyer-title-navy);
    font-weight: 600;
    margin-bottom: 10px;
}

.venue-subtitle {
    font-size: 1.1rem;
    color: #556c80;
    margin-bottom: 50px;
}

.venue-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
    text-align: left;
}

.venue-info-box {
    background: #ffffff;
    border-radius: 14px;
    padding: 32px 28px;
    border: 1px solid rgba(14, 55, 104, 0.08);
    box-shadow: 0 8px 24px rgba(14, 55, 104, 0.04);
    transition: var(--transition-smooth);
}

.venue-info-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(14, 55, 104, 0.1);
}

.venue-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #eef6fd;
    color: var(--flyer-pill-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.venue-icon svg {
    width: 24px;
    height: 24px;
}

.venue-info-box h3 {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    color: var(--flyer-title-navy);
    margin-bottom: 12px;
}

.venue-info-box p {
    font-size: 0.98rem;
    color: #566879;
    line-height: 1.65;
}

.venue-cta-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-mission-text {
    font-size: 0.92rem;
    color: var(--color-gray-light);
    line-height: 1.6;
    margin-top: 14px;
    max-width: 380px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Tablets & Mobile)
   ========================================================================== */

@media (max-width: 992px) {
    .flyer-card-canvas {
        padding: 40px 30px 30px;
    }

    .event-donation-section .donate-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }

    .venue-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .details-cols {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .flyer-hero-section {
        padding-top: calc(var(--header-height) + 10px);
        padding-left: 12px;
        padding-right: 12px;
    }

    .flyer-card-canvas {
        padding: 30px 18px 24px;
        border-radius: 14px;
    }

    .flyer-sl-logo {
        max-width: 280px;
    }

    .flyer-datetime-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 16px;
    }

    .flyer-qr-wrapper {
        align-self: center;
        margin-top: 8px;
    }

    .flyer-partners-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .partner-card-media {
        height: 110px;
    }

    .flyer-proceeds-banner {
        padding: 12px 20px;
    }

    .proceeds-text {
        font-size: 1.05rem;
    }

    .event-donation-section .donation-card {
        padding: 24px 18px;
    }

    .desktop-back-link {
        display: none;
    }
}
