/* 1. Laad de chique lettertypen in vanaf Google Fonts */
@import url('https://googleapis.com');

/* 2. Pas het toe op de gewone tekst van de hele website */

/* 3. Pas het chique serif-lettertype toe op alle koppen */
h1, h2, h3, h4, .logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;         /* Iets dikker voor de koppen */
  letter-spacing: 1px;      /* Maakt een klein beetje chique ruimte tussen de letters */
}

.hero {
  font-size: 2.2rem;
  font-style: italic;       /* Schuingedrukt in Garamond is écht adembenemend chic */
}/* ==========================================================================
   1. GLOBAL STYLES & BACKGROUND
   ========================================================================== */
html {
    background: url(images/02.jpg) no-repeat center;
}

body {
    scroll-behavior: smooth;
    background: url(images/gras-xs.jpg) no-repeat;
    background-attachment: fixed; 
    background-size: cover;
    background-position: center;
    color: #F5F5DC;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;         /* Elegante slanke letters */
}

html, body {
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 1.4em;
}

h2 {
    font-size: 1.2em;
}
h3 {
    font-size: 1.1em;
    font-weight: bold;
}

li { 
    font: 1em; 
}

/* ==========================================================================
   2. HEADER & STICKY NAVIGATION (AARDE/ANTRACIET)
   ========================================================================== */
#divheader {
    height: 180px;
    text-align: center;
    background: url(images/hovenierlogo.png) no-repeat center;
    background-color: #000;
    width: 100%;
    border-radius: 20px;
    box-sizing: border-box;
}

#divnav {
    text-align: center;
    background: #2B2D24; 
    min-height: 60px;
    width: 100%;
    position: -webkit-sticky; 
    position: sticky;
    top: 0;         
    z-index: 999;
}

#divnav ul {
    display: block;
    padding-top: 10px; 
    margin: 0;
    padding-left: 0;
}

#divnav ul li {
    display: inline-block;
    margin: 5px 15px;
    width: 200px;
    text-align: center;
}

#divnav ul li a, 
#divnav ul li a:visited {
    font-size: 1.2em;
    color: #F5F5DC;            
    text-decoration: none;
    padding: 8px 15px;         
    border-radius: 6px;        
    display: inline-block;     
    transition: all 0.3s ease; 
}
#divnav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.12); /* Zacht semi-transparant wit */
    color: #FFF;                               /* Licht elegant op */
    text-decoration: none;     
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); 
}

/* ==========================================================================
   3. LAYOUT CONTAINERS & GRID
   ========================================================================== */
#divcontainer {
    max-width: 1100px; 
    width: 95%;        
    margin: 10px auto;
    background-color: rgba(66, 70, 50, 0.9); 
    border: #424632 3px solid;
    border-radius: 20px;
    box-sizing: border-box;
}
h2 {
	text-indent: 3em;
}
#divonderhoud, 
#divbestrating, 
#divvijvers {
    padding: 15px;
    max-width: 600px;
    width: 100%; 
    box-sizing: border-box;
}

#divonderhoud {
    padding: 20px;
    max-width: 100%;
    box-sizing: border-box;
}

/* Flex-rij voor de 4 onderhoudsblokken */
.container-onderhoud {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 20px;
    width: 100%;
    box-sizing: border-box;
    align-items: stretch; 
}

/* Algemene flex-container */
.container {
    display: flex;       
    align-items: flex-start; 
    gap: 20px;           
    flex-direction: row;
    box-sizing: border-box;
    padding: 20px;
    margin: 20px auto;
}

/* Luxe asymmetrisch grid voor Andere Diensten + Foto's */
.andere-diensten-sectie {
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

.andere-diensten-sectie h1 {
    margin-bottom: 25px;
}

.grid-andere-diensten {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

/* ==========================================================================
   4. UNIVERSELE BLOKKEN & ICONEN
   ========================================================================== */
.block {
    flex: 1;                   
    background-color: #F5F5DC; 
    color: #424632;            
    padding: 25px 20px;          
    border-radius: 12px;        
    box-sizing: border-box;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

/* Het Accent-blok (Tuinrenovatie) */
.block.block-accent {
    background-color: #424632; 
    color: #F5F5DC;
    border: 2px solid #F5F5DC;
}

/* Zorgt dat het icoon en de tekst netjes naast elkaar staan */
.block-title, 
#divonderhoud .title {
    display: flex;
    align-items: center;       /* Lijnt het icoon verticaal perfect uit met de tekst */
    gap: 12px;                 /* Geeft een mooie tussenruimte van 12 pixels */
    margin-bottom: 12px;       /* Ruimte onder de titelrichting, richting de omschrijving */
}

/* Zorgt dat de kop geen verborgen marges heeft die de uitlijning verpesten */
.block-title h2, 
.block-title h3,
#divonderhoud .title h1 {
    margin: 0;
    padding: 0;
}

/* Voorkomt dat het icoon vervormt op mobiel */
.block-title svg,
#divonderhoud .title svg {
    flex-shrink: 0;
}

