/* ==================================================
   Zimmerman S.A. - Modern Corporate Stylesheet
   ================================================== */

:root {
    --primary: #0f172a;
    --secondary: #1e293b;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --text: #334155;
    --text-light: #64748b;
    --background: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --radius: 18px;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        "Segoe UI",
        Roboto,
        sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
}

/* ==========================================
   Layout
   ========================================== */

.container {
    width: min(92%, var(--max-width));
    margin: 0 auto;
}

/* ==========================================
   Header
   ========================================== */

header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 0;
}

header h1 {
    color: white;
    font-size: 1.4rem;
    letter-spacing: 0.25rem;
    font-weight: 800;
}

nav {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

nav a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: 0.25s ease;
}

nav a:hover {
    color: white;
}

#langSelector {
    padding: 0.65rem 0.9rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    color: white;
    cursor: pointer;
    outline: none;
}

#langSelector option {
    color: black;
}

/* ==========================================
   Hero Section
   ========================================== */

.hero {
    padding: 8rem 1.5rem;
    text-align: center;

    background:
        radial-gradient(circle at top right,
            rgba(59, 130, 246, 0.18),
            transparent 35%),
        radial-gradient(circle at bottom left,
            rgba(14, 165, 233, 0.15),
            transparent 35%),
        linear-gradient(135deg, #f8fafc, #eef5ff);
}

.hero h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    color: var(--primary);
    margin-bottom: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.hero p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 1.15rem;
}

/* ==========================================
   Content Sections
   ========================================== */

#about,
#services {
    padding: 6rem 0;
}

#about h2,
#services h2 {
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text);
    font-size: 1.05rem;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: translateY(-4px);
}

/* ==========================================
   Services
   ========================================== */

#services ul {
    list-style: none;
    display: grid;
    gap: 1.5rem;
}

#services li {
    background: white;
    padding: 1.8rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: 0.25s ease;
}

#services li:hover {
    transform: translateY(-4px);
}

#services strong {
    display: block;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

#services span {
    color: var(--text-light);
}

/* ==========================================
   Footer
   ========================================== */

footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    padding: 4rem 1.5rem;
    margin-top: 4rem;
}

footer p {
    margin-bottom: 1rem;
}

footer a {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 600;
    transition: 0.25s ease;
}

footer a:hover {
    color: white;
}

/* ==========================================
   Small Animations
   ========================================== */

.hero h2,
.hero p,
.about-content,
#services li {
    animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

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

/* ==========================================
   Responsive
   ========================================== */

@media (max-width: 900px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    header .container {
        flex-direction: column;
        gap: 1rem;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 6rem 1rem;
    }

    .hero h2 {
        font-size: 2.7rem;
    }
}

@media (max-width: 600px) {
    #about,
    #services {
        padding: 4rem 0;
    }

    #about h2,
    #services h2 {
        font-size: 1.8rem;
    }

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