/* ============================================
   CARDCODE - MAIN STYLESHEET
   Redesign podle http://cardcode.skrabalek.cz/
   ============================================ */

/* VARIABLES */
:root {
    --primary-color: #2c5aa0;
    --primary-dark: #1e4080;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --header-bg: #2c5aa0;
}

/* RESET & BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

/* CONTAINER */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */
.header {
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-top {
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: block;
}

.logo img {
    height: 50px;
    width: auto;
    mix-blend-mode: multiply;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 5px;
}

.main-nav a {
    display: block;
    text-decoration: none;
    color: #333333;
    font-weight: 400;
    font-size: 14px;
    padding: 8px 15px;
    border-radius: 3px;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a.active {
    background-color: rgba(44, 90, 160, 0.1);
    color: var(--primary-color);
}

/* HERO BANNER */
.hero-banner {
    width: 100%;
    height: 350px;
    overflow: hidden;
    background-color: #ffffff;
    padding: 0;
    margin: 0;
    display: block;
}

.hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: block;
}

/* BREADCRUMB */
.breadcrumb {
    background-color: #f5f5f5;
    padding: 15px 0;
    font-size: 13px;
    color: #666;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 30px;
}

.breadcrumb a {
    color: #d9534f;
    text-decoration: none;
}

/* MAIN CONTENT */
.main-content {
    padding: 0 0 60px;
    background-color: #ffffff;
}

.main-content h1 {
    font-size: 36px;
    font-weight: 300;
    color: #000000;
    margin-bottom: 40px;
    text-align: center;
}

.intro-text {
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.more-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.more-link:hover {
    text-decoration: underline;
}

/* SERVICE BUTTONS SECTION - bílý podklad přes celou šířku */
.services-section {
    background-color: #ffffff;
    padding: 40px 20px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 40px;
    margin-bottom: 40px;
}

/* SERVICE BUTTONS - 3 ve dvou řadách */
.services-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.service-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background-color: #eaeaea;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
    min-height: 140px;
}

.service-btn:hover {
    background-color: #e0e0e0;
    transform: translateY(-3px);
}

.service-btn img {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    object-fit: contain;
}

.service-btn strong {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.center-text {
    text-align: center;
    margin-bottom: 40px;
}

.divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 40px 0;
}

/* STATS BLOCK */
.stats-block {
    background-color: #f8f8f8;
    padding: 40px;
    border-radius: 8px;
}

.stats-block h2 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.stats-block > p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 30px;
}

.stats-table {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.stat-cell {
    flex: 1;
    text-align: center;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 5px;
}

.stat-cell strong {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-cell span {
    font-size: 13px;
    color: var(--text-light);
}

/* FOOTER INFO */
.footer-info {
    background-color: #3a3a3a;
    color: #ffffff;
    padding: 40px 0;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 30px;
}

.footer-col {
    flex: 1;
}

.footer-logo {
    height: 40px;
    margin-bottom: 15px;
    mix-blend-mode: multiply;
}

.footer-col p {
    font-size: 15px;
    line-height: 1.8;
    color: #cccccc;
}

.footer-col h3 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-col a {
    color: #87ceeb;
    text-decoration: none;
}

.footer-col a:hover {
    text-decoration: underline;
}

.footer-col .small {
    font-size: 12px;
    margin-top: 20px;
}

.footer-map {
    flex: 0 0 280px;
    display: flex;
    min-height: 200px;
}

.footer-map a {
    width: 100%;
    display: block;
}

.footer-map img {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    object-fit: cover;
    display: block;
}

/* BOTTOM BAR */
.bottom-bar {
    background-color: #2a2a2a;
    padding: 15px 0;
    font-size: 13px;
    color: #999999;
}

.bottom-bar a {
    color: #87ceeb;
    text-decoration: none;
}

.bottom-bar a:hover {
    text-decoration: underline;
}

/* COOKIE NOTICE */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #333333;
    color: #ffffff;
    padding: 15px 20px;
    z-index: 1000;
    display: none;
}

.cookie-notice.show {
    display: block;
}

.cookie-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    font-size: 14px;
}

.cookie-content a {
    color: #87ceeb;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-cookie {
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 8px 20px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
}

.btn-cookie:hover {
    background-color: var(--primary-dark);
}

.btn-cookie-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 8px 20px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
}

.btn-cookie-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #1557b0;
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-light);
    border-color: var(--text-light);
}

/* FOOTER */
.footer {
    background-color: var(--text-dark);
    color: #f8f9fa;
    padding: 50px 20px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
    color: white;
}

.footer-section p {
    color: #bdc1c6;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #bdc1c6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #9aa0a6;
    font-size: 14px;
}

.footer-bottom p {
    margin-bottom: 10px;
}

.footer-bottom a {
    color: #9aa0a6;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: white;
}

/* COOKIE NOTICE */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #263238;
    color: white;
    padding: 20px;
    display: none;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-notice.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-buttons button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-buttons .btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.cookie-buttons .btn-secondary {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

/* UTILITY CLASSES */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}
