/* ==========================================================================
   mash-up.cz - Hlavní styly
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties (proměnné)
   -------------------------------------------------------------------------- */
:root {
    /* Barvy - tmavý základ se zelenými akcenty */
    --color-bg: #0a0f0d;
    --color-bg-light: #111916;
    --color-bg-card: #151d19;
    --color-bg-hover: #1a241f;

    --color-text: #e8f0ed;
    --color-text-muted: #8a9a94;
    --color-text-subtle: #5a6a64;

    --color-primary: #00d68f;
    --color-primary-dark: #00b377;
    --color-primary-light: #33e0a5;
    --color-primary-glow: rgba(0, 214, 143, 0.15);

    --color-accent: #00a8cc;
    --color-accent-light: #33b9d6;

    --color-border: #2a3a34;
    --color-border-light: #3a4a44;

    --color-error: #ff6b6b;
    --color-success: #00d68f;

    /* Typografie */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Velikosti */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3.5rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Ostatní */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px var(--color-primary-glow);

    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;

    --container-width: 1200px;
    --header-height: 72px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    min-height: 100vh;
}

/* Selection */
::selection {
    background-color: var(--color-primary);
    color: var(--color-bg);
}

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

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

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

/* Paragraphs & Lists */
p {
    margin-bottom: var(--space-4);
}

ul, ol {
    padding-left: var(--space-6);
}

li {
    margin-bottom: var(--space-2);
}

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

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.site-main {
    padding-top: var(--header-height);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(10, 15, 13, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-mono);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.logo-symbol {
    color: var(--color-primary);
    font-size: var(--text-xl);
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-list a {
    display: block;
    padding: var(--space-2) var(--space-4);
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--color-text);
    background: var(--color-bg-hover);
}

.nav-list a.btn-nav {
    background: var(--color-primary);
    color: var(--color-bg);
    margin-left: var(--space-4);
}

.nav-list a.btn-nav:hover {
    background: var(--color-primary-light);
    color: var(--color-bg);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    padding: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

.btn-primary:hover {
    background: var(--color-primary-light);
    border-color: var(--color-primary-light);
    color: var(--color-bg);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary-glow);
    color: var(--color-primary-light);
    border-color: var(--color-primary-light);
}

.btn-large {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
    padding: var(--space-24) 0;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.hero-label {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-4);
}

.terminal-prompt {
    color: var(--color-primary);
}

.hero-title {
    font-size: var(--text-5xl);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-6);
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-8);
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: var(--space-4);
}

/* Terminal window */
.terminal-window {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.terminal-header {
    display: flex;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    background: var(--color-bg-light);
    border-bottom: 1px solid var(--color-border);
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27ca40; }

.terminal-body {
    padding: var(--space-6);
    font-family: var(--font-mono);
    font-size: var(--text-sm);
}

.terminal-body code {
    display: block;
}

.terminal-line {
    display: block;
    line-height: 1.8;
}

.t-prompt { color: var(--color-primary); }
.t-command { color: var(--color-text); }
.t-output { color: var(--color-text-muted); padding-left: var(--space-4); }
.t-success { color: var(--color-success); }
.t-cursor {
    display: inline-block;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* --------------------------------------------------------------------------
   Section Styles
   -------------------------------------------------------------------------- */
.section-title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-4);
    text-align: center;
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-12);
}

.section-header {
    margin-bottom: var(--space-12);
}

.section-cta {
    text-align: center;
    margin-top: var(--space-12);
}

/* --------------------------------------------------------------------------
   Services Overview (Homepage)
   -------------------------------------------------------------------------- */
.services-overview {
    padding: var(--space-24) 0;
    background: var(--color-bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-12);
}

.service-card {
    display: block;
    padding: var(--space-8);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--transition-base);
}

.service-card:hover {
    background: var(--color-bg-hover);
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-glow);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-6);
}

.icon-symbol {
    font-size: var(--text-2xl);
    color: var(--color-primary);
}

.service-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
    color: var(--color-text);
}

