:root {
    --primary-color: #2C3E50;
    --secondary-color: #D35400;
    --bg-color: #F8F9FA;
    --text-color: #333;
    --whatsapp: #25D366;
    --call: #28a745;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Navigatie */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.logo span { color: var(--secondary-color); }

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover { color: var(--secondary-color); }

/* Hero */
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('/fotos/veranda-bouwen-rhenen.webp') center/cover;
    height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--secondary-color);
    color: #fff;
    padding: 15px 28px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s, transform 0.2s;
}

.btn:hover {
    background-color: #e67e22;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #fff;
}

.btn-outline:hover { background-color: rgba(255,255,255,0.15); }

.btn svg { width: 18px; height: 18px; }

/* Diensten */
.services {
    padding: 70px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    color: var(--primary-color);
    font-size: 2.3rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: -10px;
    left: 25%;
}

.section-intro {
    max-width: 600px;
    margin: 25px auto 45px;
    color: #666;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 10px;
    padding: 35px 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(211, 84, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
}

.service-icon svg { width: 32px; height: 32px; }

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
}

/* USP Bar */
.usp-bar {
    background: var(--primary-color);
    color: #fff;
    padding: 35px 20px;
}

.usp-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    text-align: center;
}

.usp-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.usp-item svg {
    width: 36px;
    height: 36px;
    color: var(--secondary-color);
}

.usp-item strong { font-size: 1.05rem; }
.usp-item span { font-size: 0.9rem; opacity: 0.85; }

/* Projects Gallery */
.projects {
    padding: 70px 20px;
    background-color: #fff;
    text-align: center;
    overflow: hidden;
}

.gallery-wrapper {
    max-width: 900px;
    margin: 30px auto 0;
    position: relative;
    user-select: none;
}

.gallery-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    background: #1a1a1a;
}

.gallery-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.gallery-track.dragging { transition: none; }

.gallery-slide {
    min-width: 100%;
    position: relative;
}

.gallery-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    color: #fff;
    padding: 40px 25px 25px;
    text-align: left;
}

.slide-caption h3 { font-size: 1.3rem; margin-bottom: 4px; }
.slide-caption p { font-size: 0.95rem; opacity: 0.85; }

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.92);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-btn svg { width: 22px; height: 22px; }
.gallery-btn:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.gallery-btn-prev { left: 15px; }
.gallery-btn-next { right: 15px; }

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-dot.active {
    background: var(--secondary-color);
    transform: scale(1.25);
}

.gallery-counter {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
}

