/*
Theme Name: Leferink Asperges
Theme URI: https://leferinkasperges.nl
Author: Leferink Asperges
Author URI: https://leferinkasperges.nl
Description: Custom WordPress theme voor Leferink Asperges - Vers uit Haaksbergen
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: leferink
Tags: custom-theme, agriculture, dutch
*/

/* =========================================================
   DESIGN TOKENS
   ========================================================= */
:root {
    --primary-blue: #00234b;
    --accent-blue:  #003a7d;
    --white:        #ffffff;
    --slate-50:     #f8fafc;
    --slate-100:    #f1f5f9;
    --slate-200:    #e2e8f0;
    --slate-400:    #94a3b8;
    --slate-500:    #64748b;
    --slate-600:    #475569;
    --slate-700:    #334155;
    --slate-800:    #1e293b;
    --slate-900:    #0f172a;
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--slate-800);
    background: var(--white);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* =========================================================
   UTILITY CLASSES
   ========================================================= */
.bg-primary-blue    { background-color: var(--primary-blue); }
.text-primary-blue  { color: var(--primary-blue); }
.border-primary-blue{ border-color: var(--primary-blue); }
.text-accent-blue   { color: var(--accent-blue); }

.max-w-7xl  { max-width: 80rem; }
.max-w-4xl  { max-width: 56rem; }
.max-w-3xl  { max-width: 48rem; }
.max-w-2xl  { max-width: 42rem; }
.mx-auto    { margin-left: auto; margin-right: auto; }
.px-6       { padding-left: 1.5rem; padding-right: 1.5rem; }

/* =========================================================
   NAVIGATION
   ========================================================= */
.site-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.site-nav__inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5rem;
}

.site-nav__logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: -0.025em;
}

.site-nav__logo span {
    font-weight: 300;
    font-style: italic;
    color: var(--accent-blue);
}

.site-nav__links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.site-nav__links a {
    font-weight: 600;
    color: var(--primary-blue);
    transition: color .2s;
}

.site-nav__links a:hover {
    color: #2563eb;
}

.site-nav__links .nav-cta {
    background: var(--primary-blue);
    color: var(--white);
    padding: .5rem 1.5rem;
    border-radius: 9999px;
    transition: background .2s;
    box-shadow: 0 4px 14px rgba(0,35,75,.35);
}

.site-nav__links .nav-cta:hover {
    background: #1e3a5f;
    color: var(--white);
}

/* Mobile menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-blue);
}

.mobile-menu {
    display: none;
    background: var(--white);
    border-top: 1px solid var(--slate-100);
    padding-bottom: 1rem;
}

.mobile-menu a {
    display: block;
    padding: .75rem 1rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.mobile-menu.is-open { display: block; }

@media (max-width: 768px) {
    .site-nav__links  { display: none; }
    .mobile-menu-btn  { display: flex; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 5rem;
    background:
        linear-gradient(rgba(0,35,75,.7), rgba(0,35,75,.7)),
        url('https://images.unsplash.com/photo-1515471204579-f33b7074747f?q=80&w=2000&auto=format&fit=crop')
        center/cover no-repeat;
}

.hero__inner {
    max-width: 56rem;
    padding: 0 1.5rem;
}

.hero__title {
    font-size: clamp(2rem, 5vw, 3.75rem);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.hero__subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 300;
    font-style: italic;
    margin-bottom: 2.5rem;
}

.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.btn-white {
    background: var(--white);
    color: var(--primary-blue);
    padding: .75rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
    transition: background .2s;
}

.btn-white:hover { background: #f1f5f9; }

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    padding: .75rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    transition: all .2s;
}

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

/* =========================================================
   INTRO
   ========================================================= */
.intro-section {
    padding: 5rem 0;
    background: var(--slate-50);
    text-align: center;
}

.intro-section p.quote {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-style: italic;
    line-height: 1.8;
    color: var(--slate-700);
    max-width: 48rem;
    margin: 0 auto;
}

.intro-section p.sub {
    margin-top: 1.5rem;
    color: var(--slate-600);
}

/* =========================================================
   ONS VERHAAL
   ========================================================= */
.verhaal-section {
    padding: 6rem 0;
    background: var(--white);
}

.verhaal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 768px) {
    .verhaal-grid { grid-template-columns: 1fr; }
}

.verhaal-section h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--primary-blue);
    margin-bottom: 2rem;
}

.verhaal-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--slate-700);
    margin-bottom: 1.5rem;
}

.verhaal-badge {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: var(--primary-blue);
    color: var(--white);
    padding: 2rem;
    border-radius: .75rem;
}

.verhaal-badge p:first-child {
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: .25rem;
}

.verhaal-badge p:last-child {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #93c5fd;
}

.verhaal-img-wrap {
    position: relative;
}

.verhaal-img-wrap .img-inner {
    aspect-ratio: 1;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
    border: 8px solid var(--white);
}

.verhaal-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .verhaal-badge { display: none; }
}

