/* Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*
Theme Name: Danny Tuin & Bouw
Theme URI: https://dannytuinenbouw.nl
Author: Danny
Author URI: https://dannytuinenbouw.nl
Description: Professioneel WordPress theme voor Danny Tuin & Bouw - Tuinaanleg en Bouwwerken
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: danny-tuin-bouw
Tags: business, portfolio, green, construction, garden
*/

:root {
    --primary-color: #2d7f4f;
    --secondary-color: #f5a623;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --border-radius: 8px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Navigation */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-brand h1 {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e5a3a 100%);
    color: white;
    padding: 120px 20px;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

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

.btn-primary:hover {
    background: #e09512;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 166, 35, 0.3);
}

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

.btn-secondary:hover {
    background: #1e5a3a;
    transform: translateY(-2px);
}

/* Projecten Sectie */
.projecten {
    padding: 80px 20px;
    background: var(--light-color);
}

.projecten h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--dark-color);
}

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

.project-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-image h3 {
    font-size: 20px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Card image specifics */
.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Title overlay on image */
.project-image .overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 20px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.45) 100%);
}
.project-image .overlay h3 {
    margin: 0;
    color: white;
    font-size: 18px;
}

.project-content {
    padding: 18px 20px 24px 20px;
}

.project-content p {
    color: #58606a;
    margin-bottom: 14px;
}

.project-cta {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    background: var(--primary-color);
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.project-cta:hover { background: #23643a; }
.project-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
}

.project-image h3 {
    font-size: 20px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.project-card p {
    padding: 20px;
    color: #666;
    font-size: 15px;
}

/* Informatie Sectie */
.info {
    padding: 80px 20px;
    background: white;
}

.info h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--dark-color);
}

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

.info-card {
    text-align: center;
    padding: 30px;
    background: var(--light-color);
    border-radius: var(--border-radius);
    transition: background 0.3s ease;
}

.info-card:hover {
    background: #f0f0f0;
}

.info-icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}

.info-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.info-card p {
    color: var(--gray-color);
    font-size: 15px;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 30px 20px;
    text-align: center;
}

/* Contact Page Styles */
.contact-section {
    padding: 60px 20px;
    background: var(--light-color);
    min-height: calc(100vh - 80px);
}

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

.contact-container h1 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--dark-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 127, 79, 0.1);
}

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

.contact-form .btn {
    margin-top: 10px;
    width: 100%;
    text-align: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info h2 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 10px;
}

.info-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.info-item-icon {
    font-size: 24px;
    min-width: 30px;
}

.info-item-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.info-item-content p {
    color: var(--gray-color);
    font-size: 15px;
}

.info-item-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.info-item-content a:hover {
    text-decoration: underline;
}

/* Services (Onze Diensten) - 3 columns with hover styling */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.service-item {
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(.2,.9,.2,1), box-shadow 0.35s ease, border-color 0.35s ease;
    border: 1px solid transparent;
}

.service-item img {
    width: 100%;
    height: 12rem; /* matches existing h-48 */
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease, filter 0.35s ease;
}

.service-item .p-6 { /* preserve existing padding utility, keep scope safe */ }

.service-item h3 { color: var(--dark-color); }
.service-item p { color: #54595b; }
.service-item a { color: var(--primary-color); font-weight: 700; }

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 40px rgba(17, 68, 34, 0.12);
    border-color: rgba(45,127,79,0.08);
}

