/* =========================================================================
   1. CORE INSTELLINGEN & VARIABELEN
   ========================================================================= */
:root {
    --font-main: "Garamond EB", Garamond, serif;
    --color-bg: #ffffff;
    --color-text: #000000;
    --border-radius-sm: 2px;
    --border-radius-lg: 25px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease-in-out;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    margin: 0;
    padding: 0;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 800px; 
    margin: 0 auto;
    padding: 0 24px 30px 24px;
}

/* Generic Text Styles */
p { font-size: 20px;
margin-bottom: 22px;
text-align: left;
line-height: 1.3;
letter-spacing: -0.1px;}

.instruction-text { font-size: 20px; font-style: italic; margin-bottom: 12px; text-align: left; }

.qoute {font-size: 24px; font-weight: bold;  text-align: center; margin: 50px 2vw 50px 2vw;}

ul {
font-size: 20px;
margin-bottom: 22px;
}

li {
margin-bottom: 8px;
}

#bioTextStart > p:first-of-type {
	 font-size: 22px;
    letter-spacing: 0.25px;
	 line-height: 1.4;
}


/* Gedeelde Stijlen voor alle Titels */
h2, .release-title, .live-title, .epk-title, .gallery-title {
    font-size: 38px;
    font-weight: bold;
    margin: 50px 15px 0px 0;
}
h2 { margin-top: 0; text-align: left; }
.live-title { font-size: 32px; margin-top: 40px; margin-bottom: 20px; text-align: center; }
.release-title { text-align: center; }
.epk-title, .gallery-title { text-align: right; }
.gallery-title { font-size: 32px; margin-top: 25px; margin-bottom: 20px; }

h3 {font-size:24px; line-height:0; margin-top:50px; margin-bottom:0;}

/* Standaard styling voor alle links */
a {
    color: var(--color-text);
    text-decoration: underline;        
    transition: opacity var(--transition-fast); 
}

a:hover {
    opacity: 0.7;
    text-decoration: none;
}

a:visited {
    color: var(--color-text);
}


/* Afbeeldingen Algemeen */
img { width: 100%; height: auto; display: block; margin-bottom: 20px; border-radius: var(--border-radius-sm); }

/* =========================================================================
   2. NAVIGATIE & BANNER (HOOFDFOTO)
   ========================================================================= */
nav {
    position: sticky;
    top: 0;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    font-size: 38px;
    font-weight: bold;
    background-color: var(--color-bg);
    z-index: 1000;
    transition: transform var(--transition-normal);
}
nav.nav-hidden { transform: translateY(-120%); }
nav a { color: var(--color-text) !important; text-decoration: none; cursor: pointer; }

.main-photo-wrapper { position: relative; width: 100%; margin-bottom: 35px; }
.main-photo-wrapper img { margin-bottom: 0; }

/* Scroll Arrow Animation */
.scroll-arrow-container {
    position: fixed;
    bottom: 3vh;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 100;
    transition: opacity 0.4s ease, visibility 0.4s;
}
.scroll-arrow-container svg {
    /* CLAMP: clamp(minimum, voorkeur, maximum) */
    width: clamp(32px, 3vw, 64px);
    height: clamp(32px, 3vw, 64px);
    
    /* Zorgt dat ook de lijndikte perfect meeschaalt (op mobiel minimaal 2px dik) */
    stroke-width: clamp(2px, 0.3vw, 2.2px); 
    
    stroke: #ffffff;
    fill: none;
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.6));
    animation: arrowBounce 2s infinite;
}

@keyframes arrowBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

