/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'ThunderExtraBold';
    src: url('fonts/Thunder-ExtraBoldLC.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'ThunderExtraBold', sans-serif;
    font-size: 16px;
    color: #333;
    background-color: #f0f0f0;
}

h1, h2, p {
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5em;
    font-weight: 700;
}

h2 {
    font-size: 2em;
    font-weight: 700;
}

p {
    font-size: 1.2em;
    font-weight: 400;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.8) 40%, rgba(0, 0, 0, 0.2) 70%, rgba(0, 0, 0, 0) 100%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
    backdrop-filter: blur(5px); /* Unschärfe hinter der Navigation */
    transition: backdrop-filter 0.10s ease, background 0.10s ease; /* Übergangseffekt für Hintergrund */
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    height: 70px;
}

nav ul li a {
    font-family: 'ThunderExtraBold', sans-serif;
    font-size: 3.00em;
    color: #fff;
    text-decoration: none;
}

nav ul li:hover {
    transform: scale(1.2);
}


/* Hero Section (Desktop) */
.hero {
    position: relative;
    width: 100%;
    height: 100vh; 
    background-image: url('src/bandbild.jpeg'); 
    background-size: cover;
    background-position: center center; 
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); 
    z-index: 1; 
}

.hero .bandname-logo, .hero .rotating-logo {
    position: relative;
    z-index: 2; 
}


.hero .bandname-logo {
    width: 43.6%;
    height: auto;
    margin-top: -110px;
    padding-top: 200px;
    filter: invert(1) brightness(0.9);
}

.hero .rotating-logo {
    width: 17%;
    height: auto;
    animation: spin 60s linear infinite;
    filter: invert(1) brightness(0.9) opacity(0.8);
    margin-top: 180px;
}

/* Rotation animation for logo */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Footer */
.footer {
    position: relative;
    background-color: #2F2F2F;
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.footer .social-media {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.footer .social-media li {
    list-style: none;
}

.footer .social-media li a img {
    width: 60px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.footer .social-media li a:hover img {
    transform: scale(1.3);
}

.footer .privacy-policy {
    margin-top: 20px;
    font-size: 0.9em;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
}

/* Stile für die Song-Container auf der Musikseite */
.song-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 40px; 
    padding: 40px;
    padding-top: 120px; 
    justify-items: center; 
    min-height: 80vh; 
}

/* Cover-Artwork-Stile */
.song {
    position: relative;
    overflow: hidden;
    width: 500px; 
    height: 500px; 
    border-radius: 10px; 
    transition: transform 0.3s ease; /* Animation der Verkleinerung */
}

/* Hover-Effekt und Artworks */
.song img.artwork {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease, opacity 0.2s ease;
    border-radius: 10px;
    display: block;
    position: relative;
}


.song:hover img.artwork {
    transform: scale(0.98); 
    opacity: 0.85; 
}

/* Overlay-Effekt für Song-Details */
.song .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); 
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 0.3s ease, transform 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 10px; 
    flex-direction: column;
}

.song .overlay h3 {
    margin: 0;
    padding: 0;
    font-size: 3.5em; 
    font-weight: bold;
    margin-bottom: 30px; 
}

/* Listen-Link im Overlay */
.song .overlay a {
    display: inline-block;
    padding: 20px 35px;
    background-color: #fff; 
    color: #000;
    text-decoration: none;
    font-size: 1.8em;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover-Effekt für den Listen-Button */
.song .overlay a:hover {
    background-color: rgba(0, 0, 0, 0.85); 
    color: #fff; 
}

.song:hover .overlay {
    opacity: 1; /* Vollständig sichtbar */
    transform: scale(1);
}



/* ==============================================================
   Mobile Styles (für Bildschirme 768px oder kleiner)
   ============================================================== */
   @media (max-width: 768px) {
    .mobile-page-title {
        position: fixed;
        top: 5px; 
        left: 10px; 
        font-size: 3em; 
        color: white;
        z-index: 1002;
        font-weight: bold;
    }
}

   @media (max-width: 768px) {
    /* Desktop-Navigation ausblenden */
    nav ul {
        display: none;
    }

    /* Mobile Navigation */
    .burger-menu {
        display: block;
        position: fixed;
        top: 20px;
        right: 20px;
        width: 30px;
        height: 30px;
        z-index: 1001;
        cursor: pointer;
    }

    .burger-menu div {
        width: 100%;
        height: 3px;
        background-color: white;
        margin: 6px 0;
    }

    /* Fullscreen-Overlay für Mobile-Menü */
    #mobileOverlay {
        height: 0%;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        background-color: rgba(0, 0, 0, 0.9); /* Dunkles Overlay */
        overflow: hidden;
        transition: height 0.4s ease-in-out;
        z-index: 1000;
    }

    /* Mobile-Menüeinträge */
    #mobileOverlay a {
        padding: 15px;
        text-decoration: none;
        font-size: 40px;
        color: white;
        display: block;
        text-align: center;
    }

    #mobileOverlay a:hover {
        color: #ccc;
    }

   
    .open {
        height: 100%; 
    }

