/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red-dark: #8b0000;
  --red-mid: #a01c1c;
  --red-light: #c0392b;
  --pink-accent: #e07070;
  --black: #0a0a0a;
  --dark: #111111;
  --text-light: #f0ede8;
  --text-muted: #bbb;
  --font: 'Heebo', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background-color: var(--black);
  color: var(--text-light);
  direction: rtl;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== SECTION TITLE ===== */
.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #fff;
}

/* ===== SECTION 1: NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  height: 56px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  transition: background 0.3s, height 0.3s;
}

#navbar.scrolled {
  background: rgba(0, 0, 0, 0.92);
  height: 50px;
}

/* Social icons pinned to the left edge */
.nav-social {
  position: absolute;
  left: 2rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-light);
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a.active {
  color: var(--pink-accent);
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--pink-accent);
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  /* position & left are set above */
}

.nav-social a {
  display: flex;
  align-items: center;
  color: #fff;
  transition: color 0.2s, transform 0.2s;
}

.nav-social a:hover {
  color: var(--pink-accent);
  transform: scale(1.15);
}

.nav-social svg {
  width: 22px;
  height: 22px;
}

/* ===== SECTION 2: HERO VIDEO ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.35) 0%,
    rgba(0,0,0,0.15) 40%,
    rgba(0,0,0,0.55) 100%
  );
  z-index: 1;
  pointer-events: none;
}

#hero-video.controls-visible {
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 0 1rem;
}

.hero-title {
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 900;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.7);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  color: #f0ede8;
  text-shadow: 0 1px 10px rgba(0,0,0,0.8);
  line-height: 1.7;
}

.btn-primary {
  display: inline-block;
  padding: 0.7rem 2rem;
  background: var(--pink-accent);
  color: #fff;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 500;
  font-family: var(--font);
  transition: background 0.25s, transform 0.2s;
  cursor: pointer;
}

.btn-primary:hover {
  background: #c85a5a;
  transform: translateY(-2px);
}

/* Mute button */
.mute-btn {
  position: absolute;
  top: 72px;
  right: 1.5rem;
  z-index: 3;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.mute-btn:hover {
  background: rgba(255,255,255,0.28);
}

.mute-btn svg {
  width: 32px;
  height: 32px;
  color: #fff;
  stroke: #fff;
}

/* ===== SECTION 3: ABOUT ===== */
.about-section {
  background-color: #5a1010;
  background-image: linear-gradient(135deg, #6b1414 0%, #3d0b0b 60%, #2a0808 100%);
  padding: 5rem 2rem;
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 5rem;
  align-items: center;
}

.about-image {
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 4 / 3;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.07),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  position: relative;
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: linear-gradient(
    to bottom,
    transparent 60%,
    rgba(30, 5, 5, 0.35) 100%
  );
  pointer-events: none;
}

.about-image img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.15);
  transform-origin: 20% center;
  transition: transform 0.05s linear;
  will-change: transform;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-subtitle {
  font-size: 1.1rem;
  color: var(--pink-accent);
  font-weight: 300;
  margin-top: -0.5rem;
  letter-spacing: 0.02em;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-light);
  opacity: 0.9;
}

.band-members {
  list-style: none;
  margin-top: 0.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.band-members li {
  font-size: 0.95rem;
  color: var(--text-light);
  opacity: 0.85;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.band-members .role {
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pink-accent);
  opacity: 0.85;
}

/* ===== SECTION 4: SHOWS ===== */
.shows-section {
  background-color: var(--black);
  padding: 5rem 2rem;
}

.shows-section .section-header {
  max-width: 900px;
  margin: 0 auto 2.5rem;
  text-align: right;
}

.shows-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.show-card {
  background: #111;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.show-image {
  width: 100%;
  aspect-ratio: 1/1;
  background: #3a1a1a;
  overflow: hidden;
}

.show-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.show-card:hover .show-image img {
  transform: scale(1.04);
}

.show-body {
  padding: 1.25rem;
  flex: 1;
}

.show-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
  text-align: right;
}