.bio-extended { display: none; opacity: 0; transition: opacity 0.4s ease; }
.bio-extended.show { display: block; opacity: 1; }
.read-more-btn {
    display: inline-block;
    font-size: 18px;
    font-style: italic;
    color: var(--color-text);
    cursor: pointer;
    margin-bottom: 20px;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.read-more-btn:hover { opacity: 0.7; }

/* =========================================================================
   3. AUDIO PLAYER, INTERFACES & FORMULIEREN
   ========================================================================= */
.form-row { display: flex; gap: 12px; width: 100%; margin-bottom: 15px; }

.input-email {
    flex: 1;
    padding: 10px 14px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    font-family: var(--font-main);
    font-size: 17px;
    font-style: italic;
    color: #222;
}

.release-container { display: flex; gap: 30px; align-items: flex-start; margin-top: 20px; }
.release-cover { width: 50%; margin-bottom: 0; cursor: pointer; transition: transform var(--transition-fast); }
.release-cover:hover { transform: scale(1.01); }
.right-column { width: 50%; display: flex; flex-direction: column; gap: 15px; }

/* Gedeelde Knop- & Tracklijst Stijlen */
.track-list { width: 100%; list-style: none; padding: 0; margin: 0; }
.track-item, .btn-inline {
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
    border: 1px solid var(--color-text);
    border-radius: var(--border-radius-lg);
    background: var(--color-bg);
    font-family: var(--font-main);
    font-style: italic;
    cursor: pointer;
    transition: background var(--transition-fast), opacity var(--transition-normal), color var(--transition-fast);
}
.track-item {
    display: flex;
    width: 100%;
    padding: 10px 18px;
    margin-bottom: 10px;
    font-size: 17px;
    pointer-events: none;
    opacity: 0.5;
}
.track-item.unlocked { pointer-events: auto; opacity: 1; }
.track-item.unlocked:hover, .track-item.active { background: #f0f0f0; }

.track-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 1px solid var(--color-text);
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
}
.track-icon svg { display: block; }

/* Speciale styling voor de single track */
.track-item.track-single {
    border: 1px dashed var(--color-text); /* Gestippelde rand in plaats van doorgetrokken */
    font-weight: bold;
    letter-spacing: 0.3px;
}

/* Extra visueel effect wanneer de single ontgrendeld is en je eroverheen hoovert */
.track-item.track-single.unlocked:hover {
    background: #f9f9f9;
}


.btn-inline {
    padding: 10px 20px;
    font-size: 16px;
    color: var(--color-text);
    white-space: nowrap;
}
.btn-inline:disabled { opacity: 0.5; pointer-events: none; cursor: not-allowed; background: var(--color-bg) !important; color: var(--color-text) !important; }
.btn-inline:not(:disabled) { background: var(--color-text); color: var(--color-bg); }
.btn-inline:not(:disabled):hover { opacity: 0.9; }

.audio-player-container { width: 100%; margin-top: 20px; }
audio { opacity: 0.5; pointer-events: none; width: 100%; }
audio.unlocked { opacity: 1; pointer-events: auto; }

/* Video & Tour Table */
.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; width: 100%; margin: 20px 0; }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

