/* CSS Variables - Teal Color Palette */
:root {
    --teal-lightest: #b2d8d8;
    --teal-light: #66b2b2;
    --teal-medium: #008080;
    --teal-dark: #006666;
    --teal-darkest: #004c4c;
    --navy: #0C2C55;
    --logo-teal: #6BA8A8;
    
    --white: #ffffff;
    --gray-50: #f8fafa;
    --gray-100: #f0f4f4;
    --gray-200: #e0e8e8;
    --gray-300: #c5d4d4;
    --gray-400: #94a8a8;
    --gray-500: #6b7f7f;
    --gray-600: #4a5c5c;
    --gray-700: #2d3b3b;
    --gray-800: #1a2424;
    --gray-900: #0d1212;
    
    --shadow-sm: 0 1px 2px rgba(0, 102, 102, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 102, 102, 0.07), 0 2px 4px rgba(0, 102, 102, 0.06);
    --shadow-lg: 0 10px 15px rgba(0, 102, 102, 0.1), 0 4px 6px rgba(0, 102, 102, 0.05);
    --shadow-xl: 0 20px 25px rgba(0, 102, 102, 0.1), 0 10px 10px rgba(0, 102, 102, 0.04);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--navy);
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-100);
}

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

.logo svg {
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-600);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal-medium);
    transition: width var(--transition-base);
}

.nav-links a:hover {
    color: var(--teal-dark);
}

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

.btn-contact {
    background: var(--teal-medium);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-xl);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-contact:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-links .btn-contact-link {
    background: var(--teal-medium);
    color: var(--white) !important;
    padding: 0.75rem 2rem !important;
    border-radius: var(--radius-xl);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all var(--transition-base);
    display: inline-block;
    border: 2px solid var(--teal-medium);
}

.nav-links .btn-contact-link::after {
    display: none !important;
}

.nav-links .btn-contact-link:hover {
    background: var(--teal-dark);
    border-color: var(--teal-dark);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Navbar Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.dropdown-toggle::after {
    content: '';
    position: static;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    background: transparent;
    transition: transform var(--transition-fast);
}

.has-dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    min-width: 200px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 100;
    list-style: none;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu li {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--gray-600);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
    background: var(--gray-50);
    color: var(--teal-medium);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--navy);
    transition: var(--transition-base);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 8rem;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f7f7 0%, #e8f4f4 50%, #f5fafa 100%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 150px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 150' preserveAspectRatio='none'%3E%3Cpath fill='%23e8f2f2' d='M0,64 C288,120 576,20 864,64 C1152,108 1296,40 1440,80 L1440,150 L0,150 Z'/%3E%3C/svg%3E") no-repeat bottom;
    background-size: 100% 100%;
    pointer-events: none;
}

.hero-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
}

.hero-shape-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--teal-lightest) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    opacity: 0.6;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(45deg, var(--teal-light) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    opacity: 0.3;
}

.hero-dots {
    position: absolute;
    top: 20%;
    left: 10%;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(var(--teal-light) 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.3;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

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

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

.title-line {
    display: block;
    color: var(--navy);
}

.title-accent {
    display: block;
    color: var(--teal-medium);
    font-style: italic;
}

.hero-text {
    font-size: 1.15rem;
    color: var(--gray-500);
    max-width: 480px;
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.btn {
    padding: 1rem 2rem;
    border-radius: var(--radius-xl);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--teal-medium);
    color: var(--white);
    border-color: var(--teal-medium);
}

.btn-primary:hover {
    background: var(--teal-dark);
    border-color: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--navy);
    border-color: var(--gray-300);
}

.btn-secondary:hover {
    border-color: var(--teal-medium);
    color: var(--teal-medium);
    transform: translateY(-2px);
}

.btn-small {
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.image-frame {
    position: relative;
    width: 380px;
    height: 460px;
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-xl);
}

.image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: var(--teal-medium);
    border-radius: var(--radius-lg);
    z-index: 1;
}

.image-decoration {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 80px;
    height: 80px;
    background: var(--teal-lightest);
    border-radius: var(--radius-md);
    z-index: 3;
}

