:root {
    --primary-color: #2d5a3d;
    --secondary-color: #5a8f6e;
    --accent-color: #8fbc94;
    --dark-color: #1a3625;
    --light-color: #f5f9f6;
    --text-color: #2c3e34;
    --text-muted: #6b7d72;
    --border-color: #d4e5d9;
    --gradient-primary: linear-gradient(135deg, #2d5a3d 0%, #5a8f6e 100%);
    --gradient-dark: linear-gradient(135deg, #1a3625 0%, #2d5a3d 100%);
    --shadow-soft: 0 4px 20px rgba(45, 90, 61, 0.1);
    --shadow-medium: 0 8px 30px rgba(45, 90, 61, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark-color);
}

h5, h6 {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
}

p {
    font-family: 'Merriweather', serif;
    font-weight: 300;
    color: var(--text-color);
}

a {
    text-decoration: none;
    transition: var(--transition);
}

#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: #fff;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,255,255,0.2);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-content p {
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(26, 54, 37, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
}

.site-header .navbar {
    padding: 12px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
}

.navbar-toggler {
    border: 2px solid rgba(255,255,255,0.5);
    padding: 8px 12px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav .nav-link {
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    padding: 8px 16px;
    position: relative;
    font-size: 15px;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #fff;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
}

.dropdown-menu {
    background: var(--dark-color);
    border: none;
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
    padding: 10px 0;
    margin-top: 10px;
}

.dropdown-item {
    font-family: 'Raleway', sans-serif;
    color: rgba(255,255,255,0.85);
    padding: 10px 20px;
    font-size: 14px;
}

.dropdown-item:hover {
    background: var(--primary-color);
    color: #fff;
}

.offcanvas {
    background: var(--gradient-dark);
}

.offcanvas-header {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 20px;
}

.offcanvas-title {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
}

.offcanvas-title img {
    filter: brightness(0) invert(1);
}

.btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.offcanvas-body {
    padding: 20px;
}

.offcanvas .navbar-nav .nav-link {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 16px;
}

.offcanvas .dropdown-menu {
    position: static;
    background: rgba(255,255,255,0.05);
    box-shadow: none;
    margin: 10px 0;
    padding-left: 20px;
}

main {
    padding-top: 80px;
}

.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(26, 54, 37, 0.9) 0%, rgba(45, 90, 61, 0.85) 100%),
                url('https://upload.wikimedia.org/wikipedia/commons/thumb/8/84/Krkono%C5%A1e%2C_Lesn%C3%AD_bouda.jpg/1920px-Krkono%C5%A1e%2C_Lesn%C3%AD_bouda.jpg') center/cover no-repeat;
    padding: 100px 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: #fff;
    margin-bottom: 25px;
    line-height: 1.1;
}

.hero-title span {
    display: block;
    font-size: 0.5em;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    opacity: 0.9;
    margin-top: 15px;
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin-bottom: 35px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    display: block;
}

.stat-label {
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary-custom {
    background: #fff;
    color: var(--primary-color);
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    padding: 14px 35px;
    border-radius: 30px;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary-custom:hover {
    background: var(--accent-color);
    color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-outline-custom {
    background: transparent;
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 14px;
    letter-spacing: 1px;
    border: 2px solid rgba(255,255,255,0.5);
    transition: var(--transition);
}

.btn-outline-custom:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: #fff;
}

.section-padding {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: var(--accent-color);
    color: var(--dark-color);
    padding: 6px 18px;
    border-radius: 20px;
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.featured-section {
    background: linear-gradient(180deg, var(--light-color) 0%, #e8f0eb 100%);
}

.featured-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    height: 100%;
}

.featured-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.featured-card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.featured-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.featured-card:hover .featured-card-image img {
    transform: scale(1.08);
}

.featured-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-family: 'Raleway', sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.featured-card-content {
    padding: 25px;
}

.featured-card-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.featured-card-title a {
    color: var(--dark-color);
}

.featured-card-title a:hover {
    color: var(--primary-color);
}

.featured-card-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.featured-card-meta {
    display: flex;
    gap: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    color: var(--text-muted);
}

.meta-item i {
    color: var(--primary-color);
}

.highlights-section {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.highlights-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(143, 188, 148, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.highlight-item {
    text-align: center;
    padding: 40px 30px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.highlight-item:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.highlight-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: rgba(143, 188, 148, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-icon i {
    font-size: 28px;
    color: var(--accent-color);
}

.highlight-title {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 12px;
}

.highlight-text {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

.info-section {
    background: #fff;
}

.info-card {
    background: var(--light-color);
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    border: 1px solid var(--border-color);
}

.info-card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.info-card-icon i {
    font-size: 24px;
    color: #fff;
}

.info-card-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.info-card-text {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.cta-section {
    background: linear-gradient(135deg, rgba(45, 90, 61, 0.95) 0%, rgba(26, 54, 37, 0.95) 100%),
                url('https://upload.wikimedia.org/wikipedia/commons/thumb/4/4d/Lysa_hora%2C_beskydy%2C_beskidy.jpg/1920px-Lysa_hora%2C_beskydy%2C_beskidy.jpg') center/cover no-repeat fixed;
    padding: 100px 0;
    text-align: center;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto 35px;
}

.site-footer {
    background: var(--dark-color);
    color: rgba(255,255,255,0.8);
}

.footer-top {
    padding: 70px 0 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-brand img {
    filter: brightness(0) invert(1);
}

.footer-brand h5 {
    font-family: 'Playfair Display', serif;
    color: #fff;
    margin: 0;
}

.footer-description {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

.footer-top h6 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom {
    padding: 25px 0;
}

.footer-bottom p {
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--dark-color);
    z-index: 9998;
    padding: 20px 0;
    box-shadow: 0 -5px 30px rgba(0,0,0,0.2);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cookie-text h6 {
    color: #fff;
    margin-bottom: 8px;
    font-size: 1rem;
}

.cookie-text p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin: 0;
}

.cookie-text a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.page-hero {
    position: relative;
    padding: 120px 0 80px;
    background: var(--gradient-dark);
    text-align: center;
}

.page-hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: #fff;
    margin-bottom: 15px;
}

.page-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb-nav {
    margin-bottom: 30px;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.breadcrumb-item {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
}

.breadcrumb-item a {
    color: rgba(255,255,255,0.7);
}

.breadcrumb-item a:hover {
    color: #fff;
}

.breadcrumb-item.active {
    color: var(--accent-color);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.5);
}

.content-section {
    padding: 80px 0;
}

.article-content {
    background: #fff;
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow-soft);
}

.article-content h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.article-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.article-content h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
    margin-bottom: 25px;
    padding-left: 25px;
}

.article-content li {
    margin-bottom: 10px;
    font-family: 'Merriweather', serif;
    font-weight: 300;
    color: var(--text-color);
}

.article-image {
    border-radius: 15px;
    overflow: hidden;
    margin: 30px 0;
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-image figcaption {
    background: var(--light-color);
    padding: 12px 15px;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}

.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-soft);
}

.sidebar-card h5 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent-color);
}

.sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-links li {
    margin-bottom: 12px;
}

.sidebar-links a {
    color: var(--text-color);
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-links a:hover {
    color: var(--primary-color);
}

.sidebar-links a i {
    color: var(--primary-color);
    font-size: 12px;
}

.trail-info-box {
    background: var(--light-color);
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    border-left: 4px solid var(--primary-color);
}

.trail-info-box h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.trail-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.trail-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trail-info-item i {
    color: var(--primary-color);
    font-size: 18px;
}

.trail-info-item span {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
}

.contact-info-section {
    background: var(--light-color);
}

.contact-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.contact-card-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.contact-card-icon i {
    font-size: 28px;
    color: #fff;
}

.contact-card h5 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.contact-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-card a {
    color: var(--primary-color);
    font-weight: 500;
}

.contact-card a:hover {
    color: var(--dark-color);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tip-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.tip-number {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.tip-card h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.tip-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

.update-date {
    background: var(--light-color);
    border-radius: 10px;
    padding: 15px 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 30px;
}

.update-date i {
    color: var(--primary-color);
}

@media (max-width: 991px) {
    .hero-stats {
        gap: 25px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .article-content {
        padding: 30px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        min-height: 80vh;
        padding: 80px 0;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .stat-item {
        flex: 1 1 45%;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .article-content {
        padding: 25px;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
    
    .sidebar {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 575px) {
    .hero-stats {
        gap: 15px;
    }
    
    .stat-item {
        flex: 1 1 100%;
    }
    
    .featured-card-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .trail-info-grid {
        grid-template-columns: 1fr;
    }
}
