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

body, p {
  font-family: "Crimson Pro", serif;
  font-optical-sizing: auto;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
}

.hidden {
  display: none;
  transition: 0.3s ease;
}

.contact-link a {
  color: #C5052E !important;
  padding: 10px 20px;
  border-radius: 10px;
  border: solid #C5052E;
  background-color: #f7f7f7;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-link a:hover {
  background-color: #C5052E;
  color: #f7f7f7 !important;
}

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 20px;
  z-index: 1000;
  transition: background-color 0.3s ease;
}

#navbar.scrolled {
  background-color: #f7f7f7;
  opacity: 0.9;
}

.logo img {
  height: 63px;
  transition: 0.4 ease;
  filter: brightness(0) invert(1);
}

.change-logo-color {
  filter: brightness(0);
}

.rightnav {
  list-style: none;
  display: flex;
  margin-left: auto;
}

li a {
    margin: 25px;
    font-weight: bold;
}

.rightnav a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.rightnav a:hover {
  color: #C5052E;
}

#navbar.scrolled .rightnav a:hover {
  color: #C5052E;
}

#navbar.scrolled .rightnav a {
  color: black;
}

#navbar.scrolled .logo img {
  filter: brightness(0);
}

.content {
  border: none;
}

.scroll-dark-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  transition: background 0.1s linear;
  pointer-events: none;
  z-index: 1;
}

#band-section {
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100vh - 40px);
  overflow: hidden;
  position: relative;
}

.band-photo-container {
  position: relative;
  height: 100%;
  width: 100%;
}

.band-photo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: none;
}

.desktop-photo {
  display: block;
  border: none;
}

.mobile-photo {
  display: none;
}

.overlay {
  position: absolute;
  bottom: 20px;
  width: 90%;
  text-align: center;
  color: white;
  padding: 20px;
  z-index: 2;
}

.mail-btn {
  background-color: #C5052E;
  color: white;
  padding: 12px 20px;
  text-decoration: none;
  font-size: 16px;
  border-radius: 5px;
  text-align: center;
  display: inline-block;
  opacity: 0.8;
  transition: background-color 0.3s ease, opacity 0.3s ease;
  z-index: 1;
  cursor: pointer;
}

.mail-btn:hover {
  color: #8E0819;
  opacity: 1;
}

.music-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background-color: #282828;
  color: white;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.left-section {
  display: flex;
  align-items: center;
}

#track-image {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  margin-right: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.track-info p {
  line-height: 1.2;
}

#track-title {
  font-size: 14px;
  font-weight: bold;
}

#track-composer {
  font-size: 12px;
  color: #b3b3b3;
}

.center-section {
  flex-grow: 1;
  align-items: center;
  display: flex;
  flex-direction: column;
}

.controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.control-btn {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  margin: 0 15px;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}

.control-btn:hover {
  transform: scale(1.2);
  color: #b2943e;
}

.progress-container {
  width: 100%;
  display: flex;
  align-items: center;
}

#current-time, #total-duration {
  font-size: 12px;
  color: #b3b3b3;
  margin: 0 10px;
}

#progress {
  flex: 1;
  height: 5px;
  background: #404040;
  border-radius: 5px;
  outline: none;
  cursor: pointer;
}

#progress::-webkit-slider-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #b3b3b3;
  cursor: pointer;
}

.right-section {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

#volume {
  width: 100px;
  margin-left: 10px;
}

#volume::-webkit-slider-thumb {
  width: 10px;
  height: 10px;
  background: #1db954;
  border-radius: 50%;
  cursor: pointer;
}

