/* CriticalPoint — Rock & Party Band */
:root {
  --bg-deep: #08080c;
  --bg-card: #12121a;
  --bg-elevated: #1a1a26;
  --red-hot: #e63946;
  --red-glow: #ff2d55;
  --gold: #d4a853;
  --gold-dim: #a67c2e;
  --text: #f0ece4;
  --text-muted: #9a9590;
  --border: rgba(230, 57, 70, 0.25);
  --glow-red: 0 0 30px rgba(230, 57, 70, 0.4);
  --glow-gold: 0 0 20px rgba(212, 168, 83, 0.3);
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Barlow", sans-serif;
  --font-accent: "Permanent Marker", cursive;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Noise overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s, text-shadow 0.2s;
}

a:hover {
  color: var(--red-hot);
  text-shadow: var(--glow-red);
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(8, 8, 12, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.nav.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: invert(1) drop-shadow(0 0 8px rgba(230, 57, 70, 0.5));
  transition: transform 0.3s;
}

.nav__brand:hover .nav__logo {
  transform: scale(1.08) rotate(-2deg);
}

.nav__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  color: var(--text);
  line-height: 1;
}

.nav__title span {
  color: var(--red-hot);
}

.nav__links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}

.nav__links a {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  position: relative;
}

.nav__links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red-hot), var(--gold));
  transition: width 0.3s, left 0.3s;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--text);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 80%;
  left: 10%;
}

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.5rem;
  padding: 0.25rem 0.6rem;
  cursor: pointer;
  border-radius: 4px;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(230, 57, 70, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(212, 168, 83, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-deep) 0%, #0f0a12 50%, var(--bg-deep) 100%);
}

.hero__lines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 80px,
    rgba(230, 57, 70, 0.03) 80px,
    rgba(230, 57, 70, 0.03) 81px
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
}

.hero__logo-wrap {
  margin-bottom: 2rem;
  animation: float 4s ease-in-out infinite;
}

.hero__logo {
  width: min(1025px, 96vw);
  margin: 0 auto;
  filter: drop-shadow(0 0 40px rgba(230, 57, 70, 0.6));
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 1rem;
  text-shadow: var(--glow-gold);
}

.hero__desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  padding: 0.85rem 2rem;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-transform: uppercase;
}

.btn--primary {
  background: linear-gradient(135deg, var(--red-hot), #b91c3c);
  color: white;
  box-shadow: var(--glow-red);
}

.btn--primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 50px rgba(230, 57, 70, 0.6);
}

.btn--outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold-dim);
}

.btn--outline:hover {
  background: rgba(212, 168, 83, 0.1);
  transform: translateY(-2px);
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ── Sections ── */
.section {
  padding: 5rem 1.5rem;
  position: relative;
}

.section--alt {
  background: var(--bg-card);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__label {
  font-family: var(--font-accent);
  font-size: 0.9rem;
  color: var(--red-hot);
  margin-bottom: 0.5rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  letter-spacing: 0.08em;
  line-height: 1;
}

.section__title .accent {
  color: var(--red-hot);
  text-shadow: var(--glow-red);
}

.section__divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--red-hot), var(--gold));
  margin: 1rem auto 0;
}

/* ── Intro cards ── */
.intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.intro-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.intro-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--red-hot), var(--gold));
}

.intro-card:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 57, 70, 0.5);
}

.intro-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.intro-card__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.intro-card__text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ── Video section ── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.video-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.video-card:hover {
  box-shadow: var(--glow-red);
}

.video-card__embed {
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-card__embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-card__embed video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
}

.video-card__info {
  padding: 1.25rem;
}

.video-card__title {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  font-size: 1.1rem;
}

