/* ================================
   RESET (perusasetukset)
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ================================
   BODY (yleinen ulkoasu)
   -> taustaväri, fontti, tekstin väri
================================ */
body {
    font-family: 'Montserrat', sans-serif; /* vaihda fontti tähän */
    background: #0b0b0c; /* sivun taustaväri */
    color: #f5f5f5; /* tekstin väri */
    line-height: 1.6;
    padding-top: 80px; /* navbarin korkeus (älä poista) */
}

/* ================================
   NAVBAR (yläpalkki)
================================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10,10,10,0.6); /* navbar väri */
    backdrop-filter: blur(12px); /* blur-efekti */
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
}

/* navbar kun scrollaat */
.navbar.scrolled {
    background: rgba(5,5,5,0.95); /* tummempi scrollissa */
}

/* navbar sisältö */
.nav-inner {
    max-width: 1200px; /* leveys */
    margin: auto;
    padding: 18px 30px; /* korkeutta säädetään tästä */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* logo vasemmalla */
.logo {
    font-weight: 800;
    letter-spacing: 3px; /* kirjainten väli */
}

/* ================================
   NAV LINKS (valikko)
================================ */
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px; /* väli linkkien välillä */
}

.nav-links a {
    color: #ccc; /* linkin väri */
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
}

/* hover + aktiivinen linkki */
.nav-links a:hover,
.nav-links a.active {
    color: #fff;
}

/* underline animaatio */
.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 1px;
    background: #e63946; /* accent väri */
    transition: 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* ================================
   HAMBURGER (mobiili)
================================ */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    height: 2px;
    width: 25px;
    background: #fff;
    margin: 4px 0;
}

/* ================================
   HERO (yläosa / iso kuva)
================================ */
.header {
    position: relative;
    height: 100vh; /* koko ruutu */
    overflow: hidden;
}

/* TAUSTAKUVA */
.hero-bg {
    position: absolute;
    inset: 0;

    /* vaihda kuva tähän */
    background: url("../images/TAPAUS - Promokuva_2026_main.jpg") center 47%/cover no-repeat;

    filter: brightness(0.6) contrast(1.1); /* kuvan tummennus */
}

/* tumma overlay kuvan päällä */
.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.3),
        rgba(0,0,0,0.7)
    );
}

/* HERO SISÄLTÖ (logo + teksti + napit)
   -> SIIRRÄ KOKO BLOKKIA TÄÄLTÄ
*/
.hero-overlay {
    position: relative;
    z-index: 2;
    height: 100%;

    display: flex;
    flex-direction: column;

    justify-content: center; /* ylös/alas keskitys */
    align-items: center;     /* vasen/oikea keskitys */

    text-align: center;

    /* 👉 SIIRTO:
       transform: translateY(-80px); = ylemmäs
       transform: translateY(80px);  = alemmas
    */
}

/* HERO PÄÄTEKSTI */
.hero-overlay h1 {
    font-size: 6rem; /* tekstin koko */
    letter-spacing: 10px;
}

/* HERO ALATEKSTI */
.hero-overlay p {
    margin: 15px 0 30px;
    color: #ccc;
}

/* ================================
   BUTTONS
================================ */
.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary {
    padding: 12px 25px;
    background: #e63946; /* pääväri */
    color: #fff;
    text-decoration: none;
}

.btn-secondary {
    padding: 12px 25px;
    border: 1px solid #888;
    color: #fff;
    text-decoration: none;
}

.btn-primary,
.btn-secondary {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* ================================
   SECTIONS (yleinen spacing)
================================ */
section {
    padding: 80px 20px; /* väli ylhäällä/alhaalla */
}

section h2 {
    text-align: center;
    margin-bottom: 40px;
}

/* ================================
   BOXES (julkaisut)
================================ */
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.box {
    background: #121212;
    padding: 25px;
    border-radius: 18px;
    max-width: 350px;
}

.box h2 {
    color: #e63946;

    font-size: 1.1rem;      /* 👈 muuta tästä kokoa */
    font-weight: 700;       /* hieman napakampi */
    letter-spacing: 1px;    /* antaa pro-fiiliksen */
}
.box img {
    width: 100%;
    border-radius: 12px;
    margin: 15px 0;
}

/* ================================
   BIO
================================ */
.bio p {
    max-width: 700px;
    margin: 10px auto;
    text-align: center;
    color: #bbb;
}

/* ================================
   BAND LAYOUT
================================ */
.band-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px; /* väli kuvan ja listan välillä */
    flex-wrap: wrap;
    margin-top: 40px;
}

