/* 
 * Z.A. Dakwerken - Redesigned CSS
 * Modern, responsive stylesheet for Z.A. Dakwerken website
 * Date: Juni 2025
 * Updated with logo colors: #b52128 (red) and #523b24 (brown)
 * Improved typography, removed gradients, specific icon colors
 */

/* Base styles and reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #000000; /* Zwart voor betere leesbaarheid op lichte achtergrond */
    background-color: #f5f7fa; /* Zachte grijsblauwe achtergrond */
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000000; /* Zwart voor betere leesbaarheid */
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 16px;
    color: #000000;
    font-weight: 400;
}

a {
    color: #523b24; /* Brown color from logo */
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

a:hover {
    color: #2563eb; /* Attention-grabbing blue */
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

[class*="col-"] {
    padding: 0 15px;
}

.col-12 {
    width: 100%;
}

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: #000000;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 16px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    background-color: #ffffff; /* Wit */
    color: #000000; /* Zwart */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: #e0e0e0; /* Lichtgrijs op hover */
    color: #000000; /* Zwart op hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: #ecf0f1;
    color: #2c3e50;
    border: 2px solid #bdc3c7;
}

.btn-secondary:hover {
    background-color: #d5dbdb;
    border-color: #95a5a6;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

/* Header styles */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative; /* Add this to make it a positioning context for absolute children */
}

.logo img {
    height: 60px;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Align items to the end (right) */
    flex-grow: 1; /* Allow nav to take available space */
    position: relative; /* Add this to make it a positioning context for absolute children */
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-item {
    margin: 0 5px;
}

.nav-link {
    display: block;
    padding: 12px 16px;
    color: #000000; /* Black for header */
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    background-color: transparent;
    border: none;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 15px;
}

.nav-link:hover, .nav-link.active {
    color: #b52128; /* Red from logo for better readability */
    background-color: rgba(181, 33, 40, 0.08);
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #b52128; /* Red accent instead of blue */
    transition: width 0.3s ease;
}

.nav-link:hover:after, .nav-link.active:after {
    width: 80%;
}

.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #2c3e50;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2), .hamburger span:nth-child(3) {
    top: 8px;
}

.hamburger span:nth-child(4) {
    top: 16px;
}

/* USP Bar */
.usp-bar {
    background-color: #ffffff;
    padding: 12px 0;
    border-bottom: 1px solid #e8eef2;
}

.usp-list {
    display: flex;
    justify-content: space-around;
    list-style: none;
    flex-wrap: wrap;
}

.usp-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
}

.usp-text {
    font-size: 14px;
    font-weight: 600;
    color: #000000;
}

.fas, .fab {
    color: #b52128 !important;
}

.usp-icon {
    margin-right: 10px;
    font-size: 18px;
}

/* Hero section */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 120px 0;
    text-align: center;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.6); /* Darker overlay for better text readability */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    font-weight: 400;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-buttons {
    margin-top: 30px;
}

.hero-buttons .btn {
    margin: 0 10px 10px 0;
}

/* Page hero */
.page-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.page-hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.7);
}

.page-hero-title {
    position: relative;
    font-size: 36px;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 700;
}

.page-hero-subtitle {
    position: relative;
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* About section */
.about-section {
    background-color: #ffffff;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Services section */
.services-section {
    background-color: #f5f7fa;
}

.service-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border-top: 4px solid #b52128; /* Red accent */
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: #000000;
    font-weight: 600;
}

.service-description {
    margin-bottom: 20px;
    color: #000000;
    line-height: 1.6;
}

/* Projects section */
.projects-section {
    background-color: #ffffff;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.project-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.project-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
    color: #fff;
}

.project-title {
    font-size: 20px;
    margin-bottom: 5px;
    color: #fff;
    font-weight: 600;
}

.project-category {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 400;
    color: #fff;
}

/* Testimonials section */
.testimonials-section {
    background-color: #f5f7fa;
}

.testimonial-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #b52128; /* Red accent */
}

.testimonial-card:before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 80px;
    position: absolute;
    top: 5px;
    left: 15px;
    color: rgba(181, 33, 40, 0.05);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    color: #000000;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: #000000;
}

.testimonial-location {
    font-size: 14px;
    color: #000000;
}

/* Features section */
.features-section {
    background-color: #ffffff;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.feature-card {
    text-align: center;
    padding: 20px;
    margin-bottom: 30px;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: #000000;
    font-weight: 600;
}

