/* Basis Instellingen & Variabelen - Vernieuwd Bouw Thema */
:root {
    --primary-color: #2b2d42; /* Donker staalgrijs, robuuster dan zwart */
    --secondary-color: #f0f2f5; /* Licht betongrijs, perfect als zachte achtergrond */
    --accent-color: #e67e22; /* Krachtig bouw-oranje */
    --text-color: #444444;
    --font-main: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--secondary-color);
    line-height: 1.7;
}

h1, h2, h3, h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

/* Herbruikbare Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.white-bg {
    background-color: #ffffff;
    max-width: 100%;
}

/* Animatie Classes (Fade in bij scrollen) */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.zichtbaar {
    opacity: 1;
    transform: translateY(0);
}

/* Navigatie */
header {
    background-color: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 10px 0;
}

header.scrolled {
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding: 5px 0;
}

header.scrolled .logo, header.scrolled nav ul li a {
    color: var(--primary-color);
}

.logo, nav ul li a {
    color: #ffffff;
    transition: color 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 45px;
    width: auto;
    display: block;
    object-fit: contain;
}

header.scrolled .logo-img {
    mix-blend-mode: normal;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul li a {
    text-decoration: none;
    font-weight: 600;
}

nav ul li a:hover {
    color: var(--accent-color) !important;
}

/* Hero Sectie */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(43, 45, 66, 0.7), rgba(43, 45, 66, 0.5)), url('img/IMG_0796.JPG') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 0 2rem;
}

.hero h1 {
    color: #ffffff;
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: #ffffff;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4); /* Oranje glow */
}

.btn:hover {
    background-color: #cf6d17; /* Iets donkerder oranje bij hover */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.6);
}

/* Features/Waarom Ons Sectie */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
    padding-top: 2rem;
}

.feature p {
    font-size: 0.95rem;
    color: #666666;
}

/* Algemene Sectie Opmaak */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    display: block;
    margin: 15px auto 0 auto;
    border-radius: 2px;
}

/* Diensten Sectie */
.diensten-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.dienst-card {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border-bottom: 4px solid transparent;
}

.dienst-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-bottom: 4px solid var(--accent-color);
}

.dienst-card h3 {
    color: var(--primary-color); /* Aangepast naar staalgrijs voor betere leesbaarheid */
}

/* Portfolio Sectie */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 300px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-item::after {
    content: '🔍 Bekijk';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    background: rgba(230, 126, 34, 0.85); /* Oranje overlay overlay */
    padding: 10px 20px;
    border-radius: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-weight: 600;
    pointer-events: none;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item:hover::after {
    opacity: 1;
}

/* Lightbox Styling */
.lightbox {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(43, 45, 66, 0.95); /* Diepe staalblauwe tint voor de lightbox */
    backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    margin-top: 5vh;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {transform: scale(0.9); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-lightbox:hover {
    color: var(--accent-color);
}

/* Over Ons & Contact Flex */
.split-section {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: center;
}

.split-content {
    flex: 1;
    min-width: 300px;
}

.split-image {
    flex: 1;
    min-width: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.split-image img {
    width: 100%;
    display: block;
}

/* Contact Formulier & Info */
.info-box p a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-details {
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-top: 1.5rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    background: #ffffff;
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

input, textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    font-family: inherit;
    background-color: #fcfcfc;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.15); /* Zachte oranje glow bij typen */
}

/* UITGEBREIDE FOOTER STYLING */
.main-footer {
    background-color: var(--primary-color);
    color: #dddddd;
    padding: 4rem 0 0 0;
    font-size: 0.95rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 3rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-logo {
    display: inline-block;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 1rem;
}

.footer-col p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a, .footer-col p a {
    color: #dddddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover, .footer-col p a:hover {
    color: var(--accent-color);
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-block;
    background: rgba(255,255,255,0.05);
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--accent-color);
}

.footer-bottom {
    background-color: #1a1b28; /* Nog een tintje donkerder dan de footer voor mooi contrast */
    text-align: center;
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: #888888;
}

/* Responsiviteit */
@media (max-width: 768px) {
    header { background-color: #ffffff; }
    .logo, nav ul li a { color: var(--primary-color); }
    .logo-text { display: none; } 
    .nav-container { flex-direction: column; gap: 1rem; }
    nav ul { flex-wrap: wrap; justify-content: center; gap: 1rem; }
    .hero h1 { font-size: 2.5rem; }
    .split-section { gap: 2rem; }
    .footer-container { text-align: center; }
    .footer-col h4::after { left: 50%; transform: translateX(-50%); }
    .social-links { justify-content: center; }
}