/* =============================================
   TEHETRAKI – Stylesheet
   Accent: #C4954A (varm gull/kobber)
   ============================================= */

@font-face {
  font-family: 'Carouselambra';
  src: url('Media/Font/Carouselambra/Carouselambra.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --bg:        #0c0c0c;
  --bg-2:      #141414;
  --bg-3:      #1c1c1c;
  --text:      #e4e4e4;
  --text-muted:#888;
  --accent:    #C4954A;
  --accent-dim:#8a6530;
  --border:    #2a2a2a;
  --radius:    4px;
  --font-head: 'Carouselambra', serif;
  --font-body: 'Inter', sans-serif;
  --max-w:     1100px;
  --nav-h:     64px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: #fff; }

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

/* ── CONTAINER ─────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── BUTTONS ────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}
.btn:hover {
  background: var(--accent);
  color: #000;
}
.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.78rem;
}

/* ── SECTION TITLES ─────────────────────────── */
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  margin-bottom: 2.5rem;
  color: #fff;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 2.5rem;
  height: 2px;
  background: var(--accent);
}

section {
  padding: 6rem 0;
}

/* ── NAVBAR ─────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: transparent;
  transition: background 0.3s, backdrop-filter 0.3s;
}
#navbar.scrolled {
  background: rgba(12, 12, 12, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 1.65rem;
  letter-spacing: 0.2em;
  color: #fff;
}
.nav-logo:hover { color: var(--accent); }

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--accent); }

.nav-social {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 1.5rem;
}
.nav-social a {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.nav-social a:hover { color: var(--accent); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}

/* ── HERO ───────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  background:
    radial-gradient(ellipse at 50% 60%, rgba(196, 149, 74, 0.08) 0%, transparent 65%),
    linear-gradient(180deg, #0c0c0c 0%, #111 100%);
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  z-index: 0;
}

@media (max-width: 768px) {
  .hero-video { display: none; }
  #hero {
    background-image: url('Media/Bilder til nettside/Tehetraki - Pressebilde 1 .webp');
    background-size: cover;
    background-position: center;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 12vw, 9rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #fff;
  line-height: 1;
}

.hero-tagline {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 300;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--accent-dim);
  font-size: 1.2rem;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── OM BANDET ──────────────────────────────── */
#om { background: var(--bg-2); }

.om-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.om-text p + p { margin-top: 1.25rem; }
.om-text p { color: var(--text-muted); }

.om-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* ── MEMBERS LIST ───────────────────────────── */
.members-list {
  list-style: none;
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}
.members-list li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.9rem;
}
.member-name {
  color: #fff;
  font-weight: 500;
  min-width: 10rem;
}
.member-instruments {
  color: var(--text-muted);
}

/* ── MUSIKK ─────────────────────────────────── */
#musikk { background: var(--bg); }

.musikk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.release-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.release-art-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.release-info h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 0.25rem;
}
.release-year {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.streaming-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.stream-btn {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  transition: border-color 0.2s, color 0.2s;
}
.stream-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.embed-placeholder {
  aspect-ratio: 1;
  background: var(--bg-3);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 2rem;
}
.embed-hint {
  font-size: 0.75rem;
  color: var(--accent-dim);
}

/* ── KONSERTER ──────────────────────────────── */
#konserter { background: var(--bg-2); }

.concert-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.concert-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.concert-item:first-child { border-top: 1px solid var(--border); }

.concert-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 3rem;
  line-height: 1.2;
}
.concert-day {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--accent);
}
.concert-month {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.concert-info { flex: 1; }
.concert-info h3 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 400;
  color: #fff;
}
.concert-location {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0.2rem;
}
.concert-year {
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}
.concert-subheading {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  margin-top: 2rem;
}
.concert-divider {
  border: none;
  border-top: 2px solid var(--accent);
  width: 2.5rem;
  margin: 2.5rem 0 0;
}
.concert-item--tba .concert-day {
  font-size: 1.4rem;
  color: var(--text-muted);
}
.concert-item--tba .concert-info h3 {
  color: var(--text-muted);
}

/* ── MERCH ──────────────────────────────────── */
#merch { background: var(--bg-2); }

.section-lead {
  color: var(--text-muted);
  margin-bottom: 3rem;
  margin-top: -1.5rem;
}

.merch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.merch-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.2s;
}
.merch-card:hover { border-color: var(--accent-dim); }

.merch-img-placeholder {
  aspect-ratio: 1;
  background: var(--bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.merch-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 400;
  color: #fff;
}
.merch-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-grow: 1;
}

.merch-cta { text-align: center; }

/* ── KONTAKT ─────────────────────────────────── */
#kontakt { background: var(--bg); }

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.kontakt-info h3,
.sosiale-medier h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.kontakt-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}
.kontakt-info a { color: var(--text-muted); }
.kontakt-info a:hover { color: var(--accent); }

