/* ==========================================================================
   COX IT - Clean Responsive Static Stylesheet
   ========================================================================== */

:root {
    --brand-orange: #ed791b;
    --brand-blue: #008dce;
    --brand-black: #000000;
    --text-body: #6d6d6d;
    --text-heading: #000000;
    --text-h3: #151515;
    --text-white: #ffffff;
    --text-footer-muted: #6e6e6e;
    --bg-body: #ffffff;
    --bg-surface: #ffffff;
    --border-light: #e5e7eb;
    --font-main: 'Exo 2', Arial, sans-serif;
    --font-display: 'Roboto', Arial, sans-serif;
    --container-max: 1200px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-body);
    color: var(--text-body);
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 26px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
    background-color: var(--brand-orange);
    width: 100%;
    position: relative;
    z-index: 50;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 14px;
    padding-bottom: 14px;
    min-height: 100px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo {
    width: 72px;
    height: auto;
    object-fit: contain;
}

.brand-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 60px;
    line-height: 60px;
    font-weight: 700;
    color: var(--brand-black);
    letter-spacing: -0.02em;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 2px solid var(--text-white);
    border-radius: 4px;
    color: var(--text-white);
    padding: 8px 10px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.nav-toggle:focus-visible {
    outline: 2px solid var(--brand-black);
    outline-offset: 2px;
}

.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav a {
    display: inline-block;
    padding: 10px 16px;
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-white);
    transition: opacity 0.15s ease, color 0.15s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.site-nav a.active {
    color: var(--brand-black);
    text-decoration: none;
}

/* ==========================================================================
   Main Content
   ========================================================================== */

main {
    flex: 1 0 auto;
    width: 100%;
}

.hero-section {
    padding: 48px 0 32px;
    text-align: center;
}

.hero-title {
    margin: 0 auto;
    font-family: var(--font-main);
    font-size: 80px;
    line-height: 85px;
    font-weight: 400;
    color: var(--text-heading);
    max-width: 960px;
}

.hero-title strong {
    font-weight: 700;
}

.page-header-section {
    padding: 48px 0 24px;
}

.page-title {
    margin: 0 0 20px;
    font-family: var(--font-main);
    font-size: 64px;
    line-height: 70px;
    font-weight: 400;
    color: var(--text-heading);
}

.page-intro {
    margin: 0;
    font-size: 16px;
    line-height: 26px;
    color: var(--text-body);
    max-width: 1040px;
}

/* ==========================================================================
   Home Services Grid
   ========================================================================== */

.cards-section {
    padding: 16px 0 40px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 36px;
}

.service-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-surface);
}

.service-card-media {
    width: 100%;
    margin-bottom: 20px;
}

.service-card-media img {
    width: 100%;
    height: auto;
    display: block;
}

.service-card h3 {
    margin: 0 0 12px;
    font-family: var(--font-main);
    font-size: 20px;
    line-height: 25px;
    font-weight: 700;
    color: var(--text-h3);
}

.service-card p {
    margin: 0 0 12px;
    font-size: 16px;
    line-height: 26px;
    color: var(--text-body);
}

.service-card p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   "COX IT Denkt groter" Feature Section
   ========================================================================== */

.think-bigger-section {
    padding: 40px 0 48px;
}

.section-heading {
    margin: 0 0 36px;
    font-family: var(--font-main);
    font-size: 34px;
    line-height: 42px;
    font-weight: 400;
    color: var(--text-heading);
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon-box {
    width: 50px;
    height: 50px;
    background-color: var(--brand-black);
    color: var(--text-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon-box svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.feature-item p {
    margin: 0;
    font-size: 16px;
    line-height: 26px;
    color: var(--text-body);
}

.blue-divider {
    border: 0;
    height: 2px;
    background-color: var(--brand-blue);
    margin: 0;
}

/* ==========================================================================
   Horizontal Feature Rows (Implementaties & Services / Netwerkservices)
   ========================================================================== */

.rows-section {
    padding: 40px 0 60px;
}

.feature-rows {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.feature-row {
    display: grid;
    grid-template-columns: 33% 1fr;
    gap: 0;
    align-items: start;
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-light);
}

.feature-row:last-child {
    border-bottom: none;
}

/* Image side: 20px padding from top-left matches original x:20,y:20 offset */
.feature-row-media {
    padding: 20px 20px 20px 0;
}

.feature-row-media img {
    width: 100%;
    height: auto;
    display: block;
}

/* Text side mirrors original layout */
.feature-row-body {
    padding: 20px 20px 20px 0;
}

/* Cropped images: use object-fit cover + aspect-ratio to reproduce original site.pro crop data */
/* Applied to .feature-row-media and .service-card-media via modifier classes */
.feature-row-media.crop,
.service-card-media.crop {
    overflow: hidden;
}

.feature-row-media.crop img,
.service-card-media.crop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* China-tech.jpg: original crop x=132.5,y=0,w=465.6,h=440 from 1024×440 */
.feature-row-media.crop-china-tech {
    aspect-ratio: 465.6 / 440;
    overflow: hidden;
}
.feature-row-media.crop-china-tech img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 35.7% 50%;
}

/* fortinet-logo: original crop x=0,y=30.5,w=500,h=225.6 from 500×375 */
.service-card-media.crop-fortinet {
    aspect-ratio: 500 / 225.6;
    overflow: hidden;
}
.service-card-media.crop-fortinet img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 38.2%;
}

/* Per-row image column width overrides to match original DB values */
/* Implementaties: NIB (74da156e) and dropdb = 38.53% */
.feature-row.img-wide {
    grid-template-columns: 38.53% 1fr;
}
/* Implementaties: coxhosts = 30.26% */
.feature-row.img-30-26 {
    grid-template-columns: 30.26% 1fr;
}
/* Implementaties: fBemOm4g5hUsUWtJ, darkweb = 30.78% */
.feature-row.img-30-78 {
    grid-template-columns: 30.78% 1fr;
}
/* Implementaties: China-tech = 30.95% */
.feature-row.img-30-95 {
    grid-template-columns: 30.95% 1fr;
}
/* Services / Netwerkservices: all = 30% (default base 33% overridden here) */
.feature-row.img-30 {
    grid-template-columns: 30% 1fr;
}

.feature-row-body h2 {
    margin: 0 0 16px;
    font-family: var(--font-main);
    font-size: 34px;
    line-height: 42px;
    font-weight: 400;
    color: var(--text-heading);
}

.feature-row-body p {
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 26px;
    color: var(--text-body);
}

.feature-row-body p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Vacatures & Contacten Layouts + Forms
   ========================================================================== */

.vacatures-section {
    padding: 24px 0 64px;
}

.vacatures-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 32px;
    align-items: start;
    margin-top: 32px;
}