.service-item:hover img {
    transform: scale(1.06);
    filter: saturate(1.05) contrast(1.01);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .services-grid { 
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Full-bleed services wrapper */
.services-full-bleed {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: #fff;
}

.services-grid-full {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.service-full img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease, filter 0.35s ease;
}

.service-full:hover img { transform: scale(1.03); }

.services-captions { background: #fff; }
.services-captions .caption { border-top: 1px solid rgba(0,0,0,0.04); }

/* Make sure full-bleed behaves on small screens */
@media (max-width: 768px) {
    .services-full-bleed { margin-left: 0; margin-right: 0; width: 100%; left: 0; right: 0; }
    .services-grid-full { grid-template-columns: 1fr; }
    .services-captions { grid-template-columns: 1fr; }
    .service-full img { height: 260px; }
}

/* Angled (slanted) overlay cards on top of images */
.service-full { position: relative; }
.service-full { overflow: hidden; }
.service-card {
    position: absolute;
    bottom: 18%;
    left: 6%;
    width: 62%;
    max-width: 640px;
    background: rgba(255,255,255,0.96);
    color: var(--dark-color);
    padding: 22px 24px;
    box-shadow: 0 12px 30px rgba(17,68,34,0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    clip-path: polygon(0 0, 100% 6%, 100% 100%, 0 100%);
}

.service-card.service-card-right { left: auto; right: 6%; clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 100%); }
.service-card.service-card-center { left: 50%; transform: translateX(-50%); clip-path: polygon(0 4%, 100% 6%, 100% 100%, 0 100%); width: 56%; }

.service-card-inner h3 { margin: 0 0 8px 0; font-size: 22px; }
.service-card-inner p { margin: 0; color: #556064; }

.service-card:hover { transform: translateY(-6px); box-shadow: 0 28px 60px rgba(17,68,34,0.18); }

/* Hide caption blocks on desktop since overlay cards show the copy */
@media (min-width: 769px) {
    .services-captions { display: none; }
}

@media (max-width: 768px) {
    .service-card { position: static; width: 100%; clip-path: none; background: #fff; margin-top: -6px; }
    .service-card-inner { padding: 14px 12px; }
}

/* Angled image clipping so three images form a slanted row */
/* show plain photos side-by-side (no clipping) */
.service-full-left img,
.service-full-center img,
.service-full-right img {
    -webkit-clip-path: none;
    clip-path: none;
}

/* Smooth transform on hover still applies */
.service-full-left img,
.service-full-center img,
.service-full-right img {
    transition: transform 0.45s ease, filter 0.35s ease;
    display: block;
}

@media (max-width: 768px) {
    .service-full-left img,
    .service-full-center img,
    .service-full-right img {
        height: 260px;
    }
    .services-grid-full { grid-template-columns: 1fr; }
    .services-captions { grid-template-columns: 1fr; }
}

/* Clean card styles */
.service-card-clean {
    background: #ffffff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border-right: none;
    border-left: none;
    position: relative;
    height: 650px;
}
.service-card-clean:first-child {
    border-left: none;
}
.service-card-clean:last-child {
    border-right: none;
}
.service-card-clean:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 25px 50px rgba(0,0,0,0.15); 
    z-index: 10;
}

.service-card-img-wrap { 
    width: 100%; 
    height: 100%; 
    overflow: hidden; 
    position: relative;
    flex-shrink: 0;
}
.service-card-img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block; 
    transition: transform 0.4s ease;
}
.service-card-clean:hover .service-card-img { 
    transform: scale(1.05); 
}

.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
    transition: opacity 0.3s ease;
}
.service-card-clean:hover .service-card-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.8) 100%);
}

.service-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}
.service-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary-color);
    transition: transform 0.4s ease;
}
.service-card-clean:hover .service-icon {
    background: var(--primary-color);
    transform: rotate(10deg) scale(1.1);
}
.service-card-clean:hover .service-icon svg {
    color: white;
    transform: scale(1.1);
}

.service-card-body { 
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 36px 28px; 
    z-index: 2;
    display: flex; 
    flex-direction: column;
    justify-content: flex-end;
}
.service-title {
    margin: 0 0 16px 0; 
    font-size: 32px; 
    font-weight: 700;
    color: #ffffff;
    transition: transform 0.3s ease;
    letter-spacing: -0.02em;
}
.service-card-clean:hover .service-title {
    transform: translateY(-4px);
}

.service-card-body p { 
    margin: 0 0 20px 0; 
    color: rgba(255, 255, 255, 0.9); 
    line-height: 1.7;
    font-size: 16px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}
.service-features li {
    color: rgba(255, 255, 255, 0.95);
    font-size: 15px;
    margin: 8px 0;
    padding-left: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 400;
}

.btn.btn-service { 
    background: var(--primary-color); 
    color: white; 
    padding: 12px 24px; 
    border-radius: 10px; 
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none; 
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    margin-top: auto;
    width: fit-content;
}
.btn.btn-service svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}
.btn.btn-service:hover { 
    background: #1f6a3f; 
    transform: translateX(4px);
    border-color: #1f6a3f;
}
.btn.btn-service:hover svg {
    transform: translateX(4px);
}