/* RESPONSIVE STYLING: Mobiele weergave */
@media (max-width: 1024px) {
  .rightnav {
    list-style: none;
    display: flex;
    margin-left: auto;
  }

  .rightnav a {
    font-size: 14px;
    margin: 0 10px;
  }

  #band-section {
    flex-direction: column; /* Zet de sectie onder elkaar */
    height: auto; /* Laat de hoogte aanpassen aan de inhoud */
  }

  .band-photo-container {
    width: 100%;
    height: calc(100vh - 40px);
    top: 0;
    left: 0;
    object-fit: cover;
    background-position: bottom;
    position: relative;
    border: none;
  }
  .band-photo-container img{
    object-position: 0px 70%;
  }

  .desktop-photo {
    display: none; /* Verberg de desktop-foto */
  }

  .mobile-photo {
    display: flex;
    justify-content: center;
    width: 100%;
    height: calc(100vh - 40px);
  }

  .overlay {
    flex: none;
    width: 100%; /* Overlay vult de volledige breedte */
    background: none; /* Geen gradiënt meer */
    padding: 20px;
  }

  .control-btn {
    font-size: 20px;
    margin: 0 8px;
  }
}

/* Responsieve stijlen voor kleinere schermen */
@media (max-width: 768px) {
  .music-bar {
    padding: 10px; /* Compactere padding */
    width: 100vw;
  }

  .left-section {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Uitlijning naar links */
    margin-bottom: 10px; /* Kleine marge onder */
  }

  #track-image {
    width: 50px;
    height: 50px;
    margin-right: 10px; /* Ruimte tussen afbeelding en tekst */
  }

  .track-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Links uitlijnen */
    justify-content: center;
  }

  #track-title {
    font-size: 14px;
    font-weight: bold;
  }

  #track-composer {
    font-size: 12px;
    color: #b3b3b3;
  }

  .center-section {
    margin-top: 10px; /* Ruimte boven de progress-bar */
    flex-grow: 1;
  }

  .right-section {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 10px;
  }

  #volume {
    width: 80%;
    max-width: 150px;
  }

  .infopp {
    display: flex;
    flex-direction: column;
  }

  .infopp p {
    max-width: 100% !important;
  }
}

/*OVER ONS SECTIE*/

#over-ons-section {
  display: flex;
  flex-direction: column;
  color: #333;
  text-align: center;
  background-color: #f7f7f7;
  gap: 20px; /* Ruimte tussen secties */
  padding: 60px 20px;
}

#over-ons-section h2 {
  font-size: 36px;  /* Grote, opvallende titel */
  font-weight: 700;  /* Vetgedrukte titel */
  margin-bottom: 20px;  /* Ruimte onder de titel */
  color: #333;  /* Donkere kleur voor de titel */
}

.tekst-columns {
  display: flex;
  justify-content: space-between; /* Zorgt dat left-column en right-column links en rechts uitlijnen */
  gap: 40px; /* Ruimte tussen de kolommen */
  margin-bottom: 40px;
}

.left-column p, .left-column h2 {
  text-align: left;
}

.right-column p, .right-column h2 {
  text-align: right;
}

.left-column, .right-column {
  flex: 1; /* Beide kolommen nemen gelijke breedte */
  max-width: 48%; /* Optioneel: om meer consistentie te behouden */
  padding: 0 20px;
  font-size: 18px;
  line-height: 1.6;
  color: #555;
}

.infopp {
  display: flex;
  justify-content: space-between; /* Zorgt ervoor dat de 3 div's naast elkaar staan */
  gap: 20px; /* Ruimte tussen de items */
  margin-top: 40px; /* Ruimte boven de infopp sectie */
  font-size: 18px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 40px;
}

.infopp img {
  border-radius: 50%;  /* Ronde vorm voor de bandledenfoto's */
  width: 120px;  /* Standaard grootte voor de foto's */
  height: 120px;  /* Zodat de afbeelding een vierkante vorm krijgt */
  object-fit: cover;  /* Zorgt ervoor dat de afbeelding netjes bijgesneden wordt */
  margin-bottom: 20px;  /* Ruimte tussen de afbeelding en de tekst */
}

