:root {
    --sage-green: #C5CFC3;
    --cream: #F5F1E9;
    --dark-text: #1D2D1C;
    --link-color: #1a1a1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--cream);
}

/* Top Navigation */
.top-nav-wrapper {
    background-color: var(--sage-green);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;
}

.top-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
    width: auto;
    max-width: 80vw;
    object-fit: contain;
}

.nav-links {
    list-style: none;
}

.nav-links li {
    display: inline-block;
    margin-left: 2rem;
}

.nav-links a[data-page] {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    position: relative;
    padding-bottom: 2px;
}

.nav-links a[data-page]::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--dark-text);
    transform: scaleX(0);
    transition: transform 0.2s ease-in-out;
}

.nav-links a[data-page].active::after {
    transform: scaleX(1);
}

/* Banner */
.banner-wrapper {
    background-color: var(--sage-green);
    width: 100%;
    padding: 2rem 0;
}

.banner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* About Page Styles */
.about-wrapper {
    background-image: url('images/about-background.jpg');
    background-size: cover;
    background-position: center;
    padding: 0rem 0;
    min-height: 100vh;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.page-title {
    margin-bottom: 1rem;
    padding: 0.25rem 0.75rem;
    line-height: 1;
    display: block;
    width: 100%;
}

.page-title img {
    width: 35%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.band-members {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.member {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 8px;
}

.member h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    color: #1D2D1C;
    margin-bottom: 1rem;
}

.member img {
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.member p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #1D2D1C;
}

/* Main Content/Footer */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
}

.band-name {
    grid-column: 1;
}

.band-name h1 {
    color: #1D2D1C;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.location {
    grid-column: 2;
}

.contact {
    grid-column: 3;
}

.location h2,
.contact h2 {
    color: #1D2D1C;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.contact a {
    text-decoration: underline;
    color: #1D2D1C;
}

.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-links a {
    color: #1D2D1C;
    font-size: 2rem;
    text-decoration: none;
}

.footer-logo {
    max-width: min(500px, 90vw);
    height: auto;
    display: block;
    margin-bottom: 1rem;
    object-fit: contain;
}

/* Contact Page Styles */
.contact-wrapper {
    background-image: url('images/contact.png');
    background-size: cover;
    background-position: center;
    min-height: calc(100vh - 150px);
    display: flex;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    padding: 0;
    align-self: start;
}

.contact-info h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 4rem;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
    line-height: 1;
}

.contact-info p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--dark-text);
}

.contact-info a {
    display: block;
    color: var(--dark-text);
    text-decoration: underline;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.contact-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.footer-wrapper {
    background-color: var(--sage-green);
    width: 100%;
    padding: 2rem 0;
    margin-top: auto;
}

/* Calendar Page Styles */
/* Key change: remove fixed/min-heights and make the hero image a background so the container height follows the overlay content. */
.calendar-wrapper {
    background-color: var(--cream);
    padding: 2rem 0;
}

.calendar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Use the image as a background so the container can grow with content */
.calendar-image-container {
    position: relative;
    width: 100%;
    background-image: url('images/calendar.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    /* give some base vertical padding so the image shows above/below the overlay */
    padding: 2rem 0;
}

/* Hide the inline <img> since we're now using a background image for flexible height */
.calendar-image {
    display: none;
}

.overlay-content {
    /* no absolute positioning so height is driven by content */
    position: relative;           /* keeps absolute children (like previous-shows) anchored here */
    width: 50%;
    margin: 2rem;
    margin-left: auto;            /* keep the card aligned to the right like before */
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
}

.overlay-content h1 {
    color: var(--dark-text);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.shows-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.show-item {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.show-item h2 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.show-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.venue-link {
    color: var(--dark-text);
    text-decoration: underline;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.venue-link:hover {
    color: #4A5568;
}

@media (max-width: 768px) {
    .overlay-content {
        width: 100%;
        margin: 1rem 0;
        padding: 1.5rem;
    }

    .show-item h2 {
        font-size: 1.1rem;
    }

    .show-item h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .top-nav {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .logo {
        margin-bottom: 1rem;
    }

    .nav-links li {
        margin: 0 1rem;
    }

    .band-members {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .page-title {
        font-size: 2.5rem;
        text-align: center;
    }

    .main-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .band-name, .location, .contact {
        grid-column: 1;
    }

    .shows-table {
        display: block;
        overflow-x: auto;
    }
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('fonts/PlayfairDisplay-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* Keep your custom "Previous Shows" badge placement exactly as before */
.previous-shows-container {
    position: absolute;
    top: 380px;        /* Move up */
    left: -480px;      /* Move to the left */
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px 25px;
    border-radius: 12px;
    width: 420px;      /* Make it wider */
    color: #000;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.previous-shows-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75em;
    margin-bottom: 12px;
    color: #000;
}

.previous-shows-list {
    list-style: disc inside;
    margin: 0;
    padding: 0;
    font-size: 1.05em;
}
