/* =====================================================
   IDGS Constructions - Modern Website Styling
   Primary Color: #D94452 (Logo Red/Pink)
   Secondary: #2C3E50 (Dark Blue/Gray)
   ===================================================== */

/* CSS Reset & Variables */
:root {
    --primary: #D94452;
    --primary-dark: #B83544;
    --primary-light: #E86370;
    --secondary: #2C3E50;
    --secondary-light: #34495E;
    --text-dark: #1a1a2e;
    --text-light: #666;
    --text-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a2e;
    --border-color: #e0e0e0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --radius: 8px;
    --radius-lg: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--text-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1rem; }

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

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

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border-color: var(--text-white);
}

.btn-secondary:hover {
    background: var(--text-white);
    color: var(--primary);
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background: transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--secondary);
    padding: 10px 0;
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-menu a {
    color: var(--text-white);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 20px;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

.lang-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-white);
}

.lang-btn.active:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 28px;
    height: 3px;
    background: var(--text-white);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    position: relative;
    min-height: 60vh;
    max-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--secondary);
}

/* Hero Carousel Background */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 1s ease-in-out;
}

.hero-carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.hero-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero Overlay - over carousel */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(44, 62, 80, 0.7) 0%,
        rgba(52, 73, 94, 0.5) 50%,
        rgba(44, 62, 80, 0.65) 100%
    );
    z-index: 1;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-white);
    padding: 0 20px;
}

.hero-content h1 {
    color: var(--text-white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 20px auto 0;
    border-radius: 2px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
}

.scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 10px;
    background: var(--primary);
    border-radius: 3px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 28px; }
}

/* =====================================================
   SECTION HEADER
   ===================================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 20px auto 0;
}

/* =====================================================
   SERVICES SECTION (Buttons + Popup Modals)
   ===================================================== */
.services {
    padding: 50px 0;
    background: var(--bg-light);
}

.services-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.service-btn {
    background: var(--text-white);
    border: 2px solid transparent;
    padding: 20px 15px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.service-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-btn:hover::before {
    transform: scaleX(1);
}

.service-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.service-btn-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-btn-icon svg {
    width: 22px;
    height: 22px;
    color: var(--text-white);
}

.service-btn span {
    color: var(--secondary);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
}

/* Service Button Wrapper (for hover popup) */
.service-btn-wrap {
    position: relative;
}

/* Service Hover Popup */
.service-popup {
    display: none;
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    background: var(--text-white);
    border-radius: var(--radius);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    border: 2px solid var(--secondary);
    border-top: 4px solid var(--primary);
    padding: 0;
    z-index: 100;
    animation: popupFadeIn 0.2s ease;
}

@keyframes popupFadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(8px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Arrow pointing down */
.service-popup::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--text-white);
}

.service-popup::before {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid var(--secondary);
}

.service-btn-wrap:hover .service-popup,
.service-btn-wrap:focus-within .service-popup {
    display: block;
}

.service-popup h4 {
    background: var(--secondary);
    color: var(--text-white);
    padding: 10px 15px;
    margin: 0;
    font-size: 0.95rem;
    border-radius: var(--radius) var(--radius) 0 0;
}

.service-popup ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-popup ul li {
    padding: 8px 15px 8px 30px;
    position: relative;
    font-size: 0.85rem;
    color: var(--text-light);
    border-bottom: 1px solid var(--bg-light);
}

.service-popup ul li:last-child {
    border-bottom: none;
}

.service-popup ul li::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    background: var(--primary);
    border-radius: 50%;
}

.service-popup-cta {
    display: block;
    text-align: center;
    background: var(--primary);
    color: var(--text-white);
    padding: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 calc(var(--radius) - 2px) calc(var(--radius) - 2px);
    transition: var(--transition);
}

.service-popup-cta:hover {
    background: var(--primary-dark);
    color: var(--text-white);
}

/* =====================================================
   PROJECTS SECTION
   ===================================================== */
.projects {
    padding: 100px 0;
}