/* FIX: Zorgt dat het icoon in het donkere accent-blok w�l beige wordt */
.block.block-accent .block-title svg {
    stroke: #F5F5DC !important;
}

/* ==========================================================================
   5. IMAGES & EFFECTS
   ========================================================================== */
#divbestratingrechts {
    display: flex;
    flex-direction: column; 
    gap: 15px;             
    flex: 1;               
}

.grid-foto {
    overflow: hidden; 
    border-radius: 12px;
    width: 100%;
    height: 100%;
    min-height: 200px;
}

.grid-foto img, 
#divbestratingrechts img {
    width: 100%;
    height: 250px;         
    object-fit: cover;     
    box-shadow: 0 4px 15px rgba(0,0,0,0.3); 
    display: block;
    border-radius: 8px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Zoom-effect op de foto's bij muis-over */
.grid-foto:hover img {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   6. CONTACT SECTIE, FORMULIER & ALERTS
   ========================================================================== */
#divcontact {
    background: #F5F5DC;
    width: 100%;
    color: #424632;
    display: flex;
    flex-direction: row;       
    align-items: center;
    justify-content: space-around; 
    gap: 40px;
    margin-bottom: 0;          
    padding: 40px;
    box-sizing: border-box;
    border-radius: 0 0 15px 15px;
}

#divcontact img {
    height: auto;
}

.callback-container {
    max-width: 350px;
    margin: 20px auto;
    padding: 20px;
    background-color: rgba(66, 70, 50, 0.7); 
    border-radius: 8px;
    color: #ffffff;
    box-sizing: border-box;
    text-align: left;
}

.callback-container h3 {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 18px;
}

.callback-container p {
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.4;
    opacity: 0.9;
}

.callback-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.callback-group label {
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 13px;
}

.callback-form input[type="text"],
.callback-form input[type="tel"] {
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.95);
    color: #333333;
    font-size: 15px;
    box-sizing: border-box;
}

.callback-form input::placeholder {
    color: #777777;
    opacity: 1;
}

.callback-form input:focus {
    outline: none;
    border-color: #F5F5DC;
    box-shadow: 0 0 5px rgba(245, 245, 220, 0.5);
}

.callback-btn {
    background-color: #F5F5DC;
    color: #424632;
    border: none;
    padding: 12px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.2s;
}

.callback-btn:hover {
    background-color: #e6e6c5;
}

/* PHP Alerts */
.alert {
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
    text-align: center;
}

.alert-success {
    background-color: rgba(46, 204, 113, 0.2); 
    border: 1px solid #2ecc71;
    color: #2ecc71;
}

.alert-error {
    background-color: rgba(231, 76, 60, 0.2);  
    border: 1px solid #e74c3c;
    color: #e74c3c;
}

/* Kogelvrije Honeypot spambeveiliging */
.callback-group-hp {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    z-index: -1000 !important;
}

/* ==========================================================================
   7. STRUCTURE & LOCAL SEO TUNING
   ========================================================================== */
#h1anders, 
#h1bestrating, 
#h1vijvers {
    scroll-margin-top: 100px; 
}
#divanders, /* NIEUW: Zorgt dat de container stopt v��r de sticky menubalk */
#h1anders, 
#h1bestrating, 
#h1vijvers {
    /* 140px zorgt ervoor dat de titel perfect onder je menu tevoorschijn komt */
    scroll-margin-top: 80px !important; 
}
.title h1, 
#divonderhoud h1, 
#divheader, 
#divcontainer {
    margin-top: 0;
}

#divonderhoud h2 {
    margin-top: 25px;
    color: #F5F5DC;
    padding-left: 10px;
}

#divonderhoud p {
    margin-bottom: 20px;
    opacity: 0.9; 
}

/* ==========================================================================
   8. MEDIA QUERIES (RESPONSIVE RESPONSES FOR MOBILE)
   ========================================================================== */
