/* =============================================================
   venue-styles.css
   Styles for new_troubadours_venues.html
   Depends on shared-styles.css being loaded first.
   ============================================================= */

/* =============================================================
   1. PAGE HEADER / NAV
   ============================================================= */

.page-header {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 20px;
}

.back-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9em;
}

.back-link:hover {
    background-color: #45a049;
}


/* =============================================================
   2. LOADING / NOT FOUND STATES
   ============================================================= */

.loading-state,
.not-found-state {
    text-align: center;
    padding: 40px 20px;
    color: #777;
    font-style: italic;
}

.not-found-state a {
    color: #2e7d32;
}


/* =============================================================
   3. VENUE HERO
   ============================================================= */

.venue-hero {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.venue-hero-top {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    justify-content: space-between;
}

.venue-hero-text {
    flex: 1;
}

.venue-hero-text h1 {
    text-align: left;
    margin: 0 0 8px 0;
    font-size: 26px;
    color: #333;
    font-style: normal;
}

.venue-address {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.5;
}

.venue-links {
    font-size: 14px;
}

.venue-links a {
    color: #2e7d32;
    text-decoration: none;
    font-weight: bold;
}

.venue-links a:hover {
    text-decoration: underline;
}

.venue-description {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eee;
    font-size: 14px;
    line-height: 1.7;
    color: #444;
}

.venue-description p {
    margin: 0 0 10px 0;
}


/* =============================================================
   4. TWO-COLUMN LAYOUT
   ============================================================= */

.two-col-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 20px;
    align-items: start;
}

@media (max-width: 900px) {
    .two-col-layout {
        grid-template-columns: 1fr;
    }
}

.left-col,
.right-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/* =============================================================
   5. CONTENT SECTIONS
   ============================================================= */

.content-section {
    background: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.section-heading {
    margin: 0 0 16px 0;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    text-align: left;
    font-style: normal;
}


/* =============================================================
   6. MAP
   Overrides shared-styles.css #map-container for the venue page.
   ============================================================= */

#map-container {
    height: 260px;
    padding: 0;
    box-shadow: none;
    background: transparent;
    margin-bottom: 12px;
}

#map {
    height: 100%;
    border-radius: 4px;
    border: 1px solid #ddd;
}


/* =============================================================
   7. VENUE INFO TABLE
   ============================================================= */

.venue-info-table {
    margin-top: 8px;
}

.info-table-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 13px;
    border-bottom: 1px solid #f0f0f0;
}

.info-table-row:last-child {
    border-bottom: none;
}

.info-table-label {
    color: #888;
}

.info-table-value {
    color: #333;
    font-weight: bold;
    text-align: right;
}


/* =============================================================
   8. REGULAR CLUB CARDS
   ============================================================= */

.regular-club-card {
    border: 1px solid #e0e0e0;
    border-left: 4px solid #4CAF50;
    border-radius: 4px;
    padding: 14px 16px;
    margin-bottom: 10px;
    background: #fafafa;
}

.regular-club-card:last-child {
    margin-bottom: 0;
}

.regular-club-card.club-folk {
    border-left-color: #8b4513;
    background: #fdf8f4;
}

.regular-club-card.club-session {
    border-left-color: #228b22;
    background: #f4faf4;
}

.regular-club-name {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
}

.regular-club-schedule {
    font-weight: bold;
    color: #2e7d32;
}

.club-folk .regular-club-schedule {
    color: #8b4513;
}

.club-session .regular-club-schedule {
    color: #228b22;
}

.regular-club-meta {
    font-size: 13px;
    color: #555;
    margin-bottom: 6px;
}

.regular-club-desc {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 8px;
}

.regular-club-links {
    font-size: 13px;
    margin-bottom: 6px;
}

.regular-club-links a {
    color: #2e7d32;
    text-decoration: none;
    font-weight: bold;
}

.regular-club-links a:hover {
    text-decoration: underline;
}

.regular-club-exceptions {
    font-size: 12px;
    color: #c62828;
    font-style: italic;
    margin-top: 6px;
}


/* =============================================================
   9. EVENT ROWS
   ============================================================= */

.event-row {
    display: flex;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start;
}

.event-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.event-row-past {
    opacity: 0.65;
}

.event-row-date {
    font-size: 12px;
    color: #666;
    min-width: 120px;
    flex-shrink: 0;
    padding-top: 2px;
    line-height: 1.5;
}

.event-row-detail {
    flex: 1;
}

.event-row-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 3px;
}

.event-row-time {
    font-size: 12px;
    color: #888;
    font-style: italic;
    margin-right: 8px;
}

.event-row-performer {
    font-size: 13px;
    color: #555;
    font-style: italic;
    margin-top: 2px;
}

.event-row-performer a {
    color: #2e7d32;
    text-decoration: none;
}

.event-row-performer a:hover {
    text-decoration: underline;
}

.badge-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 6px;
    align-items: center;
}

.badge {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: bold;
}

.badge-special {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.badge-music {
    background: #e8eaf6;
    color: #1a237e;
    border: 1px solid #9fa8da;
}

.badge-past {
    background: #f5f5f5;
    color: #888;
    border: 1px solid #ddd;
}

.badge-price {
    background: #fff8e1;
    color: #f57f17;
    border: 1px solid #ffe082;
}

.badge-stories-welcome {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: bold;
    margin-top: 6px;
    display: inline-block;
}

.badge-by-invite {
    background: #fff3e0;
    color: #e65100;
    border: 1px solid #ffcc80;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: bold;
    margin-top: 6px;
    display: inline-block;
    margin-left: 4px;
}

.ticket-link {
    font-size: 12px;
    color: #2e7d32;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 1px solid #4CAF50;
    padding-bottom: 1px;
}

.ticket-link:hover {
    color: #1b5e20;
    border-bottom-color: #1b5e20;
}


/* =============================================================
   10. NEARBY VENUES
   ============================================================= */

.nearby-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.nearby-name {
    font-size: 14px;
    color: #2e7d32;
    font-weight: bold;
    text-decoration: none;
    flex: 1;
}

.nearby-name:hover {
    text-decoration: underline;
}

.nearby-city {
    font-size: 12px;
    color: #888;
    font-style: italic;
}

.nearby-dist {
    font-size: 12px;
    color: #aaa;
    white-space: nowrap;
}


/* =============================================================
   11. COLOPHON
   ============================================================= */

.about {
    margin-top: 40px;
    padding: 20px;
    font-size: 13px;
    color: #888;
    border-top: 1px solid #e0e0e0;
}

.about p {
    margin: 0 0 8px 0;
}


/* =============================================================
   12. RESPONSIVE
   ============================================================= */

@media (max-width: 600px) {
    .venue-hero-top {
        flex-direction: column;
    }

    .event-row {
        flex-direction: column;
        gap: 4px;
    }

    .event-row-date {
        min-width: auto;
    }
}