/* ================================
   VARIABLES & RESET
   ================================ */
:root {
    --color-navy: #1B1540;
    --color-red: #E6373E;
    --color-cyan: #1EB1E1;
    --color-white: #FFFFFF;
    --color-light-gray: #F9FAFB;
    --color-border-gray: #E5E7EB;
    --color-dark-gray: #333333;
    --color-medium-gray: #666666;
    --color-text-gray: #4B5563;

    --font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

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

/* ================================
   CONTAINER
   ================================ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ================================
   NAVBAR
   ================================ */
.navbar {
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.6s ease-out;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border-gray);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo-container {
    display: flex;
    align-items: center;
    height: 60px;
    animation: fadeInLeft 0.6s ease-out;
}

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

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: var(--color-text-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    position: relative;
    letter-spacing: 0.3px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-red);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--color-navy);
}

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

.nav-cta {
    background: linear-gradient(135deg, var(--color-red), #d42a32);
    color: var(--color-white);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(230, 55, 62, 0.2);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 55, 62, 0.3);
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ================================
   HERO SECTION
   ================================ */
.hero {
    background: linear-gradient(135deg, rgba(27, 21, 64, 0.95) 0%, rgba(42, 56, 112, 0.95) 50%, rgba(30, 177, 225, 0.95) 100%), url('./afbeeldingen/heftrucks-bedrijf.jpg') center bottom/cover no-repeat;
    color: var(--color-white);
    padding: 120px 32px;
    position: relative;
    overflow: hidden;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(30, 177, 225, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(230, 55, 62, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 30s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-40px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

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

.hero-badge {
    display: inline-block;
    border: 2px solid var(--color-red);
    color: var(--color-red);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 32px;
    animation: slideInDown 0.6s ease-out 0.2s both;
    background: rgba(255, 255, 255, 0.05);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
    animation: slideInDown 0.6s ease-out 0.3s both;
    letter-spacing: -1px;
}

.highlight {
    color: var(--color-cyan);
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: 40px;
    animation: slideInDown 0.6s ease-out 0.4s both;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 56px;
    animation: slideInDown 0.6s ease-out 0.5s both;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--color-red);
    color: var(--color-white);
    box-shadow: 0 6px 20px rgba(230, 55, 62, 0.3);
}

.btn-primary:hover {
    background: #d42a32;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(230, 55, 62, 0.4);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-navy);
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: var(--color-light-gray);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.brands {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: center;
    margin-top: 48px;
    font-weight: 600;
    font-size: 13px;
    animation: slideInDown 0.6s ease-out 0.6s both;
    flex-wrap: wrap;
    letter-spacing: 0.5px;
}

.brands span {
    opacity: 0.85;
    font-weight: 500;
}

.brands strong {
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

/* ================================
   STATS SECTION
   ================================ */
.stats {
    background: var(--color-light-gray);
    padding: 100px 32px;
    margin-top: -80px;
    position: relative;
    z-index: 3;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.stat-box {
    background: var(--color-white);
    border: 1px solid var(--color-border-gray);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    animation: fadeInUp 0.6s ease-out both;
}

.stat-box:nth-child(1) { animation-delay: 0.2s; }
.stat-box:nth-child(2) { animation-delay: 0.3s; }
.stat-box:nth-child(3) { animation-delay: 0.4s; }
.stat-box:nth-child(4) { animation-delay: 0.5s; }

.stat-box:hover {
    border-color: var(--color-red);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.stat-icon {
    font-size: 32px;
    color: var(--color-red);
    margin-bottom: 16px;
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--color-navy);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.stat-text {
    font-size: 14px;
    color: var(--color-text-gray);
    line-height: 1.6;
    font-weight: 500;
}

/* ================================
   SERVICES SECTION
   ================================ */
.services {
    background: var(--color-white);
    padding: 100px 32px;
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    color: var(--color-navy);
    text-align: center;
    margin-bottom: 16px;
    animation: slideInDown 0.6s ease-out;
    letter-spacing: -1px;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-gray);
    margin-bottom: 64px;
    font-size: 17px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
    font-weight: 500;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.service-card {
    background: var(--color-light-gray);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--color-border-gray);
    animation: fadeInUp 0.6s ease-out both;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.15s; }
.service-card:nth-child(3) { animation-delay: 0.2s; }
.service-card:nth-child(4) { animation-delay: 0.25s; }
.service-card:nth-child(5) { animation-delay: 0.3s; }
.service-card:nth-child(6) { animation-delay: 0.35s; }
.service-card:nth-child(7) { animation-delay: 0.4s; }
.service-card:nth-child(8) { animation-delay: 0.45s; }

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    background: var(--color-white);
    border-color: var(--color-red);
}

.service-card:hover .service-icon {
    transform: scale(1.15);
    color: var(--color-red);
}

.service-icon {
    font-size: 36px;
    color: var(--color-navy);
    margin-bottom: 20px;
    transition: var(--transition);
    display: inline-block;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.service-card p {
    font-size: 14px;
    color: var(--color-text-gray);
    line-height: 1.6;
    font-weight: 500;
}

/* ================================
   PRODUCTS SECTION
   ================================ */
.products {
    background: var(--color-light-gray);
    padding: 100px 32px;
}

.hexon-wrapper {
    margin-top: 56px;
}

.hexon-container {
    padding: 48px;
    background: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.6s ease-out 0.2s both;
    border: 1px solid var(--color-border-gray);
}

#svm-canvas {
    min-height: 450px;
}

/* ================================
   CONTACT CTA SECTION
   ================================ */
.contact-cta {
    background: linear-gradient(135deg, var(--color-red), #d42a32);
    color: var(--color-white);
    padding: 100px 32px;
    text-align: center;
}

.contact-content h2 {
    font-size: 44px;
    font-weight: 900;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    letter-spacing: -0.5px;
}

.contact-content p {
    font-size: 17px;
    margin-bottom: 40px;
    opacity: 0.95;
    animation: fadeInUp 0.6s ease-out 0.2s both;
    font-weight: 500;
}

.btn-contact {
    background: var(--color-white);
    color: var(--color-red);
    padding: 16px 32px;
    font-size: 15px;
    animation: fadeInUp 0.6s ease-out 0.4s both;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-contact:hover {
    transform: scale(1.06);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.2);
}

/* ================================
   FOOTER
   ================================ */
.footer {
    background: var(--color-navy);
    color: var(--color-white);
    padding: 80px 32px 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 56px;
    margin-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 56px;
}

.footer-col {
    animation: fadeInUp 0.6s ease-out both;
}

.footer-col:nth-child(1) { animation-delay: 0.1s; }
.footer-col:nth-child(2) { animation-delay: 0.2s; }
.footer-col:nth-child(3) { animation-delay: 0.3s; }
.footer-col:nth-child(4) { animation-delay: 0.4s; }

.footer-title {
    font-size: 22px;
    font-weight: 900;
    color: var(--color-white);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.footer-heading {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-white);
    margin-bottom: 14px;
    font-weight: 400;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: var(--color-cyan);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

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

.footer a[href^="tel:"],
.footer a[href^="mailto:"] {
    color: var(--color-cyan);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
}

.footer a[href^="tel:"]:hover,
.footer a[href^="mailto:"]:hover {
    color: var(--color-white);
}

.footer-badges {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.badge {
    background: rgba(30, 177, 225, 0.15);
    color: var(--color-cyan);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    opacity: 0.7;
    font-weight: 500;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .navbar-content {
        flex-direction: column;
        gap: 16px;
    }

    .nav-menu {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 80px 20px;
        min-height: auto;
    }

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

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 36px;
    }

    .services-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .logo-svg {
        height: 40px;
    }

    .nav-menu {
        gap: 8px;
        font-size: 12px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .section-title {
        font-size: 32px;
    }

    .stats {
        padding: 60px 20px;
    }

    .services {
        padding: 60px 20px;
    }

    .products {
        padding: 60px 20px;
    }

    .contact-cta {
        padding: 60px 20px;
    }

    .hexon-container {
        padding: 24px;
    }
}
