/* ============================================
   SITEKOM s.r.o. - HR & Recruitment Website
   Guideline: Professional Czech corporate style
   Palette: Deep blue, coral accent, teal support
   Typography: Roboto (headings), Open Sans (body),
               Playfair Display (quotes)
   ============================================ */

/* Reset and Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --primary-blue: #0F4C81;
    --primary-light: #E8F4FD;
    --primary-white: #FFFFFF;
    --accent-coral: #E07A5F;
    --accent-teal: #3D9970;
    --text-dark: #1D2939;
    --text-medium: #475467;
    --text-muted: #667085;
    --border-color: #D0D5DD;
    --background-gray: #F9FAFB;
    --shadow-soft: 0 12px 32px rgba(15, 76, 129, 0.08);
    --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.06);
    --radius-card: 12px;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Open Sans', 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--primary-white);
}

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

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

p {
    margin: 0 0 1rem;
    color: var(--text-muted);
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 0.75rem;
    color: var(--primary-blue);
    font-family: 'Roboto', 'Helvetica Neue', sans-serif;
    line-height: 1.3;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; color: var(--text-medium); }

strong { color: var(--text-dark); }

ul { padding-left: 1.2rem; margin: 0 0 1rem; color: var(--text-muted); }

/* Focus & Accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 8px 12px;
    z-index: 1000;
}

.skip-link:focus {
    top: 0;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 3.5rem 0;
}

.light-surface {
    background: var(--primary-light);
    border: 1px solid #d9e6f5;
}

/* Language Switcher */
.lang-switcher,
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1200;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 8px 12px;
    box-shadow: var(--shadow-card);
}

.lang-switcher a,
.language-switcher .lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-switcher a.active,
.language-switcher .lang-btn.active {
    background: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
    box-shadow: 0 8px 20px rgba(15, 76, 129, 0.18);
}

.lang-switcher .separator {
    color: var(--border-color);
}

/* Global Language Visibility */
body.lang-cs [lang="en"],
body.lang-en [lang="cs"] {
    display: none !important;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1100;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

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

.navbar-brand .logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--primary-blue);
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--text-medium);
    font-weight: 600;
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
    transition: color var(--transition-fast), border-color var(--transition-fast);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-blue);
    border-bottom-color: var(--primary-blue);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: var(--shadow-card);
    padding: 8px 0;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li { list-style: none; }

.dropdown-menu a {
    display: block;
    padding: 10px 16px;
    color: var(--text-dark);
    border-bottom: 1px solid #f2f4f7;
}

.dropdown-menu a:hover {
    background: var(--primary-light);
    color: var(--primary-blue);
}

.dropdown-menu li:last-child a { border-bottom: none; }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    border-radius: 2px;
    background: var(--primary-blue);
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    align-items: center;
    padding: 4rem 0;
    background: var(--primary-light);
    border-bottom: 1px solid #d9e6f5;
}

.hero-content h1 {
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-medium);
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0.85rem 1.6rem;
    border-radius: 10px;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-medium);
}

.btn-primary {
    background: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
    box-shadow: 0 10px 25px rgba(15, 76, 129, 0.2);
}

.btn-primary:hover {
    background: #0c3e6b;
}

.btn-secondary {
    background: #fff;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-secondary:hover {
    color: #fff;
    background: var(--primary-blue);
}

.btn-ghost {
    background: transparent;
    color: var(--text-dark);
    border-color: var(--border-color);
}

.btn-large { padding: 1rem 2.2rem; }

.hero-image {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-badge {
    position: absolute;
    left: 18px;
    bottom: 18px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-dark);
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    font-weight: 600;
}

/* Stats */
.statistics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    padding: 3rem 0;
    background: #fff;
    border-top: 1px solid #eef2f6;
    border-bottom: 1px solid #eef2f6;
}

.stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--primary-white);
    border: 1px solid #eef2f6;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
}

.stat-item h3 {
    margin: 0;
    font-size: 2rem;
    color: var(--primary-blue);
}

.stat-item p {
    margin: 0.4rem 0 0;
    font-weight: 600;
    color: var(--text-medium);
}

/* Services */
.services-overview {
    background: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15, 76, 129, 0.12);
}

.service-card img {
    height: 180px;
    object-fit: cover;
}