@media (max-width: 768px) {
    #divheader {
        background-size: contain; 
        height: 120px;
    }

    #divnav ul li {
        display: block; 
        width: 100%;
        margin: 10px 0;
    }
    
    #divnav {
        height: auto;
        padding-bottom: 10px;
    }

    .container,
    .container-onderhoud,
    .grid-andere-diensten {
        flex-direction: column; 
        grid-template-columns: 1fr; 
    }
    
    #divcontact {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    #divbestratingrechts,
    .grid-foto {
        width: 100%;
        height: 250px; 
    }
}
/* --- ZORGT DAT ICOON EN TEKST NETJES NAAST ELKAAR STAAN --- */
.onderhoud-lijst {
    max-width: 850px; 
    margin: 30px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Flexbox activeert de horizontale uitlijning naast elkaar */
.onderhoud-item {
    display: flex;
    align-items: flex-start; /* Lijnt het icoon netjes uit met de bovenste tekstregel */
    gap: 20px;               /* De perfecte tussenruimte tussen icoon en tekst */
    margin-bottom: 35px;     /* Ruimte onder elk blok */
}

/* Zorgt dat de ronde icoon-badge er strak bij staat */
.onderhoud-icoon {
    background-color: #2B2D24; /* Jouw warme navigatiekleur */
    border: 2px solid #F5F5DC;
    border-radius: 50%;        /* Maakt de badge perfect rond */
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;            /* Voorkomt dat het icoon kleiner wordt geperst */
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.onderhoud-tekst {
    flex: 1;
}

/* Resets voor de titels zodat ze strak naast het icoon starten */
.onderhoud-tekst h3 {
    margin: 0 0 6px 0;
    font-size: 1.3em;
    color: #F5F5DC;
    text-align: left;
}

.onderhoud-tekst p {
    margin: 0;
    font-size: 1em;
    line-height: 1.5;
    opacity: 0.85;
}

/* Volledig gelijkgetrokken met jouw mobiele breekpunt van 768px */
@media (max-width: 768px) {
    .onderhoud-item {
        gap: 15px;
        margin-bottom: 25px;
    }
    .onderhoud-icoon {
        padding: 8px;
    }
    .onderhoud-icoon svg {
        width: 24px;
        height: 24px;
    }
}
/* --- INTRODUCTIETEKST TUINONDERHOUD --- */
.intro-tekst {
    max-width: 850px;
    margin: 15px auto 5px auto;
    padding: 10px 10px;
    box-sizing: border-box;
    background-color: #F5F5DC; /* Massief zacht beige */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Geeft diepte op de achtergrond */
}
.intro-tekst h2 {
	color: #424632;
}
.intro-tekst p {
    font-size: 0.9em;
    line-height: 1.2;
    color: #424632; /* Jouw hoveniersgroen voor perfecte leesbaarheid */
    text-align: left;
    margin: 0;
}
/* Styling voor de contactgegevens in de footer */
.contact-info {
  display: flex;
  flex-direction: column;   /* Dwingt alle tekst en links direct onder elkaar */
  align-items: flex-start;   /* Lijnt alles strak aan de linkerkant uit */
  text-align: left;
}

/* Zorg dat eventuele links (<a> tags) binnen deze klasse een grote hitbox krijgen */
.contact-info a {
  display: inline-flex;
  align-items: center;      /* Centreert eventuele icoontjes verticaal met de tekst */
  color: #1a1a1a;           /* Jouw vaste blauwe accentkleur */
  text-decoration: none;
  padding: 12px 0;          /* Royale verticale ruimte om makkelijk te tikken */
  min-height: 44px;         /* Harde garantie tegen mobiel misklikken */
  box-sizing: border-box;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Zorg dat eventuele losse tekst of paragrafen dezelfde rustige spatiëring krijgen */
/* Zorg dat de container de basislijn wordt */
/* De alinea krijgt een leeg gootje aan de linkerkant voor het icoon */
.contact-info p {
  position: relative;
  padding-left: 32px;      /* Ruimte voor het icoontje aan de linkerkant */
  margin: 0;
  display: block;          /* Zorgt dat de alinea zelf wel een blok is */
}

/* De link (het telefoonnummer) dwingen om op regel 1 te blijven */
.contact-info p a {
  display: inline-block;   /* Zorgt dat de link direct naast het icoon start */
  vertical-align: top;     /* Lijnt de bovenkant van de tekst uit */
  line-height: 24px;       /* Geeft de tekst exact dezelfde hoogte als de SVG */
  color: #1a1a1a;
  text-decoration: none;
}

/* Het icoontje zweeft onafhankelijk in het gootje */
.contact-info .contact-icon {
  color: #1a1a1a;
  position: absolute;      /* Haalt het icoon uit de tekstflow */
  left: 0;                 /* Strak tegen de linkerkant */
  top: 0;                  /* Perfect uitgelijnd met de bovenkant van de eerste regel */
  width: 24px;             /* Vaste breedte */
  height: 24px;            /* Vaste hoogte, gelijk aan de line-height van de tekst */
}
#divfooter {
	width: 100%;
	text-align: center;
}
#divfooter p {
	color: #F5F5DC;
	font-size: 0.8em;
	text-align: center;
}.pet {
    background-color: #2B2D24; /* Jouw warme navigatiekleur */
    border: 2px solid #F5F5DC;
    border-radius: 50%;        /* Maakt de badge perfect rond */
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;            /* Voorkomt dat het icoon kleiner wordt geperst */
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}.mij {
	background-color:#424632;
	padding:15px;
	border-radius: 1%;
}h2 {
	text-indent: 3em;
	padding-bottom: 10px;
}h2 svg {
	transform: translateY(5px);
	position: relative;
}