.vertical-divider {
    width: 2px;
    background-color: var(--brand-black);
    align-self: stretch;
    min-height: 280px;
}

.vacancy-col h2 {
    margin: 0 0 18px;
    font-family: var(--font-main);
    font-size: 36px;
    line-height: 42px;
    font-weight: 400;
    color: var(--text-heading);
}

.vacancy-col p {
    margin: 0;
    font-family: var(--font-display);
    font-size: 16px;
    line-height: 24px;
    color: var(--text-heading);
    text-align: justify;
}

.contact-section {
    padding: 40px 0 64px;
}

.contact-card {
    max-width: 760px;
}

.static-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--bg-surface);
}

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

.form-label {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--brand-black);
}

.form-label .req {
    color: #c62828;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #555555;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 2px;
    transition: border-color 0.15s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--brand-blue);
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

.form-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 2px;
}

.form-option {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 18px;
    color: #333333;
    cursor: pointer;
}

.form-option input {
    margin-top: 2px;
    flex-shrink: 0;
}

.form-submit {
    align-self: flex-start;
    padding: 10px 24px;
    background-color: var(--brand-black);
    color: var(--text-white);
    border: 0;
    font-family: var(--font-display);
    font-size: 16px;
    line-height: 20px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.form-submit:hover,
.form-submit:focus-visible {
    background-color: #e6e6e6;
    color: #333333;
}

.form-status {
    display: none;
    padding: 12px 14px;
    border-left: 4px solid var(--brand-orange);
    background-color: #fff7ed;
    color: #222222;
    font-size: 14px;
    line-height: 20px;
}

.form-status.is-visible {
    display: block;
}

/* ==========================================================================
   404 Page
   ========================================================================== */

.not-found-section {
    padding: 80px 0;
    text-align: center;
}

.not-found-section h1 {
    font-size: 64px;
    line-height: 72px;
    margin: 0 0 16px;
    color: var(--text-heading);
}

.not-found-section p {
    margin: 0 0 28px;
    font-size: 18px;
}

.btn-home {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--brand-orange);
    color: var(--brand-black);
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 2px;
}

.btn-home:hover {
    opacity: 0.9;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background-color: var(--brand-black);
    color: var(--text-white);
    padding: 48px 0;
    width: 100%;
    flex-shrink: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 28px;
    align-items: start;
}

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

.footer-heading {
    margin: 0 0 18px;
    font-family: var(--font-main);
    font-size: 34px;
    line-height: 42px;
    font-weight: 400;
    color: var(--text-white);
}

.footer-text {
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 26px;
    color: var(--text-white);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.footer-links a {
    color: var(--text-white);
    font-size: 16px;
    line-height: 26px;
    font-weight: 700;
    text-decoration: underline;
}

.footer-links a:hover {
    color: var(--brand-orange);
}

.footer-divider {
    width: 2px;
    height: 160px;
    background-color: var(--text-white);
    align-self: center;
}

.gift-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-image: url('../images/asset%205-ts1552981132.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    color: var(--text-white);
    transition: transform 0.15s ease;
}

.gift-btn:hover,
.gift-btn:focus-visible {
    background-image: url('../images/hoverasset%205-ts1552981143.svg');
    transform: scale(1.06);
}

.gift-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.social-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.social-btn {
    width: 48px;
    height: 48px;
    background-color: var(--text-white);
    color: var(--brand-black);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.social-btn:hover,
.social-btn:focus-visible {
    background-color: var(--brand-orange);
    color: var(--text-white);
}

.social-btn svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 992px) {
    .brand-title {
        font-size: 46px;
        line-height: 48px;
    }

    .hero-title {
        font-size: 56px;
        line-height: 62px;
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vacatures-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .vertical-divider {
        width: 100%;
        height: 2px;
        min-height: 2px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
        min-height: auto;
    }

    .brand-logo {
        width: 54px;
    }

    .brand-title {
        font-size: 38px;
        line-height: 40px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        display: none;
        width: 100%;
        padding-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
    }

    .site-nav.is-open {
        display: block;
    }

    .site-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .site-nav a {
        padding: 10px 4px;
        width: 100%;
    }

    .hero-title {
        font-size: 40px;
        line-height: 46px;
    }

    .page-title {
        font-size: 42px;
        line-height: 48px;
    }

    .cards-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-row {
        grid-template-columns: 1fr;
        padding: 16px 0;
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-divider {
        width: 80px;
        height: 2px;
        margin: 0 auto;
    }

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