/* Project Categories */
.projects-category {
    margin-bottom: 80px;
}

.projects-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--secondary);
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.category-subtitle {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

/* Project Showcase (voor/na projecten) */
.project-showcase {
    margin-bottom: 50px;
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius-lg);
}

.showcase-title {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

/* Before/After Grid */
.before-after-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.before-after-grid .project-card {
    background: transparent;
    box-shadow: none;
}

.before-after-grid .project-image {
    height: 220px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.projects-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.projects-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* HVT Layout: 3 links gestapeld + 1 hoge rechts */
.projects-grid-hvt {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 20px;
}

.projects-grid-hvt .card-tall {
    grid-row: 1 / -1;
    grid-column: 2;
}

.projects-grid-hvt .card-tall .project-image {
    height: 100%;
}

/* Rixensart Layout: 2 boven + 1 volle breedte onder */
.projects-grid-rix {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.projects-grid-rix .card-wide {
    grid-column: 1 / -1;
}

.projects-grid-rix .card-wide .project-image {
    height: 300px;
}

/* Responsive voor custom layouts */
@media (max-width: 768px) {
    .projects-grid-hvt {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .projects-grid-hvt .card-tall {
        grid-row: auto;
        grid-column: auto;
    }

    .projects-grid-hvt .card-tall .project-image {
        height: 250px;
    }

    .projects-grid-rix {
        grid-template-columns: 1fr;
    }

    .projects-grid-rix .card-wide {
        grid-column: auto;
    }

    .projects-grid-rix .card-wide .project-image {
        height: 250px;
    }
}

.project-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: var(--text-white);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.project-card-small {
    box-shadow: var(--shadow);
}

.project-card-small .project-image {
    height: 180px;
}

.project-card-small .project-info {
    padding: 15px;
}

.project-card-small .project-info h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.project-card-small .project-info p {
    font-size: 0.85rem;
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

/* Project Badges */
.project-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 14px;
    background: var(--secondary);
    color: var(--text-white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
    z-index: 5;
}

.project-badge.voor {
    background: #e74c3c;
}

.project-badge.tijdens {
    background: #f39c12;
}

.project-badge.na {
    background: #27ae60;
}

.project-badge.wip {
    background: #f39c12;
}

/* Before/After Hover Cards */
.before-after-card {
    cursor: pointer;
}

.before-after-card .project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.before-after-card .img-before,
.before-after-card .img-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.before-after-card .img-after {
    z-index: 3;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.before-after-card .img-before {
    z-index: 2;
}

/* Desktop hover: toon "voor" foto */
.before-after-card:hover .img-after {
    opacity: 0;
}

/* Mobiel tap: toon "voor" foto via .active class */
.before-after-card.active .img-after {
    opacity: 0;
}

/* Badge switching */
.before-after-card .badge-before {
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 6;
}

.before-after-card .badge-after {
    opacity: 1;
    transition: opacity 0.5s ease;
    z-index: 6;
}

.before-after-card:hover .badge-after,
.before-after-card.active .badge-after {
    opacity: 0;
}

.before-after-card:hover .badge-before,
.before-after-card.active .badge-before {
    opacity: 1;
}

/* Disable lift effect on before-after cards, keep subtle shadow */
.before-after-card:hover {
    transform: none;
    box-shadow: var(--shadow-lg);
}

.before-after-card:hover .project-image img {
    transform: none;
}

/* Hint indicator */
.before-after-hint {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 12px;
    z-index: 6;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.before-after-card:hover .before-after-hint,
.before-after-card.active .before-after-hint {
    opacity: 0;
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    margin-bottom: 10px;
    color: var(--secondary);
}

.project-info p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Projects Responsive */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .projects-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .projects-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .before-after-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .projects-grid-3 {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .projects-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .before-after-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-showcase {
        padding: 20px;
    }

    .projects-category {
        margin-bottom: 50px;
    }
}

@media (max-width: 480px) {
    .projects-grid-3 {
        grid-template-columns: 1fr;
    }

    .projects-grid-4 {
        grid-template-columns: 1fr;
    }

    .project-card-small .project-image {
        height: 200px;
    }
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */
.about {
    padding: 100px 0;
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 800px;
    margin: 0 auto;
}

.about-text h2 {
    margin-bottom: 25px;
}

.about-text h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin-top: 15px;
    border-radius: 2px;
}

.about-text p {
    color: var(--text-light);
    font-size: 1.05rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--text-white);
}

.feature span {
    font-weight: 500;
    color: var(--secondary);
}

/* about-image verwijderd - geen foto meer in about sectie */

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact {
    padding: 20px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 0;
}

.contact-info {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.contact-item {
    display: flex;
    gap: 10px;
    align-items: center;
}

.contact-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 16px;
    height: 16px;
    color: var(--text-white);
}

.contact-details h4 {
    margin-bottom: 0;
    color: var(--secondary);
    font-size: 0.75rem;
}

.contact-details p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.8rem;
}

.contact-details a {
    color: var(--primary);
}

.contact-details a:hover {
    color: var(--primary-dark);
}

/* Contact Form */
.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background: var(--bg-light);
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    max-width: 650px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 2px;
    color: var(--secondary);
    font-size: 0.78rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 6px 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.85rem;
    transition: var(--transition);
    background: var(--text-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 40px;
}

/* File Upload */
.file-upload-zone {
    border: 1px dashed var(--border-color);
    border-radius: var(--radius);
    padding: 8px 12px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--text-white);
}

.file-upload-zone:hover,
.file-upload-zone.dragover {
    border-color: var(--primary);
    background: rgba(231, 76, 60, 0.04);
}

.file-upload-zone svg {
    width: 16px;
    height: 16px;
    color: var(--text-light);
    margin-bottom: 2px;
}

.file-upload-zone p {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 1px;
    line-height: 1.2;
}

.file-upload-zone .upload-hint {
    font-size: 0.68rem;
    color: #999;
}

.file-upload-zone input[type="file"] {
    display: none;
}

.file-list {
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-light);
    padding: 5px 10px;
    border-radius: var(--radius);
    font-size: 0.85rem;
}

.file-item-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
    min-width: 0;
}

.file-item-info span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-item-size {
    color: var(--text-light);
    font-size: 0.78rem;
    flex-shrink: 0;
}

.file-item-remove {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0 4px;
    flex-shrink: 0;
}

.file-upload-error {
    color: #e74c3c;
    font-size: 0.82rem;
    margin-top: 6px;
    display: none;
}

.file-upload-error.show {
    display: block;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    cursor: pointer;
    font-size: 0.75rem;
    color: var(--text-light);
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 1px;
    accent-color: var(--primary);
}

.checkbox-label a {
    color: var(--primary);
}

.contact-form .btn {
    grid-column: span 2;
    justify-self: start;
    padding: 8px 24px;
    font-size: 0.85rem;
}

.contact .section-header {
    margin-bottom: 8px;
}

.contact .section-header h2 {
    font-size: 1.8rem;
    margin-bottom: 2px;
}

.contact .section-header h2::after {
    margin: 4px auto 0;
    height: 2px;
    width: 40px;
}

.contact .section-header p {
    font-size: 0.8rem;
    margin-bottom: 0;
}

/* Map Container */
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    display: block;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--secondary);
    color: var(--text-white);
    padding: 80px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer h4 {
    color: var(--text-white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links ul li,
.footer-services ul li {
    padding: 8px 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-services ul li {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.footer-lang {
    display: flex;
    gap: 10px;
    align-items: center;
}

.footer-lang a {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.footer-lang a.active,
.footer-lang a:hover {
    color: var(--primary);
}

.footer-lang span {
    color: rgba(255, 255, 255, 0.4);
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 1024px) {
    .services-buttons {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--secondary);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        gap: 25px;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        font-size: 1.1rem;
    }

    /* Hero */
    .hero-content {
        padding-top: 60px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    /* CTA Banner - kleiner op mobiel, meer foto zichtbaar */
    .cta-banner {
        padding: 40px 0;
    }

    .cta-content {
        padding: 24px 20px;
        margin: 0 16px;
    }

    .cta-content h2 {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }

    .cta-content p {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }

    /* Services */
    .services-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* Projects */
    .projects-grid {
        grid-template-columns: 1fr;
    }

    /* Contact Form */
    .contact-form {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .contact-form .btn {
        grid-column: span 1;
        width: 100%;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand img {
        margin: 0 auto 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.8rem;
    }

    .services-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .service-btn {
        padding: 15px 12px;
    }

    .service-btn span {
        font-size: 0.85rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .service-btn-icon {
        width: 38px;
        height: 38px;
    }

    .service-popup {
        width: 220px;
        left: 0;
        transform: translateX(0);
    }

    .service-popup::after,
    .service-popup::before {
        left: 30px;
        transform: none;
    }
}

/* =====================================================
   ANIMATIONS & EFFECTS
   ===================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-btn-wrap,
.project-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Smooth scroll padding for fixed nav */
html {
    scroll-padding-top: 80px;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: var(--primary);
    color: var(--text-white);
}

/* Print styles */
@media print {
    .navbar,
    .hero,
    .scroll-indicator,
    .mobile-menu-btn {
        display: none;
    }

    body {
        font-size: 12pt;
    }

    .container {
        max-width: 100%;
    }
}

/* =====================================================
   CTA BANNER SECTION
   ===================================================== */
.cta-banner {
    position: relative;
    padding: 80px 0;
    background: url('../images/nb001-1920.jpg') center/cover no-repeat;
}

.cta-content {
    position: relative;
    text-align: center;
    color: var(--text-dark);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(2px);
    padding: 40px;
    border-radius: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

.cta-content .btn-primary {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

.cta-content .btn-primary:hover {
    background: transparent;
    color: var(--text-white);
    border-color: var(--text-white);
}

/* =====================================================
   COOKIE CONSENT BANNER (GDPR Compliant)
   ===================================================== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--secondary);
    color: var(--text-white);
    padding: 20px;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h4 {
    margin-bottom: 8px;
    color: var(--text-white);
    font-size: 1.1rem;
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.cookie-text a {
    color: var(--primary-light);
    text-decoration: underline;
}

.cookie-text a:hover {
    color: var(--primary);
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.cookie-btn-accept {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

.cookie-btn-accept:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.cookie-btn-settings {
    background: transparent;
    color: var(--text-white);
    border-color: rgba(255, 255, 255, 0.3);
}

.cookie-btn-settings:hover {
    border-color: var(--text-white);
}

.cookie-btn-reject {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border-color: transparent;
    text-decoration: underline;
}

.cookie-btn-reject:hover {
    color: var(--text-white);
}

/* Cookie Settings Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 20px;
}

.cookie-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-content {
    background: var(--text-white);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.cookie-modal-header {
    padding: 25px 30px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-header h3 {
    margin: 0;
    color: var(--secondary);
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-light);
    line-height: 1;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.cookie-modal-close:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.cookie-modal-body {
    padding: 30px;
}

.cookie-category {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.cookie-category:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cookie-category h4 {
    margin: 0;
    color: var(--secondary);
    font-size: 1rem;
}

.cookie-toggle {
    position: relative;
    width: 50px;
    height: 26px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--border-color);
    border-radius: 26px;
    transition: var(--transition);
}

.cookie-toggle-slider::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: var(--text-white);
    border-radius: 50%;
    transition: var(--transition);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background: var(--primary);
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
    transform: translateX(24px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-category p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.cookie-modal-footer {
    padding: 20px 30px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.cookie-modal-footer .btn {
    padding: 12px 28px;
}

/* =====================================================
   LEGAL MODALS (Privacy Policy, Terms, Cookie Policy)
   ===================================================== */
.legal-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 20px;
}

.legal-modal.show {
    opacity: 1;
    visibility: visible;
}

.legal-modal-content {
    background: var(--text-white);
    border-radius: var(--radius-lg);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
}

.legal-modal-header {
    padding: 25px 30px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.legal-modal-header h3 {
    margin: 0;
    color: var(--secondary);
}

.legal-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-light);
    line-height: 1;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.legal-modal-close:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.legal-modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.legal-modal-body h4 {
    color: var(--secondary);
    margin: 25px 0 12px;
    font-size: 1.1rem;
}

.legal-modal-body h4:first-child {
    margin-top: 0;
}

.legal-modal-body p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.legal-modal-body ul {
    margin: 15px 0;
    padding-left: 25px;
    list-style: disc;
}

.legal-modal-body ul li {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.legal-modal-body a {
    color: var(--primary);
}

.legal-modal-body a:hover {
    text-decoration: underline;
}

/* Footer Legal Links */
.footer-legal {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.footer-legal-links a:hover {
    color: var(--primary);
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =====================================================
   RESPONSIVE FOR COOKIE/LEGAL
   ===================================================== */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-modal-content,
    .legal-modal-content {
        max-height: 95vh;
        margin: 10px;
    }

    .cookie-modal-header,
    .legal-modal-header {
        padding: 20px;
    }

    .cookie-modal-body,
    .legal-modal-body {
        padding: 20px;
    }

    .cookie-modal-footer {
        flex-direction: column;
        padding: 15px 20px;
    }

    .cookie-modal-footer .btn {
        width: 100%;
    }

    .cta-banner {
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    .cookie-btn {
        width: 100%;
        text-align: center;
    }

    .footer-legal-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* =====================================================
   PHOTO CAROUSEL SECTION
   ===================================================== */
.photo-carousel-section {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    background: var(--secondary);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Carousel Navigation */
    width: auto;
    margin: 0 auto;
    animation: logoFloat 3s ease-in-out infinite, logoPulse 2s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes logoPulse {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(217, 68, 82, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 25px rgba(217, 68, 82, 0.8));
    }
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 20;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.carousel-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.carousel-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* Carousel Responsive */
@media (max-width: 768px) {
    .photo-carousel-section {
        height: 60vh;
        min-height: 400px;
    }

    .logo-animate {
        height: 70px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .carousel-nav {
        padding: 0 10px;
    }

    .language-switcher {
        position: absolute;
        right: 60px;
        top: 50%;
        transform: translateY(-50%);
    }

    .lang-btn {
        width: 35px;
        height: 35px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .photo-carousel-section {
        height: 50vh;
        min-height: 350px;
    }

    .logo-animate {
        height: 60px;
    }

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

    .carousel-content h2 {
        font-size: 1.5rem;
    }

    .carousel-content p {
        font-size: 1rem;
    }
}

/* =====================================================
   ROLLING LOGO TICKER
   ===================================================== */
.logo-ticker {
    background: var(--primary);
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-track {
    display: flex;
    animation: ticker-scroll 18s linear infinite;
}

.ticker-content {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-right: 30px;
    flex-shrink: 0;
}

.ticker-content img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}

.ticker-content span,
.ticker-content .ticker-link {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-shrink: 0;
    white-space: nowrap;
}

.ticker-link {
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s;
    padding: 4px 0;
}

.ticker-link:hover {
    opacity: 0.8;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.ticker-dot {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 0.8rem !important;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.logo-ticker:hover .ticker-track {
    animation-play-state: paused;
}

/* Ticker Responsive */
@media (max-width: 768px) {
    .ticker-content img {
        height: 30px;
    }

    .ticker-content span {
        font-size: 0.9rem;
    }

    .ticker-content {
        gap: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 480px) {
    .logo-ticker {
        padding: 12px 0;
    }

    .ticker-content img {
        height: 25px;
    }

    .ticker-content span {
        font-size: 0.8rem;
    }

    .ticker-content {
        gap: 15px;
        padding-right: 15px;
    }
}