/* ================================
   IMAGE STACK (jäsenkuvat)
================================ */
.band-image-stack {
    position: relative;
    width: 320px;  /* kuvan leveys */
    height: 420px; /* kuvan korkeus */
    cursor: pointer;
}

/* kaikki kuvat */
.member-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;

    opacity: 0;
    filter: blur(6px) brightness(0.6);

    transition: none; /* EI animaatiota */
}

/* aktiivinen kuva */
.member-img.active {
    opacity: 1;
    filter: none;
    z-index: 2;
}

/* ================================
   MEMBERS LIST
================================ */
.band-members {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.member {
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 8px;
}

.member:hover .name {
    color: #fff;
}

.name {
    font-weight: 600;
}

.role {
    font-size: 0.9rem;
    color: #aaa;
}

/* ================================
   LIGHTBOX (kuvan suurennus)
================================ */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
}

.close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 2rem;
    cursor: pointer;
}

/* ================================
   GIGS
================================ */
.gig {
    display: flex;
    justify-content: space-between;
    max-width: 600px;
    margin: 10px auto;
}

/* ================================
   FOOTER
================================ */
.footer {
    text-align: center;
    padding: 40px;
    background: #050505;
}

/* ================================
   MOBILE
================================ */
@media(max-width: 768px) {

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        right: 0;
        top: 70px;
        background: #0b0b0c;
        flex-direction: column;
        width: 220px;
        padding: 20px;
        transform: translateX(100%);
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .band-info {
        flex-direction: column;
        text-align: center;
    }

    /* pienempi hero-teksti mobiilissa */
    .hero-overlay h1 {
        font-size: 3rem;
    }
}

/* ================================
   HERO LOGO (kuva)
   -> säädä logon koko tästä
================================ */
.logo-hero img {
    max-width: 500px; /* isompi/pienempi logo */
    width: 120%;
}
.hero-overlay {
    transform: translateX(0px);
        transform: translateY(120px);

}
/* BUTTONS */
.btn-primary,
.btn-secondary {
    border: 1px solid #fff;
    transition: 0.3s; /* tekee hoverista pehmeän */
}

/* hover efekti */
.btn-primary:hover {
    background: transparent;
    color: #fff;
    transform: translateY(-2px); /* pieni nosto */
}

.btn-secondary:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
}

/* BOX */
.box {
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s;
}

/* hover efekti */
.box:hover {
    border-color: rgba(255,255,255,0.4); /* kirkkaampi reunus */
    transform: translateY(-8px); /* nousee */
    box-shadow: 0 20px 50px rgba(0,0,0,0.7); /* depth */
}
.logo-hero {
    border: none; /* 💥 tämä poistaa reunat */
        padding: 12px 20px;
    display: inline-block;
    backdrop-filter: blur(4px);
}


