:root {
    --primary-color: #1a4d5e;
    --secondary-color: #2d7d8f;
    --accent-color: #4db5c5;
    --text-dark: #2c3e50;
    --text-light: #f8f9fa;
    --bg-gradient: linear-gradient(135deg, #1a4d5e 0%, #2d7d8f 50%, #4db5c5 100%);
    --bg-dark: #0f2d36;
    --bg-section: #f4f7f9;
    --card-shadow: 0 10px 40px rgba(26, 77, 94, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', 'Source Sans 3', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-section);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'Merriweather', serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-color);
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: var(--text-light);
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--text-light);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-text {
    font-family: 'Merriweather', serif;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-gradient);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.site-header .navbar {
    padding: 0.8rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-icon {
    filter: brightness(0) invert(1);
}

.brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--text-light);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--text-light);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 70%;
}

.navbar-toggler {
    border: none;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.toggler-bar {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.dropdown-menu {
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    box-shadow: var(--card-shadow);
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.9);
    padding: 0.6rem 1.2rem;
    transition: var(--transition);
}

.dropdown-item:hover,
.dropdown-item.active {
    background: var(--secondary-color);
    color: var(--text-light);
}

.hero-section {
    background: var(--bg-gradient);
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://upload.wikimedia.org/wikipedia/commons/thumb/9/9e/Vltava_river_in_Prague.jpg/1280px-Vltava_river_in_Prague.jpg') center/cover no-repeat;
    opacity: 0.15;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
}

.hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 20px auto 0;
}

.feature-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(26, 77, 94, 0.2);
}

.feature-card .card-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.feature-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover img {
    transform: scale(1.08);
}

.feature-card .card-body {
    padding: 25px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: #666;
    margin-bottom: 15px;
}

.btn-link-custom {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-link-custom:hover {
    color: var(--primary-color);
    gap: 12px;
}

.info-block {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--card-shadow);
}

.info-block h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-section);
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--bg-section);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list .icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
}

.highlight-box {
    background: var(--bg-gradient);
    border-radius: 16px;
    padding: 50px;
    color: var(--text-light);
    text-align: center;
}

.highlight-box h2 {
    color: var(--text-light);
    margin-bottom: 20px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.stat-item p {
    opacity: 0.9;
    font-size: 1rem;
}

.article-header {
    background: var(--bg-gradient);
    padding: 80px 0;
    text-align: center;
    color: var(--text-light);
    position: relative;
}

.article-header h1 {
    color: var(--text-light);
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 15px;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    opacity: 0.9;
}

.article-content {
    padding: 60px 0;
}

.article-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.article-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.article-content p {
    margin-bottom: 20px;
    color: #444;
}

.article-content img {
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    margin: 30px 0;
}

.article-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: var(--card-shadow);
    margin-bottom: 25px;
}

.sidebar-card h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg-section);
}

.sidebar-links {
    list-style: none;
    padding: 0;
}

.sidebar-links li {
    margin-bottom: 10px;
}

.sidebar-links a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    padding: 8px 0;
}

.sidebar-links a:hover {
    color: var(--secondary-color);
    padding-left: 8px;
}

.contact-section {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--card-shadow);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--bg-section);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--bg-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.2rem;
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-family: 'Source Sans 3', sans-serif;
}

.contact-details p,
.contact-details a {
    color: #666;
    margin: 0;
    text-decoration: none;
}

.contact-details a:hover {
    color: var(--secondary-color);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    padding: 20px;
    z-index: 9998;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    color: var(--text-light);
}

.cookie-text h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.cookie-text p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
}

.cookie-text a {
    color: var(--accent-color);
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.site-footer {
    background: var(--bg-dark);
    color: var(--text-light);
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-brand img {
    filter: brightness(0) invert(1);
}

.footer-brand h3 {
    color: var(--text-light);
    font-size: 1.4rem;
    margin: 0;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-top h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.contact-info strong {
    color: var(--text-light);
    display: block;
    margin-bottom: 3px;
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright,
.update-date {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.table-custom {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.table-custom th {
    background: var(--primary-color);
    color: var(--text-light);
    font-weight: 600;
    padding: 15px;
    font-family: 'Source Sans 3', sans-serif;
}

.table-custom td {
    padding: 15px;
    border-bottom: 1px solid var(--bg-section);
}

.page-header-simple {
    background: var(--bg-gradient);
    padding: 60px 0;
    text-align: center;
    color: var(--text-light);
}

.page-header-simple h1 {
    color: var(--text-light);
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.breadcrumb-custom {
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.95rem;
}

.breadcrumb-custom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-custom a:hover {
    color: var(--text-light);
}

.breadcrumb-custom .separator {
    opacity: 0.5;
}

.policy-content {
    background: #fff;
    border-radius: 16px;
    padding: 50px;
    box-shadow: var(--card-shadow);
    margin: 40px 0;
}

.policy-content h2 {
    font-size: 1.5rem;
    margin-top: 35px;
    margin-bottom: 15px;
}

.policy-content p,
.policy-content li {
    color: #555;
    line-height: 1.8;
}

.policy-content ul {
    padding-left: 25px;
    margin-bottom: 20px;
}

.policy-content li {
    margin-bottom: 8px;
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-intro img {
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    width: 100%;
}

.about-text h2 {
    margin-bottom: 20px;
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--primary-color);
        padding: 20px;
        border-radius: 12px;
        margin-top: 15px;
    }
    
    .dropdown-menu {
        background: var(--secondary-color);
    }
    
    .about-intro {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 60px 0 80px;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .info-block,
    .contact-section,
    .policy-content {
        padding: 25px;
    }
    
    .highlight-box {
        padding: 30px 20px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .article-sidebar {
        position: static;
        margin-top: 40px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin: 0 auto;
    }
}