.btn.btn-secondary { 
    background: var(--primary-color); 
    color: white; 
    padding: 10px 14px; 
    border-radius: 8px; 
    display: inline-block; 
    text-decoration: none; 
    font-weight: 700; 
}
.btn.btn-secondary:hover { 
    background: #1f6a3f; 
    transform: translateY(-2px); 
}

@media (max-width: 768px) {
    .service-card-clean {
        height: 280px;
    }
    .service-card-img-wrap { height: 100%; }
    .service-icon {
        width: 48px;
        height: 48px;
        top: 16px;
        right: 16px;
    }
    .service-icon svg {
        width: 24px;
        height: 24px;
    }
    .service-card-body {
        padding: 24px 20px 26px;
    }
    .service-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    .service-card-body p {
        font-size: 15px;
        line-height: 1.6;
        margin: 0 0 16px 0;
    }
    .service-features li {
        font-size: 14px;
        margin: 8px 0;
        gap: 8px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        gap: 15px;
        font-size: 14px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .projecten h2,
    .info h2,
    .contact-container h1 {
        font-size: 28px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        padding: 30px;
        gap: 30px;
    }

    .hero {
        padding: 80px 20px;
    }

    .projecten,
    .info {
        padding: 60px 20px;
    }
}

/* Carousel / Horizontal scroll for projects */
.projects-carousel-wrapper {
    position: relative;
    margin: 0 -20px;
    padding: 0 60px;
}
.projects-carousel {
    display: flex !important;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 20px 30px;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap !important;
    align-items: stretch;
    scroll-behavior: smooth;
}
.projects-carousel::-webkit-scrollbar { 
    height: 8px;
}
.projects-carousel::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 4px;
}
.projects-carousel::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}
.projects-carousel::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}
.projects-carousel > * {
    /* Show 3 cards per view on desktop */
    flex: 0 0 calc((100% - 40px) / 3);
    max-width: calc((100% - 40px) / 3);
    scroll-snap-align: start;
}

/* Force project-card children to follow carousel sizing (override inline styles) */
.projects-carousel > .project-card {
    flex: 0 0 calc((100% - 40px) / 3) !important;
    max-width: calc((100% - 40px) / 3) !important;
}
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border-radius: 0;
    width: 60px;
    height: 60px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
    z-index: 10;
}
.carousel-arrow:hover { 
    transform: translateY(-50%); 
    background: var(--primary-color);
    border-color: var(--primary-color);
}
.carousel-arrow:hover svg {
    color: #ffffff;
}
.carousel-arrow svg {
    width: 24px;
    height: 24px;
    color: #6b7280;
    transition: color 0.3s ease;
}
.carousel-arrow.left { left: 0; }
.carousel-arrow.right { right: 0; }

/* When arrow can't scroll further, show disabled appearance but keep visible */
.carousel-arrow.disabled {
    opacity: 0.3;
    pointer-events: none;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    .projects-carousel > * { flex: 0 0 85%; max-width: 85%; }
    .projects-carousel-wrapper {
        margin: 0 -10px;
        padding: 0 50px;
    }
    .carousel-arrow { 
        width: 48px;
        height: 48px;
    }
    .carousel-arrow svg {
        width: 20px;
        height: 20px;
    }
    .carousel-arrow.left { left: 0; }
    .carousel-arrow.right { right: 0; }
}

/* ========================================
   PROJECTS SECTION - Complete Redesign
   ======================================== */

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

/* Featured cards (1st and 4th) take 2 columns */
.project-card-new.featured {
    grid-column: span 2;
}

.project-card-new {
    position: relative;
    overflow: hidden;
    background: #1f2937;
    border: 1px solid #e5e7eb;
    transition: all 0.4s ease;
}

.project-card-new-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.project-card-new-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card-new:hover .project-card-new-image {
    transform: scale(1.08);
}

.project-card-new-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e5a3a 100%);
}

.project-card-new-placeholder svg {
    width: 60px;
    height: 60px;
    color: rgba(255, 255, 255, 0.3);
}

.project-card-new-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.85) 100%
    );
    transition: background 0.4s ease;
}

.project-card-new:hover .project-card-new-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.9) 100%
    );
}

.project-card-new-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px;
    z-index: 2;
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.project-card-new.featured .project-card-new-content {
    padding: 36px;
}