.logo {
    font-weight: 800;
    letter-spacing: 3px;

    background: linear-gradient(90deg, #C77DFF, #7B2CBF);

    -webkit-background-clip: text;
    background-clip: text; /* 👈 tämä poistaa warningin */

    -webkit-text-fill-color: transparent;

    text-shadow: 0 0 10px rgba(199,125,255,0.4);
}
.logo:hover {
    text-shadow: 0 0 20px rgba(199,125,255,0.8);
}
.new {
    font-size: 0.7rem;
    color: #C77DFF;
    margin-left: 8px;
}
/* ================================
   BIO PRO LAYOUT
================================ */

/* koko alue */
.bio-container {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr; /* vasen + oikea */
    gap: 80px;

    align-items: center;
}

/* TEKSTIT */
.bio-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.bio-text p {
    margin-bottom: 15px;
    color: #bbb;
    line-height: 1.6;
}

/* oikea puoli */
.band-info {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* MOBILE */
@media(max-width: 900px) {
    .bio-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .band-info {
        flex-direction: column;
    }
}
.bio-text h2 {
    border-left: 3px solid #C77DFF;
    padding-left: 15px;
}

/* ================================
   SECTION TITLE (yhtenäinen tyyli)
================================ */

.section-title {
    font-size: 2rem;
    letter-spacing: 2px;

    border-left: 3px solid #C77DFF;
    padding-left: 15px;

    max-width: 1200px;
    margin: 0 auto 40px auto;
}
.section-title {
    opacity: 0.9;
}

/* ================================
   GIGS (keikat layout)
================================ */

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

/* yksittäinen keikka */
.gig {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;

    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s;
}

/* hover efekti */
.gig:hover {
    border-color: #C77DFF;
    transform: translateX(5px);
}

/* päivämäärä korostus */
.gig span:first-child {
    color: #C77DFF;
    font-weight: 600;
}

/* ================================
   MUSIC (spotify embed)
================================ */

.music-container {
    max-width: 900px;
    margin: auto;
}

/* iframe siistimmäksi */
.music iframe {
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
}
/* ================================
   SCROLL FADE
================================ */

/* aloitustila (piilossa) */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

/* näkyvä tila */
.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}
/* ================================
   MUSIC LINKS (platformit)
================================ */

.music-links {
    margin-top: 25px;

    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* yksittäinen linkki */
.music-links a {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 10px 18px;

    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;

    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;

    transition: 0.3s;
}

/* hover */
.music-links a:hover {
    border-color: #C77DFF;
    color: #C77DFF;
    transform: translateY(-2px);
}

/* ikonit */
.music-links i {
    font-size: 1rem;
}
.music-links a:nth-child(1):hover { color: #1DB954; } /* Spotify */
.music-links a:nth-child(2):hover { color: #FF0000; } /* YouTube */
.music-links a:nth-child(3):hover { color: #FA57C1; } /* Apple */
.music-links a:nth-child(4):hover { color: #FF5500; } /* SoundCloud */

/* FOOTER PLATFORM HOVER COLORS */
.footer-links a:nth-child(1):hover { color: #1DB954; } /* Spotify */
.footer-links a:nth-child(2):hover { color: #FF0000; } /* YouTube */
.footer-links a:nth-child(3):hover { color: #FA57C1; } /* Apple Music */
.footer-links a:nth-child(4):hover { color: #FF5500; } /* SoundCloud */

/* DEEZER hover */
.music-links a:nth-child(5):hover { color: #EF5466; }
.footer-links a:nth-child(5):hover { color: #EF5466; }
.footer-links a:hover {
    transform: translateY(-4px) scale(1.1);
}

/* ================================
   FOOTER (pro)
================================ */

.footer {
    background: #050505;
    padding: 60px 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* sisältö keskelle */
.footer-content {
    max-width: 1000px;
    margin: auto;
    text-align: center;
}

/* logo */
.footer-logo {
    font-weight: 800;
    letter-spacing: 4px;
    margin-bottom: 20px;

    color: #C77DFF;
}

/* linkit */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

/* ikonit */
.footer-links a {
    color: #888;
    font-size: 1.2rem;
    transition: 0.3s;
}

/* hover */
.footer-links a:hover {
    color: #C77DFF;
    transform: translateY(-3px);
}

/* copyright */
.footer-copy {
    font-size: 0.8rem;
    color: #666;
}

/* OTSIKKO */
.box h2 {
    font-size: 1.3rem;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: #fff; /* EI enää punainen */
}

/* RELEASE TAG (LP / SINGLE / VUOSI) */
.release-tag {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: #C77DFF;

    border: 1px solid rgba(199,125,255,0.4);
    padding: 3px 8px;
    border-radius: 4px;

    margin-bottom: 10px;
}

/* UUSI badge */
.new {
    display: inline-block;
    font-size: 0.7rem;
    margin-left: 6px;
    color: #fff;

    background: linear-gradient(90deg, #C77DFF, #7B2CBF);
    padding: 3px 6px;
    border-radius: 4px;
}
.box p {
    color: #aaa;
    line-height: 1.5;
    font-size: 0.95rem;

    transition: 0.3s;
}

/* hover tuo eloa */
.box:hover p {
    color: #ddd;
}
.box {
    cursor: pointer;
}

.box:active {
    transform: scale(0.98);
}
/* ================================
   MOBILE FIX (parempi responsiivisuus)
   -> lisää tämä CSS:n loppuun
================================ */

@media (max-width: 768px) {

    /* ---------- NAVBAR ---------- */
    .nav-inner {
        padding: 15px 20px;
    }

    .logo {
        font-size: 1rem;
    }

    /* ---------- HERO ---------- */
    .header {
        height: 85vh; /* vähän pienempi */
    }

    .hero-overlay {
        transform: translateY(60px); /* vähemmän alas */
        padding: 0 15px;
    }

    .logo-hero img {
        width: 90%; /* EI enää 120% */
        max-width: 350px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 280px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    /* ---------- SECTIONS ---------- */
    section {
        padding: 60px 15px;
    }

    .section-title {
        font-size: 1.5rem;
        padding-left: 10px;
    }

    /* ---------- BOXES (julkaisut) ---------- */
    .container {
        gap: 20px;
    }

    .box {
        max-width: 100%; /* tärkeä */
        padding: 20px;
    }

    .box h2 {
        font-size: 1.1rem;
    }

    .box img {
        margin: 10px 0;
    }

    /* ---------- BIO ---------- */
    .bio-container {
        gap: 40px;
    }

    .bio-text h2 {
        font-size: 1.5rem;
    }

    .bio-text p {
        font-size: 0.95rem;
    }

    /* ---------- BAND ---------- */
    .band-image-stack {
        width: 100%;
        max-width: 280px;
        height: 360px;
    }

    .band-members {
        width: 100%;
    }

    .member {
        text-align: center;
    }

    /* ---------- GIGS ---------- */
    .gig {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    /* ---------- MUSIC ---------- */
    .music-container {
        padding: 0 10px;
    }

    .music-links {
        gap: 10px;
    }

    .music-links a {
        font-size: 0.8rem;
        padding: 8px 12px;
    }

    /* ---------- FOOTER ---------- */
    .footer {
        padding: 40px 15px;
    }

    .footer-logo {
        font-size: 1rem;
    }

    .footer-links {
        gap: 15px;
    }

    .footer-links a {
        font-size: 1rem;
    }
}
@media (max-width: 768px) {

    .hero-bg {
        background: url("../images/TAPAUS - Promokuva_2026_mobile.jpg")
        center 30% / 110% no-repeat;
    }

}

/* ================================
   FINAL FIX – BAND IMAGE MOBILE
================================ */
@media (max-width: 768px) {

    .band-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .band-image-stack {
        display: flex;
        justify-content: center;
        align-items: center;

        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        position: relative;
    }

    .member-img {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

}

.music iframe {
    box-shadow: 0 10px 40px rgba(199,125,255,0.2);
}
.music iframe:hover {
    box-shadow: 0 15px 60px rgba(199,125,255,0.4);
    transform: translateY(-3px);
}

.music-container {
    padding: 20px;
    background: rgba(255,255,255,0.02);
    border-radius: 16px;
}

.box {
    text-decoration: none;
    color: inherit;
}

/* ================================
   RELEASE CARD TOOLTIP
================================ */

.box {
    position: relative;
    overflow: hidden;
}

/* tooltip */
.box::after {
    content: "▶ Kuuntele Spotifyssa";

    position: absolute;
    left: 50%;
    bottom: 20px;

    transform: translateX(-50%) translateY(10px);

    background: rgba(15,15,15,0.92);
color: #1DB954;
    padding: 10px 16px;
    border-radius: 8px;

    font-size: 0.85rem;
    letter-spacing: 1px;

border: 1px solid rgba(29,185,84,0.5);
    opacity: 0;
    pointer-events: none;

    transition: 0.3s ease;

    backdrop-filter: blur(8px);

    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* hover */
.box:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ================================
   NEXT GIG
================================ */

.next-gig {

    display: inline-block;

    margin-top: 35px;

    font-family: 'Cutive Mono', monospace;

    font-size: 1.5rem;

    letter-spacing: 3px;

    color: #C77DFF;

    text-transform: uppercase;

    text-decoration: none;

    transition: 0.3s;

    animation: gigPulse 3s ease-in-out infinite;
}

.next-gig:hover {

    color: #ffffff;

    text-shadow:
        0 0 10px rgba(199,125,255,0.8);

    transform: translateY(-2px);
}

@keyframes gigPulse {

    0%, 100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

@media (max-width: 768px) {

    .next-gig {

        font-size: 0.9rem;

        letter-spacing: 1px;
    }

}