/* === Base Styles === */
* {
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
}

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

section {
  width: 100%;
  margin: 0 auto;
  padding: 100px 20px;
}

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

.img-responsive {
  width: 100%;
  border-radius: 8px;
}

/* === Header === */
header {
  background-image: 
    linear-gradient(
      to right,
      rgba(255, 214, 165, 0.6),
      rgba(255, 175, 189, 0.4),
      rgba(255, 240, 220, 0.2)
    ),
    url('../images/old guy playing sax in jazzclub.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 286px 20px;
  color: black;
  width: 100%;
}

header a {
  color: black;
  background: #C2A86D;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 8px;
  margin-top: 40px;
  display: inline-block;
  transition: all 0.3s ease;
}

header a:hover {
  background-color: #e0c48f;
  transform: scale(1.05);
}

/* === Typography === */
h1 {
  font-weight: 700;
  font-size: 96px;
  color: #C2A86D;
  line-height: 1.5;
  margin: 0;
}

h2 {
  font-weight: 400;
  font-size: 40px;
  line-height: 1.5;
  margin: 0;
}

h3 {
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 5px;
  line-height: 1.5;
  margin: 0;
}

h4 {
  font-weight: 700;
  font-size: 20px;
  color: black;
  margin-bottom: 16px;
  text-align: left;
}

h5 {
  font-weight: 700;
  font-size: 13px;
  text-align: left;
  color: #C2A86D;
  
}

p {
  color: #333;
  font-size: 16px;
  font-weight: 400;
  opacity: 0.7;
  line-height: 1.8;
}

/* === Why Jazz Section === */
.why-jazz {
  background-color: #fffaf5;
  padding: 60px 20px;
}

.why-jazz .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.why-jazz .image-block img {
  width: 100%;
  height: auto;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.why-jazz .text-block h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #C2A86D;
  margin-bottom: 10px;
}

.why-jazz .text-block h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
  line-height: 50px;
}

.why-jazz .text-block p {
  margin: 0;
}

/* === Festival Cards === */
.favorite-festivals {
  background:  rgba(224, 196, 143, 0.6);
  padding: 100px 20px;
  
}

.favorite-festivals h3 {
  color: white;
  opacity: 0.8;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 5px;
  text-align: center;
  text-transform: uppercase;
}

.favorite-festivals h2 {
  color: #333;
  font-weight: 700;
  font-size: 48px;
  text-align: center;
  padding: 16px 8px;
}

.grid-3-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  align-items: stretch;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  background-color: #fffaf5;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  padding: 8px 16px;
  border-radius: 12px;
}

.card:hover {
  transform: scale(1.02);
}

.card-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  width: 100%;
}

/* Gedeelde stijl voor img en iframe */
.card-header img,
.card-header iframe {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border: none;
  display: block;
}


.card p {
  font-size: 16px;
  font-weight: 400;
  text-align: left;
  line-height: 1.8;
  color: #333;
  opacity: 0.7;

}

.address-box {
  background-color: #f9f4ef;
  padding: 12px;
  border-radius: 8px;
  margin: 10px 0;
}

.address-box h5 {
  margin: 0;
  font-size: 14px;
  color: #4B2E2E;
}

.address-box p {
  margin: 4px 0 0;
}

.card-footer {
  margin-top: auto;
  text-align: center;
}

.learn-more {
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 6px;
  background-color: #C2A86D;
  color: white;
  transition: all 0.3s ease;
}

.learn-more:hover {
  background-color: #e0c48f;
  transform: scale(1.05);
}

.gallery h3 {
  color: #333;
  opacity: 0.3;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 5px;
  text-align: center;
  text-transform: uppercase;
}

.gallery h2 {
  color: #333;
  font-weight: 700;
  font-size: 48px;
  text-align: center;
  padding: 16px 8px;
}

/* === Footer === */
footer {
  background-image: 
    linear-gradient(
      to left,
      rgba(255, 214, 165, 0.6),
      rgba(255, 175, 189, 0.4),
      rgba(255, 240, 220, 0.2)
    ),
    url('../images/Jazz singer.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 100px 20px;
  color: black;
}

footer .grid-3-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
  text-align: left;
}

footer h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer li {
  margin-bottom: 8px;
}

footer p,
footer li,
footer a {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.7;
  color: black;
}

footer a {
  text-decoration: none;
}

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

/* === Tablet: max-width 1024px === */
@media (max-width: 1024px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }

  .grid-3-columns {
    grid-template-columns: 1fr 1fr;
  }

  header {
    padding: 180px 20px;
  }

  h1 {
    font-size: 72px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 20px;
    letter-spacing: 3px;
  }

  header a {
    font-size: 13px;
    padding: 14px 28px;
  }

  .why-jazz .text-block h2 {
    font-size: 32px;
    line-height: 1.4;
  }

  .card {
    padding: 12px;
  }

  .learn-more {
    padding: 10px 20px;
    font-size: 13px;
  }
}

@media (max-width: 800px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .grid-3-columns {
    grid-template-columns: 1fr;}

     .card {
    margin-bottom: 40px;
  }

  header {
    padding: 120px 20px;
  }

  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 18px;
    letter-spacing: 2px;
    padding: 12px;
  }

  header a {
    font-size: 12px;
    padding: 12px 24px;
  }

  footer .grid-3-columns {
  grid-template-columns: 1fr;
  text-align: center;
}

footer .grid-3-columns div {
  margin-bottom: 40px;
}


  .why-jazz h2 {
    font-size: 28px;
  }

  .why-jazz p {
    font-size: 16px;
  }

.why-jazz .grid {
    grid-template-columns: 1fr;
}

 .image-block img {
    max-width: 100%;
    margin-bottom: 30px;
 }

  .text-block h2 {
    font-size: 28px;
}
 .text-block p {
    font-size: 16px;
    text-align: left;
 }
footer h4 {
    text-align: center;
}

}