/* ========================================
   EDWARD MEIJER — WIX-STYLE THEME
   Licht, professioneel, clean
   Gebaseerd op de live edwardmeijer.nl Wix-site
   ======================================== */

:root {
    /* Light Palette */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F8F8;
    --bg-accent: #F0F0F0;
    --text-primary: #2C2C2C;
    --text-secondary: #555555;
    --text-muted: #888888;
    --border-light: #E8E8E8;
    --border-medium: #D0D0D0;
    --accent-gold: #8B7355;
    --accent-dark: #1C1C1C;
    
    /* Typography */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    
    /* Layout */
    --max-content: 1100px;
    --header-height: 86px;
    
    /* Transitions */
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.3;
}

h1 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: var(--space-md);
}

h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.875rem);
    margin-bottom: var(--space-sm);
}

h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--text-primary);
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   HEADER / LOGO
   ======================================== */

.site-header {
    background: rgba(255,255,255,0.96);
    border-bottom: 1px solid var(--border-light);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}

.site-header .header-inner {
    max-width: var(--max-content);
    margin: 0 auto;
    padding: 0.85rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
}

.site-header .site-logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.site-header .site-logo img {
    max-height: 86px;
    width: auto;
}

/* Hamburger - Mobile only */
.hamburger {
    display: none;
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 110;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 5px 0;
    transition: var(--transition-smooth);
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   NAVIGATION
   ======================================== */

.main-nav {
    background: transparent;
    border-bottom: none;
    padding: 0;
    flex: 1 1 auto;
}

.main-nav ul {
    max-width: none;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.15rem;
}

.main-nav ul li {
    position: relative;
}

.main-nav ul li a {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.65rem 0.85rem;
    color: var(--text-secondary);
    font-size: 0.86rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    border-bottom: 2px solid transparent;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.main-nav ul li a svg {
    transition: transform 0.2s ease;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: var(--text-primary);
    background: rgba(139,115,85,0.07);
    border-bottom-color: transparent;
}

/* CTA link styling */
.main-nav ul li a.nav-cta {
    color: var(--bg-primary);
    background: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    font-weight: 600;
    margin-left: 0.35rem;
    padding: 0.7rem 1rem;
}

.main-nav ul li a.nav-cta:hover {
    color: var(--accent-gold);
    background: var(--bg-primary);
}

/* Dropdown menus */
.main-nav .has-dropdown .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--bg-primary);
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 14px 30px rgba(0,0,0,0.11);
    padding: 0.5rem 0;
    border-radius: 0 0 4px 4px;
    list-style: none;
    z-index: 1000;
}

.main-nav .has-dropdown:hover .dropdown,
.main-nav .has-dropdown:focus-within .dropdown {
    display: block;
}

.main-nav .has-dropdown:hover > a svg,
.main-nav .has-dropdown:focus-within > a svg {
    transform: rotate(180deg);
}

.main-nav .dropdown li a {
    padding: 0.7rem 1.5rem;
    font-size: 0.85rem;
    border-bottom: none;
    border-radius: 0;
    white-space: nowrap;
}

.main-nav .dropdown li a:hover {
    background: var(--bg-secondary);
    border-bottom: none;
}

/* Mobile Nav Overlay */
.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.98);
    z-index: 95;
    padding-top: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
}

.mobile-nav.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav ul {
    list-style: none;
    padding: 1.25rem 1.5rem 2rem;
    text-align: left;
    max-width: 420px;
    margin: 0 auto;
}

.mobile-nav ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0.25rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-light);
}

.mobile-nav ul li a.nav-cta {
    justify-content: center;
    margin: 0.75rem 0 0.35rem;
    padding: 0.9rem 1rem;
    color: var(--bg-primary);
    background: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    border-radius: 4px;
}

/* ========================================
   MAIN CONTENT
   ======================================== */

.page-content-wrapper {
    max-width: var(--max-content);
    margin: 0 auto;
    padding: var(--space-xl) 2rem;
}

