:root {
    --zc-header-blue: #0f223d;
    --zc-header-purple: #282e66;
    --zc-primary-blue: #1d72b8;
    --zc-accent-gold: #f59e0b;
    --zc-bg-light: #f8fafc;
    --zc-text-color: #1e293b;
    --zc-border-color: #e2e8f0;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--zc-text-color);
    background-color: #ffffff;
    padding-top: 80px;
}

/* ==========================================================================
   1. Admin Bar Compensatie
   ========================================================================== */
body.admin-bar .navbar.fixed-top {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .navbar.fixed-top {
        top: 46px;
    }
}

body.admin-bar {
    padding-top: 80px;
}

/* ==========================================================================
   2. Lichte Header Stijl
   ========================================================================== */
.site-header .navbar {
    background-color: #ffffff !important;
    border-bottom: 1px solid var(--zc-border-color);
}

.navbar-light .navbar-nav .nav-link {
    color: #475569 !important;
    transition: color 0.2s ease;
    font-weight: 600;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
    color: var(--zc-primary-blue) !important;
}

.navbar-brand-wrapper img {
    max-height: 42px;
    width: auto;
    object-fit: contain;
}

/* ==========================================================================
   3. Dropdown Menu & Submenu's
   ========================================================================== */
@media (min-width: 992px) {
    .navbar .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: fadeIn 0.2s ease-in-out;
    }
}

.dropdown-menu {
    border-radius: 8px;
    border: 1px solid var(--zc-border-color);
    background-color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.dropdown-menu .dropdown-item {
    transition: background-color 0.2s ease, color 0.2s ease;
    color: var(--zc-text-color);
    padding: 8px 16px;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background-color: var(--zc-bg-light);
    color: var(--zc-header-purple) !important;
    font-weight: 600;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   4. Knoppen & Hero Sectie (Fluïde Responsief)
   ========================================================================== */
.btn-pill-outline-dark {
    border: 2px solid var(--zc-header-blue);
    color: var(--zc-header-blue) !important;
    border-radius: 50rem;
    padding: 6px 20px;
    transition: all 0.2s ease;
}

.btn-pill-outline-dark:hover {
    background-color: var(--zc-header-blue);
    color: #ffffff !important;
}

.hero-section {
    background: linear-gradient(135deg, rgba(15, 34, 61, 0.90), rgba(40, 46, 102, 0.90)), url('../img/hero-bg.jpg') center/cover no-repeat;
    color: #ffffff !important;
    padding: clamp(60px, 8vw, 100px) 1.5rem clamp(110px, 16vw, 160px) 1.5rem !important;
    margin-top: 0;
    position: relative;
}

.hero-section > *,
.hero-section .wp-block-cover__inner-container,
.hero-section .wp-block-group__inner-container {
    max-width: 1320px;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
}

.hero-section h1 {
    font-size: clamp(1.75rem, 4vw, 2.75rem) !important;
    line-height: 1.2;
    color: #ffffff !important;
    overflow-wrap: break-word;
    word-break: break-word;
}

.hero-section p {
    color: #e2e8f0 !important;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
}

/* ==========================================================================
   5. Kaarten & Secties (Route Overlapping - Extra 20px Omhoog naar -120px)
   ========================================================================== */
.routes-section {
    background: transparent !important;
    margin-top: clamp(-90px, -9vw, -120px) !important;
    position: relative;
    z-index: 10;
}

.card-zc {
    border: 1px solid var(--zc-border-color) !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background-color: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-zc:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.bg-light-blue {
    background-color: #f0f4f8 !important;
}

.text-purple {
    color: var(--zc-header-purple) !important;
}

.text-blue {
    color: var(--zc-primary-blue) !important;
}

/* ==========================================================================
   6. Native Gutenberg Kolommen & Knoppen Fixes
   ========================================================================== */
.wp-block-columns {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 1.5rem;
}

.wp-block-column {
    flex: 1;
    min-width: 280px;
}

.wp-block-button {
    display: inline-block !important;
}

.wp-block-button__link {
    display: inline-block !important;
    width: auto !important;
    background-color: #2b70d3 !important;
    color: #ffffff !important;
    border-radius: 50rem !important;
    padding: 12px 35px !important;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s ease;
}

.wp-block-button__link:hover {
    background-color: #1d52a1 !important;
    color: #ffffff !important;
}

/* ==========================================================================
   7. Definitieve Container & Marges Fix
   ========================================================================== */
.site-main {
    width: 100%;
}

.site-main p,
.site-main h2,
.site-main h3,
.site-main h4,
.site-main h5,
.site-main h6,
.site-main ul,
.site-main ol,
.site-main table,
.site-main .wp-block-group:not(.hero-section):not(.routes-section),
.site-main .wp-block-columns:not(.routes-section) {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.hero-section .container,
.routes-section .container,
#introductie .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}