:root {
 --primary-color: #1e3a5f;
 --primary-dark: #12233a;
 --secondary-color: #a88a3b;
 --text-dark: #1a1a1a;
 --text-light: #555555;
 --text-muted: #777777;
 --bg-light: #f8f9fa;
 --bg-white: #ffffff;
 --border-color: #dee2e6;
 --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
 --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.08);
 --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.12);
 --radius-sm: 4px;
 --radius-md: 8px;
 --radius-lg: 16px;
 --transition: all 0.3s ease;
 --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
 --font-display: 'Playfair Display', serif;
}

*, *::before, *::after {
 box-sizing: border-box;
 margin: 0;
 padding: 0;
}
html { scroll-behavior: smooth; }
body {
 font-family: var(--font-main);
 font-size: 16px;
 line-height: 1.7;
 color: var(--text-light);
 background: var(--bg-white);
 -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
 font-family: var(--font-display);
 font-weight: 700;
 line-height: 1.3;
 color: var(--text-dark);
 margin-bottom: 0.5em;
}
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
a { color: var(--primary-color); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
p { margin-bottom: 1rem; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 24px;
}
.section { padding: 100px 0; }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--primary-dark); color: var(--bg-light); }
.bg-dark h2, .bg-dark h3 { color: var(--bg-white); }
.bg-dark p { color: #ccc; }
.section-header {
 text-align: center;
 max-width: 750px;
 margin: 0 auto 60px;
}
.section-label {
 display: inline-block;
 color: var(--secondary-color);
 font-family: var(--font-main);
 font-weight: 700;
 font-size: 0.9rem;
 text-transform: uppercase;
 letter-spacing: 1.5px;
 margin-bottom: 12px;
}
.section-title { color: var(--text-dark); }
.section-subtitle { font-size: 1.15rem; color: var(--text-light); line-height: 1.6; }

.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 padding: 12px 28px;
 font-size: 1rem;
 font-weight: 600;
 border-radius: var(--radius-md);
 cursor: pointer;
 transition: var(--transition);
 border: 2px solid transparent;
 text-decoration: none;
}
.btn-primary { background-color: var(--secondary-color); color: var(--bg-white); border-color: var(--secondary-color); }
.btn-primary:hover { background-color: #c9a032; border-color: #c9a032; transform: translateY(-2px); }
.btn-secondary { background-color: transparent; color: var(--primary-color); border-color: var(--primary-color); }
.btn-secondary:hover { background-color: var(--primary-color); color: var(--bg-white); }

/* Header */
.header {
 position: fixed;
 top: 0;
 left: 0;
 right: 0;
 z-index: 1000;
 background: rgba(255, 255, 255, 0.85);
 backdrop-filter: blur(10px);
 border-bottom: 1px solid var(--border-color);
 transition: var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); background: rgba(255, 255, 255, 0.95); }
.nav-container { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.nav { height: 80px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--text-dark); }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a { font-weight: 600; color: var(--text-dark); position: relative; padding: 5px 0; }
.nav-links a::after {
 content: '';
 position: absolute;
 bottom: -2px;
 left: 0;
 width: 0%;
 height: 2px;
 background-color: var(--secondary-color);
 transition: var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.header-contact { display: flex; align-items: center; gap: 16px; }
.header-phone { font-weight: 600; color: var(--text-dark); white-space: nowrap; }
.nav-toggle { display: none; background: transparent; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 25px; height: 3px; background: var(--text-dark); margin: 5px; transition: var(--transition); }

/* Hero */
.hero {
 position: relative;
 min-height: 85vh;
 display: flex;
 align-items: center;
 justify-content: center;
 text-align: center;
 padding: 100px 24px;
 background-size: cover;
 background-position: center;
}
.hero::before {
 content: '';
 position: absolute;
 inset: 0;
 background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
}
.hero-content {
 position: relative;
 z-index: 2;
 color: var(--bg-white);
 max-width: 800px;
}
.hero-title { font-family: var(--font-display); color: var(--bg-white); }
.hero-subtitle { font-size: 1.25rem; margin: 20px 0 30px; }
.hero-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.hero-actions .btn-secondary { color: var(--bg-white); border-color: var(--bg-white); }
.hero-actions .btn-secondary:hover { background-color: var(--bg-white); color: var(--text-dark); }
.hero-trust { margin-top: 30px; display: flex; justify-content: center; gap: 24px; font-weight: 500; opacity: 0.9; }

/* Grid & Cards */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card {
 background: var(--bg-white);
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-sm);
 transition: var(--transition);
 overflow: hidden;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card-image { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 24px; }
.card-title { font-family: var(--font-display); }
.card-text { margin-bottom: 20px; }
.card-link { font-weight: 700; color: var(--secondary-color); }

/* Timeline*/
.timeline {
 position: relative;
 max-width: 800px;
 margin: 0 auto;
}
.timeline::before {
 content: '';
 position: absolute;
 left: 20px;
 top: 0;
 bottom: 0;
 width: 3px;
 background-color: var(--border-color);
}
.timeline-item {
 position: relative;
 padding-left: 60px;
 margin-bottom: 40px;
}
.timeline-step {
 position: absolute;
 left: 0;
 top: -5px;
 width: 40px;
 height: 40px;
 border-radius: 50%;
 background-color: var(--primary-color);
 color: var(--bg-white);
 display: flex;
 align-items: center;
 justify-content: center;
 font-weight: 700;
 font-size: 1.1rem;
 border: 3px solid var(--bg-light);
}
.timeline-content h3 { font-family: var(--font-display); }

/* Content Grid */
.content-grid {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 60px;
 align-items: center;
}
.content-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); max-height: 500px; width: 100%; object-fit: cover; }
.feature-list { list-style: circle; padding-left: 20px; margin-top: 20px; }
.feature-list li { margin-bottom: 10px; }

