/* Algemene instellingen */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, serif;
    background: #f3e8d0;
    color: #2e1f14;
    line-height: 1.6;
}

/* Header */

header {
    background: #4b2e1e;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo img {
    height: 70px;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 25px;
    font-weight: bold;
    transition: .3s;
}

nav a:hover {
    color: #d7b88b;
}

/* Hero */

.hero {
    height: 85vh;
    background: url("../images/hero.jpg") center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    color: rgb(255, 255, 255);
}

.hero h1 {
    font-size: 70px;
    text-shadow: 2px 2px 10px black;
}

.hero p {
    font-size: 24px;
    margin: 20px 0;
    text-shadow: 2px 2px 8px black;
}

.button {
    background: #7a4b2b;
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 8px;
    transition: .3s;
}

.button:hover {
    background: #9c633d;
}

/* Pagina */

.page,
.intro {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    padding: 60px 0;
}

.page h1,
.intro h2 {
    margin-bottom: 20px;
}

/* Kaarten */

.cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 40px;
}

.card {
    width: 300px;
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
    transition: .3s;
}

.card:hover {
    transform: translateY(-6px);
}

.card h3 {
    margin-bottom: 15px;
}

/* Gallery */

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.gallery img {
    width: 100%;
    border-radius: 12px;
    transition: .3s;
    box-shadow: 0 5px 15px rgba(0,0,0,.2);
}

.gallery img:hover {
    transform: scale(1.03);
}

/* Video */

.video {
    display: flex;
    justify-content: center;
    margin: 40px auto;
}

.video video {
    width: 100%;
    max-width: 700px;   /* kleiner */
    border-radius: 15px;
    box-shadow: 0 12px 30px rgba(0,0,0,.35);
}

/* Formulieren */

form {
    max-width: 650px;
    margin: auto;
    display: flex;
    flex-direction: column;
}

input,
textarea {
    padding: 15px;
    margin: 12px 0;
    border: 1px solid #bfa17d;
    border-radius: 8px;
    font-size: 16px;
}

textarea {
    resize: vertical;
    min-height: 180px;
}

button {
    background: #7a4b2b;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: .3s;
    font-size: 16px;
}

button:hover {
    background: #5e3821;
}

/* Footer */

footer {
    background: #4b2e1e;
    color: white;
    text-align: center;
    padding: 35px 20px;
    margin-top: 60px;
}

/* Social media iconen */

.social {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 18px;
}

.social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: white;
    text-decoration: none;
    transition: .3s;
}

.social a svg {
    width: 28px;
    height: 28px;
    fill: white;
    transition: .3s;
}

.social a:hover svg {
    fill: #d7b88b;
    transform: scale(1.15);
}

.social a:hover {
    transform: translateY(-3px);
}

/* Mobiel (Algemeen) */

@media (max-width: 800px) {

    header {
        flex-direction: column;
    }

    nav {
        margin-top: 20px;
    }

    nav a {
        display: inline-block;
        margin: 8px;
    }

    .hero h1 {
        font-size: 45px;
    }

    .hero p {
        font-size: 18px;
    }

    .cards {
        padding: 20px;
    }

    .card {
        width: 100%;
    }

    .video video {
        max-width: 100%;
    }
    
}

/* ==========================================================================
   JUKEBOX SPECIFIEKE STYLING (LP EN VINYL CONTINU SPIN)
   ========================================================================== */

.jukebox-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #fcfaf2; /* Rustige lichte achtergrond voor de platenkast look */
}

.jukebox-section h1 {
    font-size: 42px;
    color: #4b2e1e;
    margin-bottom: 10px;
}

.jukebox-intro {
    font-size: 16px;
    color: #6e5443;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

/* Het platenkast Grid */
.jukebox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 50px 40px; /* Genoeg ruimte aan de rechterkant voor de uitstekende LP */
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* De LP Container */
.jukebox-item {
    position: relative;
    display: block;
    width: 180px;
    height: 180px;
    margin: 0 auto;
    text-decoration: none;
    cursor: pointer;
}

/* De CSS Vinyl Plaat (Staat er nu standaard half uit) */
.vinyl-record {
    position: absolute;
    top: 5px;
    left: 75px; /* Schuift de LP standaard naar rechts achter de hoes vandaan */
    width: 170px;
    height: 170px;
    /* Geeft de LP de groeven en glans */
    background: radial-gradient(circle, #1a1a1a 30%, #2c2c2c 31%, #111 40%, #222 41%, #050505 60%, #1a1a1a 61%, #000 70%);
    border-radius: 50%;
    box-shadow: 2px 4px 10px rgba(0,0,0,0.4);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Oneindig vloeiend ronddraaien */
    animation: spin-record 3s linear infinite;
}

/* De Sticker in het midden van de LP */
.vinyl-label {
    width: 55px;
    height: 55px;
    background: #d7b88b; /* Warme vintage kleur */
    border-radius: 50%;
    border: 4px solid #111;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
}

/* De Album Hoes (Blijft nu strak stilstaan) */
.album-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 180px;
    height: 180px;
    background: #4b2e1e; /* Warme bruine The Ramble cover */
    z-index: 2; /* Valt altijd over de linkerhelft van de LP */
    box-shadow: 4px 4px 15px rgba(0,0,0,0.3);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 15px;
    box-sizing: border-box;
    border: 1px solid rgba(255,255,255,0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* De songtitel op de hoes */
.album-cover h3 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    text-align: left;
    line-height: 1.3;
    text-shadow: 1px 2px 4px rgba(0,0,0,0.85);
    font-family: 'Arial', sans-serif;
    word-wrap: break-word;
}

/* Subtiele feedback bij hover op het album */
.jukebox-item:hover .album-cover {
    transform: scale(1.02); /* Hoes komt heel subtiel naar voren bij hover */
    box-shadow: 5px 6px 20px rgba(75, 46, 30, 0.4);
}

/* --- DRAAI ANIMATIE DEFINITIE --- */
@keyframes spin-record {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   JUKEBOX MOBIELE OPTIMALISATIE
   ========================================================================== */
@media (max-width: 550px) {
    .jukebox-grid {
        grid-template-columns: repeat(2, 1fr); /* Netjes 2 kolommen op mobiel */
        gap: 35px 25px; /* Genoeg breedte-ruimte voor de uitstekende LP's */
        padding: 5px;
    }
    
    .jukebox-item {
        width: 135px;
        height: 135px;
    }
    
    .album-cover {
        width: 135px;
        height: 135px;
        padding: 10px;
    }
    
    .vinyl-record {
        width: 125px;
        height: 125px;
        top: 5px;
        left: 50px; /* Positieverplaatsing meegeschaald voor mobiel */
    }
    
    .vinyl-label {
        width: 38px;
        height: 38px;
        border-width: 3px;
    }
    
    .album-cover h3 {
        font-size: 11px;
    }
}