/* =============================================================
   FugShake — Main Stylesheet
   Responsive vanilla CSS system · No external framework
   ============================================================= */

/* ---------------------------------------------------------------
   Custom Properties
--------------------------------------------------------------- */
:root {
  --clr-primary:     #e99708;
  --clr-accent:      #c0392b;
  --clr-dark:        #1a1a1a;
  --clr-bandcamp:    #1da0c3;
  --clr-soundcloud:  #ff5500;
  --clr-header-bg:   rgba(255, 255, 255, 0.97);
  --clr-card-bg:     rgba(255, 255, 255, 0.95);
  --clr-footer-bg:   rgba(0, 0, 0, 0.80);
  --clr-text:        #1e1e1e;
  --clr-text-muted:  #555;
  --clr-border:      rgba(0, 0, 0, 0.10);

  --font-body:       'Segoe UI', Arial, Helvetica, sans-serif;
  --font-display:    Georgia, 'Times New Roman', Times, serif;

  --header-h:        62px;
  --container-max:   920px;
  --card-radius:     10px;
  --btn-radius:      5px;
  --transition:      0.25s ease;
  --shadow-card:     0 10px 40px rgba(0, 0, 0, 0.45);
  --shadow-header:   0 2px 12px rgba(0, 0, 0, 0.18);
}

/* ---------------------------------------------------------------
   Reset & Base
--------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--clr-text);
  line-height: 1.65;
  background-color: #111;
  background-image: url('../images/background.jpg');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--clr-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--clr-accent); }
ul { list-style: none; }

/* ---------------------------------------------------------------
   Typography Scale
--------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--clr-text);
  margin-bottom: 0.6em;
}
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
h4 { font-size: 1.05rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.text-center  { text-align: center; }
.text-upper   { text-transform: uppercase; }
.text-muted   { color: var(--clr-text-muted); }
.lead         { font-size: 1.1rem; line-height: 1.75; }

/* ---------------------------------------------------------------
   Layout
--------------------------------------------------------------- */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
  width: 100%;
}

/* The white card that holds page content */
.site-card {
  flex: 1;
  background: var(--clr-card-bg);
  max-width: var(--container-max);
  width: calc(100% - 2.5rem);
  margin: 2rem auto;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.card-body {
  padding: 2rem 2.5rem 2.5rem;
  display: flex;
  flex-direction: column;
}

/* ---------------------------------------------------------------
   Accent bar — orange stripe above hero
--------------------------------------------------------------- */
.accent-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--clr-primary) 0%, var(--clr-accent) 50%, var(--clr-primary) 100%);
}

/* ---------------------------------------------------------------
   Header & Navigation
--------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--header-h);
  background: var(--clr-header-bg);
  box-shadow: var(--shadow-header);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--clr-text);
}
.site-logo img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 4px;
}
.site-logo .logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Desktop nav */
.site-nav ul {
  display: flex;
  gap: 2.2rem;
  align-items: center;
}
.site-nav a {
  color: var(--clr-text);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--clr-primary);
  border-bottom-color: var(--clr-primary);
}

/* Hamburger button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: background var(--transition);
}
.hamburger:hover { background: rgba(0,0,0,0.06); }
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------
   Hero Banner
--------------------------------------------------------------- */
.hero-banner {
  width: 100%;
  display: block;
  max-height: 320px;
  object-fit: cover;
  object-position: center top;
}

/* ---------------------------------------------------------------
   Section Titles
--------------------------------------------------------------- */
.section-heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--clr-text-muted);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.section-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--clr-border);
}

