/* ============================================
   MUSIKVEREIN NOLLINGEN - 200 JAHRE
   Redesigned with Blue Primary, Burgundy Accents
   ============================================ */

/* CSS Variables for Design System */
:root {
    --color-primary-blue: #2E7BA8;
    --color-accent-burgundy: #A8384F;
    --color-text-dark: #2C2C2C;
    --color-text-light: #F5F5F5;
    --color-background-white: #FFFFFF;
    --color-background-light: #F9F9F9;
    --color-border-light: #E0E0E0;
    
    --font-family-sans: 'Montserrat', 'Proxima Nova', 'Helvetica Neue', 'Arial', sans-serif;
    --font-family-body: 'Open Sans', 'Segoe UI', 'Calibri', sans-serif;
    
    --transition-smooth: all 0.3s ease;
    --box-shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.1);
    --box-shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ============================================
   GLOBAL STYLES
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-body);
    color: var(--color-text-dark);
    background-color: var(--color-background-white);
    line-height: 1.6;
}

a {
    color: var(--color-primary-blue);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--color-accent-burgundy);
    text-decoration: underline;
}

/* ============================================
   HEADER WITH BACKGROUND PHOTO
   ============================================ */

.header {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    overflow: hidden;
}

.header-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 12px;
    background-color: var(--color-primary-blue);
    z-index: 2;
}

.header::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 12px;
    background-color: var(--color-primary-blue);
    z-index: 2;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(46, 123, 168, 0.4);
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    position: relative;
    z-index: 3;
    text-align: center;
}
.logo-container {
    flex: 0 0 auto;
    animation: fadeInDown 0.8s ease;
}

.anniversary-logo {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
}

.header-text {
    flex: 1;
    min-width: 250px;
    color: var(--color-background-white);
}

.header-text h1 {
    font-size: 3.2rem;
    color: var(--color-background-white);
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: var(--font-family-sans);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.tagline {
    font-size: 1.6rem;
    color: var(--color-background-white);
    font-style: italic;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* ============================================
   NAVIGATION
   ============================================ */

.navigation {
    background-color: var(--color-primary-blue);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--box-shadow-subtle);
}

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

.nav-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    height: 50px;
}

.nav-logo-img {
    height: 40px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-background-white);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 12px;
}

.nav-menu {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    gap: 0;
}

.nav-menu li {
    flex: 1;
    min-width: 120px;
    text-align: center;
}

.nav-link {
    display: block;
    color: var(--color-background-white);
    padding: 18px 15px;
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 3px solid transparent;
    transition: var(--transition-smooth);
    text-decoration: none;
    font-family: var(--font-family-sans);
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255, 255, 255, 0.15);
    border-bottom-color: var(--color-accent-burgundy);
    color: var(--color-background-white);
}

/* ============================================
   MAIN CONTENT
   ============================================ */

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

/* ============================================
   CONTENT SECTIONS
   ============================================ */

.content-section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    margin-bottom: 50px;
    text-align: center;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--color-primary-blue);
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-family: var(--font-family-sans);
}

.accent-line {
    width: 100px;
    height: 5px;
    background: linear-gradient(to right, var(--color-primary-blue), var(--color-accent-burgundy));
    margin: 0 auto;
    border-radius: 3px;
}

.section-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.section-content p {
    margin-bottom: 25px;
    color: var(--color-text-dark);
}

.section-content p:last-child {
    margin-bottom: 0;
}

.wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
}

/* ============================================
   EVENT STYLES
   ============================================ */

.event-group {
    margin-bottom: 45px;
}

.event-category {
    font-size: 1.5rem;
    color: var(--color-primary-blue);
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--color-accent-burgundy);
    font-weight: 700;
    font-family: var(--font-family-sans);
}

.event-item {
    background-color: var(--color-background-light);
    padding: 25px;
    margin-bottom: 18px;
    border-left: 5px solid var(--color-primary-blue);
    border-radius: 0 6px 6px 0;
    transition: var(--transition-smooth);
}

.event-item:hover {
    box-shadow: var(--box-shadow-subtle);
    transform: translateX(8px);
    background-color: #F0F8FF;
}

.event-item h4 {
    color: var(--color-accent-burgundy);
    margin-bottom: 10px;
    font-size: 1.15rem;
    font-weight: 700;
    font-family: var(--font-family-sans);
}

.event-item p {
    color: var(--color-text-dark);
    margin: 0;
    font-size: 0.98rem;
}

.festival-list {
    list-style: none;
    padding: 0;
}

.festival-list li {
    padding: 15px 0;
    padding-left: 35px;
    position: relative;
    color: var(--color-text-dark);
    font-size: 1.05rem;
}

.festival-list li::before {
    content: '♪';
    position: absolute;
    left: 0;
    color: var(--color-primary-blue);
    font-size: 1.4rem;
    font-weight: bold;
}

/* ============================================
   BRASS-BAND-LOGOS
   ============================================ */

.brass-band-logos {
  background-color: #000;
  padding: 20px;
  margin-top: 15px;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.brass-band-logos img {
  width: 250px;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease;
}

.brass-band-logos img:hover {
  transform: scale(1.1);
}

.brass-band-logos a {
  display: inline-block;
}

.brass-band-logos img.wide-logo {
  width: 100%;
  max-width: 400px;
  height: auto;
}

/* ============================================
SPONSOR LOGOS 
============================================ */


.logo-grid-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* passt sich dynamisch an */
  gap: 20px;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* passt sich dynamisch an */
  gap: 20px;
}