/* Testimonials */
.testimonial-card {
 background: var(--bg-white);
 padding: 30px;
 border-radius: var(--radius-md);
 border-left: 5px solid var(--secondary-color);
 box-shadow: var(--shadow-sm);
}
.testimonial-text { font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 15px; }
.avatar { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.author-name { font-family: var(--font-main); font-size: 1.1rem; font-weight: 700; margin-bottom: 0; }
.author-title { font-size: 0.9rem; color: var(--text-muted); }

/* Form */
.form-container {
 max-width: 800px;
 margin: 0 auto;
 background: var(--bg-white);
 padding: 40px;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
}
.form-group-split {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 20px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
 display: block;
 margin-bottom: 8px;
 font-weight: 600;
 color: var(--text-dark);
}
.form-group input, .form-group textarea, .form-group select {
 width: 100%;
 padding: 14px;
 border: 1px solid var(--border-color);
 border-radius: var(--radius-md);
 font-family: var(--font-main);
 font-size: 1rem;
 transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
 outline: none;
 border-color: var(--primary-color);
 box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.2);
}
.form-submit { width: 100%; margin-top: 10px; padding: 16px; font-size: 1.1rem; }

/* Page Specific Styling */
.page-header-section {
 padding: 140px 0 60px;
 background: var(--primary-dark);
 text-align: center;
}
.page-title { color: var(--bg-white); }
.page-subtitle { color: #ccc; font-size: 1.25rem; max-width: 700px; margin: 0 auto; }

/* Diensten page */
.service-detail {
 display: grid;
 grid-template-columns: 1fr 1.2fr;
 gap: 50px;
 align-items: center;
 margin-bottom: 100px;
}
.service-detail-reversed {
 display: grid;
 grid-template-columns: 1.2fr 1fr;
 gap: 50px;
 align-items: center;
 margin-bottom: 100px;
}
.service-detail-reversed .service-detail-image { grid-column: 2; grid-row: 1; }
.service-detail-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.service-detail-content ul { list-style: none; padding: 0; margin-top: 20px; }
.service-detail-content li {
 padding-left: 25px;
 position: relative;
 margin-bottom: 12px;
}
.service-detail-content li::before {
 content: '';
 color: var(--secondary-color);
 position: absolute;
 left: 0;
 font-weight: bold;
}

/* Over Ons page */
.mission-vision-grid {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 30px;
}
.mission-card { background: var(--bg-white); padding: 30px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.team-card {
 text-align: center;
 background: var(--bg-white);
 padding: 30px;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-sm);
 transition: var(--transition);
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.team-photo { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; margin: 0 auto 20px; border: 4px solid var(--bg-white); box-shadow: var(--shadow-md); }
.team-name { font-family: var(--font-display); }
.team-title { font-weight: 600; color: var(--secondary-color); margin-bottom: 10px; }
.team-bio { font-size: 0.95rem; }

/* Portfolio page */
.portfolio-filters { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn {
 background: transparent;
 border: 1px solid var(--border-color);
 padding: 8px 20px;
 border-radius: 20px;
 cursor: pointer;
 font-weight: 600;
 transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active { background-color: var(--primary-color); color: white; border-color: var(--primary-color); }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 20px; }
.portfolio-item { position: relative; overflow: hidden; border-radius: var(--radius-md); }
.portfolio-item img { width: 100%; height: 300px; object-fit: cover; transition: transform 0.4s ease; }
.portfolio-item:hover img { transform: scale(1.05); }
.portfolio-overlay {
 position: absolute;
 inset: 0;
 background: linear-gradient(transparent, rgba(0,0,0,0.8));
 display: flex;
 flex-direction: column;
 justify-content: flex-end;
 padding: 20px;
 color: white;
 opacity: 0;
 transition: opacity 0.4s ease;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h3 { font-family: var(--font-display); color: white; margin-bottom: 5px; }

/* Contact page */
.contact-layout {
 display: grid;
 grid-template-columns: 1.5fr 1fr;
 gap: 50px;
 background: var(--bg-light);
 padding: 50px;
 border-radius: var(--radius-lg);
}
.contact-form-container form { padding: 0; box-shadow: none; }
.contact-details-list { list-style: none; padding: 0; }
.contact-details-list li { display: flex; gap: 15px; margin-bottom: 25px; align-items: flex-start; }
.contact-details-list svg { width: 24px; height: 24px; color: var(--secondary-color); flex-shrink: 0; margin-top: 3px; }
.contact-details-list div { display: flex; flex-direction: column; }
.contact-details-list strong { margin-bottom: 5px; color: var(--text-dark); }
.map-container {
 width: 100%;
 height: 450px;
 border-radius: var(--radius-lg);
 overflow: hidden;
 box-shadow: var(--shadow-md);
 margin: 80px 0 0;
}
.map-container iframe { width: 100%; height: 100%; border: none; }

/* Legal Pages */
.legal-page { padding: 120px 0 80px; }
.legal-page .container { max-width: 800px; }
.legal-page h1 { font-size: 2.5rem; margin-bottom: 20px; }
.legal-page p { margin-bottom: 20px; }
.legal-page section { margin-bottom: 40px; }
.legal-page h2 { font-size: 1.75rem; margin-bottom: 15px; border-bottom: 2px solid var(--border-color); padding-bottom: 10px; }
.legal-page ul { list-style-position: inside; padding-left: 20px; }
.cookie-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.cookie-table th, .cookie-table td { border: 1px solid var(--border-color); padding: 12px; text-align: left; }
.cookie-table th { background: var(--bg-light); }

/* CTA Section */
.cta-section { padding: 80px 0; text-align: center; }
.cta-section h2 { font-size: 2.5rem; }
.cta-section p { font-size: 1.15rem; max-width: 600px; margin: 20px auto 30px; }

/* Footer */
.footer {
 background-color: var(--primary-dark);
 color: #a9b3c1;
 padding: 80px 0 30px;
 margin-top: 80px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 50px; }
.footer-logo { font-family: var(--font-display); font-size: 1.8rem; color: var(--bg-white); margin-bottom: 15px; }
.footer-description { font-size: 0.9rem; line-height: 1.6; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
 width: 38px;
 height: 38px;
 display: flex;
 align-items: center;
 justify-content: center;
 color: var(--bg-white);
 background: rgba(255, 255, 255, 0.1);
 border-radius: 50%;
 transition: var(--transition);
}
.footer-social a:hover { background: var(--secondary-color); }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-heading { color: var(--bg-white); font-size: 1.1rem; font-family: var(--font-main); font-weight: 700; margin-bottom: 20px; }
.footer-links li, .footer-contact li, .footer-hours li { margin-bottom: 12px; }
.footer-links a, .footer-contact a { color: #a9b3c1; transition: var(--transition); }
.footer-links a:hover, .footer-contact a:hover { color: var(--bg-white); }
.footer-bottom {
 border-top: 1px solid rgba(255, 255, 255, 0.1);
 padding-top: 30px;
 display: flex;
 justify-content: space-between;
 align-items: center;
 font-size: 0.9rem;
}
.footer-legal { display: flex; list-style: none; gap: 20px; }
.footer-legal a { color: #a9b3c1; }
.footer-legal a:hover { color: var(--bg-white); }

/* Cookie Banner */
.cookie-banner {
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background-color: var(--primary-dark);
 color: var(--bg-white);
 padding: 20px;
 display: none;
 align-items: center;
 justify-content: space-between;
 gap: 20px;
 z-index: 1001;
 box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}
.cookie-banner p { margin: 0; }
.cookie-banner a { color: var(--secondary-color); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 10px; }
.cookie-buttons .btn-secondary { color: white; border-color: white; }

/* Responsive Styles */
@media (max-width: 1024px) {
 .content-grid, .service-detail, .service-detail-reversed { grid-template-columns: 1fr; }
 .service-detail-reversed .service-detail-image { grid-column: 1; grid-row: auto; }
 .footer-grid { grid-template-columns: repeat(2, 1fr); }
 .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
 .section { padding: 60px 0; }
 .nav-toggle { display: block; z-index: 1001; }
 .header-contact { display: none; }
 .nav-links {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100vh;
 background: var(--bg-white);
 flex-direction: column;
 justify-content: center;
 align-items: center;
 gap: 25px;
 transform: translateX(100%);
 transition: transform 0.4s ease-in-out;
 z-index: 1000;
 }
 .nav-links.active { transform: translateX(0); }
 .nav-links a { font-size: 1.5rem; }
 .form-group-split { grid-template-columns: 1fr; }
 .footer-grid { grid-template-columns: 1fr; }
 .footer-bottom { flex-direction: column; gap: 20px; }
 .cookie-banner { flex-direction: column; text-align: center; }
}

/* Animations */
.fade-in {
 opacity: 0;
 transform: translateY(20px);
 transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
 opacity: 1;
 transform: translateY(0);
}