/* =========================================
   CSS Variables & Typography
========================================= */
:root {
    /* Kleurenpalet: Modern & Warm (Hout/Aarde tinten) */
    --primary-color: #2b3a2f;
    /* Diepgroen/bos */
    --primary-light: #3c4d40;
    --accent-color: #c88141;
    /* Warm hout / Douglas kleur */
    --accent-hover: #b06f36;
    --bg-color: #fdfaf6;
    /* Zeer lichte, warme off-white */
    --bg-light: #f5f0e6;
    /* Iets donkerder off-white voor secties */
    --text-dark: #333333;
    --text-muted: #666666;
    --white: #ffffff;
    --border-color: #e5ded3;

    /* Typografie */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;

    /* Schaduwen & Transities */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* =========================================
   Reset & Basis Instellingen
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary-color);
}

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

ul {
    list-style: none;
}

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

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

.section {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.mt-4 {
    margin-top: 2rem;
}

/* =========================================
   Knoppen
========================================= */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 129, 65, 0.3);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
    backdrop-filter: blur(5px);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* =========================================
   Header & Navigatie
========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.5rem 0;
}

header.scrolled {
    background-color: rgba(253, 250, 246, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

header.scrolled .logo-text,
header.scrolled .desktop-nav a {
    color: var(--primary-color);
}

header.scrolled .logo-sub {
    color: var(--accent-color);
}

header.scrolled .mobile-menu-btn span {
    background-color: var(--primary-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    text-transform: uppercase;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1;
    letter-spacing: 1px;
    transition: var(--transition);
}

.logo-sub {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent-color);
    letter-spacing: 2px;
    transition: var(--transition);
}

.desktop-nav {
    display: none;
}

@media (min-width: 992px) {
    .desktop-nav {
        display: block;
    }
}

.desktop-nav ul {
    display: flex;
    gap: 2rem;
}

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

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.desktop-nav a:hover::after {
    width: 100%;
}

.nav-container .btn {
    display: none;
    /* Hide on mobile by default */
}

@media (min-width: 992px) {
    .nav-container .btn {
        display: inline-block;
    }
}

/* Mobiel menu knop */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

@media (min-width: 992px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn span {
    width: 30px;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition);
}

/* Mobiel Menu Modal */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 999;
}

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

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 2rem;
}

.mobile-nav a {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-color);
}

.mobile-nav a:hover {
    color: var(--accent-color);
}

/* =========================================
   Hero Sectie
========================================= */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: url('https://images.unsplash.com/photo-1542617506-03bf40097f48?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(43, 58, 47, 0.85) 0%, rgba(43, 58, 47, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    color: var(--white);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* =========================================
   Over Ons Sectie
========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.2rem;
    color: var(--text-muted);
}

.quote-box {
    margin-top: 2rem;
    padding: 2rem;
    background-color: var(--white);
    border-left: 4px solid var(--accent-color);
    box-shadow: var(--shadow-sm);
    border-radius: 0 8px 8px 0;
}

.quote-box blockquote {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.quote-box cite {
    font-weight: 600;
    font-style: normal;
    color: var(--accent-color);
}

.about-image .image-wrapper {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* =========================================
   Producten Sectie
========================================= */
.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-muted);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    background-color: var(--border-color);
    /* Fallback */
    position: relative;
}

.card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-content .price {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--accent-color);
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* =========================================
   Maatwerk Sectie
========================================= */
.custom-work-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .custom-work-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

.custom-image.carousel {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    width: 100%;
}

.carousel-inner {
    display: flex;
    transition: transform 0.6s ease-in-out;
    width: 100%;
}

.carousel-item {
    min-width: 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
    display: block;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(43, 58, 47, 0.7);
    color: var(--white);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.carousel-control:hover {
    background-color: var(--accent-color);
}

.carousel-control.prev {
    left: 15px;
}

.carousel-control.next {
    right: 15px;
}

.badge {
    display: inline-block;
    background-color: rgba(200, 129, 65, 0.1);
    color: var(--accent-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.custom-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.custom-text p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.features-list svg {
    width: 20px;
    height: 20px;
    color: var(--accent-color);
}

/* =========================================
   Footer & Contact
========================================= */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

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

.footer-info h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 400px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: var(--accent-color);
}

.map-placeholder {
    width: 100%;
    height: 300px;
    background-color: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-heading);
    font-style: italic;
    border: 2px dashed rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* =========================================
   Animaties
========================================= */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate {
    opacity: 1;
    transform: translate(0);
}