/* ============================================================
   CALIBRE INFINITE — Main Stylesheet
   Dark metal aesthetic: near-black bg, crimson accent
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Raleway:wght@300;400;500;600;700&display=swap');

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

:root {
  --bg: #0d0d0d;
  --bg-alt: #111111;
  --bg-card: #181818;
  --text: #f0f0f0;
  --text-muted: #888888;
  --accent: #c0392b;
  --accent-dark: #96281b;
  --accent-light: #e74c3c;
  --border: #2a2a2a;
  --header-height: 70px;
  --font-heading: 'Cinzel', serif;
  --font-body: 'Raleway', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}

a {
  color: var(--accent-light);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--text);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text);
  line-height: 1.2;
  letter-spacing: 0.05em;
}

h2 {
  font-size: 2rem;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

ul {
  list-style: none;
}

/* ---------- Layout ---------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  display: inline-block;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.5rem;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-logo a {
  display: flex;
  align-items: center;
}

.site-logo img {
  height: 44px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav a {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--accent-light);
  border-bottom-color: var(--accent);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/images/hero.jpg');
  background-size: cover;
  background-position: center top;
  filter: brightness(0.35);
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,13,13,0.2) 0%, rgba(13,13,13,0.6) 70%, rgba(13,13,13,1) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 1.5rem;
}

.hero-logo {
  max-width: 560px;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 0 30px rgba(192, 57, 43, 0.4));
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid var(--accent);
  padding: 0.75rem 2rem;
  transition: background 0.2s, color 0.2s;
}

.hero-cta:hover {
  background: var(--accent);
  color: var(--text);
}

/* ---------- About Teaser ---------- */
.about-teaser {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.about-teaser-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.about-teaser-photo {
  flex: 0 0 45%;
}

.about-teaser-photo img {
  width: 100%;
  display: block;
  border: 1px solid var(--border);
}

.about-teaser-text {
  flex: 1;
  text-align: left;
}

@media (max-width: 768px) {
  .about-teaser-inner {
    flex-direction: column;
  }
  .about-teaser-photo {
    flex: 0 0 auto;
    width: 100%;
  }
}

.about-teaser p {
  font-size: 1.1rem;
  color: #ccc;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  border: 1px solid var(--accent);
  color: var(--text);
  transition: background 0.2s;
}

.btn:hover {
  background: var(--accent);
  color: var(--text);
}

.btn-accent {
  background: var(--accent);
}

.btn-accent:hover {
  background: var(--accent-dark);
}

/* ---------- Latest Release ---------- */
.latest-release {
  background: var(--bg);
}

.release-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: center;
}

.release-cover img {
  width: 100%;
  box-shadow: 0 8px 40px rgba(192, 57, 43, 0.3);
}

.release-info h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.release-info .release-type {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.streaming-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.streaming-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.2s, background 0.2s;
}

.streaming-links a:hover {
  border-color: var(--accent);
  background: rgba(192, 57, 43, 0.1);
}

.streaming-links img {
  height: 28px;
  width: auto;
  filter: invert(1) brightness(0.8);
  transition: filter 0.2s;
}

.streaming-links a:hover img {
  filter: invert(1) brightness(1);
}

/* ---------- Gigs Preview ---------- */
.gigs-preview {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.gig-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  transition: background 0.2s;
  gap: 1rem;
}

.gig-row:first-child {
  border-top: 1px solid var(--border);
}

.gig-row:hover {
  background: rgba(192, 57, 43, 0.05);
}

