*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
      margin: 0;
      margin-top: 90px;
      background: #111;
      font-family: "Lato", Arial, sans-serif;
      color: white;
      text-align: center;
    }

    h1, h2, h3, h4, h5, h6 {
      font-family: 'Staatliches', sans-serif;
      letter-spacing: 1px;
      text-transform: uppercase;
      text-decoration: none;
    }
    h1 {
      margin-top: 0;
    }
    h2 {
      text-align: left;
      margin: 0.5em 1em;
    }

    .button {
      font-family: 'Staatliches', sans-serif;
      letter-spacing: 1px;
      text-transform: uppercase;
      display: inline-block;
      color: white;
      border: 2px solid white;
      padding: 10px 20px;
      text-decoration: none;
      font-weight: bold;
      font-size: 1.25em;
      cursor: pointer;
      white-space: nowrap;
    }
    .button:hover {
        color: red;
        border-color: red;
    }

    nav {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: #ff5252;
      border-bottom: 1px solid #333;
      height: 90px;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1000;
    }

    .nav-container {
      display: grid;
      grid-template-columns: 1fr auto 1fr; /* left | center | right */
      align-items: center;
      width: 100%;
      /*max-width: 1000px; */
      padding: 0 4rem;
    }

    .nav-left, .nav-right {
      display: flex;
      gap: 1.5rem;
      height: 100%;
      justify-content: center;
      align-items: center;
    }
    .nav-left {
      justify-content: space-between;
      width: 100%;
    }
    .nav-right {
      justify-content: space-between;
      width: 100%;
    }

    .nav-band-logo {
      position: relative;
      display: inline-block;
      height: 100px;
      width: 105px;
      margin: 30px 4rem 0;
      padding: 0px;
      overflow: hidden;
    }
    .nav-band-logo img {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      object-fit: contain;
      transition: opacity 0.3s ease-in-out;
    }
    .nav-band-logo-hover {
      opacity: 0;
    }
    .nav-band-logo:hover .nav-band-logo-hover{
      opacity: 1;
    }
    .nav-band-logo:hover .nav-band-logo-default {
      opacity: 0;
    }

    nav a {
      display: flex;
      align-items: center;
      color: white;
      text-decoration: none;
      text-transform: uppercase;
      font-family: "Staatliches";
      font-size: 1.3rem;
      font-weight: bold;
      transition: color 0.3s;
      padding: 20px;
      height: 50px;
    }
    nav a:hover {
      color: black;
    }

    .socials {
      display: flex;
      gap: 1rem;
      margin-left: 1rem;
    }
    .socials a svg {
      width: 1.5rem;
      height: 1.5rem;
      fill: white;
      transition: fill 0.3s ease;
    }
    .socials a:hover svg {
      fill: black;
    }

    .hamburger {
      display: none; /* hidden by default, shown on mobile */
      position: absolute;
      top: 50%;
      left: 1rem;
      transform: translateY(-50%);
      background: none;
      border: none;
      cursor: pointer;
      flex-direction: column;
      gap: 4px;
      z-index: 1001;
    }
    .hamburger span {
      width: 25px;
      height: 3px;
      background: white;
      transition: 0.3s;
    }
    .hamburger.open span:nth-child(1) {
      transform: rotate(-45deg) translate(-5px, 6px);
    }
    .hamburger.open span:nth-child(2) {
      opacity: 0;
    }
    .hamburger.open span:nth-child(3) {
      transform: rotate(45deg) translate(-5px, -6px);
    }

    .sidebar {
      position: fixed;
      top: 90px;
      left: -400px; /* off-screen initially */
      width: 400px;
      height: calc(100vh - 90px);
      background: #111;
      transition: left 0.3s ease;
      z-index: 999;
      overflow-y: auto;
    }
    .sidebar.open {
      left: 0;
    }
    .sidebar-content {
      padding: 2rem;
      display: flex;
      flex-direction: column;
    }
    .sidebar a {
      color: white;
      text-decoration: none;
      font-family: "Staatliches";
      font-size: 1.3rem;
      text-transform: uppercase;
      padding: 1.3rem 0;
      border-bottom: 1px solid #333;
    }
    .sidebar a:hover {
      color: #ff5252;
    }
    .sidebar .socials {
      display: flex;
      flex-direction: row;
      gap: 3rem;
      margin-left: auto;
      margin-right: auto;
      border-bottom: none !important;
      justify-content: center;
    }
    .sidebar .socials a:hover svg {
      fill: red;
    }

    /* mobile responsive nav */
    @media (max-width: 768px) {
      .nav-left, .nav-right {
        display: none;
      }
      .hamburger {
        display: flex;
      }
      .nav-container {
        position: relative;
        display: flex;
        justify-content: center;
      }
    }

    .slider {
      /*margin-top: 80px; */
      width: 100%;
      height: 75vh;
      position: relative;
      overflow: hidden;
    }

    .slider .slide {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      transition: opacity 1s ease-in-out;
      display: flex;
      align-items: stretch;
      justify-content: center;
    }
    .slider .slide.active { opacity: 1; z-index: 1; }
    .slider .slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    /*
    .banner1 {
      object-position: center -625px;
    }
    */

    .merch-box {
        position: absolute;
        bottom: 10px;
        right: 60px;
        gap: 25px;
        display: flex;
        flex-direction: row;
        overflow: visible;
        place-items: center;
    }
    .tshirt {
      width: 30vw !important;
    }
    .vinyl {
      width: 40vw !important;
    }

    /* banner box in bottom-left of each slide */
    .banner-box {
      position: absolute;
      left: 20px;
      bottom: 20px;
      background: rgba(0,0,0,0.6);
      color: #fff;
      padding: 14px 16px;
      border-radius: 8px;
      max-width: 420px;
      box-shadow: 0 6px 18px rgba(0,0,0,0.6);
      text-align: left;
    }
    .banner-box h3 {
      margin: 0 0 6px 0;
      font-size: 1.5rem;
      line-height: 1.2;
    }
    .banner-box p {
      margin: 0 0 8px 0;
      font-size: 1rem;
      opacity: 0.95;
    }

    .arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      font-size: 2rem;
      color: #f5f5f5;
      background: #111;
      border: none;
      padding: 0.5rem 1rem;
      cursor: pointer;
      z-index: 10;
      transition: background 0.3s;
    }
    .arrow:hover {
      background: #111;
    }
    .arrow.left { left: 10px; }
    .arrow.right { right: 10px; }

    .dots {
      position: absolute;
      bottom: 15px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 0.5rem;
      z-index: 10;
    }
    .dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: #bbb;
      cursor: pointer;
      transition: background 0.3s;
    }
    .dot.active {
      background: #ff5252;
    }

    .about {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    max-width: 1000px;
    margin: 0 auto;
    }

    .about-text {
    flex: 1;
    padding-right: 40px;
    text-align: left;
    }

    span {
    float: left;
    width: 0.7em;
    font-size: 400%;
    font-family: "Staatliches";
    line-height: 80%;
    color: red;
    }

    .about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    }

    .about-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    }

    @media (max-width: 768px) {
      .about {
        flex-direction: column; /* Stack vertically */
        align-items: flex-start; /* Align to start for better text flow */
      }
      .about-text {
        padding-right: 0;
      }
      .about-image {
        justify-content: flex-start; /* Align image to start if needed */
      }

      .album-section {
        flex-direction: column;
        align-items: center;
        gap: 15px;
      }
      .album-cover {
        width: 70vw !important;
        height: auto;
        max-width: 300px;
      }

      .videos-section {
        padding-bottom: 40px !important;
      }
      .videos-arrow {
        display: none; /* hide carousel arrows */
      }
      .video-thumb:nth-child(n+4) {
        display: none; /* hide 4th video and on */
      }
      .video-track {
        flex-direction: column;
        gap: 20px;
        transform: none;
      }
      .video-viewport {
        overflow: visible;
      }
      .video-carousel {
        justify-content: center;
      }
    }

    .album-section {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 20px;
      padding: 40px 20px;
    }
    .album-section-right {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 15px;
    }
    .album-cover {
      width: 30vw;
      height: auto;
      border-radius: 10px;
      box-shadow: 0 4px 15px #000;
      transition: transform 0.3s;
    }

    .listen-dropdown {
      position: relative;
    }

    .buy-btn {
        position: relative;
        }

    .buy-dropdown {
        font-family: 'Staatliches', sans-serif;
        letter-spacing: 1px;
        text-transform: uppercase;
        pointer-events: none;
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        font-size: 1.25em;
        font-weight: bold;
        background: red;
        overflow: hidden;
        width: 100%;
        min-width: 160px;
        z-index: 10;
        max-height: 0;
        opacity: 0;
        transform: translateY(-10px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
        transition: max-height 0.5s, transform 0.35s ease;
        }

        .buy-dropdown a {
        display: block;
        padding: 10px;
        color: white;
        border-top: 1px solid white;
        text-decoration: none;
        transition: background 0.2s;
        }

        .buy-dropdown a:hover {
        background-color: black;
        }

        .buy-dropdown.open {
        max-height: 300px;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        }

    /* gallery layout: side-by-side, vertically centered; stacks on small screens */
    .gallery-section .gallery-container {
      display: flex;
      align-items: center; /* vertical centre */
      justify-content: center; /* centre the whole group horizontally */
      gap: 3rem;
      flex-wrap: wrap; /* allow stacking on narrow viewports */
      margin: auto;
    }

    .gallery-section .gallery-preview {
      display: flex;
      gap: 0.5rem;
      align-items: center;
    }

    .gallery-section {
      text-align: center;
      padding: 25px 20px;
      background: #111;
      margin-bottom: 50px;
    }
    .gallery-container {
      gap: 3rem !important;
      flex-wrap: wrap;
    }
    .gallery-preview {
      position: relative;
      display: block;
      height: 300px;
      width: 100%;
      margin: 0;
      margin-bottom: 5rem;
      flex-shrink: 0;
    }
    .gallery-photo {
      position: absolute;
      width: 30%;
      max-width: 250px;
      height: auto;
      border: 5px solid #fff;
      box-shadow: 0 6px 15px rgba(0,0,0,0.5);
      transition: transform 0.3s;
      cursor: pointer;
    }

    /* slightly rotated + overlapped effect */
    .photo1 {
      top: 20px;
      left: 30%;
      transform: rotate(-10deg);
      z-index: 3;
    }
    .photo2 {
      top: 0;
      left: 42%;
      transform: rotate(6deg);
      z-index: 2;
    }
    .photo3 {
      top: 40px;
      left: 55%;
      transform: rotate(-4deg);
      z-index: 1;
    }
    .gallery-photo:hover {
      transform: scale(1.05) rotate(0deg);
      z-index: 10;
    }

    .small-gallery-preview {
      display: none;
    }

    @media (max-width: 768px) {
      .gallery-preview {
        display: none;
        height: 0;
        margin: 0;
        padding: 0;
      }
      .photo1,
      .photo2,
      .photo3 {
        display: none;
      }
      .small-gallery-preview {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
        padding: 5px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        margin: 0;
      }
      .small-gallery-preview .gallery-photo {
        position: relative;
        width: 100%;
        height: auto;
        aspect-ratio: 1;
        object-fit: cover;
        border: none;
        box-shadow: none;
        transform: none !important;
        left: auto;
        top: auto;
        z-index: 1;
        display: block;
      }
    }

    .videos-section {
      background: #1a1a1a;
      color: #f5f5f5;
      text-align: center;
      padding: 25px 20px;
    }
    .video-carousel {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      max-width: 1200px;
      margin: 0 auto;
    }
    .videos-arrow {
      background: #111;
      color: #f5f5f5;
      border: none;
      padding: 8px 12px;
      font-size: 1.6rem;
      cursor: pointer;
      border-radius: 6px;
      flex: 0 0 auto;
    }
    .videos-arrow:disabled { opacity: 0.35; cursor: default; }

    .video-viewport {
      overflow: hidden;
      width: 100%;
      max-width: calc(4 * 260px + 3 * 20px); /* makes ~4 thumbs wide */
      box-sizing: border-box;
    }

    .video-track {
      display: flex;
      gap: 20px;
      transition: transform 0.35s cubic-bezier(.22,.9,.35,1);
      will-change: transform;
      padding: 6px 0;
    }

    .video-thumb {
      cursor: pointer;
      transition: transform 0.25s;
      text-align: center;
      flex: 0 0 25%; /* show 4 items */
      box-sizing: border-box;
      max-width: 260px;

      overflow: hidden;
      border-radius: 10px;
      background: black;
      display: flex;
      flex-direction: column;
      align-items: stretch;
    }
    .video-thumb img {
      width: 100%;
      aspect-ratio: 16 / 9;
      height: auto;
      object-fit: cover;
      display: block;
    }
    .video-thumb:hover { transform: scale(1.03); }
    .video-title { font-size: 1.25rem; }

    .video-modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); justify-content: center; align-items: center; }
    .video-modal-content { position: relative; }
    .video-modal iframe { max-width: 90vw; max-height: 70vh; border-radius: 8px; }
    .close { position: absolute; top: -30px; right: -10px; color: white; font-size: 2rem; cursor: pointer; }

    /* reduce to 2/3 items on smaller screens */
    @media (max-width: 900px) {
      .video-thumb { flex: 0 0 33.3333%; max-width: none; }
      .video-viewport { max-width: calc(3 * 260px + 2 * 20px); }
    }
    @media (max-width: 600px) {
      .video-thumb { flex: 0 0 50%; }
      .video-viewport { max-width: calc(2 * 260px + 1 * 20px); }
    }

    footer .socials {
      display: flex;
      gap: 1rem;
      margin-top: 10px;
      justify-content: center;
      flex-wrap: wrap;
    }
    footer .socials a:hover svg {
      fill: red;
    }

    /*
    * {
  outline: 1px solid red;
}
  */