.show-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  text-align: right;
}

/* ===== SECTION 5: UPCOMING SHOWS ===== */
.upcoming-section {
  position: relative;
  padding: 5rem 2rem;
  overflow: hidden;
  background: url('../images/upcoming-bg.jpg') center center / cover no-repeat;
}

.upcoming-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
}

.upcoming-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.upcoming-title {
  text-align: right;
  margin-bottom: 2rem;
}

.upcoming-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.upcoming-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr 2fr 160px;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: background 0.2s;
  direction: rtl;
}

.upcoming-row:hover {
  background: rgba(255,255,255,0.05);
}

.upcoming-row.highlighted {
  background: rgba(255,255,255,0.07);
}

.upcoming-date {
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
  text-align: right;
  color: #fff;
}

.upcoming-venue {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-align: right;
}

.upcoming-desc {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-align: right;
}

.btn-tickets {
  display: inline-block;
  padding: 0.4rem 1.1rem;
  background: var(--pink-accent);
  color: #fff;
  border-radius: 20px;
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
  text-align: center;
}

.btn-tickets:hover {
  background: #c85a5a;
  transform: translateY(-1px);
}

.upcoming-placeholder {
  display: block;
  width: 160px;
}

.upcoming-row.past .upcoming-date,
.upcoming-row.past .upcoming-venue,
.upcoming-row.past .upcoming-desc {
  color: #aaa;
  font-weight: 400;
}

.upcoming-notice {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  padding: 2rem 0;
}

/* ===== SECTION 6: VIDEOS ===== */
.videos-section {
  background-color: #0d0d0d;
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

.videos-deco-branch {
  position: absolute;
  inset: -30%;
  background: url('../images/branch-deco.png') center / cover no-repeat;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.videos-section .section-header {
  max-width: 860px;
  margin: 0 auto 2.5rem;
  text-align: right;
  position: relative;
  z-index: 1;
}

.videos-grid {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 2.4rem;
  row-gap: 2.4rem;
  position: relative;
  z-index: 1;
}

.video-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.video-item iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px;
}

.video-title {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-align: right;
  padding: 0 0.25rem;
}

/* ===== SECTION 7: CONTACT ===== */
.contact-section {
  background: linear-gradient(to bottom, #6b1414 0%, #3a0808 50%, #0a0a0a 100%);
  padding: 5rem 2rem 6rem;
}

.contact-inner {
  max-width: 720px;
  margin: 0 auto;
}

.contact-title {
  text-align: right;
  margin-bottom: 2.5rem;
}

/* Glassmorphism card */
.contact-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(224, 112, 112, 0.22);
  border-radius: 18px;
  padding: 2.5rem 2rem 2rem;
  box-shadow:
    0 0 60px rgba(139, 0, 0, 0.28),
    0 8px 40px rgba(0, 0, 0, 0.45);
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.form-group {
  position: relative;
  padding-top: 1.2rem;
  margin-bottom: 1.4rem;
}

.form-group label {
  position: absolute;
  top: 2rem;
  right: 1rem;
  font-size: 0.95rem;
  color: rgba(240, 237, 232, 0.45);
  pointer-events: none;
  transition: top 0.22s ease, font-size 0.22s ease, color 0.22s ease;
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  color: #fff;
  font-size: 1rem;
  font-family: var(--font);
  direction: rtl;
  outline: none;
  width: 100%;
  transition: border-color 0.22s, box-shadow 0.22s;
}


.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--pink-accent);
  box-shadow: 0 0 0 3px rgba(224, 112, 112, 0.18);
}

/* Float label up when focused or filled */
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: 0;
  font-size: 0.72rem;
  color: var(--pink-accent);
}

.required-star {
  color: var(--pink-accent);
}

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--pink-accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  width: 100%;
  margin-top: 0.6rem;
}

.btn-submit svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.btn-submit:hover {
  background: #c85a5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(224, 112, 112, 0.4);
}

