/* public_html/assets/style.css
   Neo‑Sole Graphics — Background + readable panel
   ALL links bright yellow, CTA button bright yellow
   + Music toggle styling
   + Gallery + Slideshow (fade) styling
   + BTS focus ring when ANY inner element is focused ✅ (:focus-within)
*/

/* ---------- Global / Background ---------- */
html, body{
  height: 100%;
}

body{
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.5;
  color: #ffffff;

  /* Path relative to this CSS file (public_html/assets/style.css) */
  background: url("images/graffiti-wall.jpg") center / cover no-repeat fixed;
}

/* Prevent media overflow */
img, video{
  max-width: 100%;
  height: auto;
}

/* ---------- ALL links: bright yellow ---------- */
a{
  color: #ffea00;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover{
  color: #fff200;
}

a:focus-visible{
  outline: 3px solid rgba(255, 234, 0, 0.95);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Layout (safe across pages) ---------- */
header, main, footer{
  width: min(1000px, calc(100% - 2rem));
  margin: 0 auto;
}

header{
  padding: 2.5rem 0 1.25rem;
}

header h1{
  margin: 0 0 0.35rem;
  font-size: clamp(2rem, 5vw, 3.1rem);
  letter-spacing: 0.02em;
}

header p{
  margin: 0;
  opacity: 0.9;
}

/* ---------- Readable content panel ---------- */
main{
  padding: 2rem;
  border-radius: 18px;

  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.45);

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

main h2{
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

main p{
  margin: 0 0 1rem;
  opacity: 0.92;
  max-width: 65ch;
}

/* Boost readability for inline links over the panel/background */
main a:not(.button){
  text-shadow: 0 2px 10px rgba(0,0,0,0.85);
}

/* ---------- CTA Button (link styled as button) ---------- */
.button{
  display: inline-block;
  text-decoration: none; /* button shouldn’t be underlined */
  font-weight: 900;
  letter-spacing: 0.02em;

  padding: 0.9rem 1.25rem;
  border-radius: 999px;

  background: #ffea00;
  color: #111111;

  border: 2px solid rgba(0, 0, 0, 0.80);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.50),
    0 0 0 6px rgba(255, 234, 0, 0.22);

  transition: transform 120ms ease, filter 120ms ease, box-shadow 120ms ease;
}

.button:hover{
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.60),
    0 0 0 6px rgba(255, 234, 0, 0.28);
}

.button:active{
  transform: translateY(0);
}

.button:focus-visible{
  outline: 3px solid rgba(255, 234, 0, 0.95);
  outline-offset: 3px;
}

/* ---------- Music Toggle ---------- */
.music-toggle{
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 9999;

  background: #ffea00;
  color: #111111;
  border: 2px solid rgba(0,0,0,0.85);
  border-radius: 999px;
  padding: 0.6rem 0.9rem;

  font-weight: 900;
  letter-spacing: 0.02em;
  cursor: pointer;

  box-shadow: 0 14px 30px rgba(0,0,0,0.45);
}

.music-toggle:hover{
  filter: brightness(1.03);
  transform: translateY(-1px);
}

.music-toggle:active{
  transform: translateY(0);
}

.music-toggle:focus-visible{
  outline: 3px solid rgba(255,234,0,0.95);
  outline-offset: 3px;
}

/* Keep the audio element from taking space if it renders */
audio{
  display: none;
}

/* ---------- Gallery / BTS Section ---------- */
.gallery{
  margin-top: 1.5rem;
}

/* ---------- Slideshow (fade) ---------- */
.slideshow{
  position: relative;
  width: 100%;
  height: 420px;              /* must have a height */
  margin-top: 1rem;
  border-radius: 16px;
  overflow: hidden;

  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.12);
}

.slideshow img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;

  /* show full image (no cropping) */
  object-fit: contain;
  object-position: center;

  /* fill any extra letterbox space */
  background: rgba(0,0,0,0.35);

  opacity: 0;
  transition: opacity 900ms ease-in-out;
}

/* Critical: makes the visible slide show up */
.slideshow img.is-visible{
  opacity: 1;
}

/* ---------- Footer ---------- */
footer{
  padding: 1.5rem 0 2.25rem;
  opacity: 0.9;
}

/* ---------- Mobile tweaks ---------- */
@media (max-width: 520px){
  header{
    padding: 2rem 0 1rem;
  }
  main{
    padding: 1.25rem;
    border-radius: 14px;
  }
  .music-toggle{
    top: 12px;
    right: 12px;
    padding: 0.55rem 0.8rem;
  }
  .slideshow{
    height: 300px;
  }
}

/* ✅ Focus ring when ANY element inside the BTS section is focused */
#btsSection:focus-within{
  outline: 3px solid rgba(255, 234, 0, 0.95);
  outline-offset: 6px;
  border-radius: 18px;
}