/*
Theme Name: SPARKIN' Dynamic
Theme URI: https://example.com/
Author: SPARKIN'
Description: Volledig dynamisch one-page WordPress-thema voor SPARKIN'. Bandleden, setlist, media en instellingen zijn beheerbaar vanuit WordPress.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: sparkin
*/
:root {
    --bg-color: #202124;
    --bg-card: #23242c;
    --text-main: #F5F5F7;
    --text-muted: #94A3B8;
    --spark: #D6A800; /* Donkerder geel */
}

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

/* Zorgt voor de vloeiende scrollbeweging */
html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 75px; /* Voorkomt dat content onder de vaste header valt */
}

h1, h2, h3, h4 {
    font-family: 'Syne', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* CONTAINER VOOR LOGO & SPARKLE */
.logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-logo {
    display: block;
    max-width: 100%;
    height: auto;
}

/* SPARKLE AFBEELDING MET POSITIONERING */
.sparkle-overlay {
    position: absolute;
    top: 10px;          /* Pas aan om de hoogte te wijzigen */
    right: 120px;       /* Pas aan om de horizontale positie te wijzigen */
    width: 150px;       /* Grootte van de sparkle */
    height: auto;
    pointer-events: none; /* Voorkomt dat de afbeelding het klikken blokkeert */
    animation: sparkleGlow 2.5s infinite ease-in-out alternate;
}

/* ANIMATIE: ADEMEN, SCHALEN EN LICHT DRAAIEN */
@keyframes sparkleGlow {
    0% {
        transform: scale(0.8) rotate(-10deg);
        opacity: 0.5;
        filter: drop-shadow(0 0 2px var(--spark));
    }
    100% {
        transform: scale(1.2) rotate(15deg);
        opacity: 1;
        filter: drop-shadow(0 0 12px var(--spark));
    }
}

/* HEADER - Altijd in zicht (Fixed) */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(32, 33, 36, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
}

.logo span {
    color: var(--spark);
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

nav a:hover {
    color: var(--spark);
}

/* HERO */
.hero {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(32, 33, 36, 0.48), rgba(32, 33, 36, 0.78)), var(--sparkin-hero-bg, none) center/cover no-repeat;
}

.hero-content h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
}

.audio-btn {
    background: transparent;
    border: 2px solid var(--spark);
    color: var(--text-main);
    padding: 12px 28px;
    font-family: 'Syne', sans-serif;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.1em;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.audio-btn:hover {
    background-color: var(--spark);
    color: var(--bg-color);
}

/* SECTION STYLE */
section {
    padding: 100px 0;
}

.section-music-note {
    height: 28px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.section-music-note::before {
    content: "♫";
    color: var(--spark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    line-height: 1;
    opacity: 0.65;
    text-shadow: 0 0 8px rgba(214, 168, 0, 0.25);
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 60px;
    position: relative;
}

/* LINE-UP */
.grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.member-card {
    text-align: center;
}

.img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 15px;
    background-color: var(--bg-card);
}

.member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.4s ease, transform 0.4s ease;
}

.member-card:hover .member-img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.member-card h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.member-card p {
    color: var(--spark);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
}

/* SETLIST */
.setlist-container {
    max-width: 600px;
    margin: 0 auto;
}

.setlist-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.track-num {
    color: var(--spark);
    font-family: 'Syne', sans-serif;
    font-weight: bold;
    margin-right: 20px;
    font-size: 14px;
}

.track-info {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.track-meta {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 400;
    align-self: center;
}

/* CONTACT FORM */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-weight: 600;
}

.form-control {
    width: 100%;
    background-color: var(--bg-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    border-radius: 4px;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--spark);
}

.submit-btn {
    width: 100%;
    background-color: var(--spark);
    color: var(--bg-color);
    border: none;
    padding: 14px;
    font-family: 'Syne', sans-serif;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.1em;
    cursor: pointer;
    border-radius: 4px;
    text-transform: uppercase;
    transition: opacity 0.2s ease;
}

.submit-btn:hover {
    opacity: 0.6;
}

/* FOOTER */
footer {
    padding: 40px 0;
    background-color: var(--bg-color);
}

.footer-line {
    height: 28px;
    margin-bottom: 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-line::before {
    content: "♫";
    color: var(--spark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    line-height: 1;
    opacity: 0.65;
    text-shadow: 0 0 8px rgba(214, 168, 0, 0.25);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-muted);
}

/* TERUG NAAR BOVEN */
#backToTop {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--spark);
    color: var(--bg-color);
    border: none;
    border-radius: 50%;
    font-size: 22px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTop:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    body {
        padding-top: 105px; /* Extra ruimte op mobiel i.v.m. omgeklapte header */
    }
    .grid-5 {
        grid-template-columns: 1fr;
    }
    .header-inner, .footer-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    nav a {
        margin: 0 10px;
    }
    .hero-content h2 {
        font-size: 32px;
    }
}
/* Dynamic WordPress additions */
.sparkin-admin-note { padding: 12px 20px; text-align: center; background: var(--spark); color: var(--bg-color); }
.sparkin-empty { text-align:center; color:var(--text-muted); }
.custom-logo { max-width: 100%; height: auto; }
