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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

/* Brand shown only on small screens (mobile) */
.mobile-only-brand {
    display: none; /* hidden by default on desktop */
    text-decoration: none;
    color: #ecf0f1;
    font-weight: 600;
}

/* Auto-hide navbar state (used on mobile and in fullscreen) */
.navbar {
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.navbar.nav-hidden {
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
}
.navbar.nav-visible {
    transform: translateY(0);
    opacity: 1;
}

.band-logo h2 {
    color: #ecf0f1;
    font-size: 1.8rem;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    justify-content: center;
    margin: 0;       /* Removes default browser margin */
    padding: 0;      /* Removes default browser left-padding */
    width: 100%;     /* Ensures the menu takes the full width to center properly */
}

.nav-link {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 10px 15px;
    border-radius: 5px;
}

.nav-link:hover,
.nav-link.active {
    color: #f39c12;
    background: rgba(243, 156, 18, 0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #ecf0f1;
    margin: 3px 0;
    transition: 0.3s;
}

/* Page Structure */
main {
    margin-top: 70px;
}

.page {
    display: none;
    min-height: calc(100vh - 70px);
}

.page.active {
    display: block;
}

/* Hero Section */
.hero, .page-header {
    position: relative;
    /* Keep page-header height but allow absolute hero images inside */
    color: white;
    overflow: hidden;
}

/* Home hero has large height; page headers keep their existing padding-based height */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Hero background image handling */
.hero-background img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: -1;
}

/* Ensure hero-background containers can handle both CSS backgrounds and img tags */
.hero-background {
    overflow: hidden;
}

/* Mobile hero background image fixes */
.hero-background img {
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%;
    min-height: 100%;
    min-width: 100%;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: translateX(100%);
    transition: all 1s ease-in-out;
    z-index: 1;
}

.hero-background.active {
    opacity: 1;
    transform: translateX(0);
}

.hero-background:nth-child(1) {
    background: linear-gradient(rgba(52, 73, 94, 0.7), rgba(44, 62, 80, 0.7)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23e74c3c" width="1200" height="600"/><circle fill="%23c0392b" cx="200" cy="150" r="80"/><circle fill="%23c0392b" cx="800" cy="300" r="120"/><circle fill="%23c0392b" cx="1000" cy="100" r="60"/></svg>');
}

.hero-background:nth-child(2) {
    background: linear-gradient(rgba(52, 73, 94, 0.7), rgba(44, 62, 80, 0.7)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23f39c12" width="1200" height="600"/><path fill="%23e67e22" d="M0,300 Q300,100 600,300 T1200,300 L1200,600 L0,600 Z"/></svg>');
}

.hero-background:nth-child(3) {
    background: linear-gradient(rgba(52, 73, 94, 0.7), rgba(44, 62, 80, 0.7)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%2327ae60" width="1200" height="600"/><polygon fill="%2316a085" points="0,600 300,200 600,400 900,100 1200,300 1200,600"/></svg>');
}

.hero-background:nth-child(4) {
    background: linear-gradient(rgba(52, 73, 94, 0.7), rgba(44, 62, 80, 0.7)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%238e44ad" width="1200" height="600"/><rect fill="%237d3c98" x="0" y="200" width="400" height="200" transform="rotate(30 200 300)"/><rect fill="%237d3c98" x="400" y="100" width="400" height="200" transform="rotate(-15 600 200)"/><rect fill="%237d3c98" x="800" y="250" width="400" height="200" transform="rotate(45 1000 350)"/></svg>');
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(44, 62, 80, 0.3), rgba(52, 73, 94, 0.3));
        z-index: 1; /* keep overlay behind header content */
}

.hero-content {
    position: relative;
        z-index: 3;
    }

    /* Ensure header content sits above hero backgrounds and overlays */
    .hero-content,
    .page-header > .container {
        position: relative;
        z-index: 3;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #f39c12;
    color: white;
}

.btn-primary:hover {
    background: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2c3e50;
}

/* Sections */
section {
    padding: 60px 0;
}

.page-header {
    background: linear-gradient(135deg, #34495e, #2c3e50);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.event-header {
    /* Use the same header background as other page headers for consistency */
    background: linear-gradient(135deg, #34495e, #2c3e50);
}

.event-subtitle {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.event-dates {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Band Introduction */
.intro-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.intro-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: #2c3e50;
}

.intro-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #555;
}

.image-placeholder {
    background: linear-gradient(135deg, #bdc3c7, #95a5a6);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    overflow: hidden;
    position: relative;
}

/* Fixed size for images within image-placeholder containers */
.image-placeholder img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
}

/* Override image-placeholder background for flyer images to remove grey edges */
.image-placeholder.flyer-image-container {
    background: white; /* Set to white to blend with the page background, or transparent if preferred */
}

/* Style for flyer images, typically A5 format, to ensure full visibility */
.image-placeholder img.flyer-image {
    object-fit: contain; /* Ensures the entire image is visible, letterboxing if aspect ratios differ */
}

/* Next Event */
.next-event {
    background: #ecf0f1;
}

.event-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Make spacing consistent with gallery section */
.next-event h2 {
    margin-bottom: 30px;
}

.event-details h3 {
    font-size: 2rem;
    color: #8e44ad;
    margin-bottom: 10px;
}

.event-date {
    font-size: 1.2rem;
    color: #f39c12;
    font-weight: 600;
    margin-bottom: 5px;
}

.event-location {
    color: #7f8c8d;
    margin-bottom: 15px;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item .image-placeholder {
    height: 200px;
    transition: transform 0.3s ease;
}

.gallery-item .image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.gallery-item:hover .image-placeholder {
    transform: scale(1.05);
}

/* News */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Text hyphenation for German words */
h1, h2, h3, h4, h5, h6,
p, span, a, button,
.news-card h3,
.event-details h3,
.contact-card h3,
.food-card h3 {
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image .image-placeholder {
    height: 200px;
    border-radius: 0;
}

.news-image .image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
}

.news-content-text {
    padding: 25px;
}

.news-date {
    color: #f39c12;
    font-weight: 600;
    font-size: 0.9rem;
}

.news-card h3 {
    margin: 10px 0 15px;
    color: #2c3e50;
}

.read-more {
    color: #8e44ad;
    text-decoration: none;
    font-weight: 600;
}

.read-more:hover {
    text-decoration: underline;
}

/* Event 2027 */
.event-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.timesheet,
.livestream-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.schedule-day {
    margin-bottom: 25px;
}

.schedule-day h3 {
    color: #8e44ad;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 2px solid #ecf0f1;
}

.schedule-day ul {
    list-style: none;
}

.schedule-day li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.time {
    color: #f39c12;
    font-weight: 600;
    margin-right: 15px;
    min-width: 60px;
}

.livestream-btn {
    display: block;
    text-align: center;
    margin: 20px 0;
}

.livestream-note {
    text-align: center;
    color: #7f8c8d;
    font-style: italic;
}

/* Venue Map */
.venue-map {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    margin: 0 auto;
}

.map-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 20px;
}


/* Interactive venue map styling */
#venue-map {
    height: 400px;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    background: #f8f9fa;
    position: relative;
    z-index: 1;
}

/* Ensure map container has proper dimensions (no !important overrides) */
#venue-map.leaflet-container {
    height: 400px;
    width: 100%;
    max-width: 100%;
}

/* Custom marker styling */
.custom-marker {
    background: white;
    border: 2px solid #333;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    position: relative;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Reset typographic spacing that can shift inline content inside the circle */
.custom-marker {
    line-height: 0; /* prevent baseline offset */
    padding: 0;
}

/* Ensure marker icon (emoji) is perfectly centered */
.custom-marker .marker-icon {
    display: inline-block;
    line-height: 1;
    /* Removed manual translate nudges; rely on flexbox centering and line-height */
    vertical-align: middle;
    font-size: 16px;
}

/* SVG marker icons: size and ensure they render crisply inside the circular marker */
.custom-marker .marker-svg,
.custom-marker img.marker-svg,
.custom-marker svg.marker-svg {
    width: 65%;
    height: 65%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* This forces exact mathematical centering */
    object-fit: contain;
}

.marker-parking { border-color: #3498db; color: #3498db; background: #eaf6ff; }
.marker-hall { border-color: #e74c3c; color: #e74c3c; background: #fdecea; }
.marker-toilet { border-color: #27ae60; color: #27ae60; background: #e9f7ee; }
.marker-start { border-color: #f39c12; color: #f39c12; background: #fff3cd; }
.marker-finish { border-color: #8e44ad; color: #8e44ad; background: #f8d7da; }
.marker-drink { border-color: #f39c12; color: #f39c12; background: #fff8e6; }

/* Route styling */
.route-line {
    color: #e74c3c;
    stroke-width: 4;
    opacity: 0.8;
}

/* Leaflet popup customization */
.leaflet-popup-content-wrapper {
    border-radius: 8px;
}

.leaflet-popup-content {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.4;
}

/* Popup HTML generated by script.js */
.map-popup {
    text-align: center;
    min-width: 150px;
}
.map-popup h4 {
    margin: 0 0 8px 0;
    color: #2c3e50;
    font-size: 1rem;
}
.map-popup p {
    margin: 0;
    color: #555;
    font-size: 0.9rem;
}
.map-popup--success h4 {
    color: #2c3e50;
}
.map-popup--success p {
    color: #27ae60;
    font-weight: 600;
}

/* Lightbox accessibility and states */
.lightbox {
    display: none;
}
.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox:focus {
    outline: none;
}




/* Layer control styling */
.leaflet-control-layers {
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    border: none;
    padding: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.leaflet-control-layers-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.leaflet-control-layers-base {
    margin-bottom: 0;
}

.leaflet-control-layers-base label {
    display: flex;
    align-items: center;
    margin: 5px 0;
    font-size: 0.9rem;
    color: #555;
    cursor: pointer;
}

.leaflet-control-layers-base input[type="radio"] {
    margin-right: 8px;
    accent-color: #f39c12;
}

.leaflet-control-layers-base label:hover {
    color: #2c3e50;
}

/* Custom layer control expanded state */
.leaflet-control-layers-expanded {
    min-width: 120px;
    /* Constrain expanded control so it doesn't grow too large */
    max-width: 320px;
    max-height: 40vh;
    overflow: hidden;
}

/* Make the list inside the expanded control scrollable when content overflows */
.leaflet-control-layers-list,
.leaflet-control-layers-base,
.leaflet-control-layers-overlays {
    display: block;
    max-height: calc(40vh - 40px);
    overflow: auto;
    padding-right: 6px; /* room for scrollbar */
}


/* Mobile map adjustments */
@media (max-width: 768px) {
    /* Make the venue map square on mobile devices */
    #venue-map,
    #venue-map.leaflet-container,
    .map-placeholder {
        aspect-ratio: 1/1;
        width: 100%;
        height: auto; /* override desktop fixed heights via cascade */
        max-height: none;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    }

    /* Stack the map and legend in the grid on small screens */
    .map-container {
        grid-template-columns: 1fr;
    }

    .leaflet-control-layers {
        padding: 8px;
        font-size: 0.8rem;
    }

    .leaflet-control-layers-base label {
        font-size: 0.8rem;
        margin: 3px 0;
    }
}

/* Mobile landscape: when device is wider than tall on small viewports, place map and legend side-by-side
   and give the map ~70% of the width so it visually reduces in landscape. This avoids JS needing to
   set !important inline styles. We use prefers-reduced-motion-safe transitions for layout changes. */
@media (max-width: 768px) and (orientation: landscape) {
    .map-container {
        grid-template-columns: 70% 30%; /* map ~70%, legend ~30% */
        gap: 16px;
        align-items: start;
    }

    /* Constrain the map column visually. The map element itself stays width:100% of its column. */
    #venue-map,
    #venue-map.leaflet-container,
    .map-placeholder {
        aspect-ratio: auto; /* let height follow width/viewport aspect when in landscape */
        width: 100%;
        max-width: 100%;
        height: auto; /* allow JS to adjust height if needed */
        border-radius: 10px;
        overflow: hidden;
    }

    /* Ensure the legend (second column) displays fully and does not scroll */
    .map-container > :nth-child(2) {
        max-height: none;
        overflow: visible;
        padding-left: 8px; /* small cushion from the map column */
    }
}

/* On very small screens, keep layer control compact and full-height scrollable */
@media (max-width: 480px) {
    .leaflet-control-layers-expanded {
        max-width: 90vw;
        max-height: 70vh;
    }
    .leaflet-control-layers-list {
        max-height: calc(70vh - 44px);
    }
}

.map-placeholder {
    height: 400px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
}

.poi-list {
    list-style: none;
    margin-top: 15px;
}

.poi-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.poi-icon {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Legend icons: size SVGs consistently and align with text */
.poi-icon img.marker-svg,
.poi-icon svg {
    width: 22px;
    height: 22px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

/* Food Ordering */
.food-ordering {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.food-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.food-card {
    background: #ecf0f1;
    padding: 25px;
    border-radius: 10px;
}

.food-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.food-order-btn {
    margin: 20px 0;
}

.payment-info {
    color: #27ae60;
    font-weight: 600;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.contact-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    color: #8e44ad;
    text-decoration: none;
    font-weight: 600;
}

.social-link:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #2c3e50;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8e44ad;
}

/* Legal Pages */
.legal-content {
    padding: 60px 0;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.legal-text h2 {
    color: #2c3e50;
    margin: 30px 0 20px;
    font-size: 1.8rem;
}

.legal-text h3 {
    color: #34495e;
    margin: 25px 0 15px;
    font-size: 1.3rem;
}

.legal-text h4 {
    color: #7f8c8d;
    margin: 20px 0 10px;
    font-size: 1.1rem;
}

.legal-text p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #555;
}

.legal-text ul {
    margin: 15px 0;
    padding-left: 25px;
}

.legal-text li {
    margin-bottom: 8px;
    color: #555;
    line-height: 1.6;
}


/* Fullscreen Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: lightboxFadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: lightboxImageIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-caption {
    color: #fff;
    text-align: center;
    padding: 15px 0;
    font-size: 1.1rem;
    max-width: 80%;
}

/* Lightbox animations */
@keyframes lightboxFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes lightboxImageIn {
    from { 
        opacity: 0; 
        transform: scale(0.8);
    }
    to { 
        opacity: 1; 
        transform: scale(1);
    }
}

/* Mobile lightbox adjustments */
@media (max-width: 768px) {
    .lightbox-close {
        top: -35px;
        font-size: 30px;
        width: 40px;
        height: 40px;
    }
    
    .lightbox-image {
        max-height: 80vh;
    }
    
    .lightbox-caption {
        font-size: 1rem;
        padding: 10px 0;
    }
}

/* Footer */
.footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 15px;
    color: #f39c12;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section .social-links {
    display: flex;
    gap: 15px; /* Space between social icons */
    align-items: center;
    justify-content: flex-start; /* Align items to the start */
}

.social-icon-btn {
    display: inline-block;
    line-height: 0; /* Remove extra space below image */
    transition: transform 0.2s ease-in-out;
}

.social-icon-btn:hover {
    transform: scale(1.1);
}

.social-icon-btn img {
    width: 30px; /* Standard size for social icons */
    height: 30px;
    object-fit: contain; /* Ensure the SVG fills its container without distortion */
}
.footer-section a:hover {
    color: #f39c12;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #95a5a6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 15px;
        position: relative;
    }

    /* Reveal the small-brand link only on mobile */
    .mobile-only-brand {
        display: inline-block;
        margin-right: 12px;
        font-size: 1.1rem;
        color: #ecf0f1;
    }

    .band-logo h2 {
        font-size: 1.4rem;
        margin-right: 10px;
        flex-shrink: 0;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #2c3e50;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
        position: relative;
        z-index: 1001;
        margin-left: auto;
        flex-shrink: 0;
    }

    .nav-link,
    .btn-primary,
    .btn-secondary {
        -webkit-hyphens: auto;
        -moz-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero-content h1,
    .page-header h1 {
        -webkit-hyphens: auto;
        -moz-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.2;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .intro-content,
    .event-card,
    .contact-grid,
    .event-info-grid,
    .map-container {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .food-options {
        grid-template-columns: 1fr;
    }
}