.tour-table { width: 100%; border-collapse: collapse; font-family: var(--font-main); font-size: 18px; margin: 25px 0 30px 0; }
.tour-table td { padding: 14px 0; border-bottom: 1px solid #e0e0e0; }
.tour-table td.date { width: 35%; font-style: italic; text-align: left; }
.tour-table td.venue { width: 65%; font-weight: bold; text-align: right; }

/* =========================================================================
   4. FOTOGALERIJ CARROUSEL & LIGHTBOX
   ========================================================================= */
.gallery-wrapper-layout { position: relative; display: flex; align-items: center; width: 100%; margin-bottom: 30px; }
.gallery-container { display: flex; gap: 15px; overflow-x: hidden; scroll-behavior: smooth; scroll-snap-type: x mandatory; width: 100%; padding: 5px 0; }

.gallery-item {
    flex: 0 0 calc(25% - 11.25px);
    max-width: calc(25% - 11.25px);
    scroll-snap-align: start;
    cursor: pointer;
    border: none;
    transition: transform var(--transition-fast);
    margin-bottom: 0;
    width: 100% !important;
    height: 150px;
    object-fit: contain;
    background-color: var(--color-bg);
}
.gallery-item:hover { transform: scale(1.02); }

/* Gedeelde Ronde Navigatieknoppen (Galerij + Lightbox) */
.nav-gallery-btn, .lightbox-btn {
    background: var(--color-bg);
    border: 1px solid var(--color-text);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    z-index: 10;
    transition: background var(--transition-fast), opacity var(--transition-fast);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.nav-gallery-btn:hover, .lightbox-btn:hover { background: #f0f0f0; }
.nav-gallery-btn.prev { left: -20px; }
.nav-gallery-btn.next { right: -20px; }

/* Lightbox CSS */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    user-select: none;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.lightbox.active { display: flex; opacity: 1; }

.lightbox-content {
    z-index: 2050;
    position: relative;
    max-width: 85%;
    max-height: 80%;
    object-fit: contain;
    border: none;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    transform: scale(0.98);
}
.lightbox-content.fade-out { opacity: 0; transform: scale(0.96); }
.lightbox-content.fade-in { opacity: 1; transform: scale(1); }

.lightbox-close { position: absolute; top: 25px; right: 25px; font-size: 35px; cursor: pointer; font-weight: bold; z-index: 2100; }

/* Lightbox Pijlen Specifieke Posities & Z-Index */
.lightbox-btn { width: 50px; height: 50px; top: 50%; transform: translateY(-50%); z-index: 2100; background: rgba(255, 255, 255, 0.8) !important; }
.lightbox-prev { left: 25px; }
.lightbox-next { right: 25px; }
.lightbox-btn svg { display: block; width: 12px; height: 12px; color: var(--color-text); }

/* Zorgt dat de SVG-pijlen in de lightbox perfect in het midden van de cirkel staan */
.lightbox-btn svg {
    display: block;
    width: 12px;
    height: 12px;
    color: #000000;
}

/* =========================================================================
   6. CENTRALE FOOTER STYLING
   ========================================================================= */
.site-footer {
    text-align: center;
    margin-top: 40px;
    padding-bottom: 20px;
    font-family: 'EB Garamond', Garamond, serif;
}

.footer-instagram {
    margin-bottom: 25px;
}

.footer-instagram a {
    color: #000000;
    text-decoration: none;
    display: inline-block;
}

.footer-links {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.footer-links br {
    margin-bottom: 5px;
}

.footer-divider {
    margin: 0 10px;
    opacity: 0.3;
}

.footer-copyright {
    font-size: 13px;
    opacity: 0.4;
    font-style: italic;
}



/* Accessibility helper */
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

/* =========================================================================
   5. RESPONSIVE MEDIA QUERIES (SMARTPHONES)
   ========================================================================= */
@media (max-width: 600px) {
    /* GEFIKST: Hoofdfoto blijft clean binnen tekstmarges en cropt netjes */
    .main-photo-wrapper img {
        height: 85vh;
        object-fit: cover;
        border-radius: var(--border-radius-sm);
    }

    .form-row { flex-direction: column; gap: 10px; }
    .btn-inline { width: 100%; }
    .release-container { flex-direction: column; gap: 20px; }
    .release-cover, .right-column { width: 100%; }

@media (max-width: 600px) {
    /* ... je bestaande smartphone code hier ... */

    .right-column { 
        display: flex;
        flex-direction: column;
        gap: 20px; 
    }
    
    /* HIER ZETTEN WE DE ORDERS SPECIFIEK VOOR MOBIEL NEER: */
    .right-column audio { 
        order: -1; /* Dit dwingt de player op mobiel ALTIJD naar de absolute top */
        margin-bottom: 15px;
    }
    .right-column .track-list { 
        order: 1; 
    }
}
    
    .gallery-item {
        flex: 0 0 calc(50% - 7.5px);
        max-width: calc(50% - 7.5px);
        height: 120px;
    }
    
    .tour-table { font-size: 16px; }
    nav { font-size: 30px; padding: 15px 0; }
    
    h2, .release-title, .live-title, .epk-title, .gallery-title { font-size: 30px; }
    
    .lightbox-btn { width: 40px; height: 40px; }
    .nav-gallery-btn { width: 34px; height: 34px; }
    .nav-gallery-btn.prev { left: -10px; }
    .nav-gallery-btn.next { right: -10px; }
}