/* CTA section */
.cta-section {
    background-color: #34495e; /* Dark grey background */
    color: #fff;
    text-align: center;
    padding: 80px 0;
    border-radius: 12px;
    margin: 20px 0;
}

.cta-title {
    color: #fff;
    margin-bottom: 20px;
}

.cta-text {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 18px;
    line-height: 1.6;
}

/* Contact section */
.contact-section {
    background-color: #ffffff;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Contact cards grid */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Kaart-styling voor elk contact-item */
.contact-item {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: flex-start;
}

/* Icon styling */
.contact-icon {
    font-size: 24px;
    margin-right: 15px;
    color: #b52128;
    flex-shrink: 0;
}

/* Tekst in de kaarten */
.contact-details h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    color: #523b24;
}
.contact-details p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}
.contact-details a:hover {
    text-decoration: underline;
}


.contact-info {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    font-size: 20px;
    margin-right: 15px;
    margin-top: 3px;
}

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

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #000000;
    font-size: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e8eef2;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.3s ease;
    background-color: #ffffff;
    color: #000000;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #2563eb; /* Blue color */
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* Map */
.map-container {
    height: 400px;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
}

/* Footer */
.footer {
    background-color: #ffffff; /* Wit */
    color: #000000; /* Donkere tekstkleur */
    padding: 60px 0 20px;
    border-radius: 12px 12px 0 0;
    margin-top: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-text {
    margin-bottom: 20px;
    opacity: 0.9;
    line-height: 1.6;
}

.footer-heading {
    color: #000000; /* Black text color for better readability */
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    margin-bottom: 20px;
}

.footer-link {
    margin-bottom: 10px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-link i {
    margin-right: 10px;
    width: 16px;
    text-align: center;
}

.footer-link a {
    color: #000000; /* Black text color for better readability */
    font-weight: 400;
}

.footer-link:hover,
.footer-link a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(236, 240, 241, 0.2);
    opacity: 0.8;
    font-size: 14px;
}

/* Cookie consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #2c3e50; /* Solid dark background instead of gradient */
    color: #ecf0f1;
    padding: 20px 0;
    z-index: 9999;
    display: none;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0 20px 0 0;
    line-height: 1.6;
    font-weight: 400;
}

.cookie-content a {
    color: #ecf0f1;
    text-decoration: underline;
    font-weight: 600;
}

.cookie-accept {
    white-space: nowrap;
}

.cookie-accept .btn {
    background-color: #2563eb;
    color: #ffffff;
    font-weight: 600;
}

.cookie-accept .btn:hover {
    background-color: #9e1d23;
}

/* Responsive styles */
@media (min-width: 768px) {
    .col-md-4 {
        width: 33.33%;
    }
    
    .col-md-6 {
        width: 50%;
    }
    
    .col-md-8 {
        width: 66.67%;
    }
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .product-gallery,
    .product-info {
        flex: 0 0 100%;
    }
    
    .product-gallery {
        padding-right: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 15px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .header-inner {
        position: relative;
    }
    
    .logo {
        text-align: center;
        margin-bottom: 15px;
    }
    
    .nav {
        width: 100%;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
        display: none; /* Initially hidden */
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #ffffff;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 12px 12px;
        padding: 20px 0;
        z-index: 1000;
    }
    
    .header .nav .nav-list.active {
        display: flex !important; /* Show when active with important */
    }
    
    /* Additional specificity for mobile menu */
    .header .nav .nav-list.active {
        display: flex !important;
    }
    
    .nav-item {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        padding: 15px;
        border-bottom: 1px solid #f8f9fa;
        margin: 0 20px;
        border-radius: 8px;
        font-size: 16px;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .hamburger {
        display: block !important; /* Force display in mobile */
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .usp-list {
        flex-direction: column;
    }
    
    .usp-item {
        justify-content: center;
        margin-bottom: 10px;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .page-hero {
        padding: 60px 0;
    }
    
    .page-hero-title {
        font-size: 28px;
    }
    
    .cookie-con
(Content truncated due to size limit. Use line ranges to read in chunks)

@media (max-width: 767px) {
    .usp-bar.mobile-friendly {
        display: none;
    }
}



.section .row img {
    width: 100%;
    height: 250px; /* Set a fixed height for uniformity */
    object-fit: cover; /* Ensure images cover the area without distortion */
    border-radius: 8px;
}




.project-gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