.logo-item {
  background-color: var(--logo-bg, #ffffff);
  display: flex;
  align-items: center;   /* vertikal zentrieren */
  justify-content: center; /* horizontal zentrieren */
  border-radius: 8px;
  overflow: hidden;
  padding: 20px;
}

.logo-item img {
  width: var(--logo-width, 200px);       /* feste Breite */
  height: auto;       /* Höhe automatisch → korrektes Seitenverhältnis */
  object-fit: contain; /* falls nötig, innerhalb bleiben */
  display: block;
  max-width: 100%;    /* falls Container kleiner als logo-width wird */
}

.main-sponsor {
    --logo-width: 600px;
}

.transparent {
    --logo-bg: transparent;
}

.red {
    --logo-bg: red;
}


/* ============================================
   INFO BOXES
   ============================================ */

.info-box {
    background-color: var(--color-text-light);
    border-left: 5px solid var(--color-primary-blue);
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 0 6px 6px 0;
    transition: var(--transition-smooth);
}

.info-box:hover {
    box-shadow: var(--box-shadow-subtle);
    background-color: #F0F8FF;
}

.info-box h3 {
    color: var(--color-accent-burgundy);
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--font-family-sans);
}

.info-box p {
    margin: 10px 0;
    color: var(--color-text-dark);
    font-size: 0.98rem;
}

.donation-box {
    background-color: #FFF9F0;
    border-left-color: var(--color-accent-burgundy);
}

.donation-box p {
    margin: 12px 0;
}

.donation-box strong {
    color: var(--color-primary-blue);
    font-weight: 700;
}

/* ============================================
   SPONSOR STYLES
   ============================================ */

.sponsor-intro {
    font-size: 1.15rem;
    color: var(--color-text-dark);
    margin-bottom: 35px;
    font-style: italic;
    line-height: 1.8;
}

.sponsor-group {
    margin-bottom: 45px;
}

.sponsor-group h3 {
    font-size: 1.4rem;
    color: var(--color-primary-blue);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--color-accent-burgundy);
    font-weight: 700;
    font-family: var(--font-family-sans);
}

.sponsor-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    padding: 0;
}

.sponsor-list li {
    background-color: var(--color-background-light);
    padding: 18px;
    border-radius: 6px;
    border-left: 4px solid var(--color-primary-blue);
    transition: var(--transition-smooth);
    font-weight: 500;
}

.sponsor-list li:hover {
    background-color: #F0F8FF;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-subtle);
    border-left-color: var(--color-accent-burgundy);
}

/* ============================================
   CONTACT STYLES
   ============================================ */

.contact-intro {
    font-size: 1.15rem;
    margin-bottom: 35px;
    color: var(--color-text-dark);
    font-weight: 500;
    line-height: 1.8;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    margin-top: 35px;
}

.contact-item {
    background-color: var(--color-background-light);
    padding: 30px;
    border-radius: 6px;
    border-top: 5px solid var(--color-primary-blue);
    transition: var(--transition-smooth);
}

.contact-item:hover {
    box-shadow: var(--box-shadow-medium);
    transform: translateY(-8px);
    border-top-color: var(--color-accent-burgundy);
}

.contact-item h4 {
    color: var(--color-accent-burgundy);
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--font-family-sans);
}

.contact-item p {
    margin: 0;
    color: var(--color-text-dark);
    font-size: 0.98rem;
}

.contact-item a {
    color: var(--color-primary-blue);
    font-weight: 600;
}

.contact-item a:hover {
    color: var(--color-accent-burgundy);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: #2C2C2C;
    color: var(--color-background-white);
    padding: 40px 20px;
    margin-top: 80px;
    border-top: 5px solid var(--color-accent-burgundy);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-content p {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.footer-links {
    font-size: 0.95rem;
}

.footer-links a {
    color: var(--color-primary-blue);
    transition: var(--transition-smooth);
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--color-accent-burgundy);
}

.separator {
    color: var(--color-background-white);
    margin: 0 12px;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section {
    animation: slideInUp 0.7s ease;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet (768px and below) */
@media (max-width: 768px) {
    .header {
        min-height: 500px;
        padding: 40px 15px;
    }

    .header-text h1 {
        font-size: 2.2rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .anniversary-logo {
        max-width: 160px;
    }

    .header-content {
        gap: 25px;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-primary-blue);
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-menu.active {
        max-height: 600px;
    }

    .nav-menu li {
        min-width: 100%;
        text-align: left;
    }

    .nav-link {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .sponsor-list {
        grid-template-columns: 1fr;
    }

    .content-section {
        padding: 50px 0;
    }

    .section-content {
        font-size: 1rem;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .header {
        min-height: 400px;
        padding: 30px 15px;
    }

    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .header-text h1 {
        font-size: 1.8rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .anniversary-logo {
        max-width: 130px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-content {
        font-size: 0.95rem;
    }

    .event-item {
        padding: 18px;
    }

    .info-box {
        padding: 18px;
    }

    .main-content {
        padding: 0 15px;
    }

    .contact-item {
        padding: 20px;
    }

    .wave-bottom {
        height: 80px;
    }

    .wave-divider {
        height: 70px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .navigation,
    .footer {
        display: none;
    }

    body {
        background-color: white;
    }
}
