/* --- DESIGN SYSTEM (Amstelada Source of Truth) --- */
:root {
    /* Palette */
    --bg-dark: #0f2d2d;       /* Deep Teal */
    --bg-light: #f6f9f9;      /* Light Grey/Cyan */
    --surface: #ffffff;       /* White */
    --accent: #d4af37;        /* Gold */
    --accent-hover: #b5932a;
    
    /* Typography */
    --font-head: 'Merriweather', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & UI */
    --radius: 18px;
    --shadow: 0 10px 30px -10px rgba(15, 45, 45, 0.1);
    --container: min(1200px, 92vw);
}

/* --- RESET & BASE --- */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg-light);
    color: #1a1a1a;
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.2;
    color: var(--bg-dark);
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- UTILITIES --- */
.container { width: var(--container); margin-inline: auto; }

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--accent);
    color: var(--bg-dark);
    font-weight: 600;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid var(--accent);
    cursor: pointer;
}

.btn:hover { background-color: transparent; color: var(--accent); }

.btn-outline {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: transparent;
    border: 2px solid var(--surface);
    color: var(--surface);
    font-weight: 600;
    border-radius: 8px;
    text-transform: uppercase;
}

.btn-outline:hover { background-color: var(--surface); color: var(--bg-dark); }

.section-padding { padding-block: clamp(4rem, 8vw, 6rem); }

/* --- HEADER --- */
header {
    background-color: rgba(15, 45, 45, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

nav { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: var(--font-head); font-size: 1.5rem; color: var(--surface); font-weight: 700; }
.logo span { color: var(--accent); }

.nav-links { display: flex; gap: 2rem; }
.nav-links a { color: #f0f0f0; font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover, .nav-links .active { color: var(--accent); }

/* Mobile Menu Toggle */
.menu-toggle { display: none; color: var(--accent); font-size: 1.5rem; cursor: pointer; }

/* --- HERO --- */
.hero {
    background-color: var(--bg-dark);
    color: var(--surface);
    padding-block: clamp(4rem, 10vw, 8rem);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: ''; position: absolute; top: -50%; right: -10%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(212,175,55,0.05) 0%, rgba(15,45,45,0) 70%);
    border-radius: 50%; pointer-events: none;
}

.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-content h1 { font-size: clamp(2.5rem, 5vw, 3.8rem); margin-bottom: 1.5rem; color: white; }
.hero-content p { color: #cccccc; font-size: 1.125rem; margin-bottom: 2.5rem; max-width: 50ch; }
.hero-buttons { display: flex; gap: 1rem; }

.hero-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--radius);
    backdrop-filter: blur(5px);
}
.hero-card h3 { color: var(--accent); margin-bottom: 1rem; font-size: 1.25rem; }
.hero-card li { margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.5rem; }
.hero-card li::before { content: '✓'; color: var(--accent); }

/* --- SERVICES --- */
.intro { text-align: center; max-width: 800px; margin-inline: auto; }
.intro h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.intro p { color: #555; font-size: 1.1rem; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; margin-top: 3rem; }

.service-card {
    background: var(--surface); padding: 2.5rem; border-radius: var(--radius);
    box-shadow: var(--shadow); transition: transform 0.3s ease;
    border-top: 4px solid var(--accent);
}
.service-card:hover { transform: translateY(-5px); }
.icon-box {
    width: 60px; height: 60px; background-color: rgba(212, 175, 55, 0.1);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem; font-size: 1.5rem; color: var(--bg-dark); font-weight: 700;
}
.link-text { color: var(--bg-dark); font-weight: 600; border-bottom: 2px solid var(--accent); }

/* --- BOUWPLAATS (Community) --- */
.bouwplaats {
    background-color: white; border-radius: var(--radius); box-shadow: var(--shadow);
    overflow: hidden; display: grid; grid-template-columns: 1.5fr 1fr;
}
.bouwplaats-content { padding: clamp(3rem, 5vw, 4rem); }
.bouwplaats-sidebar { background-color: var(--bg-dark); color: var(--surface); padding: 3rem; }
.bp-badge {
    background-color: var(--accent); color: var(--bg-dark); padding: 0.25rem 0.75rem;
    border-radius: 20px; font-size: 0.85rem; font-weight: 700; text-transform: uppercase;
    display: inline-block; margin-bottom: 1rem;
}

/* Dynamic Problem List items */
.problem-item {
    background: rgba(255,255,255,0.05); padding: 1rem; border-radius: 8px;
    margin-bottom: 1rem; border-left: 3px solid var(--accent);
}
.problem-item small { color: #aaa; display: block; margin-bottom: 0.3rem; font-size: 0.8rem; }

/* --- FOOTER --- */
footer { background-color: var(--bg-dark); color: #999; padding-block: 4rem 2rem; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer h4 { color: var(--surface); margin-bottom: 1.5rem; }
.footer ul li { margin-bottom: 0.8rem; }
.footer ul li a:hover { color: var(--accent); }
.copyright { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .bouwplaats { grid-template-columns: 1fr; }
    .nav-links { display: none; } /* Hidden for now, needs JS to toggle */
    .menu-toggle { display: block; }
}