/*
Theme Name: De Witte Onderhoud & Service
Author: De Witte
Description: Modern, licht en mobielvriendelijk thema gebaseerd op het logo en ontwerp van De Witte Onderhoud & Service.
Version: 1.1
*/

:root {
    --logo-blue: #0022af;       /* Krachtig koningsblauw uit het logo */
    --logo-green: #00a800;      /* Helder groen uit het logo-blad */
    --bg-light: #ffffff;        /* Witte achtergrond */
    --bg-gray: #f8fafc;         /* Zeer lichtgrijze vlakken */
    --text-dark: #0f172a;       /* Donkergrijze/blauwe tekst voor leesbaarheid */
    --text-muted: #475569;      /* Grijze secundaire tekst */
    --border-color: #e2e8f0;    /* Lichte randen */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigatie */
/* ==========================================
   STYLING HEADER / BOVENBALK (VERNIEUWD)
   ========================================== */

header {
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* Zorg voor zwevend effect */
    border-bottom: 4px solid var(--logo-green);  /* Opvallende groene accentlijn */
    padding: 22px 0;                             /* Extra hoogte/ruimte */
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo flink vergroten & opvallender maken */
.logo-container img {
    height: 130px !important; /* Flink vergroot voor een krachtige uitstraling */
    max-height: 140px;
    width: auto;
    display: block;
    transition: transform 0.2s ease;
}

.logo-container img:hover {
    transform: scale(1.03);
}

/* Rechterkant uitlijnen (Knop + Hamburger op één lijn) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Grote Opvallende Telefoonknop */
.header-phone-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    background-color: var(--logo-blue);
    color: #ffffff !important;
    padding: 12px 26px;
    border-radius: 50px;           /* Capsule-vorm */
    text-decoration: none;
    font-weight: 800;
    font-size: 17px;
    box-shadow: 0 4px 12px rgba(0, 34, 175, 0.25);
    transition: all 0.2s ease-in-out;
}

.header-phone-btn:hover {
    background-color: #001980;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 34, 175, 0.35);
}

/* Groter & Duidelijker Hamburgermenu */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 36px;                  /* Brediere knop */
    height: 26px;                 /* Hogere knop */
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 102;
    padding: 2px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.hamburger:hover {
    background-color: #f1f5f9;    /* Subtiel grijs vakje bij hover */
}

.hamburger span {
    width: 100%;
    height: 4px;                  /* Dikkere streepjes */
    background-color: var(--logo-blue);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Hamburgermenu altijd bovenop het menu laten zweven */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 36px;
    height: 26px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1005 !important; /* Zorgt dat het kruisje/de knop altijd zichtbaar blijft */
    padding: 2px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

/* Mobiel & Tablet Schuifmenu (Aangepaste afstand bovenkant) */
.nav-menu-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    background-color: var(--bg-light);
    border-left: 4px solid var(--logo-blue);
    /* padding-top verhoogd van 80px naar 130px zodat het ruim onder de header valt */
    padding: 130px 30px 40px 30px !important;
    transition: right 0.3s ease;
    z-index: 1001 !important; /* Zorgt dat het menu boven de pagina zweeft */
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
}

/* Mobiel & Tablet Schuifmenu (Aangepaste afstand bovenkant) */
.nav-menu-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    background-color: var(--bg-light);
    border-left: 4px solid var(--logo-blue);
    /* padding-top verhoogd van 80px naar 130px zodat het ruim onder de header valt */
    padding: 130px 30px 40px 30px !important;
    transition: right 0.3s ease;
    z-index: 1001 !important; /* Zorgt dat het menu boven de pagina zweeft */
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
}

.nav-menu-mobile.active { right: 0; }

.nav-menu-mobile a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    transition: color 0.2s, padding-left 0.2s;
}

.nav-menu-mobile a:hover {
    color: var(--logo-blue);
    padding-left: 5px;
}

/* Styling voor het Uitklapbare Diensten Menu */
.nav-services-dropdown {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 5px;
}

