* {
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  border: 0;
  padding: 0;
  background-color: #f8f5e6;
  color: #2c4a52;
}

header {
  position: relative;
  height: 400px;
  background-image: url('images/band.jpg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  overflow: hidden;
}

header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
  z-index: 1;
}

.logo {
  max-width: 75px;
  height: auto;
  position: relative;
  z-index: 2;
  opacity: 0.8;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  animation: slideDown 1s ease-out;
}

header h1 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 10vw, 6rem);
  color: #FFD700;
  opacity: 0.85;
  margin: 0;
  padding: 0 20px 0 20px;
  text-align: center;
  letter-spacing: 0.05em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  width: 100%;
  line-height: 1;
}

@keyframes slideDown {
  from {
    transform: translateY(-100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes jiggle {
  0%, 100% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-8px);
  }
  50% {
    transform: translateY(0);
  }
  75% {
    transform: translateY(-4px);
  }
}

main {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

.intro {
  text-align: center;
  padding: 60px 20px;
  max-width: 800px;
  margin: 0 auto 40px;
}

.intro p {
  font-size: 1.1em;
  line-height: 1.8;
  color: #2c4a52;
}



.bios {
  margin-bottom: 40px;
}

.bios h2 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 30px;
  color: #2c4a52;
  font-family: 'Pacifico', cursive;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.member {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.member h3 {
  color: #b8860b;
  margin-bottom: 10px;
}

.member p {
  font-size: 0.95em;
  line-height: 1.5;
}

.contact {
  text-align: center;
  padding: 40px 20px;
  background-color: #2c4a52;
  color: #fff;
  border-radius: 10px;
  margin-bottom: 40px;
}

.contact h2 {
  margin-bottom: 20px;
}

.contact a {
  color: #b8860b;
  font-size: 1.2em;
  text-decoration: none;
}

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

.contact-form {
  max-width: 600px;
  margin: 30px auto 0;
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #fff;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 5px;
  font-size: 1em;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #fff;
  color: #2c4a52;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid #b8860b;
}

.contact-form button {
  width: 100%;
  padding: 15px;
  background-color: #b8860b;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #d4a017;
}

.contact-form button:active {
  background-color: #9a7409;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #2c4a52;
  color: #fff;
}

@media (max-width: 768px) {
  header {
    height: 300px;
  }
  
  .logo {
    max-width: 50px;
  }
  
  header h1 {
    font-size: clamp(1rem, 8vw, 4rem);
  }
  
  .member-grid {
    grid-template-columns: 1fr;
  }
}