/*
Theme Name: M&M Timmerbedrijf
Theme URI: https://timmerbedrijf-menm.nl
Author: Websitegroeiers
Author URI: https://websitegroeiers.nl
Description: Custom WordPress thema voor Timmerbedrijf M&M Lelystad
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: menm
*/

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #FAF7F2;
  --dark: #1A1612;
  --accent: #B8895A;
  --light-bg: #F2EDE4;
  --text: #1A1612;
  --text-light: rgba(26,22,18,0.6);
  --white: #FAF7F2;
  --whatsapp: #25D366;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', -apple-system, system-ui, 'Segoe UI', Roboto, sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.label { color: var(--accent); font-size: 11px; font-weight: 600; letter-spacing: 2.42px; text-transform: uppercase; }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--dark); color: var(--white); padding: 16px 28px; border-radius: 9999px; font-size: 15px; font-weight: 500; font-family: var(--sans); border: none; cursor: pointer; transition: opacity 0.2s; }
.btn-primary:hover { opacity: 0.85; }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--text); padding: 16px 28px; border-radius: 9999px; font-size: 15px; font-weight: 500; border: 1px solid rgba(26,22,18,0.3); cursor: pointer; transition: border-color 0.2s; }
.btn-outline:hover { border-color: var(--dark); }
.section-heading { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 5vw, 52px); line-height: 1.15; color: var(--text); }