.nav-services-dropdown summary {
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 600;
    padding: 8px 0;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-services-dropdown summary::-webkit-details-marker {
    display: none;
}

/* Pijltje rechts naast 'Diensten' */
.nav-services-dropdown summary::after {
    content: '❯';
    font-size: 14px;
    color: var(--logo-blue);
    transition: transform 0.2s ease;
}

.nav-services-dropdown[open] summary::after {
    transform: rotate(90deg);
}

/* Submenu met ingesprongen links */
.nav-submenu {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 0 5px 15px;
}

.nav-submenu a {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: var(--text-muted) !important;
    border-bottom: none !important;
    padding: 5px 0 !important;
}

.nav-submenu a:hover {
    color: var(--logo-blue) !important;
}

/* Hero Sectie */
/* Hero Sectie met volledige achtergrondafbeelding */
/* Hero Sectie met scherpe achtergrondafbeelding */
.hero-full-bg {
    position: relative;
    /* De achtergrondfoto blijft 100% scherp en niet vervaagd */
    background-image: url('http://dewitteonderhoudservice.nl/wp-content/uploads/2026/07/dakpannen.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
    min-height: 500px;
    display: flex;
    align-items: center;
}

/* Semi-transparant vlak achter de tekst voor perfecte leesbaarheid */
.hero-full-content {
    max-width: 620px;
    background-color: rgba(255, 255, 255, 0.88); /* Zorgt voor top contrast zonder de foto te vervagen */
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-full-content h1 {
    font-size: 40px;
    line-height: 1.2;
    color: var(--logo-blue);
    margin-bottom: 12px;
    font-weight: 800;
}

.hero-full-content h1 span {
    color: var(--logo-green);
    display: block;
}

.hero-full-content p {
    color: #1e293b;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 25px;
}

/* Knoppen gestijld exact zoals afbeelding 2 (Pill / Capsule shape) */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 700;
    font-size: 16px;
    border-radius: 50px; /* Volledig afgeronde hoeken zoals op afbeelding 2 */
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Blauwe knop (zoals afbeelding 2) */
.btn-blue {
    background-color: var(--logo-blue);
    color: #ffffff !important;
}
.btn-blue:hover {
    background-color: #001780;
}

/* Groene knop voor WhatsApp */
.btn-green {
    background-color: var(--logo-green);
    color: #ffffff !important;
}
.btn-green:hover {
    background-color: #008800;
}
/* Groene Voordelenbalk */
.usps-bar {
    background-color: #0f172a;
    color: white;
    padding: 15px 0;
}

.usps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.usp-item span {
    color: var(--logo-green);
    font-size: 18px;
}

/* Diensten Vlakken */
.section-intro {
    text-align: center;
    margin: 60px 0 40px;
}

.section-intro p {
    color: var(--logo-green);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 13px;
}

.section-intro h2 {
    font-size: 26px;
    color: var(--logo-blue);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 60px;
}

.service-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: transform 0.3s, border-color 0.3s;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--logo-blue);
}

.service-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 15px;
}

.service-card a {
    color: var(--logo-blue);
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}



