/* =========================================================
   1. ROOT VARIABLES
========================================================= */

:root {
    --bg: #0c0d12;
    --bg-dark: #12131a;
    --bg-alt: #0a0b10;
    --accent: #c6a75e;
    --text: #f5f5f5;
    --muted: #bdbdbd;

    --max-width: 1100px;
    --transition: 0.3s ease;
}


/* =========================================================
   2. RESET & BASE
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.9;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}


/* =========================================================
   3. GRAIN OVERLAY (Subtle Premium Texture)
========================================================= */

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: url("images/grain.png");
    opacity: 0.02;
    pointer-events: none;
}


/* =========================================================
   4. TYPOGRAPHY
========================================================= */

h1, h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: 1px;
}

h1 {
    font-size: 72px;
    margin-bottom: 20px;
}

h2 {
    font-size: 42px;
    margin-bottom: 40px;
}

p {
    font-size: 18px;
    color: var(--muted);
    margin-bottom: 28px;
}


/* =========================================================
   5. HEADER (Desktop Grid Layout)
========================================================= */

header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 22px 8%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    background: rgba(10, 10, 14, 0.4);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
    z-index: 1000;
}

header.scrolled {
    background: rgba(10, 10, 14, 0.95);
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.logo {
    justify-self: start;
    font-size: 15px;
    letter-spacing: 3px;
}

/* Navigation */

nav {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 40px;
}

nav a {
    text-decoration: none;
    color: var(--text);
    font-size: 14px;
    position: relative;
    transition: var(--transition);
}

nav a:hover {
    color: var(--accent);
}

/* Subtle underline animation */
nav a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--accent);
    transition: 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}


/* CTA Button */

.nav-cta {
    border: 1px solid var(--accent);
    padding: 6px 16px;
    border-radius: 20px;
}

.nav-cta:hover {
    background: var(--accent);
    color: #000;
}


/* Language Switch */

.lang-switch {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.lang {
    text-decoration: none;
    color: var(--text);
    transition: var(--transition);
}

.lang:hover {
    color: var(--accent);
}

.lang.active {
    color: var(--accent);
}

.divider {
    width: 1px;
    height: 16px;
    background: rgba(255,255,255,0.4);
}


/* =========================================================
   6. HERO SECTION
========================================================= */

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    background: url("images/hero-bg.jpg") center / cover no-repeat fixed;
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { background-size: 100%; }
    to   { background-size: 108%; }
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0,0,0,0.65),
        rgba(0,0,0,0.85)
    );
}

.hero-content {
    position: relative;
    max-width: 850px;
}

.hero h1::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: var(--accent);
    margin: 22px auto 0;
}

.subtitle {
    font-size: 15px;
    letter-spacing: 3px;
    margin-bottom: 28px;
    text-transform: uppercase;
}

.intro {
    max-width: 680px;
    margin: 0 auto 45px auto;
}


/* =========================================================
   7. BUTTONS
========================================================= */

.btn {
    display: inline-block;
    padding: 14px 36px;
    border: 1px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn:hover {
    background: var(--accent);
    color: #000;
}


/* =========================================================
   8. SECTION STRUCTURE
========================================================= */

.section {
    padding: 170px 8%;
}

.section.dark {
    background: var(--bg-dark);
}

.section.alt {
    background: var(--bg-alt);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
}


/* =========================================================
   9. SPLIT LAYOUT (Text + Image)
========================================================= */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.split .text {
    max-width: 650px;
}

.split img {
    width: 100%;
    border-radius: 6px;
    transition: transform 0.6s ease;
}

.split img:hover {
    transform: scale(1.04);
}


/* =========================================================
   10. DISCOGRAPHY
========================================================= */

.discography {
    list-style: none;
    margin-top: 40px;
    columns: 2;
    column-gap: 60px;
}

.discography li {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: var(--muted);
}


/* =========================================================
   11. FOOTER
========================================================= */

footer {
    padding: 90px 0;
    text-align: center;
    font-size: 14px;
    color: var(--muted);
    border-top: 1px solid #222;
}


/* =========================================================
   12. RESPONSIVE (Tablet)
========================================================= */

@media (max-width: 1024px) {

    h1 { font-size: 56px; }
    h2 { font-size: 34px; }

}


/* =========================================================
   13. RESPONSIVE (Mobile)
========================================================= */

@media (max-width: 768px) {

    header {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 18px 6%;
    }

    nav {
        gap: 25px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .lang-switch {
        justify-content: center;
    }

    .split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .discography {
        columns: 1;
    }

    h1 { font-size: 42px; }
    h2 { font-size: 28px; }

    .section {
        padding: 110px 6%;
    }

    p {
        font-size: 16px;
    }

}
/* ========================================
   BIOGRAPHY SECTION
======================================== */

.biography-section {
  align-items: center;
}

.biography-section .image img {
  width: 100%;
  max-width: 420px;
  border-radius: 6px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

/* Desktop layout */
@media (min-width: 992px) {
  .biography-section {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
  }
}

/* Mobile layout */
@media (max-width: 991px) {
  .biography-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .biography-section .image {
    order: -1; /* Bild ovanför text i mobil */
    text-align: center;
  }
}