/* ===== Grid Layout ===== */
.concerten-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 1rem;
}

/* ===== Kaart Styling ===== */
.concert-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}
.concert-card:hover {
  transform: translateY(-5px);
}
.concert-image-container {
  position: relative;
}
.concert-image-container img {
  width: 100%;
  height: 25vw!important;
  object-fit: cover;
}
.concert-date-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #0b1c3c;
  color: white;
  padding: 4px 10px;
  font-size: 0.8rem;
  border-radius: 6px;
}
.concert-card-content {
  padding: 1rem;
}
.concert-card-content h3 {
  margin: 0.5rem 0 0.2rem;
  font-size: 1.1rem;
}
.concert-card-content p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
  color: #333;
}

/* ===== Knop Styling ===== */
.popup-btn {
  background-color: #0b1c3c;
  color: white;
  border: none;
  padding: 10px 20px;
  margin-top: 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.3s ease;
}
.popup-btn:hover {
  background-color: #E6215A;
}

/* ===== Popup Styling ===== */
.popup {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}
.popup-content {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  max-width: 800px;
  width: 90%;
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}
.popup-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.popup-inner h2 {
  margin-top: 0;
}
.popup-inner p {
  margin: 0.3rem 0;
}
.ticket-button {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 10px 16px;
  background: #0b1c3c;
  color: white;
  border-radius: 6px;
  text-decoration: none;
}
.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Animation */
@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.95);}
  to {opacity: 1; transform: scale(1);}
}

.popup-extra {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #333;
}
.popup-iframe {
  margin-top: 1rem;
  border-radius: 12px;
  overflow: hidden;
}
.ticket-button {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 12px 24px;
  background: #E6215A;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.3s ease;
}
.ticket-button:hover {
  background: #c31948;
}
.popup-content img {
  border-radius: 12px;
  max-height: 400px;
  object-fit: cover;
}

/* ===== Verklein kaart-witruimte + vaste hoogte ===== */
.concert-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  transition: transform 0.3s ease;
}
.concert-card-content {
  padding: 0.8rem 1rem 1rem 1rem;
}
.concert-card-content h3 {
  margin: 0.3rem 0 0.2rem;
  font-size: 1rem;
}
.concert-card-content p {
  margin: 0.2rem 0;
  font-size: 0.9rem;
  color: #444;
}

/* ===== Donkerblauwe knop zoals op de website ===== */
.popup-btn,
.ticket-button {
  background-color: #0b1c3c;
  color: white;
  border: none;
  padding: 10px 20px;
  margin-top: 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.3s ease;
}
.popup-btn:hover,
.ticket-button:hover {
  background-color: #08152b;
}


.popup img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.popup .btn {
    background-color: #0a2b5f;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;
    margin-top: 1rem;
    text-decoration: none;
    font-weight: 500;
}

.popup .btn:hover {
    background-color: #061d3d;
}



/* ===== Responsive Popup Fixes ===== */
@media (max-width: 768px) {
  .popup-content {
    width: 95%;
    padding: 1.2rem;
    max-height: 90vh;
    overflow-y: auto;
  }

  .popup-close {
    top: 8px;
    right: 12px;
    font-size: 1.3rem;
  }

  .popup-content h2 {
    font-size: 1.2rem;
  }

  .popup-content p {
    font-size: 0.95rem;
  }

  .ticket-button,
  .popup-btn {
    font-size: 0.9rem;
    padding: 10px 16px;
  }
}

@media (max-width: 480px) {
  .popup-content {
    width: 96%;
    padding: 1rem;
    max-height: 90vh;
  }

  .popup-content img {
    max-height: 250px;
  }

  .popup-content h2 {
    font-size: 1rem;
  }

  .popup-content p {
    font-size: 0.9rem;
  }

  .ticket-button,
  .popup-btn {
    width: 100%;
    font-size: 0.9rem;
    padding: 10px;
  }
}



/* === Lightbox Desktop Layout Improvements === */
.popup-content {
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
  margin: 1.5rem;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem 2.5rem;
  line-height: 1.6;
}

/* Title and text spacing */
.popup-content h2 {
  font-size: 1.6rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

.popup-content p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* Ensure images scale correctly */
.popup-content img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 1.2rem;
  max-height: 350px;
  object-fit: cover;
}