/* HEADER */
header { position: sticky; top: 0; z-index: 100; background: rgba(250,247,242,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(26,22,18,0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: 1400px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { width: 40px; height: 40px; background: var(--dark); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.logo-icon svg { width: 22px; height: 22px; }
.logo-text { line-height: 1.1; }
.logo-text strong { font-size: 18px; font-weight: 700; display: block; }
.logo-text span { font-size: 9px; font-weight: 600; letter-spacing: 1.5px; color: var(--text-light); }
nav { display: flex; gap: 32px; }
nav a { font-size: 14px; font-weight: 500; color: var(--text-light); transition: color 0.2s; }
nav a:hover { color: var(--text); }
.header-right { display: flex; align-items: center; gap: 20px; }
.lang-toggle { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.lang-toggle button { background: none; border: none; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--text-light); font-family: var(--sans); }
.lang-toggle button.active { color: var(--text); }
.header-phone { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; }
.header-phone svg { width: 16px; height: 16px; }
.header-cta { background: var(--dark); color: var(--white); padding: 10px 20px; border-radius: 9999px; font-size: 14px; font-weight: 500; }
.hamburger { display: none; background: none; border: none; cursor: pointer; width: 40px; height: 40px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--dark); transition: 0.3s; }

/* MOBILE MENU */
.mobile-menu { position: fixed; top: 0; right: -100%; width: 100%; height: 100%; background: var(--bg); z-index: 200; transition: right 0.3s; padding: 80px 24px 24px; }
.mobile-menu.open { right: 0; }
.mobile-menu-close { position: absolute; top: 20px; right: 20px; background: none; border: none; font-size: 28px; cursor: pointer; }
.mobile-menu nav { flex-direction: column; gap: 24px; }
.mobile-menu nav a { font-size: 24px; font-weight: 500; color: var(--text); }

/* HERO */
.hero { padding: 80px 0 60px; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid rgba(26,22,18,0.15); border-radius: 9999px; font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 24px; }
.hero-badge::before { content: ''; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(42px, 6vw, 80px); line-height: 1.05; margin-bottom: 24px; }
.hero h1 .accent { color: var(--accent); font-style: italic; }
.hero-sub { font-size: 16px; color: var(--text-light); line-height: 1.7; max-width: 500px; margin-bottom: 32px; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-rating { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.hero-stars { display: flex; gap: 2px; }
.hero-stars svg { width: 18px; height: 18px; fill: var(--accent); }
.hero-rating-score { font-weight: 600; }
.hero-rating-divider { color: var(--text-light); }
.hero-rating-exp { color: var(--text-light); }
.hero-image-wrap { position: relative; }
.hero-image-wrap img { width: 100%; height: 580px; object-fit: cover; border-radius: 16px; }
.hero-exp-badge { position: absolute; bottom: 24px; left: 24px; background: white; border-radius: 16px; padding: 16px 20px; display: flex; align-items: center; gap: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.hero-exp-icon { width: 40px; height: 40px; background: rgba(184,137,90,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.hero-exp-icon svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; }
.hero-exp-text strong { font-size: 24px; font-weight: 700; display: block; line-height: 1; }
.hero-exp-text span { font-size: 13px; color: var(--text-light); }

/* MARQUEE */
.marquee-section { background: var(--dark); padding: 20px 0; overflow: hidden; }
.marquee-track { display: flex; animation: marquee 25s linear infinite; white-space: nowrap; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.marquee-item { font-family: var(--serif); font-size: 28px; font-weight: 400; color: var(--white); padding: 0 20px; display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.marquee-star { color: var(--accent); font-size: 16px; }

/* SERVICES */
.services { padding: 100px 0; }
.services-header { margin-bottom: 48px; }
.services-header .label { margin-bottom: 16px; }
.services-header .section-heading { margin-bottom: 16px; max-width: 550px; }
.services-sub { color: var(--text-light); font-size: 16px; max-width: 500px; }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.services-image { position: relative; border-radius: 12px; overflow: hidden; height: 500px; }
.services-image img { width: 100%; height: 100%; object-fit: cover; }
.services-image-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; background: linear-gradient(transparent, rgba(0,0,0,0.6)); color: white; }
.services-image-counter { font-size: 13px; opacity: 0.8; margin-bottom: 4px; }
.services-image-title { font-family: var(--serif); font-size: 24px; }
.services-list { display: flex; flex-direction: column; }
.service-item { padding: 20px 0; border-bottom: 1px solid rgba(26,22,18,0.1); cursor: pointer; display: flex; align-items: flex-start; gap: 16px; transition: background 0.2s; position: relative; }
.service-item:first-child { border-top: 1px solid rgba(26,22,18,0.1); }
.service-item.active { background: rgba(184,137,90,0.05); }
.service-icon { width: 48px; height: 48px; background: rgba(26,22,18,0.05); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.service-icon svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.5; }
.service-content { flex: 1; }
.service-content h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin-bottom: 4px; }
.service-content p { font-size: 14px; color: var(--text-light); line-height: 1.5; }
.service-arrow { position: absolute; top: 20px; right: 0; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
.service-arrow svg { width: 16px; height: 16px; stroke: var(--text-light); fill: none; }

/* ABOUT */
.about { padding: 100px 0; background: var(--light-bg); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-images { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.about-img-large { border-radius: 12px; overflow: hidden; height: 420px; }
.about-img-large img { width: 100%; height: 100%; object-fit: cover; }
.about-img-small { border-radius: 12px; overflow: hidden; height: 200px; align-self: start; }
.about-img-small img { width: 100%; height: 100%; object-fit: cover; }
.about-exp-card { background: var(--dark); color: var(--white); border-radius: 12px; padding: 32px; text-align: center; }
.about-exp-card strong { font-family: var(--serif); font-size: 48px; display: block; }
.about-exp-card span { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: rgba(250,247,242,0.7); }
.about-content .label { margin-bottom: 16px; }
.about-content .section-heading { margin-bottom: 24px; }
.about-content p { font-size: 15px; color: var(--text-light); line-height: 1.7; margin-bottom: 16px; }
.about-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0; }
.about-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 500; }
.about-check svg { width: 22px; height: 22px; flex-shrink: 0; fill: var(--dark); }

/* WERKWIJZE */
.werkwijze { padding: 100px 0; background: var(--dark); color: var(--white); }
.werkwijze .label { margin-bottom: 16px; }
.werkwijze .section-heading { color: var(--white); margin-bottom: 60px; max-width: 600px; }
.werkwijze-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.werkwijze-step .step-number { font-family: var(--serif); font-size: 72px; font-weight: 500; color: rgba(212,167,118,0.3); line-height: 1; margin-bottom: 16px; }
.werkwijze-step h3 { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.werkwijze-step p { font-size: 14px; color: rgba(250,247,242,0.6); line-height: 1.6; }

/* PROJECTS */
.projects { padding: 100px 0; }
.projects-header { margin-bottom: 48px; }
.projects-header .label { margin-bottom: 16px; }
.projects-header .section-heading { margin-bottom: 16px; }
.projects-sub { color: var(--text-light); font-size: 16px; margin-bottom: 24px; max-width: 500px; }
.projects-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn { padding: 10px 20px; border-radius: 9999px; border: 1px solid rgba(26,22,18,0.2); background: transparent; font-size: 14px; font-weight: 500; cursor: pointer; font-family: var(--sans); transition: 0.2s; }
.filter-btn.active { background: var(--dark); color: var(--white); border-color: var(--dark); }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; }
.project-card img { width: 100%; height: 100%; object-fit: cover; }
.project-card-overlay { position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0,0,0,0.7)); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; }
.project-card-badge { position: absolute; top: 16px; left: 16px; background: rgba(26,22,18,0.8); color: white; padding: 6px 12px; border-radius: 6px; font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.project-card-arrow { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.project-card-arrow svg { width: 14px; height: 14px; stroke: white; fill: none; }
.project-card h3 { font-family: var(--serif); font-size: 20px; color: white; margin-bottom: 8px; }
.project-card-meta { display: flex; gap: 16px; font-size: 13px; color: rgba(255,255,255,0.8); }
.project-card-meta span { display: flex; align-items: center; gap: 4px; }
.project-card-meta svg { width: 14px; height: 14px; stroke: currentColor; fill: none; }

/* REVIEWS */
.reviews { padding: 100px 0; background: var(--light-bg); text-align: center; }
.reviews .label { margin-bottom: 16px; }
.reviews .section-heading { margin-bottom: 16px; }
.reviews-sub { color: var(--text-light); font-size: 16px; margin-bottom: 48px; }
.review-slider { max-width: 800px; margin: 0 auto; position: relative; }
.review-slide { display: none; }
.review-slide.active { display: block; }
.review-quotes { color: var(--accent); font-size: 48px; margin-bottom: 16px; font-family: var(--serif); }
.review-stars { display: flex; justify-content: center; gap: 4px; margin-bottom: 24px; }
.review-stars svg { width: 20px; height: 20px; fill: var(--accent); }
.review-text { font-family: var(--serif); font-size: 22px; font-style: italic; line-height: 1.5; margin-bottom: 24px; color: var(--text); }
.review-author { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.review-location { font-size: 14px; color: var(--text-light); }
.review-nav { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 40px; }
.review-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(26,22,18,0.2); background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.2s; }
.review-nav button:hover { border-color: var(--dark); }
.review-nav button svg { width: 16px; height: 16px; stroke: var(--dark); fill: none; }
.review-dots { display: flex; gap: 8px; }
.review-dot { width: 8px; height: 8px; border-radius: 9999px; background: rgba(26,22,18,0.2); border: none; cursor: pointer; transition: 0.3s; padding: 0; }
.review-dot.active { width: 24px; background: var(--dark); }

/* CTA */
.cta { padding: 60px 0; }
.cta-inner { background: var(--dark); border-radius: 20px; padding: 60px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-text h2 { font-family: var(--serif); font-size: clamp(28px, 4vw, 42px); color: var(--white); font-weight: 500; margin-bottom: 12px; }
.cta-text p { color: rgba(250,247,242,0.6); font-size: 15px; }
.cta-buttons { display: flex; gap: 12px; flex-shrink: 0; }
.btn-gold-outline { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--accent); color: var(--white); padding: 16px 28px; border-radius: 9999px; font-size: 15px; font-weight: 500; background: transparent; cursor: pointer; transition: 0.2s; }
.btn-gold-outline:hover { background: rgba(184,137,90,0.1); }
.btn-white-outline { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(250,247,242,0.3); color: var(--white); padding: 16px 28px; border-radius: 9999px; font-size: 15px; font-weight: 500; background: transparent; cursor: pointer; transition: 0.2s; }
.btn-white-outline:hover { border-color: var(--white); }

/* CONTACT */
.contact { padding: 100px 0; }
.contact-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; }
.contact-info .label { margin-bottom: 16px; }
.contact-info .section-heading { margin-bottom: 16px; }
.contact-info > p { color: var(--text-light); font-size: 15px; margin-bottom: 40px; line-height: 1.7; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-icon { width: 48px; height: 48px; background: var(--dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { width: 20px; height: 20px; stroke: var(--white); fill: none; }
.contact-item-label { font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--text-light); margin-bottom: 2px; }
.contact-item-value { font-size: 15px; font-weight: 500; }
.contact-form { background: white; border-radius: 16px; padding: 40px; border: 1px solid rgba(26,22,18,0.08); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; }
.form-group label { font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--text-light); margin-bottom: 8px; }
.form-group input, .form-group textarea { padding: 14px 16px; border: 1px solid rgba(26,22,18,0.12); border-radius: 10px; font-size: 14px; font-family: var(--sans); background: var(--bg); outline: none; transition: border-color 0.2s; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group.full { margin-bottom: 16px; }
.form-submit { display: flex; justify-content: flex-end; margin-top: 8px; }
.form-submit button { display: inline-flex; align-items: center; gap: 8px; }
.form-submit button svg { width: 16px; height: 16px; stroke: var(--white); fill: none; transform: rotate(45deg); }

/* FOOTER */
footer { background: var(--dark); color: var(--white); padding: 60px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px; padding-bottom: 40px; border-bottom: 1px solid rgba(250,247,242,0.1); }
.footer-logo .logo-icon { background: rgba(250,247,242,0.1); }
.footer-logo .logo-text strong { color: var(--white); }
.footer-logo .logo-text span { color: rgba(250,247,242,0.5); }
.footer-desc { font-size: 14px; color: rgba(250,247,242,0.6); margin-top: 16px; line-height: 1.6; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; background: rgba(250,247,242,0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: 0.2s; }
.footer-social a:hover { background: rgba(250,247,242,0.15); }
.footer-social svg { width: 18px; height: 18px; fill: var(--white); }
.footer-nav h4, .footer-contact h4 { font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px; color: rgba(250,247,242,0.5); }
.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 12px; }
.footer-nav a { font-size: 14px; color: rgba(250,247,242,0.7); transition: color 0.2s; }
.footer-nav a:hover { color: var(--white); }
.footer-contact-item { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 14px; color: rgba(250,247,242,0.7); }
.footer-contact-item svg { width: 16px; height: 16px; stroke: rgba(250,247,242,0.5); fill: none; flex-shrink: 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; font-size: 13px; color: rgba(250,247,242,0.4); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(250,247,242,0.4); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--white); }

/* WHATSAPP */
.whatsapp-btn { position: fixed; bottom: 24px; right: 24px; width: 64px; height: 64px; background: var(--whatsapp); border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 99; box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: transform 0.2s; }
.whatsapp-btn:hover { transform: scale(1.1); }
.whatsapp-btn svg { width: 32px; height: 32px; fill: white; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .header-inner nav, .lang-toggle, .header-phone, .header-cta { display: none; }
  .hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-image-wrap img { height: 400px; }
  .services-grid { grid-template-columns: 1fr; }
  .services-image { height: 350px; }
  .about-inner { grid-template-columns: 1fr; }
  .werkwijze-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; text-align: center; padding: 40px; }
  .cta-buttons { justify-content: center; flex-wrap: wrap; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 36px; }
  .hero-image-wrap img { height: 300px; }
  .werkwijze-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about-checks { grid-template-columns: 1fr; }
  .marquee-item { font-size: 20px; }
}