.page-content {
    line-height: 1.8;
}

.page-content p {
    margin-bottom: 1.2rem;
}

.page-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
}

.page-content ul li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

/* Two column layout for homepage */
.two-col-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.two-col-layout .col-image {
    position: relative;
}

.two-col-layout .col-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
}

.two-col-layout .col-text {
    padding-top: 1rem;
}

/* ========================================
   SPECIALITEITEN GRID
   ======================================== */

.diensten-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.dienst-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.dienst-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.dienst-card:hover img {
    transform: scale(1.05);
}

.dienst-card .dienst-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 2rem 1rem 1rem;
    color: white;
}

.dienst-card .dienst-overlay h3 {
    color: white;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========================================
   PIANO'S GRID
   ======================================== */

.pianos-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-xl);
}

.piano-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.piano-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.piano-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.piano-card .piano-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.piano-card .piano-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.piano-card:hover .piano-image img {
    transform: scale(1.03);
}

.piano-card .piano-info {
    padding: 1.25rem;
}

.piano-card .piano-info h3 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.piano-card .piano-info .piano-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ========================================
   REFERENTIES
   ======================================== */

.referenties-quote {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-secondary);
    text-align: center;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 2rem;
}

.referenties-quote cite {
    display: block;
    font-size: 1rem;
    font-style: normal;
    font-family: var(--font-sans);
    margin-top: 1rem;
    color: var(--text-muted);
}

.referenties-list {
    column-count: 2;
    column-gap: 3rem;
}

.referenties-list h3 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.referenties-list ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.referenties-list ul li {
    padding: 0.25rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.referenties-list ul li::before {
    content: "• ";
    color: var(--accent-gold);
}

/* ========================================
   BLOG
   ======================================== */

.blog-index-title {
    max-width: 1080px;
    margin: 0 auto 2rem;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    line-height: 1;
}

.blog-overview {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139,115,85,0.28);
    box-shadow: 0 16px 36px rgba(0,0,0,0.08);
}

.blog-card-image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bg-secondary);
}

.blog-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px 4px 0 0;
    transition: transform 0.5s ease;
}

.blog-card:hover img {
    transform: scale(1.04);
}

.blog-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.25rem 1.3rem 1.35rem;
}

.blog-card-title-link {
    color: inherit;
}

.blog-card-content h2 {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    line-height: 1.15;
    font-weight: 500;
    margin-bottom: 0.55rem;
    color: var(--text-primary);
}

.blog-date {
    order: -1;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.55rem;
}

.blog-excerpt {
    line-height: 1.75;
    margin-bottom: 1rem;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border-light);
    font-size: 0.86rem;
    color: var(--accent-gold);
    font-weight: 500;
}

.btn-read-more svg {
    transition: transform 0.2s ease;
}

.blog-card:hover .btn-read-more svg {
    transform: translateX(3px);
}

.blog-article-detail {
    max-width: 1080px;
    margin: 0 auto;
}

.blog-top-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
    font-size: 0.86rem;
    font-weight: 500;
}

.blog-top-link:hover {
    color: var(--accent-gold);
}

.blog-header {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 2.2rem;
}

.blog-header h1 {
    font-size: clamp(2.35rem, 5vw, 4.25rem);
    line-height: 0.98;
    margin-bottom: 1.15rem;
}