.service-card .card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

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

.service-card p {
    margin: 0;
    flex: 1;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-coral);
    font-weight: 700;
}

.read-more:hover { color: #c95c44; }

/* Why Choose Us */
.why-choose-us {
    background: var(--background-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    background: #fff;
    border: 1px solid #e7edf5;
    border-radius: var(--radius-card);
    padding: 1.5rem;
    text-align: left;
    box-shadow: var(--shadow-card);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.feature h3 {
    margin: 0 0 0.35rem;
}

.feature p {
    margin: 0;
}

/* Testimonials */
.testimonial-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    background: #fff;
    border-left: 4px solid var(--accent-coral);
    border-radius: var(--radius-card);
    padding: 2rem;
    box-shadow: var(--shadow-card);
}

.testimonial-card blockquote {
    margin: 0 0 1.25rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--text-dark);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-medium);
    font-weight: 600;
}

.testimonial-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
}

.testimonial-pagination span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d9d9d9;
}

.testimonial-pagination .active {
    background: var(--primary-blue);
}

/* Partners */
.partner-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.25rem;
    align-items: center;
}

.partner-logos .logo-tile {
    background: #fff;
    border: 1px solid #e7edf5;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    color: var(--text-medium);
    font-weight: 700;
    box-shadow: var(--shadow-card);
}

/* CTA */
.cta-section {
    background: var(--primary-blue);
    color: #fff;
    text-align: center;
    border-top: 4px solid var(--accent-coral);
}

.cta-section h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-section p { color: #e8f1fd; margin-bottom: 1.5rem; }

/* Page Header */
.page-header {
    padding: 2.5rem 0;
    background: var(--primary-light);
    border-bottom: 1px solid #d9e6f5;
    text-align: center;
}

.page-header h1 { margin-bottom: 0.5rem; }
.page-header p { margin: 0; }

/* Content Layout */
.content-section {
    padding: 2.5rem 0;
    border-bottom: 1px solid #eef2f6;
}

.content-section:last-child {
    border-bottom: none;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.card {
    background: #fff;
    border: 1px solid #e7edf5;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: 1.5rem;
}

.list-check {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.list-check li::before {
    content: '✓';
    color: var(--accent-teal);
    margin-right: 8px;
}

/* Forms */
.form-group { margin-bottom: 1rem; }

.form-group label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 700;
    color: var(--text-medium);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    font-family: 'Open Sans', 'Segoe UI', sans-serif;
    font-size: 1rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.12);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.helper-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    gap: 8px;
    margin: 1rem 0 1.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.breadcrumb a { color: var(--primary-blue); }

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

th, td {
    padding: 0.75rem 1rem;
    border: 1px solid #e7edf5;
    text-align: left;
}

th {
    background: var(--primary-light);
    color: var(--text-dark);
}

/* Footer */
.footer {
    background: #0f172a;
    color: #e2e8f0;
    padding: 3rem 0 1.5rem;
    margin-top: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-section h4 {
    margin-bottom: 0.75rem;
    color: #fff;
}

.footer-section p,
.footer-section a {
    color: #e2e8f0;
}

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

.footer-bottom {
    border-top: 1px solid #1f2937;
    padding-top: 1rem;
    text-align: center;
    color: #cbd5e1;
}

/* Utilities */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: 0.75rem; }
.mt-2 { margin-top: 1.25rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 2.5rem; }
.mb-1 { margin-bottom: 0.75rem; }
.mb-2 { margin-bottom: 1.25rem; }
.mb-3 { margin-bottom: 2rem; }
.mb-4 { margin-bottom: 2.5rem; }
.pt-1 { padding-top: 0.75rem; }
.pt-2 { padding-top: 1.25rem; }
.pt-3 { padding-top: 2rem; }
.pt-4 { padding-top: 2.5rem; }
.pb-1 { padding-bottom: 0.75rem; }
.pb-2 { padding-bottom: 1.25rem; }
.pb-3 { padding-bottom: 2rem; }
.pb-4 { padding-bottom: 2.5rem; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: var(--primary-light);
    color: var(--primary-blue);
    border-radius: 8px;
    font-weight: 700;
}

.serif-quote { font-family: 'Playfair Display', serif; font-style: italic; color: var(--text-dark); }
