/* =========================
   GLOBALT
========================= */

@import url("https://fonts.googleapis.com/css2?family=Alien+Block&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200&display=swap");

:root {
  --bg: #0a0a0a;
  --bg-light: #161616;
  --text: #ffffff;
  --text-secondary: #bdbdbd;
  --accent: #bbbbbb;
  --border: rgba(255, 255, 255, 0.08);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  font-weight: 300;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.home {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.85)),
    url("img/hero.JPG");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

main {
  flex: 1;
}

a {
  text-decoration: none;
  color: inherit;
}

h4 {
  text-align: center;
}

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

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   HEADER
========================= */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 22px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;

  backdrop-filter: blur(12px);
  background: rgba(0, 0, 0, 0.45);
}

.logo {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 6px;
  text-transform: uppercase;
  font-family: "Alien Block", sans-serif;
}

nav {
  top: 78px;
  height: calc(100vh - 78px);

  width: 25vw;
  min-width: 320px;

  right: 0;
  position: fixed;

  background: rgba(0, 0, 0, 0.96);
  backdrop-filter: none;

  padding-top: 40px;

  border-left: 1px solid var(--border);

  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;

  transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s;
}

nav.active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

nav ul {
  display: flex;
  flex-direction: column;
  gap: 35px;
  padding: 0 50px;
}

nav ul li {
  list-style: none;
}

nav a {
  display: block;
  font-size: 1rem;
  letter-spacing: 2px;
  transition: 0.3s;
  padding: 8px 0;
}

nav a:hover {
  color: var(--accent);
  transform: translateX(10px);
}

nav a.active {
  color: var(--accent);
}

/* ====================
   HAMBURGERMENY
==================== */

.menu-toggle {
  width: 30px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.menu-toggle span {
  height: 2px;
  width: 100%;
  background: white;
  border-radius: 2px;
  transition: 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* =========================
   HERO
========================= */

.hero {
  flex-direction: column;
  gap: 20px;
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  margin-bottom: 0;
  margin-top: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero h1 {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 800;
  letter-spacing: 8px;
  margin-bottom: 20px;
}

.hero p {
  color: #ddd;
  font-size: 1.2rem;
  margin-bottom: 40px;
}

/* =========================
   KNAPPAR
========================= */

.buttons {
  position: relative;
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  transition: 0.3s;
  font-weight: 600;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: var(--accent);
  color: #000;
}

.btn-secondary {
  border: 1px solid white;
  color: white;
}

/* =========================
   UNDERSIDOR
========================= */

.page {
  padding: 120px 0 40px;
}

.page h1 {
  text-align: center;
  margin-bottom: 60px;
  font-size: 3rem;
}

.page h3 {
  text-align: center;
  margin-bottom: 60px;
  font-size: 24px;
}

/* =========================
   VIDEO
========================= */

.video-list {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
}

.video-item {
  margin-bottom: 3rem;
  width: 100%;
  padding-bottom: 80px;
}

.video-item h2 {
  font-family: "Manrope", sans-serif;
  margin-bottom: 1rem;
  text-align: center;
}

.video-wrapper {
  width: 100%;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  border-radius: 12px;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  border: 0;
}

/* =========================
   UPCOMING GIGS
========================= */

.gigs-list {
  max-width: 900px;
  margin: 0 auto;
  display: block;
}

.gig-item {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  align-items: center;

  padding: 28px 20px;

  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, transform 0.3s ease;
}

.gig-item:hover {
  background: rgba(255, 255, 255, 0.03);
  transform: translateX(8px);
}

.gig-date {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.gig-info h2 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.gig-info p {
  color: var(--text-secondary);
}

.gig-btn {
  padding: 12px 28px;
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: 0.3s;
}

.gig-btn:hover {
  background: white;
  color: black;
}

.sold-out {
  color: #777;
  border-color: #444;
  cursor: default;
}

/* =========================
   ABOUT
========================= */

.artist-image {
  width: 100%;
  max-width: 700px;

  margin: 0 auto 50px;

  border-radius: 20px;
}

.about-text {
  max-width: 900px;
  margin: auto;

  color: var(--text-secondary);

  line-height: 1.9;
  font-size: 1.1rem;

  text-align: center;
}

.about-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;

  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  display: block;
  padding-bottom: 28px;
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 25px;
  letter-spacing: 2px;
}

.about-content p {
  color: var(--text-secondary);
  line-height: 1.9;
  font-size: 1.05rem;
  margin-bottom: 24px;
}

/* =========================
   CONTACT
========================= */
body.contact-page {
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.75)),
    url("img/hero1.WEBP");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

.contact-form {
  max-width: 700px;
  margin: auto;
  margin-top: 60px;
}

.contact-form h3 {
  text-align: center;
  padding-bottom: 20px;
  color: var(--accent);
}

.contact-form input,
.contact-form textarea {
  width: 100%;

  padding: 18px;
  margin-bottom: 10px;

  border: none;
  outline: none;

  border-radius: 12px;

  background: var(--bg-light);
  color: white;

  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  background: var(--accent);

  color: black;

  border: none;

  padding: 16px 35px;

  border-radius: 50px;

  cursor: pointer;

  font-weight: 700;

  transition: 0.3s;
}

.contact-form button:hover {
  transform: translateY(-3px);
}

.success-message {
  margin-top: 25px;
  color: #ffffff;
  font-weight: 600;
  text-align: center;
}

/* =========================
   FOOTER
========================= */

footer {
  position: relative;
  z-index: 2;
  margin-top: 0px;
  padding: 50px 20px;
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  transform: translateZ(0);

  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: transform, opacity;
}

footer.show {
  opacity: 1;
  transform: translateY(0);
}

footer p {
  color: var(--text-secondary);
}

.socials {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 20px;
}

.socials a {
  transition: 0.3s;
}

.socials a:hover {
  color: var(--accent);
}

/* =========================
   MOBIL
========================= */

@media (max-width: 900px) {
  header {
    padding: 20px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  nav ul {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    background-attachment: scroll;
  }

  .hero h1 {
    font-size: 4rem;
    letter-spacing: 4px;
  }

  .page {
    padding: 110px 20px 60px;
  }

  .page h1 {
    font-size: 2.2rem;
  }

  .tour-item {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

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

  nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    transition: all 0.3s ease;
  }

  nav.active {
    display: block;
  }

  nav ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  nav ul li {
    padding: 10px 0;
  }

  .gig-item {
    grid-template-columns: 1fr;
    gap: 15px;
    text-align: center;
  }

  .gig-btn {
    width: fit-content;
    margin: auto;
  }

  .about-section {
    padding: 0 15px;
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: left;
  }

  .about-image {
    margin: 0;
    max-width: 100%;
  }

  .about-image img {
    border-radius: 14px;
  }

  .about-content h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .about-content p {
    font-size: 1rem;
    line-height: 1.8;
  }
}