/* Extra styling voor standaard pagina's (page.php) */
.page-title {
    font-size: 36px;
    color: var(--logo-blue);
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.page-content {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.7;
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Footer */
footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 40px 0;
    font-size: 14px;
    border-top: 4px solid var(--logo-green);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
    margin-bottom: 25px;
}

.footer-grid p {
    color: white;
}

/* Media Queries */
@media (min-width: 768px) {
    .header-phone-btn { display: block; }
    .hero-grid { grid-template-columns: 1fr 1fr; }
    .usps-grid { grid-template-columns: repeat(4, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .two-column-section { grid-template-columns: 1.2fr 0.8fr; }
    .footer-grid { grid-template-columns: repeat(4, 1fr); text-align: left; }
}

@media (min-width: 1024px) {
    .services-grid { grid-template-columns: repeat(4, 1fr); }
}


/* Kaarten voor Links en Rechts */
.info-card {
  flex: 1;
  background: #ffffff;
  padding: 35px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}

/* Subtitel (Groen) */
.sub-title {
  color: #10b981; /* Felgroen van de site */
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

/* Titels */
.section-title {
  color: #1e293b;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.3;
}

/* Lijsten met Groene Pijlen */
.styled-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  flex-grow: 1;
}

.styled-list li {
  font-size: 16px;
  font-weight: 700;
  font-style: italic; /* Schuingedrukte tekst */
  color: #334155;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  line-height: 1.4;
}

/* Grote Opvallende Pijlen (») */
.styled-list .chevron {
  color: #10b981; /* Felle groene kleur */
  font-weight: 900;
  font-style: normal;
  font-size: 20px;
  margin-right: 12px;
  line-height: 1;
  flex-shrink: 0;
}

/* Aantrekkelijke 'Meer over ons' Knop */
.btn-more-about {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #002b66; /* Donkerblauw */
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  align-self: flex-start;
  box-shadow: 0 4px 10px rgba(0, 43, 102, 0.2);
}

.btn-more-about:hover {
  background-color: #10b981; /* Verandert naar groen bij hover */
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(16, 185, 129, 0.3);
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.btn-more-about:hover .btn-arrow {
  transform: translateX(4px);
}

/* Responsief voor Mobiel & Tablets */
@media (max-width: 900px) {
  .about-services-container {
    flex-direction: column;
  }
  
  .info-card {
    padding: 25px;
  }
}

/* Opgefleurde Sectie Styling */
.show-section {
    margin: 50px auto;
}

.show-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 850px) {
    .show-grid {
        grid-template-columns: 1fr;
    }
}

.show-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
}

.sub-title {
    color: var(--logo-green);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.show-card h2 {
    color: var(--logo-blue);
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 800;
}

.about-intro {
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-photo-wrapper {
    width: 100%;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    margin-top: auto;
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-photo:hover {
    transform: scale(1.03);
}

/* Expertise Grid (Badges) */
.expertise-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.badge-item {
    display: inline-flex;
    align-items: center;
    background-color: #f8fafc;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    padding: 10px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.badge-item:hover {
    background-color: var(--logo-blue);
    color: #ffffff;
    border-color: var(--logo-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 26, 156, 0.15);
}

.badge-highlight {
    background-color: #fef2f2;
    border-color: #fca5a5;
    color: #991b1b;
}

.badge-highlight:hover {
    background-color: #dc2626;
    color: #ffffff;
    border-color: #dc2626;
}

/* Styling voor de Diensten Pagina Container */
/* Diensten Pagina Layout & Ademruimte */
.service-container {
    max-width: 1050px;
    margin: 40px auto 80px auto;
    padding: 0 25px;
}

/* Hoofdtitel met mooie subtiele lijnen */
.service-main-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 40px;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 18px 0;
}

/* Kolommen verhouding (Foto 40% - Tekst 60%) */
.service-content-body .wp-block-columns {
    display: flex;
    gap: 45px !important;
    margin-bottom: 50px !important;
    align-items: flex-start;
}

/* Foto kolom ruim baan geven */
.service-content-body .wp-block-column:first-child {
    flex: 0 0 38% !important;
}

.service-content-body .wp-block-column:last-child {
    flex: 1 !important;
}

.service-content-body .wp-block-column img {
    border-radius: 12px;
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Tekst opmaak voor optimale leesbaarheid */
.service-content-body h2 {
    font-size: 24px;
    color: var(--logo-blue, #001a9c);
    margin-bottom: 15px;
    font-weight: 800;
}

.service-content-body h3 {
    font-size: 18px;
    color: #1e293b;
    margin: 20px 0 10px 0;
    font-weight: 700;
}

.service-content-body p {
    line-height: 1.7;
    color: #334155;
    margin-bottom: 16px;
    font-size: 15px;
}

/* Stijlvolle Vinkjeslijst */
.service-content-body ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.service-content-body ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    line-height: 1.6;
    color: #334155;
    font-size: 15px;
}

.service-content-body ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--logo-green, #00a800);
    font-weight: 900;
    font-size: 16px;
}

/* Strakke Uitklapbare Vragen (Details / Accordeon) */
.service-content-body details {
    border: 2px solid #1e293b;
    border-radius: 12px;
    margin-bottom: 18px !important;
    padding: 18px 24px;
    background-color: #ffffff;
    transition: all 0.2s ease-in-out;
}

.service-content-body details[open] {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    background-color: #fafafa;
}

.service-content-body summary {
    font-weight: 700;
    font-size: 17px;
    color: #0f172a;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-content-body summary::-webkit-details-marker {
    display: none;
}

/* Ronde zwarte pijlknop rechts */
.service-content-body summary::after {
    content: '❯';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #1e293b;
    color: #ffffff;
    border-radius: 50%;
    font-size: 12px;
    transform: rotate(90deg);
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

.service-content-body details[open] summary::after {
    transform: rotate(-90deg);
}

.service-content-body details p {
    margin-top: 15px;
    color: #475569;
    line-height: 1.6;
    font-size: 15px;
    border-top: 1px solid #cbd5e1;
    padding-top: 15px;
}


/* 4. Mobiele Responsive Weergave */
@media (max-width: 850px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    .contact-grid {
        flex-direction: column-reverse !important; /* Foto onder, formulier boven op mobiel */
    }

    .contact-grid .image-col {
        width: 100% !important;
        height: 250px !important;
    }

    .contact-grid .form-col {
        padding: 25px 20px !important;
    }
    
    .form-row-2 {
        grid-template-columns: 1fr !important;
    }
}


/* Responsive instellingen voor mobiel en tablet */
@media (max-width: 850px) {
    .about-grid {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .about-hero-header {
        padding: 25px 0;
        margin-bottom: 30px;
    }

    .about-hero-header h1 {
        font-size: 1.8rem;
    }

    .broer-img {
        max-height: 400px;
    }
}

/* Mobiel: Netjes onder elkaar klappen op kleine schermen */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column !important;
    }
    
    .broer-side-img {
        max-height: 400px !important;
    }
}

/* Standaard dienstenlijst met vinkjes (geen links) */
.services-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.services-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark, #0f172a);
}

.services-list li .check {
    color: var(--logo-green, #00a800);
    font-weight: 900;
    font-size: 18px;
}