/* Design tokens */
:root {
  --yellow: #FFBD47;
  --cream: #f4f0e9;
  --gray: #CFCFCF;
  --text: #111;
  --white: #fff;
  --muted: #ddd;
}

/* Basic Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  font-family: Arial, sans-serif;
  background-color: var(--yellow);
  color: var(--text);
  scroll-behavior: smooth;
}

/* Generic link behaviour */
a {
  transition: color 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
  text-underline-offset: 2px;
}
a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* NAVBAR */

nav {
  background-color: var(--gray);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-nav {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 15px;
}

/* Navbar links + TOUR section links (black) */
nav .navbar-nav a,
#tour a {
  color: black;
  text-decoration: none;
  font-weight: bold;
}
nav .navbar-nav a:hover,
#tour a:hover {
  color: var(--muted);
  text-decoration: underline;
}

/* Burger Menu */
.burger {
  display: none;
  font-size: 2rem;
  padding: 10px;
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 2000;
  cursor: pointer;
  line-height: 1;
}
#menu-toggle { display: none; }

@media (max-width: 768px) {
  .burger { display: block; }

  nav .navbar-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: var(--yellow);
    position: absolute;
    top: 60px;
    right: 0;
    width: 33%;
    min-width: 220px;
    z-index: 1500;
    padding: 10px;
    border-left: 1px solid #00000010;
    border-bottom: 1px solid #00000010;
  }

  #menu-toggle:checked + .burger + nav .navbar-nav {
    display: flex;
  }

  nav .navbar-nav a { padding: 8px 10px; width: 100%; }
}

/* SOCIAL ICONS */

.social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 10px 0;
}

/* Make icons always clickable even if an icon font fails to load */
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 1.4rem;
  color: var(--text);
  text-decoration: none;
  border-radius: 50%;
}

.social-icons a:hover {
  color: var(--white);
  background: #00000015; /* subtle hover pad */
}

/* BILLBOARD / HERO */

#billboard {
  background-color: var(--cream);
  text-align: center;
  padding: 5em 0;
}

.hero-logo,
.hero-image {
  width: 100%;
  max-width: 975px;
  height: auto;
  margin-bottom: 10px;
}

/* SECTIONS */

.section {
  padding: 80px 20px;
}
.section h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 20px;
}
.section p {
  max-width: 700px;
  margin: 0 auto 30px;
  text-align: justify;
}

/* Link colour rules per section */
#music a { color: var(--yellow); }
#music a:hover { color: var(--muted); text-decoration: underline; }

#bio a,
#live a,
footer a {
  color: var(--white);
}
#bio a:hover,
#music a:hover,
#live a:hover,
footer a:hover {
  color: var(--muted);
  text-decoration: underline;
}

/* Background palette per section */
#bio { background-color: var(--yellow); }
#music { background-color: var(--cream); }
#live { background-color: var(--yellow); }
#tour { background-color: var(--cream); }

/* LIVE SECTION */

.live-section {
  background-color: var(--yellow);
  padding: 80px 20px;
}
.live-section h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 20px;
}

.live-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  justify-content: center;
  align-items: flex-start;
}

.live-images.portrait-stack {
  flex: 1 1 40%;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.live-images img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.live-text {
  flex: 1 1 55%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.live-text p { text-align: justify; }

.video-container {
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
}
.video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Desktop slider */
.live-gallery-slider {
  position: relative;
  overflow: hidden;
  max-width: 1100px;
  margin: 40px auto;
  aspect-ratio: 4 / 3;
}
.slide-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}
.slide {
  flex-shrink: 0;
  width: 100%;
  padding: 0 20px; /* internal gutter like live-wrapper */
  display: flex;
  justify-content: center;
  align-items: center;
}
.slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}
.slide img:hover { transform: scale(1.02); }

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: rgba(0, 0, 0, 0.4);
  color: var(--white);
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 100;
}
.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }

/* Mobile layout */
.mobile-pic-06 { display: none; text-align: center; }
.mobile-pic-06 img {
  max-width: 350px; /* Match 01 & 02 */
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  margin: 20px auto;
  display: inline-block;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

.mobile-gallery-after {
  display: none;
  max-width: 700px;
  margin: 30px auto;
  padding: 0 10px;
}
.mobile-gallery-after img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  margin-bottom: 15px;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
  .live-gallery-slider { display: none; }
  .mobile-pic-06 { display: block; }
  .mobile-gallery-after { display: block; }
}

/* BANDSINTOWN / Tour Dates */

.bandsintown-wrapper {
  max-width: 600px;
  margin: 40px auto;
  text-align: center;
}
.bandsintown-wrapper iframe,
.bandsintown-wrapper .bit-widget-initializer {
  width: 100%;
}

/* EP RELEASE */

.ep-release {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
  align-items: flex-start;
}
.ep-text {
  flex: 1 1 60%;
  max-width: 650px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
}
.ep-text h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.ep-text p { margin-bottom: 20px; }

.ep-cover {
  flex: 1 1 35%;
  max-width: 400px;
  text-align: center;
}
.ep-cover img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}

@media (max-width: 768px) {
  .ep-release { flex-direction: column; text-align: left; }
  .ep-text, .ep-cover { max-width: 100%; }
  .ep-text h3 { font-size: 1.3rem; }
}

/* FOOTER */

footer {
  text-align: center;
  font-weight: bold;
  padding: 10px;
  font-size: 0.85rem;
  background-color: var(--yellow);
  color: #000;
  border-top: 1px solid #ddd;
}

/* BACK TO TOP */

.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 15px;
  font-size: 1.5rem;
  color: var(--white);
  background: #222;
  padding: 10px 12px;
  border-radius: 50%;
  text-align: center;
  display: none;
  z-index: 999;
}
@media (max-width: 768px) {
  .back-to-top { display: block; }
}
.back-to-top:hover { opacity: 0.85; }

/* MOTION PREFERENCES */

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