.infopp p {
  font-size: 16px;  /* Gemiddelde tekstgrootte voor bandledenbeschrijving */
  color: #444;  /* Lichte grijs voor tekst, voor een zachte uitstraling */
  text-align: center;  /* Centraal uitlijnen van de tekst */
  max-width: 600px;  /* Maximaliseren van de tekstbreedte voor leesbaarheid */
  margin-bottom: 10px;  /* Ruimte onder de tekst */
  padding: 0 15px;  /* Padding voor tekstomkadering */
}

.infopp div {
  flex: 1; /* Elk item neemt evenveel ruimte in */
  text-align: center; /* Centreert de tekst in elk blok */
}

.pasfoto {
  border-radius: 50%; /* Rond de afbeeldingen af */
  display: block;
  margin: 0 auto 10px; /* Centreer de afbeelding en voeg marge toe */
}

.link-jonathan, .link-jonne, .link-kobus {
  color: #444;
  font-weight: bold;
}

.link-jonathan:hover {
  color: #0363b2;
}

.link-jonne:hover {
  color: #C5052E;
}

.link-kobus:hover {
  color: #b2943e;
}

@media (max-width: 768px) {
  .infopp {
    display: flex;
    flex-wrap: nowrap; /* Forceer items naast elkaar */
    justify-content: flex-start; /* Begin links */
    gap: 10px;
    overflow-x: scroll; /* Maak horizontaal scrollen mogelijk */
    scroll-snap-type: x mandatory; /* Snap naar de dichtstbijzijnde div */
  }

  .infopp div {
    flex: 0 0 60%; /* Basisgrootte van de divs */
    min-width: 60%; /* Zorg voor consistente breedte */
    transition: all 0.3s ease; /* Soepel schalen bij verandering */
    transform-origin: center;
    text-align: center;
    scroll-snap-align: center; /* Centreer de actieve div */
  }

  .infopp div.small {
    flex: 0 0 30%; /* Kleinere divs aan weerszijden */
    min-width: 30%;
    opacity: 0.6; /* Maak kleinere divs iets transparanter */
    transform: scale(0.8); /* Verklein een beetje */
  }

  .infopp div.active {
    flex: 0 0 70%; /* Grotere div in het midden */
    min-width: 70%;
    opacity: 1; /* Volledig zichtbaar */
    transform: scale(1); /* Volledige grootte */
  }

  .infopp::-webkit-scrollbar {
    display: none; /* Verberg de scrollbalk */
  }

  /* Pas afbeeldingen aan */
  .pasfoto {
    width: 60%; /* Schaal met de divs */
    height: auto;
    border-radius: 50%;
    margin-bottom: 10px;
  }
}

@media (max-width: 1024px) {
  .tekst-columns {
    flex-direction: column; /* Zorgt dat de kolommen onder elkaar staan */
    align-items: center;    /* Centreer de kolommen horizontaal */
    gap: 20px;              /* Voeg wat ruimte toe tussen de kolommen */
  }

  .left-column, .right-column {
    max-width: 100%; /* Zorg dat de kolommen de volledige breedte gebruiken */
    text-align: center; /* Pas de tekstuitlijning aan voor een betere leesbaarheid */
    padding: 0 10px;    /* Beperk de padding voor kleinere schermen */
  }

  .left-column h2 {
    text-align: left; /* Centreer de titels boven de teksten */
  }

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

footer {
  background-color: #333;
  color: #fff;
  padding: 40px 20px 90px;
  text-align: center;
  display: none !important;
}

.footer-contact-form {
  max-width: 500px;
  margin: 0 auto;
}

.footer-contact-form h3 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #fff;
}

.footer-contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.footer-contact-form input,
.footer-contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

.footer-contact-form input:focus,
.footer-contact-form textarea:focus {
  border-color: #C5052E;
  outline: none;
}

.footer-contact-form .submit-btn {
  background-color: #C5052E;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.footer-contact-form .submit-btn:hover {
  background-color: #8E0819;
}
