/* ================================================
   tec-cure.css — The English Channels: Cure Tribute
   Shared stylesheet for all thecuretribute-staging pages
   ================================================ */

/* ========================
   RESET & VARIABLES
   ======================== */
*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

:root {
  --header-h: 84px;
  --pad: clamp(16px, 2.5vw, 28px);
  --fuschia: #c70864;
  --purple: #800080;
}

/* ========================
   PAGE LAYOUT
   ======================== */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ========================
   HEADER
   ======================== */
header {
  height: var(--header-h);
  background: black;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 var(--pad);
  position: relative;
  z-index: 100;
}

/* Home page: Hide header logo on desktop when animated logo is present */
.page-home header > a:first-child {
  display: none;
}

.logo-cure {
  height: 40px;
  width: auto;
  display: block;
}

a:hover .logo-cure {
  content: url('../images/logos/tec-cure-logo-hover.svg');
}

.header-socials {
  display: flex;
  gap: 14px;
  align-items: center;
}

.header-socials a {
  color: #fff;
  font-size: 18px;
  text-decoration: none;
}

.header-socials a:hover { color: var(--fuschia); }

/* ========================
   DESKTOP NAV
   ======================== */
.nav-desktop {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav-desktop a {
  color: #fff;
  text-decoration: none;
  font-family: 'balboa-plus-fill', sans-serif;
  font-size: 19px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-desktop a:hover { color: var(--fuschia); }

/* ========================
   HAMBURGER BUTTON
   ======================== */
.menu-btn {
  width: 56px;
  height: 56px;
  display: none;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  position: relative;
  padding: 0;
}

.menu-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.icon-bars {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.icon-bars span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 220ms ease;
  position: absolute;
  transform-origin: center;
}

.icon-bars span:nth-child(1) { transform: translateY(-8px); }
.icon-bars span:nth-child(2) { transform: translateY(0); }
.icon-bars span:nth-child(3) { transform: translateY(8px); }

body.menu-open .icon-bars span:nth-child(1) { transform: rotate(45deg); }
body.menu-open .icon-bars span:nth-child(2) { transform: scaleX(0); }
body.menu-open .icon-bars span:nth-child(3) { transform: rotate(-45deg); }

/* ========================
   MOBILE MENU OVERLAY
   ======================== */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: url('../images/backgrounds/tec-website-bg-cure-footer.jpg') center top / cover no-repeat;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 1000ms ease;
  display: grid;
  grid-template-rows: var(--header-h) 1fr;
}

body.menu-open .menu-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.menu-header {
  height: var(--header-h);
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
}

.menu-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 34px;
  padding: var(--pad);
  text-align: center;
}