.social-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.social-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}
.social-links a:hover { color: var(--accent); }

/* ── FOOTER ─────────────────────────────────── */
footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 2rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 768px) {
  section { padding: 4rem 0; }

  /* Nav */
  .nav-toggle { display: flex; }
  .nav-social { display: none; }
  .nav-links {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(90vw, 340px);
    background: rgba(20, 20, 20, 0.98);
    border: 1px solid var(--border);
    border-radius: 8px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    padding: 2.5rem 2rem;
    z-index: 200;
    box-shadow: 0 8px 40px rgba(0,0,0,0.7);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.05rem; }

  .nav-links-social {
    display: flex;
    gap: 2rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
    width: 100%;
    justify-content: center;
    list-style: none;
  }
  .nav-links-social a {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    letter-spacing: 0;
    text-transform: none;
    font-size: 0 !important;
  }
  .nav-links-social a:hover { color: var(--accent); }

  .hero-tagline {
    color: #fff;
    text-shadow: 0 1px 8px rgba(0,0,0,0.8);
  }

  /* Grids → single column */
  .om-grid,
  .musikk-grid,
  .kontakt-grid { grid-template-columns: 1fr; gap: 2rem; }

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

  .embed-placeholder { aspect-ratio: 16/9; }

  .hero-title { letter-spacing: 0.08em; }
}

@media (max-width: 480px) {
  .merch-grid { grid-template-columns: 1fr; }
}

/* =============================================
   UNDERSIDER – Om & Ei annerledes jul
   ============================================= */

.container--narrow { max-width: 720px; }
.section-alt { background: var(--bg-2); }

/* ── PAGE HERO (Om-sida) ─────────────────────── */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 4rem) 0 5rem;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 12, 0.65);
}
.page-hero-label {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.page-hero-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.08em;
}

/* ── PROSE ───────────────────────────────────── */
.prose p + p { margin-top: 1.25rem; }
.prose p { color: var(--text-muted); line-height: 1.8; }
.prose em { color: var(--accent); font-style: normal; }
.prose-p { color: var(--text-muted); }

/* ── MEMBERS GRID ────────────────────────────── */
.members-group-title {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.members-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}
.member-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.member-photo-placeholder {
  aspect-ratio: 3/4;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.member-photo {
  aspect-ratio: 3/4;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.member-card h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.05em;
}
.member-role {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── RTL (Farsi) ─────────────────────────────── */
[dir="rtl"] .section-title::after { left: auto; right: 0; }
[dir="rtl"] .nav-inner { flex-direction: row-reverse; }
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] body { font-size: 1.05rem; }

/* ── LANG SWITCHER ───────────────────────────── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 1rem;
}
.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  padding: 0.2rem 0.35rem;
  border-radius: 2px;
  transition: color 0.2s;
}
.lang-btn:hover { color: #fff; }
.lang-btn.active {
  color: var(--accent);
  font-weight: 500;
}

/* ── PRESS GRID ──────────────────────────────── */
.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}
.press-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.press-item img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* ── GALLERY ─────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.gallery-item {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.gallery-item:hover img { transform: scale(1.04); }

/* ── ALBUM HERO ──────────────────────────────── */
.album-hero {
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.album-hero-inner {
  display: flex;
  gap: 3rem;
  align-items: flex-end;
}
.album-hero-cover {
  width: clamp(160px, 20vw, 260px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.album-hero-label {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.album-hero-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.06em;
  line-height: 1.1;
}
.album-hero-artist {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 0.4rem;
  letter-spacing: 0.05em;
}

/* ── TRACK LIST ──────────────────────────────── */
.track-list {
  list-style: none;
  counter-reset: none;
}
.track-item {
  display: flex;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.track-item:first-child { border-top: 1px solid var(--border); }
.track-number {
  font-family: var(--font-head);
  font-size: 0.85rem;
  color: var(--accent);
  min-width: 2rem;
  letter-spacing: 0.05em;
}
.track-info h3 {
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.35rem;
}
.track-musicians {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── CREDITS ─────────────────────────────────── */
.credits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.credits-col h3 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.credits-list { display: grid; gap: 0.75rem; }
.credits-list dt {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.1rem;
}
.credits-list dd {
  font-size: 0.9rem;
  color: var(--text);
  margin-left: 0;
}

/* ── GEAR LIST ───────────────────────────────── */
.gear-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 4rem;
}
.gear-col h3 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.gear-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.gear-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
}
.gear-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--accent-dim);
}

/* ── RESPONSIVE (undersider) ─────────────────── */
@media (max-width: 768px) {
  .album-hero-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .members-grid { grid-template-columns: 1fr 1fr; }
  .credits-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .gear-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
  .members-grid { grid-template-columns: 1fr; }
}
