/* ============================================================
   ERBACOM – Static Site Stylesheet
   Primary color: #00c734 (Erbacom Green)
   ============================================================ */

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

:root {
    --green: #00c734;
    --green-dark: #00a828;
    --green-light: #00e83c;
    --dark: #111111;
    --dark-2: #1a1a1a;
    --dark-3: #222222;
    --gray: #666666;
    --gray-light: #999999;
    --white: #ffffff;
    --off-white: #f5f5f5;
    --border: #e0e0e0;
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --nav-height: 72px;
    --topbar-height: 38px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
    --radius: 8px;
    --radius-lg: 14px;
    --transition: 0.25s ease;
}

html {
    scroll-behavior: smooth;
}

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

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   TOPBAR
   ============================================================ */

.topbar {
    background: var(--dark);
    padding: 0;
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    border-bottom: 1px solid #222;
}

.topbar-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.topbar-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #ccc;
    transition: color var(--transition);
}

.topbar-link:hover {
    color: var(--green);
}

.topbar-link svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.topbar-divider {
    display: inline-block;
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 4px;
}

.topbar-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ============================================================
   SOCIAL ICONS
   ============================================================ */

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ccc;
    transition: background var(--transition), color var(--transition), transform var(--transition);
}

.social-icon:hover {
    background: var(--green);
    color: var(--white);
    transform: translateY(-2px);
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--dark);
    height: var(--nav-height);
    display: flex;
    align-items: center;
    transition: box-shadow var(--transition), background var(--transition);
    border-bottom: 2px solid var(--green);
}

.navbar.scrolled {
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    line-height: 1;
}

.nav-logo-img {
    height: 52px;
    width: auto;
    display: block;
}

/* Tekst-logo fallback (niet meer gebruikt) */
.logo-erba {
    color: var(--white);
}

.logo-com {
    color: var(--green);
}

.footer-logo-img {
    height: 60px;
    width: auto;
    display: block;
    margin-bottom: 20px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    color: #ccc;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius);
    transition: color var(--transition), background var(--transition);
}

.nav-link:hover {
    color: var(--green);
    background: rgba(0, 199, 52, 0.08);
}

.nav-cta {
    background: var(--green);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--radius);
    margin-left: 8px;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.nav-cta:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 199, 52, 0.35);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
    display: inline-block;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 199, 52, 0.4);
}

.btn-full {
    display: block;
    width: 100%;
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: center;
    background: #0a1628;
    overflow: hidden;
    padding: 80px 0;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.35;
    z-index: 0;
}

/* Animated background grid */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 199, 52, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 199, 52, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(60px, 60px);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(10, 22, 40, 0.85) 50%, rgba(10, 22, 40, 0.4) 100%),
        radial-gradient(ellipse at 30% 50%, rgba(0, 199, 52, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    flex: 1;
}

.hero-badge {
    display: inline-block;
    background: var(--green);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease forwards;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 16px;
    max-width: 560px;
    animation: fadeInUp 0.6s 0.1s ease both;
}

.hero-subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 36px;
    max-width: 480px;
    animation: fadeInUp 0.6s 0.2s ease both;
}

.hero .btn {
    animation: fadeInUp 0.6s 0.3s ease both;
}

.hero-visual {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    max-width: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    opacity: 0.25;
    padding-right: 40px;
}

.hero-device {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-18px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   INFO SECTION
   ============================================================ */

.info-section {
    padding: 80px 0;
    background: var(--white);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: center;
}

.info-img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 190px 190px;
    gap: 12px;
}

.info-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.info-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.info-img-1 {
    grid-row: span 2;
}

.info-img-2 {
    grid-row: span 1;
}

.info-img-3 {
    grid-row: span 1;
}

.info-text h2 {
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 20px;
}

.info-text h2 span {
    color: var(--green);
}

.info-text p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.75;
    margin-bottom: 28px;
}

/* ============================================================
   OVER ERBACOM SECTION
   ============================================================ */

.over-section {
    background: var(--dark);
    padding: 80px 0;
}

.over-section .section-title {
    color: var(--white);
}

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

.over-card {
    text-align: center;
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: border-color var(--transition), transform var(--transition);
}

.over-card:hover {
    border-color: var(--green);
    transform: translateY(-4px);
}

.over-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(0, 199, 52, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: background var(--transition);
}

.over-card:hover .over-icon {
    background: rgba(0, 199, 52, 0.2);
}

.over-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.over-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */

.section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    text-align: center;
    letter-spacing: 1px;
    color: var(--dark);
}

.section-subtitle {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-light);
    letter-spacing: 1px;
    margin-top: 8px;
}

