html {
    scroll-behavior: smooth;
}

body {
    background-color: #9A488C;
    color: white;
    font-family: "Archivo", sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#main-header {
    background-color: #9A488C;
    color: white;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
}

.logo-container {
    text-align: center;
    margin-bottom: 10px;
}

.logo-container img {
    /* Using 400px based on later CSS blocks, adjust if 350px is preferred */
    max-width: 400px;
    height: auto;
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.main-nav li {
    /* Using 10px margin from initial block, adjust if 15px preferred */
    display: inline;
    margin: 0 10px;
}

.main-nav a {
    background-color: #773a6c;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 5px 10px;
    border-radius: 3px;
    color: white;
    text-decoration: none;
    font-family: "Archivo", sans-serif;
    font-size: 20px;
}

.main-nav a.active {
    background-color: yellow;
    color: black;
    padding: 5px 10px;
    border-radius: 3px;
}

#content {
    max-width: 790px;
    margin: 20px auto;
    padding: 0 20px;
    color: white;
    font-family: "Archivo", sans-serif;
    flex-grow: 1;
}

#content h1 {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
    font-size: 2em;
    color: #FFEB3B;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

#content h2 {
    text-align: center;
    margin-bottom: 20px; /* Adjusted based on later blocks */
    font-size: 2em;
}

#band-teaser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 12px;
    margin-bottom: 30px;
    padding: 10px;
    background-color: rgba(105, 6, 6, 0.1); /* From original schedule CSS */
    border-radius: 5px;
}

.teaser-item {
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.teaser-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    z-index: 5;
}

.teaser-item a {
    display: block;
    line-height: 0;
    border-radius: 4px;
}

.teaser-item img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center center;
    border-radius: 4px;
    background-color: #555;
}

.teaser-time-overlay {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: auto;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 4px 2px;
    border-radius: 3px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    z-index: 1;
    pointer-events: none;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* To reveal later, comment out opacity/pointer-events above and uncomment this: */
/* .teaser-time-overlay { opacity: 1; pointer-events: auto; } */


.teaser-item.currently-playing-teaser {
    outline: 3px solid yellow;
    outline-offset: 1px;
    box-shadow: 0 0 12px 3px rgba(255, 255, 0, 0.8);
    transform: scale(1.03);
    z-index: 6;
}

/* --- Band Card Styling (Original Fixed Height Version) --- */
.band-card {
    border-radius: 5px;
    height: 234px;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    background-color: #7F4040;
    padding: 10px 15px;
}

#band-cards-container>div {
    margin-bottom: 15px;
}
/* Apply margin only to direct children that are band cards or sponsor items */
#band-cards-container > .band-card,
#band-cards-container > .sponsor-item {
    margin-bottom: 15px;
}

#band-cards-container>div:last-child {
    margin-bottom: 0;
}

.band-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--bg-image, none);
    background-size: cover;
    background-position: center;
    filter: blur(8px);
    transform: scale(1.1);
}

.band-card>h2,
.band-card>a>h2 {
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
    font-size: 24px;
    overflow-wrap: break-word;
    margin: 0;
    position: relative;
    z-index: 2;
    max-width: 55%;
    display: block;
    line-height: 1.3;
    font-weight: 700;
}

.band-card>a {
    text-decoration: none;
    display: block;
    max-width: 55%;
}

.band-card>a:hover>h2 {
    color: yellow;
}

.bottom-info {
    background-color: black;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 15px;
    z-index: 3;
    box-sizing: border-box;
    min-height: 45px;
}

.bottom-info p {
    color: white;
    font-size: 17px;
    line-height: 1.4;
    margin: 0;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    font-weight: 500;
}

.bottom-info strong {
    font-weight: 700;
}

.bottom-info .time-porch-info {
    display: block;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* To reveal later, comment out opacity above and uncomment this: */
/* .bottom-info .time-porch-info { opacity: 1; } */


.bottom-info .genre-info {
    display: block;
    opacity: 1;
}

.inner-image-div {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 45%;
    z-index: 1;
    background-image: var(--bg-image, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0 5px 5px 0;
}
/* --- End Original Band Card Styles --- */

.sponsor-item {
    text-align: center;
    margin: 0;
    padding: 0 10px;
}

.sponsor-item a,
.sponsor-item img {
    display: inline-block;
    vertical-align: middle;
}

.sponsor-item img {
    max-width: 220px;
    max-height: 75px;
    width: auto;
    height: auto;
}

.sponsor-item a:hover img {
    opacity: 0.85;
    transform: scale(1.03);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

#faq-filter-buttons {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.filter-button {
    background-color: rgba(0, 0, 0, 0.2);
    border: 0px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 15px;
    margin: 5px;
    border-radius: 4px;
    cursor: pointer;
    font-family: "Archivo", sans-serif;
    font-size: 18px;
    transition: background-color 0.2s ease;
}

.filter-button:hover {
    background-color: rgba(0, 0, 0, 0.4);
}

.filter-button.active {
    background-color: yellow;
    color: black;
    font-weight: normal;
    border-color: yellow;
}

.faq-list {
    margin-top: 30px;
}

.faq-list details {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-list summary {
    padding: 15px;
    font-weight: 700;
    cursor: pointer;
    outline: none;
    position: relative;
    font-size: 18px;
    list-style: none;
}
.faq-list summary::-webkit-details-marker {
    display: none;
}


.faq-list summary:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

.faq-list summary::after {
    content: '+';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: normal;
    transition: transform 0.2s ease-in-out;
}

.faq-list details[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    padding: 0 15px 15px 15px;
    line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 10px 15px 0 15px;
}

.faq-answer p {
    margin: 10px 0 10px 0;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer a:not(.faq-link-bottom) {
    color: yellow;
    text-decoration: underline;
}

.faq-answer a:not(.faq-link-bottom):hover {
    color: white;
}

.faq-link-bottom {
    display: block;
    margin-top: 15px;
    font-size: 14px;
    color: yellow;
    text-decoration: underline;
    font-weight: 500;
}

.faq-link-bottom:hover {
    color: white;
}

.faq-list details.sponsor-faq-item {
    background-color: rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 0, 0.4);
}

#map-container {
    width: 100%;
    height: calc(100vh - 120px);
    min-height: 400px;
    overflow: hidden;
    position: relative;
    background-color: #9A488C;
    cursor: grab;
}

#map-container:active {
    cursor: grabbing;
}

#svg-map-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    cursor: grab;
}