.video-subsection {
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.reels-showcase {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  background:
    radial-gradient(circle at 15% 15%, rgba(230, 57, 70, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(26, 26, 38, 0.98), rgba(8, 8, 12, 0.98));
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.reels-showcase::before {
  content: "REELS";
  position: absolute;
  right: -0.1em;
  bottom: -0.35em;
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 11rem);
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.reels-showcase__copy,
.reels-showcase__frame {
  position: relative;
  z-index: 1;
}

.reels-showcase__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.08em;
  line-height: 1;
  margin-bottom: 1rem;
}

.reels-showcase__title span {
  color: var(--red-hot);
  text-shadow: var(--glow-red);
}

.reels-showcase__copy p:not(.section__label) {
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 1.5rem;
}

.reels-showcase__frame {
  background: #000;
  border: 1px solid rgba(212, 168, 83, 0.35);
  border-radius: 6px;
  box-shadow: var(--glow-red);
  min-height: 520px;
  overflow: hidden;
}

.reels-showcase__frame iframe {
  width: 100%;
  height: 520px;
  border: none;
}

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--border);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s, filter 0.3s;
  filter: grayscale(30%) contrast(1.1);
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: grayscale(0%) contrast(1.2);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 8, 12, 0.8) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__caption {
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  font-size: 0.85rem;
}

/* ── Testimonials / Gig feelings ── */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 4px;
  position: relative;
}

.testimonial::before {
  content: "\201C";
  font-family: var(--font-accent);
  font-size: 4rem;
  color: var(--red-hot);
  opacity: 0.3;
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  line-height: 1;
}

.testimonial__text {
  font-style: italic;
  color: var(--text);
  margin-bottom: 1.25rem;
  padding-top: 1.5rem;
}

.testimonial__author {
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  color: var(--gold);
  font-size: 0.9rem;
}

.testimonial__event {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

/* ── Band members ── */
.band-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.band-member {
  text-align: center;
}

.band-member__avatar {
  width: 160px;
  height: 160px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.band-member:hover .band-member__avatar {
  border-color: var(--red-hot);
  box-shadow: var(--glow-red);
}

.band-member__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.1em;
}

.band-member__role {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ── Facebook feed ── */
.fb-feed-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.fb-feed-wrap .fb-page {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info__item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: border-color 0.3s;
}

.contact-info__item:hover {
  border-color: var(--red-hot);
}

.contact-info__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-info__label {
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  color: var(--gold);
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--red-hot);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* ── Page header (subpages) ── */
.page-hero {
  padding: 8rem 1.5rem 3rem;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(230, 57, 70, 0.12) 0%, transparent 70%),
    var(--bg-deep);
  border-bottom: 1px solid var(--border);
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: 0.1em;
}

/* ── Tabs (Latest page) ── */
.tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  padding: 0.6rem 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s;
}

.tab-btn:hover,
.tab-btn.active {
  background: var(--red-hot);
  border-color: var(--red-hot);
  color: white;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Footer ── */
.footer {
  background: #050508;
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 4rem;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer__brand img {
  width: 80px;
  filter: invert(1);
  margin-bottom: 1rem;
}

.footer__brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer__heading {
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer__social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  transition: all 0.2s;
}

.footer__social a:hover {
  background: var(--red-hot);
  border-color: var(--red-hot);
  color: white;
}

.footer__bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Offering banner ── */
.offering-strip {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1.5rem;
  background: linear-gradient(90deg, transparent, rgba(230, 57, 70, 0.08), transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.offering-strip__item {
  font-family: var(--font-display);
  letter-spacing: 0.2em;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.offering-strip__item strong {
  color: var(--red-hot);
}

/* ── Band story ── */
.band-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.band-story__visual {
  position: relative;
}

.band-story__visual img {
  border-radius: 4px;
  border: 1px solid var(--border);
  filter: invert(1) contrast(1.1);
}

.band-story__visual::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 2px solid var(--red-hot);
  border-radius: 4px;
  opacity: 0.3;
  pointer-events: none;
}

.band-story__visual--raw img {
  border: 0;
  border-radius: 0;
  filter: none;
}

.band-story__visual--raw::after {
  display: none;
}

.band-story__text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.band-story__text p:first-of-type {
  font-size: 1.15rem;
  color: var(--text);
}

@media (max-width: 768px) {
  .band-story {
    grid-template-columns: 1fr;
  }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav__toggle {
    display: block;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(8, 8, 12, 0.98);
    padding: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .nav__links.open {
    display: flex;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .reels-showcase {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .hero__cta {
    flex-direction: column;
    align-items: center;
  }
}
