/* ==========================================================================
   PATRICK METTEN SCHILDERWERKEN - EXACTE ARCHITECTONISCHE DESIGN COMPOSITIE
   1-op-1 afgestemd op de goedgekeurde ontwerpinspiratie
   ========================================================================== */

:root {
  /* Kleuren uit het ontwerp */
  --pm-dark: #16201c;        /* Diep petrol / donkergroen uit de paneeldeur */
  --pm-ochre: #b57a2a;       /* Warme okerkleur van de knoppen en pijltjes */
  --pm-ochre-hover: #9e6921;
  --pm-sage-light: #e7ebe4;  /* Zachtgroene achtergrondkleur van de banner rechtsonder */
  --pm-bg-page: #fcfbf9;     /* Zacht linnen / gebroken wit van de pagina */
  --pm-card-bg: #ffffff;
  
  --text-main: #141c19;
  --text-muted: #616a65;
  --text-light: #ffffff;

  --border-subtle: #e5e1d7;

  /* Typografie uit het ontwerp */
  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Nunito', 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-script: 'Caveat', 'Rollerscript', cursive;

  --radius-btn: 3px;         /* Karakteristieke subtiele afronding van de knoppen uit het ontwerp */
  --radius-card: 4px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--pm-bg-page);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 70px;
}

@media (min-width: 769px) {
  body {
    padding-bottom: 0;
  }
}

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

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

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 768px) {
  .container-wide {
    padding: 0 16px;
  }
}

/* ==========================================================================
   1. Header (Exacte Typografie & Knop)
   ========================================================================== */
header.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-editorial {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #1a221f;
  line-height: 1;
}

.brand-sub {
  font-family: var(--font-sans);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #5d6762;
  margin-top: 4px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: #2b3530;
  transition: color 0.2s ease;
}

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

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-divider {
  width: 1px;
  height: 24px;
  background: #cfcbc2;
}

/* ==========================================================================
   2. Knoppen uit het Ontwerp
   ========================================================================== */
.btn-ochre {
  background: var(--pm-ochre);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--radius-btn);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--pm-ochre);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-ochre:hover {
  background: var(--pm-ochre-hover);
  border-color: var(--pm-ochre-hover);
  color: #ffffff;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(255, 255, 255, 0.75);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.32);
  border-color: #ffffff;
  color: #ffffff;
}

.link-ochre {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--pm-ochre);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--pm-ochre);
  padding-bottom: 2px;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.link-ochre:hover {
  gap: 10px;
  color: var(--pm-ochre-hover);
}

/* ==========================================================================
   3. Split Hero (Woonkamer Links + Groene Deur Rechts)
   ========================================================================== */
.split-hero {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 16px;
  align-items: stretch;
  width: 100%;
}

.hero-left-card {
  position: relative;
  min-height: 520px;
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 56px 48px;
  background-size: cover;
  background-position: center center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.hero-left-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16, 24, 21, 0.6) 0%, rgba(16, 24, 21, 0.2) 50%, rgba(16, 24, 21, 0.65) 100%);
  z-index: 1;
}

.hero-left-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.hero-editorial-h1 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.8vw, 54px);
  font-weight: 400;
  line-height: 1.14;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  max-width: 640px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero-editorial-slogan {
  font-family: var(--font-script);
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 32px;
  opacity: 0.95;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-btn-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-right-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  min-height: 520px;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.hero-right-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   4. Recente Projecten Sectie (Titel Links + 3 Kaarten Rechts)
   ========================================================================== */
.projects-showcase-section {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: center;
  width: 100%;
}

.projects-intro-col {
  display: flex;
  flex-direction: column;
}

.tag-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #636d67;
  margin-bottom: 14px;
}

.section-serif-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.18;
  color: #141c19;
  margin-bottom: 22px;
}

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

.project-img-card {
  position: relative;
  height: 220px;
  width: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  display: block;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.project-img-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.project-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

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

.card-label-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(14, 20, 18, 0.85) 100%);
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-feature-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 24px 22px;
  height: 220px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-sizing: border-box;
}

.service-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.service-feature-dash {
  width: 24px;
  height: 2px;
  background: var(--pm-ochre);
  margin-bottom: 12px;
}

.service-feature-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--pm-dark);
  margin-bottom: 8px;
  line-height: 1.25;
}

.service-feature-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   5. Bottom Split Banner (Verfpot Links + Sage Tekstvlak Rechts)
   ========================================================================== */
.bottom-split-banner {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
  width: 100%;
}

.banner-left-img {
  border-radius: var(--radius-card);
  overflow: hidden;
  height: 230px;
  width: 100%;
}

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

.banner-right-content {
  background: var(--pm-sage-light);
  border-radius: var(--radius-card);
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 230px;
}

.banner-ochre-dash {
  width: 32px;
  height: 2px;
  background: var(--pm-ochre);
  margin-bottom: 16px;
}

.banner-serif-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 400;
  line-height: 1.2;
  color: #141c19;
  margin-bottom: 16px;
}

/* ==========================================================================
   6. Subpage Luxe Editorial Stijlen
   ========================================================================== */
.subpage-hero {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 20px;
  align-items: stretch;
  width: 100%;
}

.subpage-hero-text {
  background: #ffffff;
  border-radius: var(--radius-card);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.subpage-tag {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pm-ochre);
  margin-bottom: 16px;
  display: inline-block;
}