.header-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 110px; 
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0) 100%); 
    z-index: 999; 
}

.hero .bandname-logo {
    display: block; 
    width: 50%; 
    position: fixed;
    top: 0px; 
    left: 10px; 
    z-index: 1002; 
    margin: 0; 
    padding: 0; 
}


    .footer .social-media {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap; 
        gap: 10px; 
      }
    
      .social-media li {
        list-style: none;
        display: inline-block;
      }
    
      .social-media li img {
        width: 24px;
        height: 24px;
        object-fit: contain; 
      }
    
      .privacy-policy {
        text-align: center;
        margin-top: 20px;
      }
}


#mobileOverlay {
    display: none; 
}

/* Mobile Ansicht */
@media (max-width: 768px) {

    .burger-menu div {
        width: 30px;
        height: 3px;
        background-color: white;
        margin: 5px 0;
        transition: 0.4s;
    }

    /* Animation für Burger-Menü */
    .burger-menu.change div:nth-child(1) {
        transform: rotate(-45deg) translate(-6px, 6px);
    }

    .burger-menu.change div:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.change div:nth-child(3) {
        transform: rotate(45deg) translate(-6px, -6px);
    }

    /* Overlay-Menü für Mobile */
    #mobileOverlay {
        display: block;
        height: 0;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        background-color: rgba(0, 0, 0, 0.9); 
        overflow-y: hidden;
        transition: height 0.5s ease;
        z-index: 1000;
        display: flex;
        justify-content: center; 
        align-items: center; 
        flex-direction: column; 
    }

    #mobileOverlay.open {
        height: 100%; 
    }

    #mobileOverlay a {
        display: block;
        text-align: center;
        padding: 20px;
        font-size: 2em;
        color: white;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    #mobileOverlay a:hover {
        color: #f1f1f1;
    }

    /* Verstecke Desktop-Navigation auf mobilen Geräten */
    nav.desktop-nav {
        display: none;
    }

    /* Container für das Logo unter den Reitern im Overlay */
    .overlay-logo-container {
        margin-top: 50px; 
        display: flex;
        justify-content: center;
        width: 100%;
    }

    /* Logo im Overlay-Menü */
    .overlay-logo {
        max-width: 150px; 
        opacity: 1;
        filter: brightness(0) invert(1); 
    }
}


/* Mobile Ansicht Music Page */
@media (max-width: 768px) {
    
    .song-container {
        grid-template-columns: 1fr; 
        padding: 20px;
        gap: 20px;
        padding-top: 100px; 
    }

    .song {
        width: 300px; 
        height: 300px; 
    }

    .song img.artwork {
        opacity: 0.85;
        transform: scale(0.98);
    }

    .song .overlay {
        opacity: 1; 
        transform: scale(1); 
    }

    .song .overlay h3 {
        font-size: 1.8em; 
    }

    .song .overlay a {
        padding: 10px 20px; 
        font-size: 1.2em;
    }
}

/* Hero Section für Mobile */
@media (max-width: 768px) {
    .hero {
        background-image: url('src/bandbild_sv.jpeg');
        background-size: cover;
        background-position: 60% 50%; 
        background-repeat: no-repeat;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }
}    

/* Mobile Ansicht */
@media (max-width: 768px) {

    
    .hero .rotating-logo {
        display: none; 
    }
}

/* Desktop Ansicht */
@media (min-width: 788px) {
    .burger-menu {
        display: none; 
    }

    
    nav.desktop-nav {
        display: flex;
    }
}

/* Platzhalter für leere Seiten (Shows & Merch) */
.shows-placeholder, .merch-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em; /* Angemessene Größe für Desktop */
    color: #888;
    margin-top: auto; /* Erzwingt Platzierung am unteren Rand */
    padding-bottom: 20px; /* Leichter Abstand über dem Footer */
    min-height: calc(100vh - 150px); /* Berechnet die Höhe dynamisch, damit der Footer unten bleibt */
}

/* Mobile Ansicht */
@media (max-width: 768px) {
    .shows-placeholder, .merch-placeholder {
        font-size: 1.5em; /* Kleinere Schriftgröße für mobile Bildschirme */
        padding-bottom: 10px; /* Geringerer Abstand zum Footer */
        min-height: calc(100vh - 100px); /* Dynamische Höhe für Mobile */
    }
}