.menu-links {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.menu-links a {
  color: #fff;
  text-decoration: none;
  font-family: 'balboa-plus-fill', sans-serif;
  font-size: clamp(39px, 8vw, 72px);
  text-transform: uppercase;
}

.menu-links a:hover {
  color: var(--fuschia);
  text-decoration: none;
}

.menu-social {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
}

.menu-social a {
  color: #fff;
  font-size: 27px;
  text-decoration: none;
}

.menu-social a:hover {
  color: var(--fuschia);
  text-decoration: none;
}

body.menu-open { overflow: hidden; }

/* ========================
   MAIN
   ======================== */
main {
  flex: 1;
  background: #111 url('../images/backgrounds/tec-website-bg-cure.jpg') no-repeat center center / cover;
  color: #fff;
  padding: var(--pad);
}

main a {
  color: var(--fuschia);
  text-decoration: none;
}

main a:hover { color: var(--purple); }

/* ========================
   SECTION
   ======================== */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

.section h1 {
  font-family: 'balboa-plus-fill', sans-serif;
  font-size: 56px;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 32px;
}

.section h2 {
  font-family: 'balboa-plus-fill', sans-serif;
  font-size: 2rem;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  margin: 3rem 0 2rem;
}

/* ========================
   TYPOGRAPHY
   ======================== */
p {
  font-family: 'Futura', sans-serif;
  font-size: 19.2px;
  line-height: 1.8;
  color: #bbb;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 32px;
  margin-bottom: 24px;
}

.brand {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  user-select: none;
}

.bullet-separator { margin: 0 8px; }
.mobile-break { display: none; }
.label { font-size: clamp(24px, 4vw, 56px); user-select: none; }

/* ========================
   FOOTER
   ======================== */
footer {
  background: url('../images/backgrounds/tec-website-bg-cure-footer.jpg') center top / cover no-repeat;
  color: #fff;
  font-family: 'Futura', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem 2rem;
  gap: 0.25rem;
}

.footer-links {
  font-size: 11.52px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  line-height: 1.6;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.footer-links a:hover { color: var(--fuschia); }

.footer-copyright {
  font-size: 11.52px;
  color: #bbb;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  line-height: 1.6;
}

/* ========================
   VIDEOS
   ======================== */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.video-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

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

.videos-grid p {
  font-family: 'Futura', sans-serif;
  font-size: 17.6px;
  color: #fff;
  text-align: center;
  margin: 12px 0 24px;
}

/* ========================
   PHOTOS / GALLERY
   ======================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}

.gallery-item {
  cursor: pointer;
  overflow: hidden;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.lightbox.active { display: flex; }

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
}

.close-btn:hover { color: var(--fuschia); }

/* ========================
   SHOWS
   ======================== */
.show-flyers {
  width: 100%;
  margin: 0 auto 2rem;
  text-align: center;
}

.show-flyers img {
  width: 60%;
  max-width: 1200px;
}

.shows-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto 2rem;
}

.show-row {
  display: grid;
  grid-template-columns: 150px 1fr 200px 120px;
  gap: 1.5rem;
  align-items: center;
  padding: 1rem 0;
}

.tickets-placeholder { min-height: 1px; }

.show-date {
  font-family: 'balboa-plus-fill', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  text-align: left;
}

.show-venue {
  font-family: 'Futura', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.2rem;
}

.show-location {
  font-family: 'Futura', sans-serif;
  font-size: 0.9rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tickets-btn {
  font-family: 'Futura', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #800080;
  text-decoration: none;
  text-transform: uppercase;
  padding: 0.7rem 1.5rem;
  transition: all 0.3s ease;
  letter-spacing: 1px;
  text-align: center;
  display: inline-block;
}

.tickets-btn:hover { color: var(--fuschia); }

.stage-plot {
  margin-bottom: 3rem;
  text-align: center;
}

.stage-plot img {
  max-width: 100%;
  width: 800px;
  height: auto;
}

/* ========================
   ABOUT
   ======================== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}

.about-image { overflow: hidden; }

.about-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

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

.about-text p {
  margin-left: 0;
  margin-right: 0;
  padding: 0;
}

.about-image-banner {
  width: 100%;
  height: 400px;
  background-image: url('../images/photos/cure/3tenacllive-260110/tec-cure-gallery2.15.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.press-quote {
  max-width: 800px;
  text-align: center;
  color: #fff;
  margin: 0;
}

.press-quote p {
  font-family: 'Futura', sans-serif;
  font-size: 1.5rem;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1rem;
  color: #fff;
}

.press-quote cite {
  font-family: 'Futura', sans-serif;
  font-size: 1.1rem;
  font-style: normal;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========================
   CONTACT
   ======================== */
.contact-section {
  padding: 2rem;
  text-align: center;
  color: white;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-section h1 {
  font-family: 'balboa-plus-fill', sans-serif;
  font-size: 3.5rem;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 40px;
}

.contact-section p {
  font-family: 'Futura', sans-serif;
  font-size: 19.2px;
  line-height: 1.8;
  color: #bbb;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 50px 32px;
  margin-bottom: 40px;
}

.contact-section a {
  color: var(--fuschia);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-section a:hover { color: var(--purple); }

.contact-form {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.input-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.input-group {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 200px;
  text-align: left;
}

.input-group label {
  color: white;
  font-family: 'Futura', sans-serif;
  font-size: 0.9rem;
  margin-bottom: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.input-group input,
.input-group textarea {
  background-color: #000;
  border: none;
  color: white;
  padding: 15px;
  font-family: 'Futura', sans-serif;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.input-group textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 1px solid purple;
}

.submit-btn {
  background-color: purple;
  color: white;
  font-family: 'Futura', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: bold;
  border: none;
  padding: 12px 30px;
  cursor: pointer;
  margin-top: 10px;
  width: 100%;
  max-width: 200px;
  transition: background-color 0.3s ease;
}

.submit-btn:hover { background-color: var(--fuschia); }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ========================
   HOME PAGE — SPLIT LAYOUT
   ======================== */
.cure-middle {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.cure-middle-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
}

.cure-animated-logo {
  flex: 0 0 40%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 0 0 2rem;
}

.cure-animated-logo img {
  max-width: 100%;
  height: auto;
  max-height: 80vh;
}

.cure-middle-photo {
  flex: 0 0 60%;
  background-image: url('../images/photos/cure/band/tec-website-photo-cure1.jpg');
  background-repeat: no-repeat;
  background-position: center 15%;
  background-size: cover;
  position: relative;
}

.cure-mobile-photo { display: none; }

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,0.3) 10%, rgba(0,0,0,0) 20%),
              linear-gradient(to bottom, rgba(0,0,0,0) 80%, rgba(0,0,0,0.3) 90%, #000 100%);
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 1000px) {
  body.page-home {
    height: var(--app-height, 100dvh);
    max-height: var(--app-height, 100dvh);
    overflow: hidden;
  }

  body.page-home footer {
    flex-shrink: 0;
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  }

  .cure-middle {
    flex: 1;
    position: relative;
    min-height: 0;
    overflow: hidden;
  }

  .cure-middle-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
  }

  .cure-middle-photo {
    position: absolute;
    inset: 0;
    background-image: none;
    overflow: hidden;
  }

  .gradient-overlay { display: none; }

  .cure-mobile-photo {
    display: block;
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
  }

  .cure-animated-logo { display: none; }

  /* Home page: Show header logo on mobile when animated logo is hidden */
  .page-home header > a:first-child {
    display: block;
  }

}

@media (max-width: 968px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-text { text-align: center; }

  .about-text p {
    text-align: center;
    max-width: 100%;
  }

  .about-image-banner { height: 600px; }
}

@media (max-width: 860px) {
  header { justify-content: space-between; }
  .nav-desktop { display: none; }
  header > .header-socials { display: none; }
  .menu-btn { display: inline-grid; place-items: center; }
  .bullet-separator { display: none; }
  .mobile-break { display: block; }
  main { padding: 2rem; }
}

@media (max-width: 768px) {
  .videos-grid { grid-template-columns: 1fr; }
  .section h1 { font-size: 40px; }
  .section h2 { font-size: 1.5rem; }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.5rem;
  }

  .close-btn { top: 10px; right: 20px; font-size: 30px; }

  .show-flyers img { width: 100%; }

  .shows-grid { gap: 1rem; padding: 0 1rem; }

  .show-row { grid-template-columns: 1fr; text-align: center; }

  .show-date { font-size: 1.8rem; margin-bottom: 0.5rem; text-align: center; }
  .show-venue { text-align: center; }
  .show-location { text-align: center; }

  .tickets-btn {
    margin-top: 1rem;
    width: 100%;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  .about-content { grid-template-columns: 1fr; gap: 24px; }
  .about-text p { text-align: center; }

  .contact-section h1 { font-size: 2.5rem; }
  .input-row { flex-direction: column; gap: 0; }
  .input-group { margin-bottom: 20px; }
  .submit-btn { max-width: 100%; }
}

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