/* =========================================================
   HET PROCES
   ========================================================= */
.proces-section {
    padding: 6rem 0;
    background: var(--primary-blue);
    color: var(--white);
}

.proces-section h2 {
    font-size: clamp(1.75rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.proces-section .subtitle {
    color: #bfdbfe;
    max-width: 42rem;
    margin: 0 auto;
}

.proces-section .text-center { text-align: center; }
.proces-section .mb-16      { margin-bottom: 4rem; }

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.process-card {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: .75rem;
    padding: 1.5rem;
    text-align: center;
    transition: transform .3s ease;
}

.process-card:hover { transform: translateY(-5px); }

.process-card__number {
    width: 3rem;
    height: 3rem;
    background: var(--white);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

.process-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: .5rem;
}

.process-card p {
    font-size: .85rem;
    color: #bfdbfe;
}

/* =========================================================
   DE WINKEL
   ========================================================= */
.winkel-section {
    padding: 6rem 0;
    background: var(--white);
}

.winkel-flex {
    display: flex;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 1024px) {
    .winkel-flex { flex-direction: column; }
    .winkel-flex .winkel-images { order: 2; width: 100%; }
    .winkel-flex .winkel-text   { order: 1; width: 100%; }
}

.winkel-images {
    width: 50%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.winkel-images .col-offset { padding-top: 2rem; }

.winkel-images img {
    border-radius: .75rem;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    width: 100%;
}

.winkel-text { width: 50%; }

.winkel-text h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--primary-blue);
    margin-bottom: 2rem;
}

.winkel-text > p {
    font-size: 1.1rem;
    color: var(--slate-700);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.winkel-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.winkel-checklist li {
    display: flex;
    align-items: center;
    color: var(--slate-700);
    font-size: 1rem;
}

.winkel-checklist li svg {
    color: var(--accent-blue);
    margin-right: .75rem;
    flex-shrink: 0;
}

.winkel-tagline {
    font-weight: 600;
    font-style: italic;
    color: var(--primary-blue);
    font-size: 1.1rem;
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact-section {
    padding: 6rem 0;
    background: var(--slate-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

@media (max-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* Info card */
.contact-info-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0,0,0,.08);
}

.contact-info-card h2 {
    font-size: 1.875rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-detail svg { color: var(--accent-blue); flex-shrink: 0; margin-top: .2rem; }
.contact-detail h4  { font-weight: 700; margin-bottom: .25rem; }
.contact-detail p   { color: var(--slate-600); }

.map-placeholder {
    width: 100%;
    height: 16rem;
    background: var(--slate-200);
    border-radius: .75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    color: var(--slate-500);
    font-style: italic;
    margin-top: 1.5rem;
}

/* Hours card */
.hours-card {
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
}

.hours-card h2 {
    font-size: 1.875rem;
    margin-bottom: 2rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding-bottom: .75rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
    margin-bottom: .75rem;
}

.hours-row.sunday {
    border-bottom: none;
    color: #bfdbfe;
    font-style: italic;
}

.hours-note {
    margin-top: 3rem;
    background: rgba(255,255,255,.1);
    border-radius: .75rem;
    padding: 1.5rem;
}

.hours-note h4 { font-weight: 600; margin-bottom: .5rem; }
.hours-note p  { font-size: .875rem; color: #bfdbfe; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
    background: var(--slate-900);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.site-footer__logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}

.site-footer__logo span {
    font-weight: 300;
    font-style: italic;
    color: #60a5fa;
}

.site-footer__tagline {
    color: var(--slate-400);
    font-style: italic;
    margin-bottom: 2rem;
}

.site-footer__copy {
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
    font-size: .875rem;
    color: var(--slate-500);
}

/* =========================================================
   WORDPRESS ALIGNMENT HELPERS
   ========================================================= */
.alignleft  { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }
.aligncenter{ display: block; margin: 0 auto; }

/* =========================================================
   ELEMENTOR OVERRIDES
   ========================================================= */
.elementor-widget-leferink-hero .hero            { min-height: 100vh; }
.elementor-widget-leferink-process .process-grid { margin-top: 0; }

/* =========================================================
   WORDPRESS CUSTOM LOGO
   ========================================================= */

/* Header logo */
.site-nav .custom-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-nav .custom-logo-link img.custom-logo {
    height: 72px !important;
    width: auto !important;
    max-width: 300px !important;
    max-height: 72px !important;
    display: block;
    object-fit: contain;
    /* Overschrijft WordPress inline width/height attributen */
    aspect-ratio: auto !important;
}

/* Footer logo – wit maken op donkere achtergrond */
.site-footer__logo .custom-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.site-footer__logo .custom-logo-link img.custom-logo {
    height: 60px !important;        /* jouw huidige waarde */
    width: auto !important;
    max-width: 200px !important;
    max-height: 60px !important;
    display: block;
    object-fit: contain;
    aspect-ratio: auto !important;
    filter: brightness(0) invert(1); /* ← dit maakt het logo wit */
}