/* Sections Base */
.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* Diensten Section */
.diensten {
    position: relative;
    padding: 6rem 2rem 8rem;
    background: linear-gradient(180deg, #e8f2f2 0%, #dfeaea 100%);
}

.diensten::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: #f5fafa;
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.diensten-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.dienst-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid var(--gray-100);
    display: flex;
    flex-direction: column;
}

.dienst-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--teal-light);
}

.dienst-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--teal-lightest), var(--teal-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.dienst-icon svg {
    width: 28px;
    height: 28px;
    color: var(--teal-dark);
}

.dienst-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--navy);
}

.dienst-card p {
    color: var(--gray-500);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    flex-grow: 1;
}

.dienst-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--teal-medium);
    font-weight: 600;
    font-size: 0.95rem;
}

.dienst-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.dienst-link:hover {
    color: var(--teal-dark);
}

.dienst-link:hover svg {
    transform: translateX(4px);
}

/* Vacatures Section */
.vacatures {
    position: relative;
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #f5fafa 0%, #eaf3f3 100%);
    overflow: hidden;
}

.vacatures::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-image: radial-gradient(var(--teal-light) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    opacity: 0.35;
    pointer-events: none;
}

.vacatures .section-header {
    position: relative;
    z-index: 1;
}

.vacatures .section-header::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--teal-medium), var(--teal-light));
    border-radius: 2px;
}

.vacatures::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: -80px;
    width: 200px;
    height: 200px;
    border: 3px solid var(--teal-lightest);
    border-radius: 50%;
    opacity: 0.4;
    pointer-events: none;
}

.vacatures-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.vacature-card {
    background: var(--white);
    padding: 2rem;
    padding-left: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.vacature-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--teal-medium), var(--teal-light));
    transition: width var(--transition-base);
}

.vacature-card:hover {
    border-color: var(--teal-light);
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.vacature-card:hover::before {
    width: 6px;
}

.vacature-header h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.vacature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 500;
}

.tag-location {
    background: var(--teal-lightest);
    color: var(--teal-darkest);
}

.tag-type {
    background: var(--gray-100);
    color: var(--gray-600);
}

.tag-date {
    background: var(--gray-100);
    color: var(--gray-500);
}

.vacature-description {
    color: var(--gray-500);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.vacature-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

.vacatures-cta {
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Generic CTA button wrapper used on werkgevers/werkzoekenden pages.
   Uses flex with gap so buttons wrap cleanly on narrow viewports
   instead of overflowing or overlapping. */
.cta-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-top: 2rem;
}

.cta-wrap .btn {
    margin-left: 0 !important;
    flex: 0 1 auto;
    min-width: 0;
}

@media (max-width: 768px) {
    .cta-wrap {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100%;
    }
    .cta-wrap .btn {
        width: 100% !important;
        margin-left: 0 !important;
        text-align: center;
    }
}

/* Vacatures Loading State */
.vacatures-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--gray-500);
}

.vacatures-loading .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--teal-medium);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.vacatures-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--gray-500);
}

.vacatures-empty h3 {
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

/* Vacatures Slideshow */
.vacatures-slideshow {
    position: relative;
    width: 100%;
    grid-column: 1 / -1;
    display: grid;
}

/* All slides stack in the same grid cell so the container height stays
   stable across transitions — prevents scroll jump when slide swaps. */
.vacatures-slide {
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: stretch;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.vacatures-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.vacatures-slide .vacature-card {
    height: 100%;
    min-height: 280px;
}

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

/* Logos Section */
.logos {
    position: relative;
    padding: 4rem 2rem 6rem;
    background: var(--white);
    border-top: 1px solid var(--gray-100);
}

.logos::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%230C2C55' d='M0,40 C240,100 480,0 720,50 C960,100 1200,20 1440,60 L1440,100 L0,100 Z'/%3E%3C/svg%3E") no-repeat bottom;
    background-size: 100% 100%;
    pointer-events: none;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 3rem;
    align-items: center;
    justify-items: center;
}

.logo-item {
    opacity: 0.6;
    transition: opacity var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item:hover {
    opacity: 1;
}

.partner-logo {
    width: 140px;
    height: 70px;
    object-fit: contain;
}

.partner-logo.logo-small {
    width: 120px;
    height: 50px;
}

.logo-text {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--gray-700);
    white-space: nowrap;
}

.logo-ioc {
    font-size: 2rem;
    color: var(--teal-dark);
}

.logo-ioc .ampersand {
    color: var(--teal-medium);
}

.logo-karl {
    font-size: 1rem;
    text-align: center;
    line-height: 1.2;
    letter-spacing: 0.1em;
}

.logo-spiral svg {
    width: 50px;
    height: 50px;
}

.logo-adventure {
    position: relative;
}

.adventure-text {
    font-family: 'DM Sans', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: #2d5a27;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.logo-colruyt {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-800);
}

.colruyt-accent {
    color: #ff6600;
    margin-left: 2px;
}

.logo-talent {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1a365d;
    letter-spacing: 0.05em;
}

.talent-dot {
    color: #d69e2e;
}

/* Waarom Section */
.waarom {
    position: relative;
    padding: 6rem 2rem 8rem;
    background: linear-gradient(180deg, var(--navy) 0%, #0a2445 100%);
}


.waarom-box {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    padding: 3rem;
    backdrop-filter: blur(10px);
}

.waarom-title {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 2.5rem;
    color: var(--white);
}

.waarom-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.waarom-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 0.5rem);
}