/* ============================================================
   PRICING SECTIONS
   ============================================================ */

.pricing-section {
    padding: 80px 0;
    background: var(--white);
}

.pricing-section--alt {
    background: var(--off-white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--green);
}

.pricing-header {
    background: var(--green);
    padding: 20px 28px;
}

.pricing-header h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
}

.pricing-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.pricing-badge {
    display: none;
    /* vervangen door .pricing-exclusive-banner */
}

.pricing-exclusive-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #00a828;
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 7px 16px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.12);
}

.pricing-features {
    flex: 1;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray);
}

.pricing-features li svg {
    flex-shrink: 0;
}

.pricing-card .btn {
    display: block;
    margin: 0 24px 24px;
    box-sizing: border-box;
    width: calc(100% - 48px);
    text-align: center;
}

/* ============================================================
   CLIENTS SECTION
   ============================================================ */

.clients-section {
    padding: 60px 0;
    background: var(--off-white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.clients-grid {
    margin-top: 40px;
    position: relative;
    width: 100%;
}

.clients-track {
    display: flex;
    align-items: center;
    gap: 80px;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.clients-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 40px));
    }
}

.client-logo {
    flex-shrink: 0;
    width: 140px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    filter: grayscale(1);
    transition: all var(--transition);
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.1);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */

.contact-section {
    padding: 80px 0;
    background:
        linear-gradient(rgba(10, 22, 40, 0.82), rgba(10, 22, 40, 0.88)),
        url('assets/SBI2.jpg') center / cover no-repeat;
    position: relative;
}

.contact-section .section-title {
    color: var(--white);
}

.contact-section .section-subtitle {
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0;
    margin-top: 12px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.contact-email-link {
    color: var(--green-light);
    font-weight: 600;
    transition: opacity var(--transition);
}

.contact-email-link:hover {
    opacity: 0.8;
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 40px auto 0;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.form-input {
    font-family: var(--font);
    font-size: 15px;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--dark);
    transition: border-color var(--transition), box-shadow var(--transition);
    width: 100%;
    outline: none;
}

.form-input::placeholder {
    color: #bbb;
}

.form-input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(0, 199, 52, 0.12);
}

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

.form-message {
    padding: 14px 18px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
}

.form-success {
    background: rgba(0, 199, 52, 0.08);
    border: 1px solid rgba(0, 199, 52, 0.3);
    color: var(--green-dark);
}

.form-error {
    background: rgba(220, 50, 50, 0.08);
    border: 1px solid rgba(220, 50, 50, 0.3);
    color: #c82828;
}

#submitBtn {
    align-self: flex-start;
    min-width: 160px;
}

/* TLD / veldfout-stijlen */
.field-error {
    display: none;
    font-size: 12px;
    font-weight: 500;
    color: #c82828;
    margin-top: 5px;
    padding: 4px 10px;
    background: rgba(220, 50, 50, 0.07);
    border-left: 3px solid #c82828;
    border-radius: 0 4px 4px 0;
}

.input-error {
    border-color: #c82828 !important;
    box-shadow: 0 0 0 3px rgba(220, 50, 50, 0.12) !important;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
    background: var(--dark);
    padding: 64px 0 32px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    font-size: 28px;
    font-weight: 800;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

.footer-contact-link:hover {
    color: var(--green);
}

.footer-address {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-address svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-social-label {
    font-size: 13px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-social-links {
    display: flex;
    gap: 8px;
}

.footer-links-col h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.footer-links-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-col ul li a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    transition: color var(--transition);
}

.footer-links-col ul li a:hover {
    color: var(--green);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-badge-img {
    height: 22px;
    width: auto;
    display: block;
    background: white;
    border-radius: 4px;
    padding: 2px 5px;
    opacity: 0.75;
    transition: opacity var(--transition);
}

.footer-badge-img:hover {
    opacity: 1;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
    .over-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .info-img-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 160px 160px;
        max-width: 480px;
        margin: 0 auto;
    }

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

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 700px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .topbar-contact {
        display: none;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: calc(var(--topbar-height) + var(--nav-height));
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--dark-2);
        padding: 16px;
        gap: 4px;
        border-bottom: 2px solid var(--green);
        z-index: 999;
    }

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

    .nav-link,
    .nav-cta {
        display: block;
        width: 100%;
        padding: 12px 16px;
        margin: 0;
        text-align: center;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-visual {
        display: none;
    }

    .hero {
        min-height: 460px;
    }

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

    .footer-brand {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .info-img-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 180px 180px;
    }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */

.fade-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}