@charset "UTF-8";
/*
===============================================
  ZÁKLADNÍ STYLY A RESET
===============================================

Reset stylů a základní komponenty používané napříč celým webem.
*/

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Merriweather", serif;
    line-height: 1.6;
    background-color: var(--background-color);
    color: var(--text-color);
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

/* Střídavé pozadí pro sekce (sudé), s vyloučením speciálních bannerů */
.section:nth-child(even):not(.hero-section-2) {
    background-color: var(--light-grey-bg);
}

/*
===============================================
  UTILITY TŘÍDY
===============================================

Utility třídy pro rychlé stylování bez psaní custom CSS.
*/

/* Text alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Flexbox utilities */
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-column { display: flex; flex-direction: column; }

/* Margin utilities */
.mb-xs { margin-bottom: var(--spacing-xs); }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }

.mt-xs { margin-top: var(--spacing-xs); }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }

/*
===============================================
  ZÁKLADNÍ KOMPONENTY
===============================================

Základní kartička a komponenty používané napříč stránkou.
*/

/* Základní kartička */
.card {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-base);
    transition: var(--transition-hover);
    overflow: hidden;
}

.card:hover {
    transform: translateY(var(--hover-lift));
    box-shadow: var(--shadow-hover);
}

.card-header {
    padding: var(--spacing-sm);
    border-bottom: 1px solid var(--light-grey-bg);
}

.card-body {
    padding: var(--spacing-sm);
}

/* Animace */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/*
===============================================
  GLOBÁLNÍ STYLY ODKAZŮ
===============================================

Výchozí styl pro všechny <a> elementy v obsahu.
Navigační a CTA prvky mají vlastní styly v layout.css a components.css,
které tyto přepíší kde je to potřeba.
*/

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

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

/* Accessibility - focus states */
a:focus,
button:focus,
.accordion:focus {
    outline: 3px solid var(--primary-hover-color);
    outline-offset: 2px;
}