.waarom-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.waarom-item {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
}

.waarom-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--teal-light);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.waarom-item-header {
    margin-bottom: 0.75rem;
}

.waarom-item-header span {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--white);
}

.waarom-item h4 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.waarom-item-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}


/* Footer */
.footer {
    background: linear-gradient(180deg, var(--navy) 0%, #081d38 100%);
    padding: 4rem 2rem 2rem;
    border-top: none;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo svg {
    display: block;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    max-width: 250px;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.social-links a:hover {
    background: var(--teal-medium);
    border-color: var(--teal-medium);
    transform: translateY(-3px);
}

.social-links svg {
    width: 18px;
    height: 18px;
}

.footer-nav h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--teal-light);
}

.footer-contact h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: rgba(107, 168, 168, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    color: var(--teal-light);
}

.contact-item span {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    line-height: 1.5;
}

.contact-item:hover span {
    color: var(--teal-light);
}

.footer-bottom {
    max-width: 1280px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-image {
        order: 0;
        margin-bottom: 2rem;
    }
    
    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .image-frame {
        width: 300px;
        height: 360px;
    }
    
    .diensten-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .logos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .waarom-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        border-bottom: 1px solid var(--gray-100);
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* Mobile dropdown */
    .has-dropdown {
        width: 100%;
        text-align: center;
    }

    .dropdown-toggle {
        width: 100%;
        justify-content: center;
        gap: 0.4rem;
    }

    .dropdown-toggle::after {
        display: none;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--gray-50);
        border-radius: var(--radius-sm);
        margin-top: 0.5rem;
        padding: 0.5rem;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
    }

    .has-dropdown.open .dropdown-menu {
        max-height: 300px;
        opacity: 1;
        visibility: visible;
    }

    .has-dropdown:hover .dropdown-menu {
        opacity: 0;
        visibility: hidden;
        max-height: 0;
    }

    .has-dropdown.open:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 300px;
    }

    .dropdown-menu a {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        text-align: center;
        display: block;
    }
    
    .hero {
        min-height: auto;
        padding: 7rem 1.5rem 4rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .image-frame {
        width: 260px;
        height: 320px;
    }
    
    .image-accent {
        top: -15px;
        right: -15px;
    }
    
    .image-decoration {
        width: 60px;
        height: 60px;
        bottom: -20px;
        left: -20px;
    }
    
    .section-container {
        padding: 0 1.5rem;
    }
    
    .diensten {
        padding: 4rem 1.5rem 6rem;
    }

    .vacatures,
    .waarom {
        padding: 4rem 1.5rem 6rem;
    }

    .hero::after {
        height: 80px;
    }

    .logos::after {
        height: 60px;
    }

    .diensten::after {
        height: 50px;
    }
    
    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .waarom-box {
        padding: 2rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand {
        text-align: center;
        align-items: center;
    }

    .footer-tagline {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-nav,
    .footer-contact {
        text-align: center;
    }

    .footer-nav ul {
        align-items: center;
    }

    .contact-items {
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
        align-items: flex-start;
    }

    .footer-bottom {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .dienst-card {
        padding: 1.75rem;
    }
    
    .vacature-card {
        padding: 1.5rem;
    }
    
    .waarom-item {
        padding: 1.25rem;
    }

    .waarom-item-header span {
        font-size: 0.95rem;
    }

    .waarom-item-text {
        font-size: 0.85rem;
    }
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {
    .dienst-card,
    .vacature-card,
    .waarom-item {
        animation: fadeInUp 0.6s ease-out backwards;
    }
    
    .dienst-card:nth-child(1) { animation-delay: 0.1s; }
    .dienst-card:nth-child(2) { animation-delay: 0.2s; }
    .dienst-card:nth-child(3) { animation-delay: 0.3s; }
    
    .vacature-card:nth-child(1) { animation-delay: 0.1s; }
    .vacature-card:nth-child(2) { animation-delay: 0.2s; }
}

/* ==================== Blog Section ==================== */
.blog-section {
    padding: 6rem 2rem;
    background: var(--white);
}

.homepage-blogs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Blog Card for Homepage */
.homepage-blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    display: flex;
    flex-direction: column;
}

.homepage-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.homepage-blog-card-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy) 0%, #0a2445 100%);
}

.homepage-blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.homepage-blog-card:hover .homepage-blog-card-image img {
    transform: scale(1.05);
}

.homepage-blog-card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 44, 85, 0.85) 0%, rgba(12, 44, 85, 0.2) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.homepage-blog-card-image-overlay h3 {
    color: var(--white);
    font-size: 1.15rem;
    line-height: 1.4;
    font-family: 'Playfair Display', serif;
}

