﻿:root {
    --kuka-orange: #FF6600; /* Brand orange */
    --kuka-dark-gray: #4A4A4A;
    --kuka-medium-gray: #666666;
    --kuka-light-gray: #CCCCCC;
    --kuka-white: #ffffff;
    --primary-font: sans-serif;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    margin: 0;
    padding: 0;
    color: #666666;
    background-color: #FAFAFA;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}


html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
}

:focus-visible {
    outline: 2px solid var(--kuka-orange);
    outline-offset: 3px;
}
h1, h2, h3 {
    color: var(--kuka-dark-gray);
}

a {
    text-decoration: none;
    color: var(--kuka-orange);
}

a:hover {
    text-decoration: underline;
}

.btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    text-align: center;
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background-color: #2563eb;
    color: #fff;
}

.btn-primary:hover {
    background-color: #FF6600;
}

.btn-secondary {
    background-color: #e5e7eb;
    color: rgb(73,73,73);
}

.btn-secondary:hover {
    background-color: #d1d5db;
}

/* --- General Section Styling --- */
.section-padding {
    padding: 60px 0;
}

.section-title {
    font-size: 2.2em;
    margin-bottom: 40px;
    color: var(--kuka-dark-gray);
}

.text-center {
    text-align: center;
}

.bg-light-gray {
    background: #f3f4f6;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(90deg, #e0e7ef 0%, #f8fafc 100%);
    padding: 4rem 0 3rem 0;
    text-align: center;
}

.hero-content {
    position: relative; /* To sit on top of the overlay */
    z-index: 2;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(102,102,102);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgb(102,102,102);
}

/* --- Overview Grid (for Solutions & Products) --- */
.overview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .overview-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* overview card */
.overview-card {
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.04);
    padding: 2rem 1rem 1.5rem 1rem;
    text-align: center;
    transition: box-shadow 0.2s;
}

.overview-card:hover {
    box-shadow: 0 4px 16px 0 rgba(37,99,235,0.10);
}

.overview-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.overview-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.overview-card p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: rgb(102,102,102);
}

/* --- Call to Action Section --- */
.cta-section {
    background-color: var(--kuka-orange);
    color: var(--kuka-white);
}

.cta-section h2 {
    font-size: 2em;
    margin-bottom: 15px;
    color: var(--kuka-white);
}

.cta-section p {
    font-size: 1.1em;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-primary {
    background-color: var(--kuka-white);
    color: var(--kuka-orange);
    border-color: var(--kuka-white);
}
.cta-section .btn-primary:hover {
    background-color: #f0f0f0;
    color: var(--kuka-orange);
}

/* footer */
footer {
    background: #f3f4f6;
    color: rgb(102,102,102);
}

footer h3, footer h4 {
    color: rgb(102,102,102);
}

footer a {
    color: rgb(102,102,102);
    text-decoration: none;
}

footer a:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Form controls */
input, textarea, select {
    color: rgb(120,120,120);
    font-size: 1rem;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px #bfdbfe;
}

/* Align language selector icon */
nav .fa-globe {
    margin-top: 2px;
}

/* Responsive container */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}


html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
}

:focus-visible {
    outline: 2px solid var(--kuka-orange);
    outline-offset: 3px;
}
/* Utilities used by legacy pages */
.text-center {
    text-align: center;
}

.text-base {
    font-size: 1rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.rounded {
    border-radius: 0.375rem;
}

.shadow {
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.07);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.10), 0 4px 6px -2px rgba(0,0,0,0.05);
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2em;
    }
    .hero p {
        font-size: 1em;
    }
    .section-title {
        font-size: 1.8em;
    }
    .overview-grid {
        grid-template-columns: 1fr;
    }
}

.active {
    color: var(--kuka-orange) !important;
}

nav a.active, #mobile-menu-content a.active {
    color: var(--kuka-orange) !important;
}