.subpage-h1 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  color: #141c19;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.subpage-slogan {
  font-family: var(--font-script);
  font-size: 24px;
  color: var(--pm-ochre);
  margin-bottom: 20px;
}

.subpage-intro {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}

.subpage-hero-img {
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 440px;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

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

.editorial-section {
  margin-top: 48px;
}

.editorial-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.editorial-split.reverse {
  direction: rtl;
}

.editorial-split.reverse > * {
  direction: ltr;
}

.editorial-text-block {
  display: flex;
  flex-direction: column;
}

.editorial-text-block h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 400;
  line-height: 1.2;
  color: #141c19;
  margin-bottom: 18px;
}

.editorial-text-block p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.editorial-img-block {
  border-radius: var(--radius-card);
  overflow: hidden;
  height: 360px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

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

.editorial-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.editorial-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.editorial-card-dash {
  width: 24px;
  height: 2px;
  background: var(--pm-ochre);
  margin-bottom: 16px;
}

.editorial-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: #141c19;
  margin-bottom: 12px;
}

.editorial-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Contact Luxe Vormgeving */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.contact-card-white {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 48px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.contact-direct-card {
  background: var(--pm-dark);
  color: #ffffff;
  border-radius: var(--radius-card);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2b3530;
  margin-bottom: 8px;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-btn);
  background: #fdfcfb;
  color: #141c19;
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--pm-ochre);
  background: #ffffff;
}

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

/* ==========================================================================
   7. Footer & Mobiele Actiebalk
   ========================================================================== */
.site-footer {
  background: var(--pm-dark);
  color: #ffffff;
  padding: 64px 0 36px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer-brand-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #ffffff;
  line-height: 1;
}

.footer-brand-sub {
  font-family: var(--font-sans);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

.footer-slogan {
  font-family: var(--font-script);
  font-size: 20px;
  color: var(--pm-ochre);
  margin: 12px 0 8px;
}

.footer-desc {
  font-size: 13px;
  color: #b0bcba;
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #b0bcba;
  font-size: 13px;
  transition: color 0.2s;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--pm-ochre);
}

.footer-contact-item {
  font-size: 13px;
  color: #b0bcba;
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 12px;
}

/* Mobiele Vaste Balk */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(252, 251, 249, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-subtle);
  padding: 10px 16px;
  z-index: 1000;
}

.mobile-action-inner {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
}

.mobile-action-inner .btn {
  flex: 1;
  padding: 12px 8px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius-btn);
  text-decoration: none;
}

.btn-dark-mobile {
  background: var(--pm-dark);
  color: #ffffff;
}

.btn-ochre-mobile {
  background: var(--pm-ochre);
  color: #ffffff;
}

/* ==========================================================================
   8. Responsive Media Queries
   ========================================================================== */
/* Tablet & half-screen split desktop (769px - 1080px): Keep horizontal split! */
@media (max-width: 1080px) and (min-width: 769px) {
  .header-inner { gap: 12px; }
  .main-nav { gap: 14px; }
  .nav-link { font-size: 12px; }
  .header-right { gap: 12px; }
  .btn-ochre { padding: 9px 15px; font-size: 12px; }

  .split-hero {
    grid-template-columns: 1.55fr 1fr;
    gap: 12px;
  }
  .hero-left-card,
  .hero-right-card {
    min-height: 460px;
  }
  .hero-left-card {
    padding: 40px 32px;
  }
  .projects-showcase-section {
    grid-template-columns: 200px 1fr;
    gap: 20px;
  }
  .cards-3-grid {
    gap: 12px;
  }
  .project-img-card {
    height: 180px;
  }
  .bottom-split-banner {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .banner-left-img,
  .banner-right-content {
    height: 200px;
  }
  .banner-right-content {
    padding: 30px 28px;
  }
  .subpage-hero {
    grid-template-columns: 1.1fr 1fr;
    gap: 16px;
  }
  .subpage-hero-text {
    padding: 40px 32px;
  }
  .editorial-split {
    gap: 24px;
  }
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* Mobile Devices (<= 768px): Clean, beautiful single-column stack */
@media (max-width: 768px) {
  .main-nav, .header-divider, .header-right { display: none; }
  .mobile-action-bar { display: block; }
  
  .split-hero {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .hero-left-card {
    min-height: 420px;
    padding: 36px 24px;
    width: 100%;
  }
  .hero-right-card {
    height: 280px;
    min-height: 280px;
    width: 100%;
  }
  .hero-editorial-h1 {
    font-size: 32px;
    line-height: 1.15;
  }
  .hero-editorial-slogan {
    font-size: 24px;
    margin-bottom: 24px;
  }
  .hero-btn-row {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-btn-row .btn-ochre,
  .hero-btn-row .btn-glass {
    width: 100%;
    justify-content: center;
  }

  .projects-showcase-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .cards-3-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .project-img-card {
    height: 220px;
    width: 100%;
  }

  .bottom-split-banner {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .banner-left-img {
    height: 200px;
    width: 100%;
  }
  .banner-right-content {
    height: auto;
    padding: 32px 24px;
    width: 100%;
  }
  .banner-serif-title {
    font-size: 26px;
  }

  /* Subpage mobile */
  .subpage-hero {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .subpage-hero-text {
    padding: 36px 24px;
  }
  .subpage-hero-img {
    height: 260px;
    min-height: 260px;
  }
  .editorial-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .editorial-img-block {
    height: 240px;
  }
  .editorial-grid-3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contact-card-white,
  .contact-direct-card {
    padding: 32px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