.blog-meta {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.blog-date-icon {
    display: none;
}

.blog-featured-image {
    margin: 0 0 2.75rem;
}

.blog-featured-image img {
    width: 100%;
    aspect-ratio: 16 / 8.6;
    object-fit: cover;
    border-radius: 4px;
}

.blog-article-shell {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 0.25rem;
}

.blog-content-body {
    font-size: 1.03rem;
    line-height: 1.95;
}

.blog-content-body > p:first-child {
    font-family: var(--font-serif);
    font-size: 1.32rem;
    line-height: 1.55;
    color: var(--text-primary);
}

.blog-content-body h2,
.blog-content-body h3 {
    margin-top: 2.3rem;
    margin-bottom: 0.8rem;
}

.blog-content-body h2 {
    font-size: 1.9rem;
}

.blog-content-body h3 {
    font-size: 1.45rem;
}

.blog-content-body ul {
    padding-left: 1.25rem;
    margin-bottom: 1.5rem;
}

.blog-content-body li {
    margin-bottom: 0.45rem;
    line-height: 1.75;
}

.blog-media-gallery {
    margin-top: 3.5rem;
    padding-top: 2.4rem;
    border-top: 1px solid var(--border-light);
}

.media-gallery-title {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.78rem;
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.blog-photos {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.blog-photo {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 4px;
    background: var(--bg-secondary);
}

.blog-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.blog-photo:hover img {
    transform: scale(1.04);
}

.blog-footer {
    max-width: 760px;
    margin: 3rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-gold);
    font-weight: 500;
}

.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.86);
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-overlay img {
    max-width: min(92vw, 1200px);
    max-height: 86vh;
    border-radius: 4px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: white;
    cursor: pointer;
    border-radius: 4px;
}

.lightbox-close {
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    font-size: 1.8rem;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    width: 46px;
    height: 54px;
    transform: translateY(-50%);
    font-size: 2.2rem;
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

@media (max-width: 980px) {
    .blog-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog-photos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .blog-index-title {
        margin-bottom: 1.5rem;
    }

    .blog-overview,
    .blog-photos {
        grid-template-columns: 1fr;
    }

    .blog-header {
        text-align: left;
    }

    .blog-header h1 {
        font-size: 2.35rem;
    }

    .blog-featured-image img {
        aspect-ratio: 4 / 3;
    }

    .blog-content-body > p:first-child {
        font-size: 1.18rem;
    }

    .lightbox-prev,
    .lightbox-next {
        display: none;
    }
}

/* ========================================
   CONTACT
   ======================================== */

.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-medium);
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 2px solid var(--accent-dark);
    color: var(--accent-dark);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: none;
    border-radius: 4px;
    transition: var(--transition-smooth);
    cursor: pointer;
    text-decoration: none;
}

.btn:hover {
    background: var(--accent-dark);
    color: var(--bg-primary);
}

.btn-primary {
    background: var(--accent-dark);
    color: var(--bg-primary);
    border-color: var(--accent-dark);
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent-dark);
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-light);
    padding: 3rem 2rem 2rem;
    margin-top: var(--space-2xl);
}

.footer-inner {
    max-width: var(--max-content);
    margin: 0 auto;
    text-align: center;
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logos img {
    height: 50px;
    width: auto;
    opacity: 0.8;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-socials a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-socials a:hover {
    color: var(--text-primary);
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    :root {
        --header-height: 76px;
    }

    .site-header .header-inner {
        padding: 0.65rem 1.25rem;
    }

    .site-header .site-logo img {
        max-height: 62px;
    }

    .hamburger {
        display: block;
        right: 1.25rem;
    }

    .main-nav {
        display: none;
    }

    .mobile-nav.active {
        display: block;
    }

    .two-col-layout {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .two-col-layout .col-image {
        order: -1;
    }

    .diensten-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .contact-section {
        grid-template-columns: 1fr;
    }

    .referenties-list {
        column-count: 1;
    }

    .page-content-wrapper {
        padding: var(--space-lg) 1.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1060px) {
    .site-header .header-inner {
        padding: 0.75rem 1.25rem;
        gap: 1rem;
    }

    .site-header .site-logo img {
        max-height: 72px;
    }

    .main-nav ul li a {
        padding: 0.6rem 0.55rem;
        font-size: 0.8rem;
    }

    .main-nav ul li a.nav-cta {
        padding: 0.65rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .site-header .site-logo img {
        max-height: 56px;
    }

    .diensten-grid {
        grid-template-columns: 1fr;
    }

    .blog-overview {
        grid-template-columns: 1fr;
    }

    .piano-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