.service-card p {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.service-link {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   Work Preview (Homepage)
   -------------------------------------------------------------------------- */
.work-preview {
    padding: var(--space-24) 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.project-card {
    padding: var(--space-6);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.project-card:hover {
    border-color: var(--color-border-light);
    transform: translateY(-2px);
}

.project-badge {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--color-primary);
    background: var(--color-primary-glow);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-4);
}

.project-card h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-3);
}

.project-card p {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-4);
}

.project-link {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
    padding: var(--space-24) 0;
    background: var(--color-bg-light);
}

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

.cta-content h2 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-4);
}

.cta-content p {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    margin-bottom: var(--space-8);
}

/* --------------------------------------------------------------------------
   Page Header
   -------------------------------------------------------------------------- */
.page-header {
    padding: var(--space-16) 0 var(--space-12);
    text-align: center;
    background: var(--color-bg-light);
    border-bottom: 1px solid var(--color-border);
}

.page-header h1 {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-4);
}

.page-subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Service Detail (Služby stránka)
   -------------------------------------------------------------------------- */
.service-detail {
    padding: var(--space-20) 0;
    border-bottom: 1px solid var(--color-border);
}

.service-detail:nth-child(even) {
    background: var(--color-bg-light);
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    margin-bottom: var(--space-10);
}

.service-number {
    font-family: var(--font-mono);
    font-size: var(--text-5xl);
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0.3;
}

.service-detail-header h2 {
    font-size: var(--text-3xl);
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: var(--space-12);
}

.service-description .lead {
    font-size: var(--text-lg);
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: var(--space-8);
}

.service-description h3 {
    font-size: var(--text-xl);
    margin-top: var(--space-10);
    margin-bottom: var(--space-6);
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    position: relative;
    padding-left: var(--space-6);
    margin-bottom: var(--space-6);
    color: var(--color-text-muted);
}

.service-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

.service-list li strong {
    display: block;
    color: var(--color-text);
    margin-bottom: var(--space-1);
}

/* Tools list */
.tools-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-4);
}

.tool-tag {
    padding: var(--space-2) var(--space-4);
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

/* Sidebar */
.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.sidebar-box {
    padding: var(--space-6);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.sidebar-box.highlight {
    border-color: var(--color-primary);
    background: var(--color-primary-glow);
}

.sidebar-box h4 {
    font-size: var(--text-base);
    margin-bottom: var(--space-4);
    color: var(--color-text);
}

.sidebar-box ul,
.sidebar-box ol {
    padding-left: var(--space-5);
    margin: 0;
}

.sidebar-box li {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-2);
}

.sidebar-box p {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin: 0;
}

/* Training cards */
.training-types {
    display: grid;
    gap: var(--space-6);
    margin-top: var(--space-8);
}

.training-card {
    padding: var(--space-6);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.training-card h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-3);
}

.training-card > p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-4);
}

.training-card ul {
    padding-left: var(--space-5);
    margin: 0;
}

.training-card li {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Ukázky práce (Showcase)
   -------------------------------------------------------------------------- */
.showcase-intro {
    padding: var(--space-16) 0;
}

.intro-box {
    display: flex;
    gap: var(--space-8);
    align-items: flex-start;
    padding: var(--space-8);
    background: var(--color-bg-card);
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-xl);
}

.intro-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-glow);
    border-radius: var(--radius-lg);
}

.intro-icon .icon-symbol {
    font-size: var(--text-3xl);
}

.intro-content h2 {
    font-family: var(--font-mono);
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

.intro-content p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-6);
}

/* Featured projects */
.featured-projects {
    padding: var(--space-16) 0;
    background: var(--color-bg-light);
}

.project-showcase {
    display: flex;
    flex-direction: column;
    gap: var(--space-16);
    margin-top: var(--space-12);
}

.project-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.project-detail.reverse {
    direction: rtl;
}

.project-detail.reverse > * {
    direction: ltr;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.project-tech {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--color-text-subtle);
}

.project-detail h3 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-4);
}

.project-lead {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    margin-bottom: var(--space-6);
}

