:root {
    --color-bg: #fafafa;
    --color-surface: #ffffff;
    --color-primary: #2563eb;
    --color-primary-dark: #1e40af;
    --color-accent: #f59e0b;
    --color-text: #1f2937;
    --color-text-light: #6b7280;
    --color-border: #e5e7eb;
    --color-success: #10b981;

    --font-main: "Manrope", sans-serif;
    --font-mono: "Courier Prime", monospace;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: var(--font-main);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
header {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* nepouzivane */
.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
}

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

.nav-links a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--color-primary);
    color: white !important;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
}

.nav-cta:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    padding: 5rem 0 4rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #fef3c7;
    color: #92400e;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.hero h1 span {
    color: var(--color-primary);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-block;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

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

/* Trust Bar */
.trust-bar {
    background: white;
    padding: 2rem 0;
    border-bottom: 1px solid var(--color-border);
}

.trust-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-item {
    text-align: center;
}

.trust-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    display: block;
}

.trust-label {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

/* Services Section */
.services {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.section-description {
    font-size: 1.125rem;
    color: var(--color-text-light);
}

.services-categories {
    display: grid;
    gap: 3rem;
}

.service-category {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.category-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
}

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

.service-item {
    padding: 1.25rem;
    background: var(--color-bg);
    border-radius: 10px;
    border: 1px solid var(--color-border);
    transition: all 0.2s;
}

.service-item:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.service-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.service-item p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* Fix než budou všechny stránky pro klikatelné service items */
.service-item-clickable {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.service-item-clickable h4 {
    text-decoration: underline;
}
/* Konec fixu */

/* Projects Section */
.projects {
    padding: 5rem 0;
    background: white;
}

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

.project-card {
    background: var(--color-bg);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--color-border);
    transition: all 0.2s;
}

.project-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.project-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #dbeafe;
    color: var(--color-primary);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.project-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Experience Section */
.experience {
    padding: 4rem 0;
    background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
}

.experience-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.company-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.company-logo {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-light);
    padding: 1rem 2rem;
    background: white;
    border-radius: 10px;
    border: 2px solid var(--color-border);
}

/* Why Us Section */
.why-us {
    padding: 5rem 0;
}

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

.why-card {
    text-align: center;
    padding: 2rem;
}

.why-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.why-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.why-card p {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: var(--color-primary);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.btn-white:hover {
    background: var(--color-bg);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: white;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-about h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.footer-about p {
    color: var(--color-text-light);
    line-height: 1.7;
}

.footer-column h4 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* Footer separator a odkaz na nastavení cookies */
.footer-separator {
    margin: 0 0.5rem;
    color: var(--color-text-light);
    opacity: 0.5;
}

.reopen-cookie-settings {
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

.reopen-cookie-settings:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Scroll margin pro sekce služeb */
[id^="sluzby-"] {
    scroll-margin-top: 130px;
}

/* Service Detail Pages */

/* Breadcrumbs */
.breadcrumbs {
    background: white;
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
}

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

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

.breadcrumb-separator {
    color: var(--color-text-light);
    margin: 0 0.5rem;
}

.breadcrumbs span:last-child {
    color: var(--color-text);
    font-weight: 500;
}

/* Service Hero */
.service-hero {
    padding: 4rem 0 3rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
}

.service-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.service-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #dbeafe;
    color: var(--color-primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.service-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-hero-description {
    font-size: 1.25rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Service Overview */
.service-overview {
    padding: 4rem 0;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

.service-main h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.service-main h3 {
    font-size: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-main p {
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Service Features */
.service-features {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    transition: all 0.2s;
}

.feature-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f9ff 0%, #dbeafe 100%);
    border-radius: 10px;
}

.feature-content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-content p {
    color: var(--color-text-light);
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Service List */
.service-list {
    list-style: none;
    margin: 1.5rem 0;
}

.service-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--color-text);
    line-height: 1.6;
}

.service-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 700;
    font-size: 1.25rem;
}

/* Process Steps */
.process-steps {
    margin: 2rem 0;
}

.process-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.process-step:not(:last-child):after {
    content: "";
    position: absolute;
    left: 24px;
    top: 50px;
    width: 2px;
    height: calc(100% + 2rem);
    background: var(--color-border);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.step-content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step-content p {
    color: var(--color-text-light);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Sidebar */
.service-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--color-border);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.sidebar-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.sidebar-card h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.sidebar-card p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 0.75rem;
}

.btn-block:last-child {
    margin-bottom: 0;
}

/* Price Info */
.price-info {
    text-align: center;
    padding: 1.5rem;
    background: var(--color-bg);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.price-note {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-bottom: 0.25rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
    line-height: 1;
}

.price-period {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

.price-description {
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Related Services */
.related-services {
    list-style: none;
    margin: 0;
}

.related-services li {
    margin-bottom: 0.75rem;
}

.related-services li:last-child {
    margin-bottom: 0;
}

.related-services a {
    color: var(--color-text);
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background: var(--color-bg);
    border-radius: 8px;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.related-services a:hover {
    background: var(--color-primary);
    color: white;
    transform: translateX(5px);
}

.related-services a:before {
    content: "→";
    margin-right: 0.75rem;
    font-weight: 700;
}

/* Responsive Service Detail */
@media (max-width: 968px) {
    .service-content {
        grid-template-columns: 1fr;
    }

    .service-sidebar {
        position: static;
    }

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

    .process-step {
        flex-direction: column;
        align-items: flex-start;
    }

    .process-step:after {
        display: none;
    }
}

@media (max-width: 640px) {
    .service-hero {
        padding: 2rem 0 1.5rem;
    }

    .service-hero h1 {
        font-size: 1.75rem;
    }

    .service-hero-description {
        font-size: 1rem;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
    }

    .feature-icon {
        margin: 0 auto;
    }
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 2px solid var(--color-primary);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 1.5rem 0;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text strong {
    color: var(--color-text);
    font-size: 1.125rem;
    display: block;
    margin-bottom: 0.5rem;
}

.cookie-text p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.cookie-link {
    color: var(--color-primary);
    text-decoration: underline;
    transition: color 0.2s;
}

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

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-cookie {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .btn-cookie {
        width: 100%;
    }
}

/* Responsive */
@media (max-width: 968px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
    }

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

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

    .company-logos {
        gap: 1.5rem;
    }

    .company-logo {
        font-size: 1.2rem;
        padding: 0.75rem 1.5rem;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
    }

    .hero {
        padding: 3rem 0 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* manrope-regular - latin_latin-ext */
@font-face {
    font-display: swap;
    font-family: "Manrope";
    font-style: normal;
    font-weight: 400;
    src: url("/fonts/manrope-v20-latin_latin-ext-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* manrope-500 - latin_latin-ext */
@font-face {
    font-display: swap;
    font-family: "Manrope";
    font-style: normal;
    font-weight: 500;
    src: url("/fonts/manrope-v20-latin_latin-ext-500.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* manrope-600 - latin_latin-ext */
@font-face {
    font-display: swap;
    font-family: "Manrope";
    font-style: normal;
    font-weight: 600;
    src: url("/fonts/manrope-v20-latin_latin-ext-600.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* manrope-700 - latin_latin-ext */
@font-face {
    font-display: swap;
    font-family: "Manrope";
    font-style: normal;
    font-weight: 700;
    src: url("/fonts/manrope-v20-latin_latin-ext-700.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* manrope-800 - latin_latin-ext */
@font-face {
    font-display: swap;
    font-family: "Manrope";
    font-style: normal;
    font-weight: 800;
    src: url("/fonts/manrope-v20-latin_latin-ext-800.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* courier-prime-regular - latin_latin-ext */
@font-face {
    font-display: swap;
    font-family: "Courier Prime";
    font-style: normal;
    font-weight: 400;
    src: url("fonts/courier-prime-v11-latin_latin-ext-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* courier-prime-700 - latin_latin-ext */
@font-face {
    font-display: swap;
    font-family: "Courier Prime";
    font-style: normal;
    font-weight: 700;
    src: url("fonts/courier-prime-v11-latin_latin-ext-700.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