/* Platform heading button */
.platform-btn {
  display: block;
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--btn-radius);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-align: center;
  color: #fff;
  border: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  text-decoration: none;
  transition: filter var(--transition), transform var(--transition);
}
.platform-btn:hover { filter: brightness(1.1); transform: translateY(-1px); color: #fff; }

.platform-btn--bandcamp  { background-color: #1da0c3; }
.platform-btn--soundcloud { background-color: #ff5500; }

/* ---------------------------------------------------------------
   Track List (Music page)
--------------------------------------------------------------- */
.track-list {
  width: 100%;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}
.track-wrap {
  width: 100%;
  margin-bottom: 6px;
}
.track-iframe {
  display: block;
  border: 0;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  height: 120px;
}
.track-iframe--small {
  height: 42px;
}

/* ---------------------------------------------------------------
   Buttons (general)
--------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: filter var(--transition), transform var(--transition), background var(--transition), color var(--transition);
  border: none;
  text-decoration: none;
  line-height: 1;
}

.btn-dark {
  background: var(--clr-dark);
  color: #fff;
}
.btn-dark:hover {
  background: var(--clr-primary);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--clr-text);
  border: 2px solid var(--clr-border);
}
.btn-outline:hover {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
}

/* Home page — navigation button colours */
.btn-music  { background-color: #e99708; color: #fff; }
.btn-music:hover  { filter: brightness(0.88); color: #fff; }

.btn-video  { background-color: #c0392b; color: #fff; }
.btn-video:hover  { filter: brightness(0.88); color: #fff; }

.btn-bio    { background-color: #374151; color: #fff; }
.btn-bio:hover    { filter: brightness(1.15); color: #fff; }

/* Platform button colours */
.btn-bandcamp   { background-color: #1da0c3; color: #fff; }
.btn-bandcamp:hover   { filter: brightness(1.12); color: #fff; }

.btn-soundcloud { background-color: #ff5500; color: #fff; }
.btn-soundcloud:hover { filter: brightness(1.12); color: #fff; }

/* ---------------------------------------------------------------
   Home Page — Tagline & Intro
--------------------------------------------------------------- */
.home-intro {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.75rem;
  padding: 2rem 0 2.5rem;
  text-align: center;
}
.home-tagline {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--clr-text-muted);
  margin-bottom: 0;
}
.home-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.home-platform {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.home-platform .btn {
  padding: 0.7rem 2.5rem;
  font-size: 0.95rem;
}

/* Card-style nav buttons */
.btn-card {
  justify-content: center;
  padding: 1.5rem 1rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
}
.btn-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.home-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--clr-text-muted);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.home-divider::before,
.home-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--clr-border);
}

/* ---------------------------------------------------------------
   Bio Page
--------------------------------------------------------------- */
.bio-intro {
  text-align: center;
  margin-bottom: 2rem;
}
.bio-intro h2 {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 1rem;
  color: var(--clr-text-muted);
  font-family: var(--font-body);
  margin-bottom: 1.5rem;
}
.bio-text { max-width: 680px; margin-inline: auto; }

/* ---------------------------------------------------------------
   Video Page
--------------------------------------------------------------- */
.video-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.video-item { width: 100%; }
.video-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  padding-left: 2px;
  border-left: 3px solid var(--clr-primary);
  padding-left: 0.6rem;
}
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--btn-radius);
  background: #000;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------------------------------------------------------------
   Footer
--------------------------------------------------------------- */
.site-footer {
  background: var(--clr-footer-bg);
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 1.1rem 1rem;
  line-height: 1.6;
}
.site-footer a { color: var(--clr-primary); }
.site-footer a:hover { color: #fff; }
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 0.5rem;
}
.footer-links a {
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------------------------------------------------------------
   Bio Page — Image Gallery
--------------------------------------------------------------- */
.bio-pages {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.bio-page-thumb {
  display: block;
  border-radius: var(--btn-radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  cursor: zoom-in;
  transition: transform var(--transition), box-shadow var(--transition);
}
.bio-page-thumb:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
}
.bio-page-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------------------------------------------------------------
   Dividers & Spacing Utilities
--------------------------------------------------------------- */
.divider {
  height: 1px;
  background: var(--clr-border);
  margin: 1.75rem 0;
}
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ---------------------------------------------------------------
   Responsive — Tablet ≤ 768px
--------------------------------------------------------------- */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--clr-header-bg);
    padding: 1rem 1.5rem 1.5rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    border-top: 1px solid rgba(0,0,0,0.07);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0.1rem; }
  .site-nav a {
    display: block;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    font-size: 0.95rem;
  }
  .site-nav ul li:last-child a { border-bottom: none; }

  .site-card {
    width: calc(100% - 1.5rem);
    margin: 1.25rem auto;
    border-radius: 8px;
  }
  .card-body { padding: 1.5rem 1.25rem 2rem; }
  .home-intro { gap: 1.5rem; padding: 1.5rem 0 2rem; }
  .home-nav {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .btn-card { padding: 1.25rem 1rem; }
  .home-platform {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .home-platform .btn {
    width: 100%;
    justify-content: center;
    padding: 0.8rem 1.25rem;
    font-size: 0.95rem;
  }
  body { background-attachment: scroll; }
}

/* ---------------------------------------------------------------
   Responsive — Mobile ≤ 480px
--------------------------------------------------------------- */
@media (max-width: 480px) {
  .hero-banner { max-height: 200px; }
  .site-card {
    width: calc(100% - 1rem);
    margin: 0.75rem auto;
    border-radius: 6px;
  }
  .card-body { padding: 1.25rem 1rem 1.5rem; }
  .home-intro { gap: 1.25rem; padding: 0.75rem 0 1.5rem; }
  .home-nav {
    gap: 0.65rem;
  }
  .btn-card { padding: 1.25rem 0.75rem; }
  .home-platform {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }
  .home-platform .btn {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1rem;
    font-size: 1rem;
  }
}