#svg-map-image:active {
    cursor: grabbing;
}

#map-loading-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.2em;
    z-index: 2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    pointer-events: none;
    text-align: center;
}

.intro-text {
    text-align: center;
    line-height: 1.6;
    font-size: 1.1em;
    margin-bottom: 30px;
}

.payment-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.payment-button {
    display: inline-block;
    background-color: #eee;
    color: #333;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    min-width: 120px;
    border: 1px solid #ccc;
    cursor: pointer;
    transition: transform 0.1s ease;
}

.payment-button:hover {
    transform: scale(1.05);
    background-color: #f5f5f5;
}

.payment-button.venmo {
    background-color: #008CFF;
    color: white;
    border-color: #008CFF;
}

.payment-button.venmo:hover {
    background-color: #0073cc;
}

.payment-button.cashapp {
    background-color: #00D632;
    color: white;
    border-color: #00D632;
}

.payment-button.cashapp:hover {
    background-color: #00b82b;
}

.payment-button.paypal {
    background-color: #0070BA;
    color: white;
    border-color: #0070BA;
}

.payment-button.paypal:hover {
    background-color: #005ea6;
}

.support-note {
    text-align: center;
    margin-top: 30px;
    font-size: 0.9em;
    line-height: 1.5;
}


@media (max-width: 600px) {
    .logo-container img {
        max-width: 350px;
    }
    .main-nav li {
        margin: 0 2px;
    }
    .main-nav a {
        font-size: 0.7em;
    }
    #content h1, #content h2 {
        font-size: 1.8em;
    }
    #band-teaser-grid {
        grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
        gap: 8px;
    }
    .teaser-time-overlay {
        font-size: 14px;
        padding: 3px 2px;
    }
    /* --- Original Mobile Band Card Styles --- */
    .band-card>h2,
    .band-card>a>h2 {
        font-size: 22px;
        max-width: 95%; /* Uses more width on mobile */
    }
    .bottom-info {
        padding: 6px 10px;
        min-height: 40px;
    }
    .bottom-info p {
        font-size: 16px;
    }
    .inner-image-div {
        width: 50%; /* Adjust image width for mobile */
    }
    #band-cards-container>div {
        margin-bottom: 12px;
    }
    /* --- End Original Mobile Band Card Styles --- */

    .sponsor-item img {
        max-width: 180px;
        max-height: 60px;
    }
    .sponsor-item {
        margin: 0;
    }
    .filter-button {
        font-size: 14px;
        padding: 6px 10px;
        margin: 3px;
    }
    .faq-list summary {
        font-size: 16px;
        padding: 12px 15px;
    }
    .faq-answer {
        font-size: 15px;
        padding: 10px 15px 15px 15px;
        margin: 10px 15px 0 15px;
    }
    .faq-link-bottom {
        font-size: 13px;
        margin-top: 10px;
    }
    #map-container {
         height: calc(100vh - 90px);
    }
    .intro-text {
        font-size: 1em;
    }
    .payment-button {
        width: 80%;
        margin-bottom: 10px;
    }
    footer {
        font-size: 13px;
        padding: 20px 15px;
        margin-top: 30px;
    }
}






/* Style for the link text specifically inside the Venmo button */
.payment-button.venmo a {
    color: white;           /* Make the link text white */
    text-decoration: none;  /* Remove the underline */
    display: inline-block;  /* Ensure it behaves well within the button padding */
}

/* Optional: Maintain white text and no underline on hover */
.payment-button.venmo a:hover {
    color: white;
    text-decoration: none;
}

/* Optional: Style the image inside the link if needed */
.payment-button.venmo a img {
     vertical-align: middle; /* Helps align image with text if needed */
     margin-bottom: 5px; /* Add some space below image if wrapped text */
}




footer {
    background-color: #333; /* Example dark background color - adjust as needed */
    color: white; /* Text color for copyright */
    padding: 20px 0; /* Add some padding top and bottom */
    text-align: center; /* Center the content */
  }
  
  .social-icons {
    margin-bottom: 15px; /* Space between icons and copyright text */
  }
  
  .social-icons a {
    display: inline-block; /* Align icons horizontally */
    margin: 0 15px; /* Space between icons */
    transition: transform 0.2s ease; /* Smooth hover effect */
  }
  .social-icons img {
    width: 30px; /* Or your desired size */
    height: 30px;
    vertical-align: middle;
    /* Add this line to make the icons white */
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
    /* You can adjust brightness/contrast if needed */
  }
  
  .social-icons a:hover {
      transform: scale(1.1); /* Slightly enlarge icon on hover */
  }
  
  
  .copyright {
    font-size: 0.9em; /* Slightly smaller font for copyright */
    line-height: 1.4; /* Improve readability */
  }
  
  .copyright a {
    color: #ADD8E6; /* Light blue link color, adjust as needed */
    text-decoration: none; /* Remove underline */
  }
  
  .copyright a:hover {
    text-decoration: underline; /* Add underline on hover */
  }
  
  /* Optional: Add a little script to dynamically update the year */
  #copyright-year::before {
      content: attr(data-year);
  }