/* ============================================
   ROVIXUS — Website Stylesheet
   Light/Dark theme, responsive, bilingual
   Colors matched to rovixus.be brand
   ============================================ */

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

/* --- Light Theme (default, matches rovixus.be) --- */
:root {
    --bg-primary: #fdfcfb;
    --bg-secondary: #f5f5f5;
    --bg-card: #ffffff;
    --bg-card-hover: #faf8f7;
    --text-primary: #17110f;
    --text-secondary: #666666;
    --text-muted: #999999;
    --accent: #EC5C1D;
    --accent-hover: #f48657;
    --accent-light: #eaa384;
    --accent-gradient: linear-gradient(135deg, #EC5C1D, #f48657);
    --accent-glow: rgba(236, 92, 29, 0.25);
    --accent-glow-strong: rgba(236, 92, 29, 0.35);
    --accent-subtle: rgba(236, 92, 29, 0.08);
    --border-color: rgba(23, 17, 15, 0.1);
    --navbar-bg: rgba(253, 252, 251, 0.92);
    --navbar-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --card-shadow-hover: 0 8px 30px rgba(236, 92, 29, 0.15);
    --hero-gradient-1: rgba(236, 92, 29, 0.06);
    --hero-gradient-2: rgba(244, 134, 87, 0.06);
    --circuit-color-1: #EC5C1D;
    --circuit-color-2: #f48657;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container-max: 1200px;
    --section-padding: 100px 0;
    --transition: 0.3s ease;
}

/* --- Dark Theme --- */
[data-theme="dark"] {
    --bg-primary: #0a0e17;
    --bg-secondary: #111827;
    --bg-card: #1a2235;
    --bg-card-hover: #1f2a40;
    --text-primary: #f0f2f5;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent: #EC5C1D;
    --accent-hover: #f48657;
    --accent-light: #eaa384;
    --accent-gradient: linear-gradient(135deg, #EC5C1D, #f48657);
    --accent-glow: rgba(236, 92, 29, 0.3);
    --accent-glow-strong: rgba(236, 92, 29, 0.45);
    --accent-subtle: rgba(236, 92, 29, 0.12);
    --border-color: rgba(148, 163, 184, 0.12);
    --navbar-bg: rgba(10, 14, 23, 0.92);
    --navbar-shadow: none;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --card-shadow-hover: 0 8px 30px rgba(236, 92, 29, 0.2);
    --hero-gradient-1: rgba(236, 92, 29, 0.08);
    --hero-gradient-2: rgba(244, 134, 87, 0.06);
    --circuit-color-1: #EC5C1D;
    --circuit-color-2: #f48657;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.4s ease, color 0.4s ease;
}

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

a:hover {
    color: var(--accent-hover);
}

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

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

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 12px var(--accent-glow);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--accent-glow-strong);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: var(--navbar-bg);
    backdrop-filter: blur(20px);
    box-shadow: var(--navbar-shadow);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-img {
    height: 36px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 2px;
    -webkit-text-fill-color: var(--accent);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-switch,
.theme-switch {
    background: var(--accent-subtle);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 6px 14px;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-switch:hover,
.theme-switch:hover {
    border-color: var(--accent);
    background: var(--accent-subtle);
}

.theme-switch {
    padding: 6px 10px;
    font-size: 1rem;
    letter-spacing: 0;
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, var(--hero-gradient-1) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, var(--hero-gradient-2) 0%, transparent 60%);
    z-index: 0;
}

[data-theme="dark"] .hero-bg {
    background:
        radial-gradient(ellipse at 20% 50%, var(--hero-gradient-1) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, var(--hero-gradient-2) 0%, transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-title .highlight {
    color: var(--accent);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero image */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .hero-image {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

/* Scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: rotate(45deg) translate(0, 0); }
    50% { transform: rotate(45deg) translate(4px, 4px); }
}

/* ============================================
   PARTNERS
   ============================================ */
.partners {
    padding: 48px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.partners-label {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 28px;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.partner-logo {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all var(--transition);
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    height: 32px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity var(--transition);
}

[data-theme="dark"] .partner-logo img {
    filter: brightness(1.3);
}

.partner-logo:hover img {
    opacity: 1;
}

.partner-logo:hover {
    color: var(--accent);
    border-color: var(--accent-light);
}

/* ============================================
   SECTIONS (shared)
   ============================================ */
.section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    background: var(--bg-primary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.02rem;
}

.about-text strong {
    color: var(--accent);
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    transition: all var(--transition);
    box-shadow: var(--card-shadow);
}

.stat-card:hover {
    border-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-hover);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    background: var(--bg-secondary);
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 32px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity var(--transition);
}

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

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent);
}

.service-icon svg {
    width: 40px;
    height: 40px;
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 14px;
    color: var(--accent);
}

.service-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================
   TECHNOLOGY
   ============================================ */
.technology {
    background: var(--bg-primary);
}

.tech-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.tech-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-image {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
}

.tech-highlight {
    margin-bottom: 40px;
}

.tech-text p {
    color: var(--text-secondary);
    font-size: 1.02rem;
    margin-bottom: 20px;
}

.tech-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 36px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.tech-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
}

.tech-card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-subtle);
    border-radius: 10px;
    margin-bottom: 20px;
    color: var(--accent);
}

.tech-card-icon svg {
    width: 24px;
    height: 24px;
}

.tech-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--accent);
}

.tech-card p {
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.7;
}

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

.tech-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    transition: all var(--transition);
    box-shadow: var(--card-shadow);
}

.tech-feature:hover {
    border-color: var(--accent-light);
    transform: translateY(-2px);
}

.tech-feature-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.tech-feature h4 {
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.tech-feature p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    background: var(--bg-secondary);
}

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

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 36px;
    text-align: center;
    transition: all var(--transition);
    box-shadow: var(--card-shadow);
}

.contact-card:hover {
    border-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-hover);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.contact-card-icon svg {
    width: 28px;
    height: 28px;
}

.contact-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--accent);
}

.contact-address {
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.8;
}

.contact-address a {
    color: var(--accent);
}

.contact-address a:hover {
    color: var(--accent-hover);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 48px 0 32px;
}

[data-theme="dark"] .footer {
    background: #060911;
}

.footer .logo-text {
    color: var(--accent);
    -webkit-text-fill-color: var(--accent);
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    filter: brightness(2);
}

[data-theme="dark"] .footer-logo-img {
    filter: brightness(1.5);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
}

.footer-brand p {
    color: var(--accent-light);
    font-size: 0.9rem;
    margin-top: 10px;
}

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

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.82rem;
}

/* ============================================
   ANIMATIONS (scroll reveal)
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

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

    .tech-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 64px 0;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 24px;
        transition: right var(--transition);
        border-left: 1px solid var(--border-color);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .services-grid,
    .tech-features,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    .partners-grid {
        gap: 16px;
    }

    .partner-logo {
        font-size: 0.75rem;
        padding: 6px 14px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

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

    .hero-scroll-hint {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

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

    .footer-links {
        flex-wrap: wrap;
        gap: 16px;
    }
}
