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

:root {
    /* Primary Green Theme Variables */
    --theme-green: #4CAF50;
    --theme-green-dark: #2e7d32;
    --theme-green-bg: #e8f5e9;
}


/* =============================================================
   1. 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: var(--theme-green-dark);
    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;
}


/* =============================================================
   2. 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;
}


/* =============================================================
   3. 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;
}


/* =============================================================
   4. 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;
}


/* =============================================================
   5. 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;
}


/* =============================================================
   6. REGULAR CLUB CARDS
   ============================================================= */

.regular-club-card {
    border: 1px solid #e0e0e0;
    border-left: 4px solid var(--theme-green);
    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: var(--theme-green-dark);
}

.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: var(--theme-green-dark);
    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;
}


/* =============================================================
   7. EVENT ROWS
   ============================================================= */

/* Venue-specific event row sub-classes */

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

.event-row-performer a {
    color: var(--theme-green-dark);
    text-decoration: none;
}

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

/* Venue-specific badge variants */

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

.badge-stories-welcome {
    background: var(--theme-green-bg);
    color: var(--theme-green-dark);
    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;
}

/* =============================================================
   8. 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: var(--theme-green-dark);
    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;
}


/* =============================================================
   9. FLYER GALLERY
   ============================================================= */

.venue-flyer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

.venue-flyer-thumb {
    display: block;
    line-height: 0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.15s ease;
}

.venue-flyer-thumb:hover {
    transform: translateY(-2px);
}

.venue-flyer-thumb img {
    width: 120px;
    height: 160px;
    object-fit: cover;
    display: block;
}

/* Past flyers: greyed out, brightened back to full colour on hover so
   they're still easy to inspect */
.venue-flyer-thumb-past img {
    filter: grayscale(100%);
    opacity: 0.55;
    transition: filter 0.15s ease, opacity 0.15s ease;
}

.venue-flyer-thumb-past:hover img {
    filter: grayscale(0%);
    opacity: 1;
}


/* =============================================================
   10. ALL-VENUES DIRECTORY LISTING
   ============================================================= */

.venue-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 8px;
}

.venue-list-count {
    font-size: 13px;
    color: #888;
    margin: 0 0 8px 4px;
}

.venue-list-empty {
    text-align: center;
    color: #aaa;
    padding: 30px;
    font-style: italic;
    grid-column: 1 / -1;
}

.venue-list-card {
    background: white;
    border-radius: 6px;
    padding: 12px 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    border-left: 4px solid #999;
    transition: box-shadow 0.15s ease;
}

.venue-list-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}

.venue-list-name {
    font-weight: bold;
    font-size: 14px;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.venue-list-loc {
    font-size: 12px;
    color: #777;
    font-style: italic;
}

.venue-type-badge {
    display: inline-block;
    margin-top: 5px;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 3px;
    font-weight: 500;
}

.venue-ptype-badge {
    display: inline-block;
    margin-top: 5px;
    margin-left: 4px;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 20px;
    font-weight: bold;
}

.venue-list-website-link {
    font-size: 11px;
    color: var(--theme-green-dark);
    text-decoration: none;
    margin-top: 4px;
    margin-left: 6px;
    display: inline-block;
}


/* =============================================================
   11. RESPONSIVE
   ============================================================= */

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