.project-card-new-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px 0;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.project-card-new.featured .project-card-new-title {
    font-size: 28px;
    margin-bottom: 12px;
}

.project-card-new-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-card-new.featured .project-card-new-excerpt {
    font-size: 15px;
    line-height: 1.7;
    -webkit-line-clamp: 3;
}

.project-card-new:hover .project-card-new-excerpt {
    opacity: 1;
    transform: translateY(0);
}

/* Border highlight on hover */
.project-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: 3;
}

.project-card-new:hover::before {
    transform: scaleX(1);
}

/* Responsive */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 300px;
    }
    
    .project-card-new.featured {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 320px;
        gap: 12px;
    }
    
    .project-card-new.featured {
        grid-column: span 1;
    }
    
    .project-card-new-content {
        padding: 24px;
    }
    
    .project-card-new.featured .project-card-new-content {
        padding: 28px;
    }
    
    .project-card-new-title {
        font-size: 20px;
    }
    
    .project-card-new.featured .project-card-new-title {
        font-size: 24px;
    }
}

#projecten {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #f8fafb 0%, #eef2f6 100%);
    padding: 60px 0;
}

/* Card Base Structure */
.project-card {
    position: relative;
    background: #ffffff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #e5e7eb;
}

/* Inner wrapper for 3D effect */
.project-card-inner {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Hover Effects */
.project-card:hover {
    transform: translateY(-4px);
    box-shadow: none;
    border-color: #d1d5db;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.project-card:hover::before {
    transform: scaleX(1);
}

/* Image Section */
.project-card-image-wrapper {
    position: relative;
    height: 400px;
    background: #f3f4f6;
    overflow: hidden;
}

.project-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Gradient Overlay */
.project-card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0) 0%, 
        rgba(0, 0, 0, 0.02) 50%,
        rgba(0, 0, 0, 0.15) 100%
    );
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-card-gradient {
    opacity: 0.9;
}

/* Placeholder for missing images */
.project-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e5a3a 100%);
}

.project-placeholder-icon {
    width: 80px;
    height: 80px;
    color: rgba(255, 255, 255, 0.4);
}

/* Badge */
.project-card-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-icon {
    width: 16px;
    height: 16px;
}

.project-card:hover .project-card-badge {
    transform: translateY(-2px);
    box-shadow: none;
}

/* Services grid styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.service-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    transition: transform 200ms ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    cursor: pointer;
}

.service-item:hover,
.service-item:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.service-item:focus-visible {
    outline: 3px solid rgba(0,123,255,0.25);
    outline-offset: 4px;
}

/* Keep link colors as-is inside service items */

/* Content Section */
.project-card-content {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    background: #ffffff;
}

.project-card-title {
    font-size: 26px;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
    margin: 0;
    transition: color 0.3s ease;
    letter-spacing: -0.02em;
}

.project-card:hover .project-card-title {
    color: var(--primary-color);
}

.project-card-description {
    font-size: 16px;
    line-height: 1.7;
    color: #6b7280;
    margin: 0;
    flex: 1;
}

/* Footer with CTA */
.project-card-footer {
    margin-top: 12px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.project-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: none;
}

.project-card-cta:hover {
    transform: translateX(4px);
    box-shadow: none;
    background: #1e5a3a;
}

.cta-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.project-card-cta:hover .cta-arrow {
    transform: translateX(4px);
}

/* Carousel specific sizing */
.projects-carousel > .project-card {
    flex: 0 0 calc((100% - 40px) / 3);
    max-width: calc((100% - 40px) / 3);
}

/* Responsive adjustments */
@media (max-width: 1100px) {
    .projects-carousel > .project-card {
        flex: 0 0 calc((100% - 20px) / 2);
        max-width: calc((100% - 20px) / 2);
    }
}

@media (max-width: 768px) {
    #projecten {
        min-height: auto;
        padding: 60px 0;
    }

    .projects-carousel > .project-card {
        flex: 0 0 85%;
        max-width: 85%;
    }
    
    .project-card-image-wrapper {
        height: 280px;
    }
    
    .project-card-title {
        font-size: 22px;
    }
    
    .project-card-badge {
        top: 16px;
        left: 16px;
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .project-card-content {
        padding: 28px 24px;
    }
}
