/* ================================
   RESET + BASE
   ================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #222;
  background: #faf7f2;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* small container helper */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ================================
   TOPBAR + HEADER
   ================================ */
.topbar {
  background: #111;
  color: #fff;
  font-size: 0.95rem;
}

.topbar .topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0;
}

.topbar a { color: #ffd95a; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

header {
  background: #1e1e1e;
  color: #fff;
  padding: 1rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffd95a;
}

/* nav */
.main-nav {
  display: flex;
  gap: 1rem;
  list-style: none;
}

.main-nav a {
  color: #ffcc33;
  text-decoration: none;
  padding: 0.25rem 0.4rem;
  transition: color .18s ease, transform .18s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #fff;
  transform: translateY(-2px);
}

/* ================================
   PAGE GRID LAYOUT (uses CSS Grid)
   ================================ */
.site-grid {
  display: grid;
  gap: 2rem;
  padding: 2rem 0;
}

/* Desktop: 1024+ => primary + secondary columns */
@media (min-width:1024px) {
  .site-grid {
    grid-template-columns: 2fr 1fr; /* left column wide, right column narrow */
    align-items: start;
  }

  /* contact section spans both columns */
  #contact.full-width {
    grid-column: 1 / -1;
  }
}

/* Tablet: 411 - 1023 => two columns stacked more evenly (extra credit) */
@media (min-width:411px) and (max-width:1023px) {
  .site-grid {
    grid-template-columns: 1fr 1fr;
  }

  #contact.full-width {
    grid-column: 1 / -1;
  }
}

/* Mobile: 410px and below — single column */
@media (max-width:410px) {
  .site-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================
   HERO / HOME
   ================================ */
.hero {
  text-align: center;
  background: linear-gradient(180deg, rgba(255,220,120,0.12), transparent);
  padding: 2.2rem 1rem;
  border-radius: 8px;
  transition: box-shadow .18s ease;
}

.hero .lead {
  max-width: 900px;
  margin: 1rem auto 0;
  color: #333;
}

/* ================================
   BAND MEMBERS (flexbox)
   ================================ */
.band-members {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  justify-content: center;
}

/* member card */
.member-card {
  background: #fff;
  border-radius: 10px;
  width: 260px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(15,15,15,0.06);
  transition: transform .22s ease, box-shadow .22s ease;
}

.member-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 30px rgba(15,15,15,0.12);
}

.member-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.member-info { padding: 0.9rem; }
.member-info h3 { font-size: 1.05rem; margin-bottom: 0.2rem; color: #111; }
.member-info .role { font-weight: 600; color: #444; margin-bottom: 0.4rem; }
.member-info p { font-size: 0.92rem; color: #555; }

/* ================================
   MUSIC GRID (CSS Grid)
   ================================ */
.music-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 1rem;
}

.music-box {
  background: #121212;
  border-radius: 10px;
  padding: 0.6rem;
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
  transition: transform .2s ease;
}

.music-box:hover { transform: scale(1.02); }

.music-box iframe {
  width: 100%;
  height: 190px;
  border-radius: 6px;
  border: 0;
}

/* ================================
   EVENTS & QUICK CONTACT (right column)
   ================================ */
.events {
  background: transparent;
}

.events-list {
  background: #1a1a1a;
  color: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.14);
}

.events-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.events-list li:last-child { border-bottom: none; }
.events-list strong { color: #ffdf6b; }

/* quick contact box */
.quick-contact {
  margin-top: 1rem;
  background: #fff;
  border-radius: 8px;
  padding: 0.9rem;
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
}

/* ================================
   CONTACT FORM
   ================================ */
.contact-form {
  margin-top: 2rem;
  padding: 1.2rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.8), #fff);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

/* form centered and responsive */
.contact-form form {
  width: 100%;
  max-width: 520px;
  margin: 0.6rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

/* labels */
.contact-form label {
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
  display: block;
}

/* required asterisk and optional */
.required { color: #e14444; margin-left: 0.25rem; }
.optional { color: #888; font-size: 0.85rem; margin-left: 0.25rem; }

/* inputs */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d1d1;
  border-radius: 8px;
  font-size: 1rem;
  transition: box-shadow .14s ease, border-color .14s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #ffcc33;
  box-shadow: 0 4px 10px rgba(255,204,51,0.08);
  outline: none;
}

.contact-form button {
  width: 100%;
  padding: 0.85rem;
  background: #ffcc33;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .12s ease, background .12s ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
  background: #e1b227;
}

/* ================================
   MAP (responsive)
   ================================ */
.map {
  margin-top: 1.25rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.map iframe {
  width: 100%;
  max-width: 900px;
  height: 360px;
  border: 0;
  border-radius: 8px;
}

/* ================================
   FOOTER
   ================================ */
footer {
  background: #111;
  color: #ddd;
  padding: 1.1rem 0;
  margin-top: 2.25rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* small tweaks for small screens */
@media (max-width:600px) {
  .footer-inner { text-align: center; justify-content: center; }
  .member-card { width: 100%; }
  .music-box iframe { height: 180px; }
  .map iframe { height: 300px; }
}
