body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background-color: #0f0f0f;
  color: #f5f5f5;
  line-height: 1.7;
}

/* Top banner */
.top-banner {
  background: linear-gradient(90deg, rgba(131,58,180,1) 0%, rgba(253,29,29,1) 88%, rgba(252,176,69,1) 100%);
  color: #fff;
  text-align: center;
  padding: 1px;
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}
.top-banner a {
  color: #fff;
  text-decoration: underline;
}
.top-banner a:hover {
  text-decoration: none;
}

/* Header with group photo */
header {
  width: 100%;
  min-height: 750px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("images/group.JPG") center center / cover no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  box-shadow: 0 8px 15px rgba(0,0,0,0.4);
  text-align: center;
}

/* Contact bar */
.contact {
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 40px;
  font-size: 0.9rem;
  z-index: 3;
}

.contact .left, 
.contact .right {
  flex: 1;
  color: #fff;
}

.contact .left {
  text-align: left;
}

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

.contact b {
  display: block;
  margin-bottom: 2px;
  font-size: 0.95rem;
}

.contact a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s ease;
}

.contact a:hover {
  text-decoration: underline;
  color: #e4a74f;
}

/* Center logo text (CHARM) */
#logo {
  display: block;
  margin: 0 auto;
  width: auto;
  max-width: 35%;
  height: auto;
  z-index: 2;
  position: relative;
  top: 0;
}

/* Sections */
section {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}
h2 {
  font-size: 2rem;
  margin-bottom: 25px;
  font-weight: 600;
  border-bottom: 2px solid #e4a74f;
  display: inline-block;
  padding-bottom: 5px;
}

/* Spotify embeds */
.spotify-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
}

.spotify-container iframe {
  width: 100%;
  max-width: 950px;
  height: 152px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
  border: none;
}

/* Gallery */
.gallery {
  column-count: 3;
  column-gap: 15px;
  max-width: 1000px;
  margin: 0 auto;
}
.gallery img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 15px rgba(255,255,255,0.2);
}

/* Footer */
footer {
  text-align: center;
  padding: 25px 0;
  color: #999;
  font-size: 0.9rem;
}

/* --------------------------------------------- */
/* RESPONSIVE FIXES */
/* --------------------------------------------- */

@media (max-width: 900px) {
  header {
    min-height: 50px;
    padding: 0px 0;
  }

  .contact {
    position: sticky;
    flex-direction: column;
    align-items: center;
    gap: 150px;
    padding: 10px 0;
    text-align: center;
  }

  .contact .right,
  .contact .left {
    text-align: center;
  }

  #logo {
    max-width: 40%;
    margin-top: 15px;
  }

  section {
    margin: 40px auto;
    padding: 0 15px;
  }

  .gallery {
    column-count: 2;
  }

  .gallery img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  h2 {
    font-size: 1.4rem;
  }

  .top-banner {
    font-size: 0.8rem;
    padding: 6px;
  }

  footer {
    font-size: 0.8rem;
  }

  .gallery {
    column-count: 1;
  }

  #logo {
    max-width: 40%;
  }
}

/* Overlay for full image view */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.3s ease;
}

.overlay.show {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.overlay img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(255,255,255,0.2);
}

.close-btn {
  position: absolute;
  top: 25px;
  right: 35px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
  transition: 0.2s;
  user-select: none;
}

.close-btn:hover {
  color: #e4a74f;
  transform: scale(1.1);
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