.project-features {
    list-style: none;
    padding: 0;
    margin-bottom: var(--space-6);
}

.project-features li {
    position: relative;
    padding-left: var(--space-6);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.project-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

/* Project mockups */
.project-visual {
    display: flex;
    justify-content: center;
}

.project-mockup {
    width: 100%;
    max-width: 360px;
}

.mockup-screen {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.mockup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: var(--space-8);
    text-align: center;
}

.mockup-icon {
    font-size: 3rem;
    margin-bottom: var(--space-4);
}

.mockup-title {
    font-family: var(--font-mono);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-2);
}

.mockup-subtitle {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-4);
}

.mockup-progress {
    width: 80%;
    height: 4px;
    background: var(--color-border);
    border-radius: 2px;
    overflow: hidden;
}

.mockup-progress::after {
    content: '';
    display: block;
    width: 60%;
    height: 100%;
    background: var(--color-primary);
    animation: progress 2s ease-in-out infinite;
}

@keyframes progress {
    0%, 100% { width: 20%; }
    50% { width: 80%; }
}

.mockup-tree {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    text-align: left;
}

.tree-node {
    color: var(--color-primary);
    margin-bottom: var(--space-2);
}

.tree-branch {
    color: var(--color-text-muted);
    padding-left: var(--space-4);
}

.mockup-chart {
    display: flex;
    align-items: flex-end;
    gap: var(--space-2);
    height: 60px;
    margin-top: var(--space-4);
}

.chart-bar {
    width: 24px;
    background: var(--color-primary);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    opacity: 0.7;
}

.mockup-content.calories .mockup-subtitle {
    font-size: var(--text-2xl, 1.5rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-2);
}

.mockup-macros {
    display: flex;
    gap: var(--space-2);
    margin-top: var(--space-2);
}

.macro-pill {
    background: var(--color-bg-alt, #f0f0f0);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: var(--text-xs, 0.75rem);
    color: var(--color-text-muted);
}

/* Process section */
.process-section {
    padding: var(--space-20) 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-12);
}

.process-step {
    text-align: center;
    padding: var(--space-6);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    font-family: var(--font-mono);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-primary);
    background: var(--color-primary-glow);
    border-radius: 50%;
    margin-bottom: var(--space-4);
}

.process-step h3 {
    font-size: var(--text-base);
    margin-bottom: var(--space-3);
}

.process-step p {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   O mně (About placeholder)
   -------------------------------------------------------------------------- */
.about-placeholder {
    padding: var(--space-20) 0;
}

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

.placeholder-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-glow);
    border-radius: var(--radius-xl);
    margin: 0 auto var(--space-8);
}

.placeholder-icon .icon-symbol {
    font-size: var(--text-4xl);
}

.placeholder-content h2 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-6);
}

.placeholder-content p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-4);
}

.placeholder-cta {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    margin-top: var(--space-8);
}

/* Quick facts */
.quick-facts {
    padding: var(--space-16) 0;
    background: var(--color-bg-light);
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.fact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-8);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.fact-icon {
    font-size: var(--text-3xl);
    color: var(--color-primary);
    margin-bottom: var(--space-4);
}

.fact-label {
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-2);
}

.fact-detail {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */
.contact-section {
    padding: var(--space-20) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: var(--space-12);
}

/* Contact form */
.contact-form-wrapper {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
}

.form-group {
    margin-bottom: var(--space-6);
}

.form-group label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: var(--space-2);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-4);
    font-family: var(--font-sans);
    font-size: var(--text-base);
    color: var(--color-text);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-subtle);
}

.form-group select {
    cursor: pointer;
}

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

/* Honeypot field - hidden */
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* Form messages */
.form-success {
    text-align: center;
    padding: var(--space-12);
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    font-size: var(--text-3xl);
    color: var(--color-primary);
    background: var(--color-primary-glow);
    border-radius: 50%;
    margin-bottom: var(--space-6);
}

.form-success h2 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-4);
}

.form-success p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-8);
}

.form-error {
    padding: var(--space-4);
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid var(--color-error);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-6);
}