.homepage-blog-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.homepage-blog-card-placeholder svg {
    width: 50px;
    height: 50px;
    color: rgba(255, 255, 255, 0.25);
}

.homepage-blog-card-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.homepage-blog-card-content h3 {
    color: var(--navy);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.homepage-blog-card-excerpt {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.homepage-blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--teal-medium);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.homepage-blog-card-link:hover {
    color: var(--teal-dark);
}

.homepage-blog-card-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.homepage-blog-card-link:hover svg {
    transform: translateX(4px);
}

.blog-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Blog Loading & Empty States */
.blogs-home-loading,
.blogs-home-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 2rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
}

.blogs-home-loading .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--teal-medium);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 1rem;
}

.blogs-home-empty h3 {
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.blogs-home-empty p {
    color: var(--gray-500);
}

/* Blog Section Responsive */
@media (max-width: 768px) {
    .blog-section {
        padding: 4rem 1.5rem;
    }

    .homepage-blogs-grid {
        grid-template-columns: 1fr;
    }
}
/* ============================================================
   VISUAL REFRESH - appended overrides for a more premium feel
   ============================================================ */
:root {
    --accent-warm: #E8A87C;
    --accent-warm-dark: #D48860;
    --radius-card: 16px;
    --shadow-glow: 0 20px 60px -20px rgba(0, 128, 128, 0.35);
    --shadow-soft: 0 10px 40px -15px rgba(12, 44, 85, 0.15);
}

body {
    color: var(--gray-800);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navbar - shrink & elevate on scroll */
.navbar {
    transition: padding var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 4px 30px -10px rgba(12, 44, 85, 0.12);
    border-bottom-color: transparent;
}
.navbar.scrolled .nav-container {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}
.nav-links a.is-active {
    color: var(--teal-dark);
}
.nav-links a.is-active::after {
    width: 100%;
}
.nav-links a.dropdown-toggle.is-active::after {
    width: 0;
}

/* Hero - mesh gradient background, remove flat shapes */
.hero {
    background:
        radial-gradient(60% 50% at 15% 20%, rgba(178, 216, 216, 0.55) 0%, transparent 60%),
        radial-gradient(45% 55% at 90% 10%, rgba(232, 168, 124, 0.18) 0%, transparent 65%),
        radial-gradient(50% 60% at 80% 90%, rgba(102, 178, 178, 0.28) 0%, transparent 60%),
        linear-gradient(180deg, #f5faf9 0%, #eef6f6 100%);
}
.hero-shape-1, .hero-shape-2 { display: none; }
.hero-dots {
    opacity: 0.18;
    top: 15%;
    left: 6%;
    width: 140px;
    height: 140px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 70%);
}

/* Hero title - bigger, tighter, gradient accent with underline sweep */
.hero-title {
    font-size: clamp(3rem, 6vw, 5.25rem);
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin-bottom: 1.75rem;
}
.title-accent {
    background: linear-gradient(100deg, var(--teal-medium) 0%, var(--navy) 70%, var(--accent-warm) 120%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}
.title-accent::after { content: none; }
@keyframes accentSweep {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

.hero-text {
    color: var(--gray-700);
    font-size: 1.2rem;
}

/* Hero image frame - tilt + layered accents */
.image-frame {
    width: clamp(300px, 34vw, 420px);
    height: clamp(380px, 42vw, 520px);
}
.image-frame img {
    border-radius: 20px;
    box-shadow: var(--shadow-glow);
}
.image-accent {
    top: 16px;
    right: -22px;
    background: linear-gradient(135deg, var(--teal-medium), var(--teal-dark));
    border-radius: 20px;
}
.image-decoration {
    bottom: -24px;
    left: -24px;
    width: 96px;
    height: 96px;
    background: linear-gradient(135deg, var(--accent-warm), var(--accent-warm-dark));
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
}

/* Buttons - gradient + glow on primary. Transition specific props to avoid
   a flash when the gradient background-image is swapped to a solid color. */
.btn,
.btn-primary,
.btn-secondary,
.nav-links .btn-contact-link,
.btn-contact {
    transition: transform var(--transition-base),
                box-shadow var(--transition-base),
                border-color var(--transition-base),
                color var(--transition-base),
                filter var(--transition-base) !important;
}
.btn-primary {
    background-image: linear-gradient(135deg, var(--teal-medium) 0%, var(--teal-dark) 100%);
    background-color: var(--teal-medium);
    border-color: transparent;
    box-shadow: 0 8px 20px -8px rgba(0, 128, 128, 0.5);
}
.btn-primary:hover {
    background-image: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal-darkest) 100%);
    background-color: var(--teal-dark);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -10px rgba(0, 128, 128, 0.6);
}
.nav-links .btn-contact-link:hover,
.btn-contact:hover {
    filter: brightness(0.92);
}

/* Section rhythm */
.diensten,
.vacatures,
.blog-section {
    padding-top: clamp(5rem, 10vw, 8rem);
    padding-bottom: clamp(5rem, 10vw, 8rem);
}
.section-title {
    font-size: clamp(2.25rem, 4.2vw, 3.25rem);
    letter-spacing: -0.015em;
}
.section-subtitle {
    color: var(--gray-600);
}

/* Service cards - gradient border on hover, glow */
.dienst-card {
    border-radius: var(--radius-card);
    padding: 2.5rem;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, var(--gray-100), var(--gray-100)) border-box;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}
.dienst-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 80% at 0% 0%, rgba(178, 216, 216, 0.25), transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
}
.dienst-card:hover {
    transform: translateY(-10px);
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, var(--teal-medium), var(--accent-warm)) border-box;
    box-shadow: var(--shadow-glow);
    border-color: transparent;
}
.dienst-card:hover::before { opacity: 1; }
.dienst-icon {
    background: linear-gradient(135deg, var(--teal-medium), var(--teal-dark));
    box-shadow: 0 10px 20px -10px rgba(0, 128, 128, 0.55);
    border-radius: 14px;
}
.dienst-icon svg { color: #fff; }
.dienst-card h3 { font-size: 1.35rem; }

/* Vacature cards - consistent polish */
.vacature-card {
    border-radius: var(--radius-card) !important;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.vacature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms cubic-bezier(.2,.7,.2,1), transform 700ms cubic-bezier(.2,.7,.2,1);
    will-change: opacity, transform;
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Selection */
::selection {
    background: var(--teal-medium);
    color: #fff;
}

/* Focus visibility */
a:focus-visible, button:focus-visible, .btn:focus-visible {
    outline: 2px solid var(--teal-medium);
    outline-offset: 3px;
    border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .title-accent::after { animation: none; }
    .image-frame { transform: none; }
}
