/* === Visually hidden (SEO/accessibility) === */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Serif', serif;
  font-weight: 400;
  background-color: #57382e;
  color: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  opacity: 0.8;
}

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

body.menu-open {
  overflow: hidden;
}

/* === Navigation === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  padding: 2rem 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.nav__logo {
  width: 260px;
  max-width: 80%;
}

.nav__list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.nav__list a {
  text-decoration: none;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 8px;
}

.nav__list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: #fff;
  transition: width 0.3s ease, left 0.3s ease;
}

.nav__list a:hover::after {
  width: 100%;
  left: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 110;
  position: relative;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 1px;
}

/* Hamburger active state */
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* === Hero === */
.hero {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  z-index: 0;
}

.hero__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Spacer so content starts after the hero viewport */
.hero + .section {
  margin-top: 100dvh;
}

.hero__img--bottom {
  z-index: 1;
}

.hero__img--top {
  z-index: 2;
}

.hero__chevron {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: #fff;
  opacity: 0.7;
  animation: bounce 2s ease infinite;
  transition: opacity 0.3s;
}

.hero__chevron:hover {
  opacity: 1;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* === Sections === */
.section {
  position: relative;
  z-index: 1;
  padding: 6rem 2rem;
}

.container {
  max-width: 800px;
  margin: 0 auto;
}

h2 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

.section p {
  margin-bottom: 1rem;
}

.credit {
  font-size: 0.8rem;
  opacity: 0.6;
  margin-top: 1.5rem;
  font-style: italic;
}

/* === Musikk === */
.musikk__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.musikk__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  padding: 1.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.musikk__card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  opacity: 1;
}

.musikk__icon {
  width: 40px;
  height: 40px;
}

.musikk__label {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.musikk__btn {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.85rem;
  padding: 0.5rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  letter-spacing: 0.02em;
  transition: background 0.2s ease;
}

.musikk__card:hover .musikk__btn {
  background: rgba(255, 255, 255, 0.15);
}

/* === Bio === */
.bio__text p {
  margin-bottom: 1.2rem;
}

.bio__signature {
  max-width: 200px;
  margin-top: 2rem;
}

/* === Event Card === */
.event-card {
  display: flex;
  align-items: stretch;
  width: 100%;
  margin-top: 3rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  text-decoration: none;
  overflow: hidden;
  transition: background 0.25s ease;
}

.event-card:hover {
  background: rgba(255, 255, 255, 0.15);
  opacity: 1;
}

.event-card__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  min-width: 80px;
}

.event-card__day {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

.event-card__month {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  margin-top: 0.2rem;
}

.event-card__details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.5rem 2rem;
  justify-content: center;
}

.event-card__title {
  font-size: 1.1rem;
  font-weight: 400;
  margin: 0;
}

.event-card__meta {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.event-card__item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.event-card__label {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.5;
}

.event-card__value {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
}

.event-card__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  opacity: 0.6;
  transition: opacity 0.2s;
}

.event-card:hover .event-card__arrow {
  opacity: 1;
}

@media (max-width: 480px) {
  .event-card__meta {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .event-card__details {
    padding: 1.2rem 1.5rem;
  }
}

/* === Bilder === */
.bilder__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.bilder__grid a {
  display: block;
  overflow: hidden;
}

.bilder__grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.bilder__grid a:hover img {
  transform: scale(1.05);
}

.bilder__notice {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 1.5rem;
  line-height: 1.6;
}

/* === Row layout === */
.row {
  display: flex;
  gap: 4rem;
}

.row__col {
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 2rem;
}

/* === SoMe === */
.some__links {
  display: flex;
  gap: 2.5rem;
}

.some__links a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-size: 1rem;
  transition: opacity 0.2s;
}

.some__links a:hover {
  opacity: 0.7;
}

/* === YouTube Card === */
.youtube-card {
  display: flex;
  align-items: center;
  width: 100%;
  margin-top: 2rem;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  text-decoration: none;
  gap: 1.5rem;
  transition: background 0.25s ease;
}

.youtube-card:hover {
  background: rgba(255, 255, 255, 0.15);
}

.youtube-card__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.youtube-card__text {
  flex: 1;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.1rem;
}

.youtube-card__arrow {
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.youtube-card:hover .youtube-card__arrow {
  opacity: 1;
}

/* === Foredrag === */
.foredrag__card {
  display: flex;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  overflow: hidden;
}

.foredrag__img {
  width: 40%;
  object-fit: cover;
  flex-shrink: 0;
}

.foredrag__text {
  padding: 2rem 2rem 2rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 768px) {
  .hero__img {
    object-position: calc(50% - 64px) center;
  }

  .foredrag__card {
    flex-direction: column;
  }

  .foredrag__img {
    width: 100%;
    max-height: 300px;
  }

  .foredrag__text {
    padding: 1.5rem;
  }
}

/* === Merch === */
.merch__card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.merch__card-title {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.merch__desc {
  margin-top: 1.5rem;
  line-height: 1.7;
}

.merch__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.merch__item {
  cursor: pointer;
}

.merch__item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  transition: transform 0.2s ease;
}

.merch__item:hover img {
  transform: scale(1.02);
}

/* === Modal === */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.open {
  display: flex;
}

.modal__img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  object-fit: contain;
}

.modal__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.modal__close:hover {
  opacity: 1;
}

.merch__lp {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  align-items: flex-start;
}

.merch__lp-img {
  flex: 1;
  min-width: 0;
  border-radius: 8px;
  object-fit: cover;
}

.merch__lp-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  line-height: 1.7;
}

/* === Videos === */
.video__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.video__wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
}

.video__wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video__more {
  margin-top: 1.5rem;
  text-align: center;
}

.video__more a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-size: 1rem;
  transition: opacity 0.2s;
}

.video__more a:hover {
  opacity: 0.7;
}

/* === Sticky SoMe Sidebar === */
.some-sidebar {
  position: fixed;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.some-sidebar a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  color: #fff;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.some-sidebar a:hover {
  opacity: 1;
}

.some-sidebar svg {
  width: 32px;
  height: 32px;
}

/* === Responsive === */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
  }

  .nav__logo {
    width: 172px;
    max-width: none;
  }

  .nav__list {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100dvh;
    background: rgba(87, 56, 46, 0.97);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
  }

  .nav__list.open {
    opacity: 1;
    visibility: visible;
  }

  .nav__list a {
    font-size: 1.3rem;
  }

  .row {
    flex-direction: column;
    gap: 2rem;
  }

  .bilder__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .musikk__cards {
    grid-template-columns: 1fr;
  }

  .musikk__card {
    flex-direction: row;
    justify-content: space-between;
    padding: 1.2rem 1.5rem;
  }

  .musikk__label {
    display: none;
  }

  .section {
    padding: 4rem 1.5rem;
  }

  h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .merch__lp {
    flex-direction: column;
  }

  .merch__lp-img,
  .merch__lp-text {
    width: 100%;
    flex: none;
  }

  .video__grid {
    grid-template-columns: 1fr;
  }

  .bilder__grid {
    grid-template-columns: 1fr;
  }

  .some__links {
    flex-direction: column;
    gap: 1.5rem;
  }

  .musikk__links {
    flex-direction: column;
    gap: 0.8rem;
  }
}
