/* /public/css/shows.css */

/* =========================================================
   Shows Hero
   ========================================================= */

.shows-hero {
    height: 60vh;
    background: url('/media/shows_bg.jpg') center / cover no-repeat;
    position: relative;
}

.shows-hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.35);
}

.shows-hero-overlay h1 {
    color: white;
    font-size: 48px;
    letter-spacing: 2px;
}

/* =========================================================
   Shows Layout
   ========================================================= */

.shows-container {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 30px;
}

/* =========================================================
   Event Cards
   ========================================================= */

.event-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 30px;
    margin-bottom: 60px;
    align-items: center;
}

.event-image img {
    width: 100%;
    border-radius: 8px;
}

.event-info h2 {
    margin: 0 0 10px;
}

.event-date,
.event-time,
.event-location {
    margin: 4px 0;
}
/* =========================================================
   Show Detail
   ========================================================= */

.show-detail-container {
    max-width: 1000px;
    margin: 80px auto;
    padding: 0 30px;
    display: grid;
    /* Image column hidden 2026-04-17. Restore `400px 1fr` if the .show-image
       block in app/site/show_detail.php is un-commented. */
    grid-template-columns: 1fr;
    gap: 40px;
}

.show-image img {
    width: 100%;
    border-radius: 8px;
}

.show-info h1 {
    margin-top: 0;
}

.show-date,
.show-time,
.show-venue {
    margin: 8px 0;
}

.show-description {
    margin-top: 20px;
}

.show-notes {
    margin-top: 15px;
    font-style: italic;
}

.show-tickets a {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 22px;
    background: #111;
    color: white;
    text-decoration: none;
}

.show-back {
    margin-top: 30px;
}

/* =========================================================
Shows Switch
========================================================= */

.shows-switch{
    display:flex;
    gap:20px;
    justify-content:center;
    margin:30px 0 50px;
}

.shows-switch a{
    padding:8px 18px;
    border:1px solid #ccc;
    text-decoration:none;
    font-size:14px;
}

.shows-switch a.active{
    background:#111;
    color:white;
    border-color:#111;
}

/* =========================================================
Show Map
========================================================= */

.show-map{
    max-width:1000px;
    margin:40px auto 0;
    padding:0 30px;
    border:2px solid #4A3A2E;
    border-radius:8px;
    box-shadow:0 4px 12px rgba(0,0,0,.15);
}

.show-map iframe{
    width:100%;
    height:420px;
}

/* =========================================================
Grid Layout
========================================================= */

.events-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:40px;
}

.event-card{
    display:grid;
    grid-template-columns:120px 1fr;
    gap:20px;
    align-items:center;
}

.event-card.small{
    grid-template-columns:90px 1fr;
}

.event-image img{
    width:100%;
    border-radius:6px;
}

.event-info h2{
    margin:0 0 8px;
}

.event-info h3{
    margin:0 0 6px;
    font-size:18px;
}

/* =========================================================
Past Shows
========================================================= */

.past-shows{
    margin-top:80px;
}

.archive-link{
    margin-top:20px;
}

.archive-link a{
    text-decoration:none;
    font-weight:600;
}

/* =========================================================
Calendar Layout
========================================================= */

.calendar-container{
    max-width:1100px;
    margin:60px auto;
    padding:0 30px;
}

.calendar-nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
}

.calendar-nav a{
    color:#4A3A2E;
    text-decoration:none;
    font-weight:600;
}

.calendar-nav a:hover{
    text-decoration:underline;
}

.calendar-nav a{
    text-decoration:none;
    font-weight:600;
}

.calendar-event a{
    color:#4A3A2E;
    text-decoration:none;
    font-weight:500;
}

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

.calendar-grid{
    display:grid;
    grid-template-columns:repeat(7,1fr);
    gap:10px;
}

.calendar-day-head{
    font-weight:600;
    text-align:center;
    padding:8px 0;
}

.calendar-cell{
    border:1px solid #cfc6b8;
    background:#f6f1e8;
    min-height:120px;
    padding:8px;
    display:flex;
    flex-direction:column;
}

.calendar-cell:hover{
    background:#f0eadf;
}

.calendar-cell.empty{
    border:none;
}

.calendar-date{
    font-size:14px;
    font-weight:700;
    margin-bottom:6px;
    color:#4a3a2e;
}

.calendar-event{
    font-size:13px;
    margin-bottom:6px;
}

.calendar-event a{
    text-decoration:none;
}

.calendar-time{
    font-size:12px;
    opacity:.7;
}

/* =========================================================
Pagination
========================================================= */

.pagination{
    display:flex;
    gap:12px;
    justify-content:center;
    margin:40px 0 0;
}

.pagination a{
    color:#4A3A2E;
    text-decoration:none;
    padding:6px 10px;
    border:1px solid #cfc6b8;
}

.pagination span.active{
    padding:6px 10px;
    border:1px solid #4A3A2E;
    background:#4A3A2E;
    color:#fff;
}

/* =========================================================
Shows Switch Links
========================================================= */

.shows-switch a{
    color:#4A3A2E;
    text-decoration:none;
    padding:8px 16px;
    border:1px solid #cfc6b8;
    font-weight:500;
}

.shows-switch a:hover{
    text-decoration:underline;
}

.shows-switch a.active{
    background:#111;
    color:#fff;
    border-color:#111;
}