.form-error p {
    color: var(--color-error);
    font-size: var(--text-sm);
    margin: 0;
}

/* Contact info sidebar */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.contact-card {
    padding: var(--space-6);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.contact-card.highlight {
    border-color: var(--color-primary);
}

.contact-card h3 {
    font-size: var(--text-base);
    margin-bottom: var(--space-3);
}

.contact-card p {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-4);
}

.contact-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-card li {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    padding-left: var(--space-5);
    position: relative;
    margin-bottom: var(--space-2);
}

.contact-card li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

.contact-card .small {
    font-size: var(--text-xs);
    margin-top: var(--space-4);
    margin-bottom: 0;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-weight: 600;
    color: var(--color-primary);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--color-primary-glow);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
    padding: var(--space-16) 0 var(--space-8);
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-12);
    padding-bottom: var(--space-12);
    border-bottom: 1px solid var(--color-border);
}

.footer-brand .logo {
    margin-bottom: var(--space-4);
}

.footer-tagline {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin: 0;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.footer-col h4 {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-4);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: var(--space-2);
}

.footer-col a {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding-top: var(--space-8);
    text-align: center;
}

.footer-bottom p {
    font-size: var(--text-sm);
    color: var(--color-text-subtle);
    margin: 0;
}

/* --------------------------------------------------------------------------
   Responsive Design
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .hero-visual {
        display: none;
    }

    .hero-title {
        font-size: var(--text-4xl);
    }

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

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

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

    .project-detail {
        grid-template-columns: 1fr;
    }

    .project-detail.reverse {
        direction: ltr;
    }

    .project-visual {
        order: -1;
    }

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

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

    .contact-info {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-bg);
        padding: var(--space-8);
        transform: translateX(100%);
        transition: transform var(--transition-base);
    }

    .main-nav.active {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-2);
    }

    .nav-list a {
        font-size: var(--text-lg);
        padding: var(--space-4);
    }

    .nav-list a.btn-nav {
        margin-left: 0;
        margin-top: var(--space-4);
        text-align: center;
    }

    .hero {
        padding: var(--space-16) 0;
        min-height: auto;
    }

    .hero-title {
        font-size: var(--text-3xl);
    }

    .hero-subtitle {
        font-size: var(--text-base);
    }

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

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

    .service-sidebar,
    .contact-info {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .intro-box {
        flex-direction: column;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .section-title {
        font-size: var(--text-2xl);
    }

    .page-header h1 {
        font-size: var(--text-3xl);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-4);
    }

    .hero-title {
        font-size: var(--text-2xl);
    }

    .btn-large {
        width: 100%;
    }

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

/* --------------------------------------------------------------------------
   Animations & Effects
   -------------------------------------------------------------------------- */

/* Fade-in animace pro elementy */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delay pro gridy */
.services-grid .fade-in:nth-child(1) { transition-delay: 0ms; }
.services-grid .fade-in:nth-child(2) { transition-delay: 100ms; }
.services-grid .fade-in:nth-child(3) { transition-delay: 200ms; }

.projects-grid .fade-in:nth-child(1) { transition-delay: 0ms; }
.projects-grid .fade-in:nth-child(2) { transition-delay: 100ms; }
.projects-grid .fade-in:nth-child(3) { transition-delay: 200ms; }

.process-steps .fade-in:nth-child(1) { transition-delay: 0ms; }
.process-steps .fade-in:nth-child(2) { transition-delay: 100ms; }
.process-steps .fade-in:nth-child(3) { transition-delay: 200ms; }
.process-steps .fade-in:nth-child(4) { transition-delay: 300ms; }

/* Header scroll efekt */
.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

/* Formulářový error stav */
.form-group input.error,
.form-group textarea.error {
    border-color: var(--color-error);
    background: rgba(255, 107, 107, 0.05);
}

/* Focus ring pro accessibility */
.btn:focus-visible,
.nav-list a:focus-visible,
.contact-link:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Redukce animací pro uživatele s preferencí */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .fade-in {
        opacity: 1;
        transform: none;
    }
}