/* About */
.about {
    background-color: var(--bg-color);
    padding: 70px 20px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

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

.about-text h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-text p { margin-bottom: 15px; }

.about-list {
    list-style: none;
    margin-top: 20px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.about-list svg {
    width: 22px;
    height: 22px;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.about-image { flex: 1; min-width: 300px; }
.about-image img {
    width: 100%;
    max-width: 400px;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Contact */
.contact {
    padding: 70px 20px;
    background-color: #fff;
    text-align: center;
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.info-item {
    background: var(--bg-color);
    padding: 25px 20px;
    border-radius: 10px;
    text-align: center;
}

.info-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.info-icon svg { width: 24px; height: 24px; }

.info-item h4 {
    color: var(--primary-color);
    margin-bottom: 6px;
}

.info-item p, .info-item a {
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
    word-break: break-word;
}

.info-item a:hover { color: var(--secondary-color); }

/* Footer */
footer {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 25px 20px;
}

.footer-seo {
    font-size: 0.85em;
    margin-top: 8px;
    opacity: 0.8;
}

.footer-links {
    margin: 18px auto 0;
    max-width: 760px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.footer-links-title {
    font-size: 0.9em;
    opacity: 0.85;
    margin-bottom: 12px;
}

.footer-links-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 8px;
}

.footer-links-list a {
    color: #fff;
    text-decoration: none;
    opacity: 0.9;
    font-size: 0.9em;
    line-height: 1.2;
    padding: 0 14px;
    border-right: 1px solid rgba(255,255,255,0.25);
}

.footer-links-list a:last-child {
    border-right: none;
}

.footer-links-list a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

/* ===== ZWEVENDE KNOPPEN ===== */
.floating-buttons {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    position: relative;
}

.float-btn svg { width: 28px; height: 28px; }

.float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

.float-btn.call { background: var(--call); }
.float-btn.whatsapp { background: var(--whatsapp); }
.float-btn.quote { background: var(--secondary-color); }

.float-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: #fff;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.float-btn:hover::before { opacity: 1; }

/* Pulse animatie op belknop */
.float-btn.call::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--call);
    opacity: 0.6;
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ===== MODAL OFFERTE FORMULIER ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    animation: fadeIn 0.3s;
}

.modal-overlay.active { display: flex; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal {
    background: #fff;
    border-radius: 12px;
    max-width: 550px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 35px 30px;
    position: relative;
    animation: slideUp 0.3s;
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 5px;
    display: flex;
}

.modal-close svg { width: 24px; height: 24px; }
.modal-close:hover { color: var(--secondary-color); }

.modal h2 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.7rem;
}

.modal p.modal-sub {
    color: #666;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--primary-color);
    font-size: 0.92rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

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

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-submit {
    width: 100%;
    padding: 14px;
    justify-content: center;
    margin-top: 10px;
}

.form-success {
    display: none;
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    text-align: center;
}

.form-success.show { display: block; }

/* ===== CONTENT / SEO TEKST ===== */
.content-section {
    padding: 70px 20px;
    background-color: var(--bg-color);
}

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

.content-container h2 {
    color: var(--primary-color);
    font-size: 1.9rem;
    margin: 35px 0 15px;
}

.content-container h2:first-child { margin-top: 0; }

.content-container p {
    margin-bottom: 15px;
    color: #444;
}

.content-container ul {
    margin: 0 0 15px 22px;
    color: #444;
}

.content-container ul li { margin-bottom: 8px; }

.content-container a {
    color: var(--secondary-color);
    font-weight: 600;
}

/* ===== FAQ ===== */
.faq {
    padding: 70px 20px;
    background-color: #fff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.faq-list {
    margin-top: 40px;
    text-align: left;
}

.faq-item {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    margin-bottom: 14px;
    overflow: hidden;
    background: #fff;
}

.faq-item summary {
    cursor: pointer;
    padding: 18px 22px;
    font-weight: 600;
    color: var(--primary-color);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    line-height: 1;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.faq-item[open] summary::after { content: '\2212'; }

.faq-item .faq-answer {
    padding: 0 22px 18px;
    color: #555;
}

/* ===== REVIEWS ===== */
.reviews {
    padding: 70px 20px;
    background-color: var(--bg-color);
    text-align: center;
    overflow: hidden;
}

.reviews-container { max-width: 1200px; margin: 0 auto; }

.reviews-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin: 25px auto 40px;
}

.reviews-rating .stars {
    color: #fbbc04;
    font-size: 1.8rem;
    letter-spacing: 3px;
}

.reviews-rating .score { font-size: 1.05rem; color: #555; }
.reviews-rating .score strong { color: var(--primary-color); font-size: 1.3rem; }

/* Carousel */
.reviews-carousel {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    user-select: none;
}

.reviews-viewport {
    overflow: hidden;
    padding: 10px 5px;
}

.reviews-track {
    display: flex;
    gap: 25px;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.reviews-track.dragging { transition: none; }

.g-review-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    text-align: left;
    flex-shrink: 0;
}

.g-reviewer-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.g-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin-right: 12px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.g-avatar-m { background-color: #e7711b; }
.g-avatar-e { background-color: #7d34d1; }
.g-avatar-s { background-color: #70757a; }
.g-avatar-l { background-color: #1a73e8; }
.g-avatar-b { background-color: #0f9d58; }
.g-avatar-li { background-color: #d93025; }

.g-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.g-verified {
    font-size: 12px;
    color: #888;
    margin: 2px 0 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.g-verified svg { width: 13px; height: 13px; color: #1a73e8; }

.g-stars {
    color: #fbbc04;
    font-size: 18px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.g-text {
    font-size: 14px;
    color: #3c4043;
    line-height: 1.6;
    margin: 0 0 18px;
    flex-grow: 1;
}

.g-link {
    font-size: 14px;
    color: #1a73e8;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.g-link svg { width: 15px; height: 15px; }
.g-link:hover { text-decoration: underline; }

/* Carousel knoppen */
.reviews-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #e0e0e0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    transition: all 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviews-btn svg { width: 22px; height: 22px; }
.reviews-btn:hover { background: var(--secondary-color); color: #fff; border-color: var(--secondary-color); }
.reviews-btn-prev { left: -10px; }
.reviews-btn-next { right: -10px; }
.reviews-btn:disabled { opacity: 0.35; cursor: default; }
.reviews-btn:disabled:hover { background: #fff; color: var(--primary-color); border-color: #e0e0e0; }

.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.reviews-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.reviews-dot.active {
    background: var(--secondary-color);
    transform: scale(1.25);
}

.reviews-cta { margin-top: 40px; }

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 14px 15px;
    }
    .logo { font-size: 20px; }
    nav { width: 100%; }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 16px;
    }
    .hero { height: 65vh; min-height: 420px; }
    .hero-content h1 { font-size: 2rem; }
    .hero-content p { font-size: 1rem; }
    .gallery-slide img { height: 300px; }
    .gallery-btn { width: 40px; height: 40px; }
    .gallery-btn-prev { left: 8px; }
    .gallery-btn-next { right: 8px; }
    .section-title { font-size: 1.8rem; }
    .floating-buttons { bottom: 15px; right: 15px; gap: 10px; }
    .float-btn { width: 54px; height: 54px; }
    .float-btn svg { width: 24px; height: 24px; }
    .form-row { grid-template-columns: 1fr; }
    .modal { padding: 25px 20px; }
    .reviews-btn-prev { left: 0; }
    .reviews-btn-next { right: 0; }
    .reviews-btn { width: 40px; height: 40px; }
}

@media (max-width: 480px) {
    .gallery-slide img { height: 240px; }
}