.btn-submit:hover svg {
  transform: translateX(-4px);
}

/* ===== CONTACT FORM MESSAGES ===== */
.field-error {
  display: block;
  font-size: 0.8rem;
  color: var(--pink-accent);
  margin-top: 0.35rem;
  padding-right: 0.25rem;
  min-height: 1.1em;
}

.form-group input.input-error {
  border-color: var(--pink-accent);
  box-shadow: 0 0 0 3px rgba(224, 112, 112, 0.18);
}

.form-message {
  display: none;
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  font-size: 0.97rem;
  font-weight: 500;
  line-height: 1.55;
  text-align: right;
  gap: 0.65rem;
  align-items: flex-start;
}

.form-message.visible {
  display: flex;
}

.form-message svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 0.1rem;
}

.form-message.success {
  background: rgba(80, 180, 120, 0.12);
  border: 1px solid rgba(80, 180, 120, 0.35);
  color: #7de0a8;
}

.form-message.error {
  background: rgba(224, 112, 112, 0.1);
  border: 1px solid rgba(224, 112, 112, 0.35);
  color: var(--pink-accent);
}

@keyframes fadeOutDown {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(6px); }
}

.form-message.fading {
  animation: fadeOutDown 0.4s ease forwards;
}

/* ===== HAMBURGER BUTTON (hidden on desktop) ===== */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: absolute;
  right: 1rem;
  z-index: 10;
}

.hamburger-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger-btn.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger-btn.open span:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .shows-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .upcoming-row {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .upcoming-date {
    grid-column: 1;
    grid-row: 1;
  }

  .upcoming-venue {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
  }

  .upcoming-desc {
    grid-column: 1 / span 2;
    grid-row: 2;
  }

  .btn-tickets,
  .upcoming-placeholder {
    grid-column: 1 / span 2;
    grid-row: 3;
    text-align: center;
  }

  .videos-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  #navbar {
    padding: 0 1rem;
  }

  /* Show hamburger, hide nav links by default */
  .hamburger-btn {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(8px);
    z-index: 999;
    padding: 0.5rem 0 1.5rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 1.5rem;
    font-size: 1.05rem;
  }

  .nav-social {
    left: 1rem;
    gap: 0.7rem;
  }

  .nav-social svg {
    width: 18px;
    height: 18px;
  }

  /* Mobile hero: video on top, content below */
  .hero {
    height: auto;
    min-height: unset;
    flex-direction: column;
    align-items: stretch;
    padding-top: 56px;
  }

  #hero-video {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  .hero-overlay {
    display: none;
  }

  .hero-content {
    position: static;
    background: linear-gradient(to bottom, #1c0808 0%, #0a0a0a 100%);
    padding: 2.5rem 1.5rem 3rem;
  }

  .mute-btn {
    top: 60px;
    width: 48px;
    height: 48px;
  }

  .mute-btn svg {
    width: 22px;
    height: 22px;
  }

  .about-section,
  .shows-section,
  .upcoming-section,
  .videos-section,
  .contact-section {
    padding: 3.5rem 1rem;
  }

  /* ── Mobile font-size bumps ── */
  .about-subtitle {
    font-size: 1.15rem;
  }

  .about-text p {
    font-size: 1.15rem;
  }

  .band-members {
    grid-template-columns: 1fr;
  }

  .band-members li {
    font-size: 1.05rem;
    flex-direction: row;
    gap: 0.4rem;
    align-items: baseline;
  }

  .band-members .role {
    font-size: 0.85rem;
  }

  .show-desc {
    font-size: 1.05rem;
  }

  .upcoming-date,
  .upcoming-venue,
  .upcoming-desc {
    font-size: 1.1rem;
  }

  .btn-tickets {
    font-size: 1rem;
  }

  .upcoming-notice {
    font-size: 1.1rem;
  }

  .video-title {
    font-size: 1.05rem;
  }
}
