/* CSS Variables — matches portfolio design system */
:root {
    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-text: #1a1a1a;
    --color-text-muted: #6b7280;
    --color-bg: #ffffff;
    --color-bg-alt: #f9fafb;
    --color-border: #e5e7eb;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --max-width: 1100px;
    --spacing-unit: 1rem;
}

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

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--color-primary-dark);
}

h1, h2, h3, h4 {
    line-height: 1.3;
}

ul {
    list-style: none;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    padding: 0.75rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-brand img {
    height: 56px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--color-primary);
}

/* Language switcher */
.lang-switcher {
    margin-left: 0.5rem;
    padding-left: 1.5rem;
    border-left: 1px solid var(--color-border);
}

.lang-switcher a {
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    padding: 0.25rem 0.6rem;
    border: 1px solid var(--color-primary);
    border-radius: 4px;
}

.lang-switcher a:hover {
    background: var(--color-primary);
    color: white;
}

/* Hero — full-width background image */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('assets/hero-bg.jpg') center center / cover no-repeat;
    padding: 8rem 0 5rem;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 15, 30, 0.82) 0%, rgba(15, 23, 42, 0.72) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 650px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s;
    cursor: pointer;
}

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

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

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
}

.btn-outline-light:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-alt {
    background: var(--color-bg-alt);
}

.section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.section-intro {
    text-align: center;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.05rem;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    padding: 2rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.service-icon {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.service-card > p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

/* Tags */
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 9999px;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Results — dark section with background image */
.section-dark {
    position: relative;
    overflow: hidden;
    background: #0f172a;
    padding: 5rem 0;
}

.results-bg {
    position: absolute;
    inset: 0;
    background: url('assets/hero-bg.jpg') center center / cover no-repeat;
    opacity: 0.12;
}

.results-content {
    position: relative;
    z-index: 1;
}

.section-dark h2 {
    color: #ffffff;
}

.section-dark .section-intro {
    color: rgba(255, 255, 255, 0.7);
}

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

.result-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(4px);
}

.result-metric {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #60a5fa;
    margin-bottom: 0.5rem;
}

.result-label {
    display: block;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

/* Industries */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}

.industry-card {
    text-align: center;
    padding: 1.75rem 1rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: border-color 0.2s;
}

.industry-card:hover {
    border-color: var(--color-primary);
}

.industry-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.75rem;
}

.industry-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.industry-card p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* Contact */
#contact {
    text-align: center;
}

.contact-actions {
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-link {
    color: var(--color-text-muted);
    font-weight: 500;
}

.social-link:hover {
    color: var(--color-primary);
}

/* Footer */
.footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        min-height: 70vh;
        padding: 7rem 0 3rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-dark {
        padding: 3rem 0;
    }

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

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

    .result-metric {
        font-size: 2rem;
    }

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

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

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