/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Courier New', monospace;
  background: #0a0a0a;
  color: #e0e0e0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-text-size-adjust: 100%;
}

main {
  flex: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  width: 100%;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #4cff4c;
  text-transform: uppercase;
  letter-spacing: 2px;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #4cff4c;
}

/* Nav */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: #111;
  border-bottom: 2px solid #4cff4c;
  position: relative;
}

.nav-brand {
  font-size: 1.2rem;
  font-weight: bold;
  color: #4cff4c;
  letter-spacing: 3px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  position: relative;
  z-index: 1100;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #4cff4c;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-links a {
  color: #ccc;
  text-decoration: none;
  margin-left: 1.25rem;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #4cff4c;
}

.nav-overlay {
  display: none;
}

.nav-overlay.hidden {
  display: none;
}

/* Hero */
.hero {
  text-align: center;
  padding: 2rem 0;
}

.hero-img {
  max-width: 350px;
  width: 100%;
  margin-bottom: 1.5rem;
  border-radius: 8px;
}

.hero h1 {
  font-size: 2.5rem;
}

.tagline {
  font-size: 1rem;
  color: #888;
  margin-top: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  background: #4cff4c;
  color: #0a0a0a;
  text-decoration: none;
  font-weight: bold;
  font-family: inherit;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 16px;
  transition: background 0.2s;
  -webkit-appearance: none;
  border-radius: 0;
}

.btn:hover {
  background: #3dcc3d;
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 14px;
}

/* Show Cards */
.upcoming-shows {
  margin-top: 3rem;
}

.show-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  margin-bottom: 0.75rem;
  background: #1a1a1a;
  border-left: 3px solid #4cff4c;
}

.show-card-full {
  padding: 1.25rem;
}

.show-date {
  font-size: 0.85rem;
  color: #4cff4c;
  white-space: nowrap;
  min-width: 90px;
}

.show-details {
  flex: 1;
}

.show-details strong {
  display: block;
  margin-bottom: 0.25rem;
}

.show-details span {
  font-size: 0.85rem;
  color: #888;
}

.show-details p {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #aaa;
}

/* Photo Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  transition: transform 0.2s;
}

.gallery-item img:hover {
  transform: scale(1.02);
}

/* Videos */
.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 4px;
}

.video-embed iframe,
.video-embed video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-title {
  margin-top: 0.5rem;
  color: #aaa;
  font-size: 0.9rem;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: #1a1a1a;
  padding: 1.5rem;
  border-radius: 8px;
  max-width: 400px;
  width: 100%;
  border: 1px solid #4cff4c;
}

.modal-close {
  float: right;
  font-size: 1.5rem;
  cursor: pointer;
  color: #888;
  padding: 0.25rem;
}

.modal-close:hover {
  color: #fff;
}

/* Forms — 16px font-size prevents iOS zoom on focus */
form label {
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.3rem;
  font-size: 14px;
  color: #aaa;
  text-transform: uppercase;
}

form input[type="text"],
form input[type="email"],
form input[type="url"],
form input[type="password"],
form input[type="date"],
form textarea {
  width: 100%;
  padding: 0.75rem;
  background: #0a0a0a;
  border: 1px solid #333;
  color: #e0e0e0;
  font-family: inherit;
  font-size: 16px;
  border-radius: 0;
  -webkit-appearance: none;
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: #4cff4c;
}

form .btn {
  margin-top: 1.5rem;
  width: 100%;
}

.success {
  color: #4cff4c;
  margin-top: 1rem;
}

.error {
  color: #ff4c4c;
  margin-top: 1rem;
}

.hidden {
  display: none;
}

/* Mailing List */
.mailing-list {
  margin-top: 3rem;
  padding: 2rem 1.5rem;
  background: #111;
  border: 1px solid #333;
  border-radius: 4px;
  text-align: center;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 500px;
  margin: 0 auto;
}

.subscribe-form input[type="email"] {
  width: 100%;
  padding: 0.9rem 1rem;
  background: #0a0a0a;
  border: 1px solid #333;
  color: #e0e0e0;
  font-family: inherit;
  font-size: 16px;
  border-radius: 0;
  -webkit-appearance: none;
}

.subscribe-form input:focus {
  outline: none;
  border-color: #4cff4c;
}

.subscribe-form .btn {
  margin-top: 0;
  width: 100%;
  padding: 0.9rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 1.5rem;
  color: #555;
  font-size: 0.8rem;
  border-top: 1px solid #222;
}

/* ========== RESPONSIVE ========== */

/* Tablet */
@media (min-width: 601px) {
  .subscribe-form {
    flex-direction: row;
  }

  .subscribe-form input[type="email"] {
    flex: 1;
  }

  .subscribe-form .btn {
    width: auto;
    flex-shrink: 0;
  }

  .video-grid {
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  }
}

/* Mobile */
@media (max-width: 600px) {
  main {
    padding: 1.5rem 1rem;
  }

  nav {
    padding: 0.75rem 1rem;
  }

  .nav-brand {
    font-size: 1rem;
    letter-spacing: 2px;
  }

  /* Hamburger menu */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 280px;
    height: 100vh;
    height: 100dvh;
    background: #0a0a0a;
    display: flex;
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    transition: right 0.3s ease;
    z-index: 1000;
    border-left: 2px solid #4cff4c;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    margin-left: 0;
    margin-bottom: 0;
    font-size: 1.2rem;
    padding: 1rem 0;
    display: block;
    color: #fff;
    border-bottom: 1px solid #222;
  }

  .nav-links a.active {
    color: #4cff4c;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 900;
  }

  .nav-overlay.hidden {
    display: none;
  }

  h1 {
    font-size: 1.8rem;
    letter-spacing: 1px;
  }

  h2 {
    font-size: 1.25rem;
  }

  .hero {
    padding: 1.5rem 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-img {
    max-width: 280px;
  }

  .tagline {
    font-size: 0.9rem;
  }

  /* Show cards stack vertically */
  .show-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1rem;
  }

  .show-card-full {
    padding: 1rem;
  }

  .show-date {
    min-width: unset;
  }

  .show-card .btn {
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
  }

  /* Gallery single column on small phones */
  .gallery {
    grid-template-columns: 1fr;
  }

  /* Videos always single column */
  .video-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Mailing list */
  .mailing-list {
    padding: 1.5rem 1rem;
    margin-top: 2rem;
  }

  .mailing-list p {
    font-size: 0.85rem;
  }

  /* Modal fullscreen on mobile */
  .modal {
    align-items: flex-start;
    padding: 1rem;
    padding-top: 3rem;
  }

  .modal-content {
    padding: 1.25rem;
  }

  /* Buttons bigger touch targets */
  .btn {
    padding: 1rem 1.5rem;
    min-height: 48px;
  }

  .btn-small {
    padding: 0.65rem 1rem;
    min-height: 40px;
  }

  /* Footer */
  footer {
    padding: 1.5rem 1rem;
  }

  /* Upcoming shows section */
  .upcoming-shows {
    margin-top: 2rem;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .gallery-item img:hover {
    transform: none;
  }

  .btn:hover {
    background: #4cff4c;
  }
}