.gig-date {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.gig-title {
  font-size: 1rem;
  font-weight: 600;
}

.gig-venue {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.gig-info {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: right;
}

.no-gigs {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem;
  font-style: italic;
}

/* ---------- Contact ---------- */
.contact-section {
  background: var(--bg);
  text-align: center;
}

.contact-email {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color: var(--accent-light);
}

.contact-email:hover {
  color: var(--text);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #080808;
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand img {
  height: 36px;
  margin-bottom: 0.75rem;
  opacity: 0.7;
}

.footer-brand p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: center;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.footer-social {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-social a {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.4rem 0.8rem;
  transition: border-color 0.2s, color 0.2s;
}

.footer-social a:hover {
  border-color: var(--accent);
  color: var(--accent-light);
}

.footer-bottom {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

/* ---------- Page Header ---------- */
.page-hero {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 3rem;
  text-align: center;
  background: linear-gradient(to bottom, #111 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: 3rem;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.page-hero .subtitle {
  font-size: 0.9rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ---------- About Page ---------- */
.about-page {
  padding-top: 4rem;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: start;
}

.about-text h2 {
  font-size: 1.5rem;
  color: var(--accent);
  margin: 2rem 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-text h2:first-child {
  margin-top: 0;
}

.about-text p {
  color: #ccc;
  line-height: 1.8;
}

.about-photo img {
  width: 100%;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}

.members-list {
  margin-top: 3rem;
}

.members-list h2 {
  font-size: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.member-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}

.member-name {
  font-weight: 600;
  font-size: 1rem;
}

.member-role {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.member-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 0.2rem;
}

/* ---------- Live / Gigs Page ---------- */
.live-page {
  padding-top: 4rem;
}

.gigs-section {
  margin-bottom: 4rem;
}

.gigs-section h2 {
  font-size: 1.5rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

.gigs-table {
  width: 100%;
  border-collapse: collapse;
}

.gigs-table th {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}

.gigs-table td {
  padding: 1rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.gigs-table tr:hover td {
  background: rgba(192, 57, 43, 0.04);
}

.gigs-table .td-date {
  font-family: var(--font-heading);
  color: var(--accent);
  font-size: 0.95rem;
  white-space: nowrap;
  width: 120px;
}

.gigs-table .td-title {
  font-weight: 600;
}

.gigs-table .td-venue {
  color: var(--text-muted);
}

.past-gigs .gigs-table td {
  opacity: 0.6;
}

/* ---------- Music Page ---------- */
.music-page {
  padding-top: 4rem;
}

.music-release-feature {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.music-release-feature .release-cover img {
  width: 100%;
}

.streaming-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.streaming-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.2s, background 0.2s;
  gap: 0.75rem;
  text-align: center;
}

.streaming-grid a:hover {
  border-color: var(--accent);
  background: rgba(192, 57, 43, 0.08);
}

.streaming-grid img {
  height: 40px;
  width: auto;
  filter: invert(1) brightness(0.7);
  transition: filter 0.2s;
}

.streaming-grid a:hover img {
  filter: invert(1) brightness(1);
}

.streaming-grid .platform-name {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}

.streaming-grid a:hover .platform-name {
  color: var(--text);
}

/* ---------- Photos Page ---------- */
.photos-page {
  padding-top: 4rem;
}

.photos-placeholder {
  text-align: center;
  padding: 5rem 2rem;
  border: 2px dashed var(--border);
  color: var(--text-muted);
}

.photos-placeholder p {
  font-size: 1.1rem;
}

/* ---------- Videos Page ---------- */
.videos-page {
  padding-top: 4rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  margin-bottom: 0;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 300px;
  color: var(--text-muted);
  font-size: 1rem;
  text-align: center;
  padding: 2rem;
}

/* ---------- Imprint / Privacy ---------- */
.legal-page {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.legal-content {
  max-width: 750px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.3rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--accent);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.4rem;
}

.legal-content h3 {
  font-size: 1rem;
  color: #ccc;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-content p {
  color: #bbb;
  font-size: 0.95rem;
}

/* ---------- Utility ---------- */
.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .release-grid {
    grid-template-columns: 1fr;
  }
  .release-cover {
    max-width: 300px;
    margin: 0 auto;
  }
  .about-content {
    grid-template-columns: 1fr;
  }
  .about-photo {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-brand img {
    margin: 0 auto 0.75rem;
  }
  .music-release-feature {
    grid-template-columns: 1fr;
  }
  .music-release-feature .release-cover {
    max-width: 260px;
    margin: 0 auto;
  }
  .gig-row {
    grid-template-columns: 100px 1fr;
  }
  .gig-info {
    display: none;
  }
}

@media (max-width: 650px) {
  .site-nav {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(13, 13, 13, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
  }

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

  .site-nav a {
    padding: 0.75rem 2rem;
    border-bottom: none;
    font-size: 0.9rem;
    width: 100%;
  }

  .site-nav a:hover {
    background: rgba(192, 57, 43, 0.1);
  }

  .nav-toggle {
    display: flex;
  }

  h2 {
    font-size: 1.6rem;
  }

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

  .hero-logo {
    max-width: 320px;
  }

  section {
    padding: 3.5rem 0;
  }

  .gigs-table td,
  .gigs-table th {
    padding: 0.75rem 0.5rem;
    font-size: 0.85rem;
  }
}
