/* ==========================================================================
   CSS VARIABLES & BASE RESETS
   ========================================================================== */
:root {
    --primary: #58a6e7;
    --primary-dark: #3a8ccb;
    --dark: #1e252b;
    --light: #f8fafc;
    --white: #ffffff;
    --gray: #64748b;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(88, 166, 231, 0.3);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* ==========================================================================
   STRUCTURE & SECTIONS
   ========================================================================== */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

/* ==========================================================================
   HEADER & NAVIGATION (With Mobile Menu Support)
   ========================================================================== */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px; /* Ruimte tussen het plectrum en de tekst */
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.logo-img {
    height: 45px; /* Perfecte hoogte binnen de 90px hoge header */
    width: auto;
    object-fit: contain;
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
    padding: 10px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

/* Dropdown menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--dark);
}

.dropdown-menu a:hover {
    background-color: var(--light);
    color: var(--primary);
}

.nav-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* Hamburger Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: var(--dark);
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    background: linear-gradient(135deg, #1e252b 0%, #0f1316 100%);
    color: var(--white);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    opacity: 0.05;
    background: linear-gradient(90deg, transparent 49%, var(--white) 50%, transparent 51%);
    background-size: 40px 100%;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 2;
}

.hero h5 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 600;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-usp {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    background: rgba(255,255,255,0.05);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

.usp-item::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about {
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--gray);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.about-sub {
    font-family: var(--font-heading); 
    font-size: 1.2rem; 
    color: var(--primary); 
    margin-bottom: 15px; 
    font-weight: 600;
}

.about-image-mock {
    background: linear-gradient(45deg, var(--dark), var(--primary));
    border-radius: 12px;
    height: 350px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-image-mock::after {
    content: 'Studio & Leslocatie';
    position: absolute;
    bottom: 20px; left: 20px;
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    background: rgba(0,0,0,0.6);
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 0.85rem;
}

/* ==========================================================================
   POSSIBILITIES (LESSEN)
   ========================================================================== */
.possibilities {
    background-color: var(--light);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: var(--primary);
}

.card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.card-list {
    margin-bottom: 30px;
    flex-grow: 1;
}

.card-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: var(--gray);
    font-size: 0.95rem;
}

.card-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.card .btn {
    text-align: center;
    width: 100%;
}

/* ==========================================================================
   LOCATION & CTA BANNER
   ========================================================================== */
.location-cta {
    background: linear-gradient(rgba(30, 37, 43, 0.95), rgba(30, 37, 43, 0.95)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><path d="M0 0h30v30H0zm30 30h30v30H30z" fill="%232a333c" fill-opacity=".1"/></svg>');
    color: var(--white);
    text-align: center;
}

.location-content {
    max-width: 800px;
    margin: 0 auto;
}

.location-content h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.location-content p {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 35px;
}

/* ==========================================================================
   WHY US SECTION
   ========================================================================== */
.why-us {
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-item {
    position: relative;
    padding-top: 40px;
}

.feature-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(88, 166, 231, 0.2);
    position: absolute;
    top: 0;
    left: 0;
    line-height: 1;
}

.feature-item h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.feature-item p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */
.final-cta {
    background-color: var(--light);
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.final-cta h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.final-cta h3 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.final-cta .btn {
    margin-bottom: 20px;
}

.final-cta p {
    font-size: 0.95rem;
    color: var(--gray);
}

.final-cta p a {
    color: var(--primary);
    font-weight: 600;
    border-bottom: 1px dashed var(--primary);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    background-color: var(--dark);
    color: var(--gray);
    padding: 40px 0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ==========================================================================
   RESPONSIVE / MEDIA QUERIES
   ========================================================================== */
@media (max-width: 992px) {
    .cards-grid, .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex; /* Toon hamburger op mobiel */
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        background-color: var(--white);
        width: 80%;
        max-width: 400px;
        height: 100vh;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 120px 40px 40px 40px;
        gap: 20px;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1050;
    }

    .nav-menu.active {
        right: 0; /* Schuif menu in beeld */
    }

    /* Hamburger animatie naar 'X' */
    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding-left: 20px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none; /* Wordt getoggled via JS op mobiel indien gewenst */
    }
    
    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .cards-grid, .features-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
}

/* ==========================================================================
   HOMEPAGE SPECIFIEKE AFBEELDINGEN & GALERIJ
   ========================================================================== */
.hero {
    background: linear-gradient(135deg, rgba(30, 37, 43, 0.8) 0%, rgba(15, 19, 22, 0.9) 100%), 
                url('/images/gitaarles-maarssen-elektrisch-akoestisch-scaled.jpg.webp');
    background-size: cover;
    background-position: center;
}

.about-image-mock {
    background: url('/images/gitaarles-maarssen-004.jpg.webp') center/cover no-repeat !important;
}

/* Locatie Galerij Structuur */
.location-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    height: 180px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item:hover {
    transform: scale(1.03);
    border-color: var(--primary);
}

@media (max-width: 768px) {
    .location-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .gallery-item {
        height: 140px;
    }
}

/* ==========================================================================
   LIGHTBOX STYLING
   ========================================================================== */
.gallery-item img {
    cursor: pointer; /* Zorgt voor een handje bij het hoveren over de foto's */
}

.lightbox {
    display: none; /* Standaard verborgen */
    position: fixed;
    z-index: 9999; /* Zorgt dat hij altijd boven de header en content zweeft */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 19, 22, 0.95); /* Donkere overlay */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Wanneer de lightbox actief is */
.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 85%;
    max-height: 85vh;
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

/* Sluitknop (Kruisje) */
.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.lightbox-close:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 20px;
        right: 25px;
        font-size: 35px;
    }
}