/* ==========================================
   CIECHOCINEK.TUCOO.PL - OPTIMIZED CSS
   Wspólny plik CSS dla wszystkich podstron
   ========================================== */

/* ==========================================
   CSS VARIABLES
   ========================================== */
:root {
    --primary-color: #2c5f2d;
    --secondary-color: #4a90a4;
    --accent-color: #d97706;
    --success-color: #059669;
    --text-color: #1f2937;
    --light-text: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 40px rgba(0,0,0,0.12);
    --gradient-primary: linear-gradient(135deg, #2c5f2d 0%, #4a90a4 100%);
    --gradient-hero: linear-gradient(135deg, rgba(44,95,45,0.95) 0%, rgba(74,144,164,0.95) 100%);
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-white);
    overflow-x: hidden;
}

/* ==========================================
   LOADING SCREEN
   ========================================== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    font-size: 3rem;
    color: var(--primary-color);
    animation: spin 1.5s ease-in-out infinite;
}

@keyframes spin {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
}

/* ==========================================
   PROGRESS BAR
   ========================================== */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 9998;
    transition: width 0.3s ease;
}

/* ==========================================
   HEADER
   ========================================== */
header {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: var(--shadow-hover);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ==========================================
   LOGO
   ========================================== */
.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.logo i {
    color: var(--secondary-color);
    font-size: 2rem;
    animation: logoFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(74,144,164,0.3));
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-3px) rotate(-5deg); }
    75% { transform: translateY(-3px) rotate(5deg); }
}

.logo span {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.logo:hover {
    transform: translateY(-2px) scale(1.05);
}

.logo:hover i {
    animation: logoSpin 0.6s ease;
    filter: drop-shadow(0 4px 8px rgba(74,144,164,0.5));
}

@keyframes logoSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

/* ==========================================
   NAVIGATION
   ========================================== */
nav ul {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

nav a:hover::before,
nav a.active::before {
    opacity: 1;
}

nav a:hover,
nav a.active {
    color: white;
}

/* ==========================================
   DROPDOWN MENU STYLES - DESKTOP
   ========================================== */
nav ul li {
    position: relative;
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
}

.dropdown-toggle i.fa-chevron-down {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i.fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 0;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    border-left: 3px solid transparent;
}

.dropdown-menu a::before {
    display: none;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    padding-left: 2rem;
}

.dropdown-menu a i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
    width: 20px;
    text-align: center;
}

/* ==========================================
   BREADCRUMBS
   ========================================== */
.breadcrumbs,
.breadcrumb {
    background: var(--bg-light);
    padding: 1rem 0;
    position: relative;
    z-index: 5;
}

.breadcrumbs-content,
.breadcrumb-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumbs a,
.breadcrumb a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover,
.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumbs span,
.breadcrumb span,
.breadcrumb i.fas.fa-chevron-right {
    color: var(--light-text);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(135deg, rgba(44,95,45,0.85) 0%, rgba(74,144,164,0.85) 100%), url('images/ciechocinek-park-1800.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 1;
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="60" r="1.5" fill="white" opacity="0.08"/></svg>');
    animation: float 30s infinite ease-in-out;
    z-index: 2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px),
        radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    background-position: 0 0, 40px 60px;
    animation: particlesFloat 40s linear infinite;
    z-index: 2;
    pointer-events: none;
}

@keyframes particlesFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    max-width: 900px;
    padding: 2rem;
    position: relative;
    z-index: 3;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.3);
    animation: titleFadeIn 1.2s ease-out, titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes titleGlow {
    0% {
        text-shadow: 2px 4px 8px rgba(0,0,0,0.3), 0 0 20px rgba(255,255,255,0.1);
    }
    100% {
        text-shadow: 2px 4px 8px rgba(0,0,0,0.3), 0 0 40px rgba(255,255,255,0.3);
    }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    margin-bottom: 2.5rem;
    opacity: 0;
    text-shadow: 1px 2px 4px rgba(0,0,0,0.3);
    animation: subtitleFadeIn 1.2s ease-out 0.3s forwards;
}

@keyframes subtitleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 0.95;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: buttonsFadeIn 1.2s ease-out 0.6s forwards;
}

@keyframes buttonsFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 4px 20px rgba(217, 119, 6, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background: #b45309;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(217, 119, 6, 0.4);
}

.btn-primary i,
.btn-secondary i,
.btn-light i {
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: rotate(360deg) scale(1.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: white;
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    left: 0;
}

.btn-secondary:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-secondary:hover i {
    transform: translateX(5px);
}

.btn-light {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.btn-more:hover {
    gap: 0.75rem;
}

/* ==========================================
   QUICK STATS
   ========================================== */
.quick-stats {
    background: var(--bg-white);
    margin-top: -50px;
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.breadcrumbs + .container .quick-stats,
.breadcrumb + .container .quick-stats {
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--light-text);
    font-size: 0.95rem;
}

/* ==========================================
   CONTAINER & SECTIONS
   ========================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
}

section:nth-child(even) {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================
   INTRO SECTION
   ========================================== */
.intro-section {
    background: var(--bg-white);
    padding: 4rem 0;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

/* ==========================================
   ARTICLE CONTENT
   ========================================== */
.article-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.article-body {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    max-width: 100%;
}

.article-body h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin: 2.5rem 0 1.5rem 0;
}

.article-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--text-color);
    margin: 2rem 0 1rem 0;
}

.article-body h4 {
    font-size: 1.2rem;
    color: var(--bg-light);
    margin: 1.5rem 0 0.75rem 0;
}

.article-body p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.article-body strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* ==========================================
   ATTRACTION SECTIONS
   ========================================== */
.attraction-section {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 2px solid var(--border-color);
}

.attraction-section:last-child {
    border-bottom: none;
}

.attraction-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.attraction-image::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.attraction-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.attraction-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0;
    flex: 1;
}

.attraction-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.attraction-description {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.attraction-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: var(--border-color);
    transform: translateX(5px);
}

.highlight-item i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.highlight-text {
    font-size: 0.95rem;
    color: var(--text-color);
}

/* ==========================================
   INFO BOX & HIGHLIGHT BOX
   ========================================== */
.info-box,
.highlight-box {
    background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 100%);
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.info-box-title,
.highlight-box h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.info-box-content,
.highlight-box p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ==========================================
   TABLE OF CONTENTS
   ========================================== */
.toc {
    position: sticky;
    top: 100px;
    background: var(--bg-white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.toc h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
}

.toc ul {
    list-style: none;
}

.toc li {
    margin-bottom: 0.75rem;
}

.toc a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 0;
    display: block;
    padding-left: 1rem;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.toc a:hover,
.toc a.active {
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    padding-left: 1.5rem;
}

/* ==========================================
   FEATURE CARDS & ATTRACTION CARDS
   ========================================== */
.features-grid,
.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card,
.attraction-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.attraction-card {
    padding: 0;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover,
.attraction-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.feature-card h3,
.attraction-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card p,
.attraction-content p {
    color: var(--light-text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feature-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.feature-link:hover {
    gap: 0.75rem;
}

/* Attraction Card Specific */
.attraction-image-wrapper {
    overflow: hidden;
    position: relative;
    height: 250px;
}

.attraction-card .attraction-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.attraction-card:hover .attraction-image {
    transform: scale(1.1);
}

.attraction-card .attraction-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.attraction-content {
    padding: 2rem;
}

.attraction-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--light-text);
    font-size: 0.9rem;
}

.meta-item i {
    color: var(--secondary-color);
}

.meta-item.paid {
    color: var(--accent-color);
    font-weight: 600;
}

.meta-item.paid i {
    color: var(--accent-color);
}

/* ==========================================
   DETAIL SECTIONS
   ========================================== */
.detail-section {
    max-width: 1200px;
    margin: 0 auto;
}

.detail-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
}

.detail-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.detail-card h3 i {
    color: var(--secondary-color);
}

.detail-card p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.detail-card strong {
    color: var(--primary-color);
    font-weight: 600;
}

.detail-image-wrapper {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    margin: 2rem 0;
    position: relative;
    box-shadow: var(--shadow-hover);
}

.detail-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.detail-image-wrapper:hover img {
    transform: scale(1.1);
}

.detail-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 2rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.detail-image-wrapper:hover .detail-image-overlay {
    transform: translateY(0);
}

.detail-image-overlay h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* ==========================================
   TIMELINE
   ========================================== */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    flex: 1;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.timeline-year {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 50%;
    transform: translateX(-50%);
    border: 4px solid var(--bg-white);
    box-shadow: 0 0 0 4px var(--border-color);
}

/* ==========================================
   MAP SECTION
   ========================================== */
.map-section {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow);
}

.map-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.map-item {
    padding: 1.5rem;
    border-radius: 15px;
    background: var(--bg-light);
    transition: all 0.3s ease;
    cursor: pointer;
}

.map-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.map-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
    display: block;
}

.map-item:hover i {
    color: white;
}

.map-item h4 {
    margin-bottom: 0.5rem;
}

/* ==========================================
   FAQ SECTION
   ========================================== */
.faq-section {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--light-text);
    line-height: 1.7;
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
    background: var(--gradient-primary);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ==========================================
   SCROLL TO TOP
   ========================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
    background: var(--primary-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: white;
    padding-left: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* ==========================================
   PAGE INFO PANEL
   ========================================== */
.page-info-panel {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.page-info-panel:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-info-content {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.page-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--light-text);
}

.page-info-item i {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.page-info-label {
    font-weight: 500;
    color: var(--text-color);
}

.page-info-value {
    font-weight: 600;
    color: var(--primary-color);
}

.page-info-panel.compact {
    padding: 0.75rem 1rem;
    margin: 1rem 0;
}

.page-info-panel.compact .page-info-content {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
}

.page-info-panel.compact .page-info-item {
    font-size: 0.8rem;
}

.page-info-panel.footer {
    background: var(--bg-light);
    border-top: 2px solid var(--border-color);
    border-radius: 0;
    margin: 3rem 0 0 0;
    padding: 1.5rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-info-panel {
    animation: fadeInUp 0.5s ease-out;
}

/* ==========================================
   ADSENSE
   ========================================== */
.adsense-container {
    display: block;
    text-align: center;
    margin: 16px 0;
    width: 100%;
    min-width: 300px;
    box-sizing: border-box;
}

.adsense-container .adsbygoogle {
    display: block;
    margin: 0 auto;
}

/* ==========================================
   SCROLLBAR STYLING
   ========================================== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-white {
    background-color: var(--bg-white);
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }
.pt-4 { padding-top: 2rem; }
.pt-5 { padding-top: 3rem; }

.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }
.pb-5 { padding-bottom: 3rem; }

/* ==========================================
   ACCESSIBILITY
   ========================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

a:focus,
button:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

.dropdown-toggle:focus,
.dropdown-menu a:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
    .article-content {
        grid-template-columns: 1fr;
    }
    
    .toc {
        position: static;
        max-height: none;
        margin-bottom: 2rem;
    }
    
    .features-grid,
    .attractions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    nav {
        display: none;
    }
    
    .header-content {
        padding: 1rem;
    }
    
    .hero {
        min-height: 70vh;
    }
    
    .hero-bg {
        background-attachment: scroll;
        animation: none;
    }
    
    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1.5rem;
        margin-left: 1rem;
        margin-right: 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .article-body,
    .detail-card {
        padding: 2rem 1.5rem;
    }
    
    .features-grid,
    .attractions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .attraction-image,
    .detail-image-wrapper {
        height: 250px;
    }
    
    .attraction-section .attraction-image {
        height: 200px;
        font-size: 3rem;
    }
    
    .attraction-header {
        flex-direction: column;
    }
    
    .attraction-highlights {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: column;
        padding-left: 50px;
    }
    
    .timeline-marker {
        left: 20px;
    }

    .page-info-content {
        gap: 1rem;
    }
    
    .page-info-item {
        font-size: 0.8rem;
    }
    
    .adsense-container {
        margin: 12px 0;
        padding: 0 8px;
        min-width: 280px;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .quick-stats {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .article-body,
    .detail-card {
        padding: 1.5rem 1rem;
    }
    
    .attraction-title {
        font-size: 1.5rem;
    }
    
    .feature-card,
    .attraction-content {
        padding: 2rem 1.5rem;
    }
    
    .breadcrumbs-content,
    .breadcrumb-content {
        padding: 0 1rem;
    }

    .page-info-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .page-info-panel {
        padding: 1rem;
    }
}

/* Desktop - ukryj mobile menu */
@media (min-width: 769px) {
    .mobile-toggle,
    .mobile-nav,
    .mobile-overlay {
        display: none !important;
    }
}

/* ==========================================
   REDUCED MOTION
   ========================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================
   PRINT STYLES
   ========================================== */
@media print {
    header,
    .mobile-toggle,
    .mobile-nav,
    .mobile-overlay,
    .scroll-top,
    footer,
    .hero-buttons,
    .cta-section,
    .progress-bar {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .hero {
        min-height: auto;
        page-break-after: always;
    }
    
    .article-content {
        grid-template-columns: 1fr;
    }
    
    .toc {
        page-break-after: always;
    }
    
    .attraction-section,
    .detail-card {
        page-break-inside: avoid;
    }
    
    a {
        text-decoration: underline;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
}

/* ==========================================
   END OF CSS
   ========================================== */

   /* ==========================================
   OSTATECZNY FIX DLA HAMBURGERA
   Dodaj to NA SAMYM KOŃCU pliku style.css
   To nadpisze wszystkie poprzednie style
   ========================================== */

/* FORCE FIX - Hamburger Icon */
.hamburger-icon .line {
    display: block !important;
    width: 24px !important;
    height: 3px !important;
    background-color: #2c5f2d !important;
    border-radius: 3px !important;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
    position: absolute !important;
    left: 0 !important;
}

/* DEFAULT STATE - HAMBURGER (☰) */
.hamburger-icon .line:nth-child(1) {
    top: 0px !important;
    transform: rotate(0deg) !important;
    opacity: 1 !important;
}

.hamburger-icon .line:nth-child(2) {
    top: 10px !important;
    transform: translateX(0) !important;
    opacity: 1 !important;
}

.hamburger-icon .line:nth-child(3) {
    top: 20px !important;
    transform: rotate(0deg) !important;
    opacity: 1 !important;
}

/* HOVER - CLOSED */
.mobile-toggle:hover .hamburger-icon .line {
    background-color: #4a90a4 !important;
}

/* ACTIVE STATE - X */
.mobile-toggle.active .hamburger-icon .line:nth-child(1) {
    top: 10px !important;
    transform: rotate(45deg) !important;
    opacity: 1 !important;
}

.mobile-toggle.active .hamburger-icon .line:nth-child(2) {
    opacity: 0 !important;
    transform: translateX(-20px) !important;
}

.mobile-toggle.active .hamburger-icon .line:nth-child(3) {
    top: 10px !important;
    transform: rotate(-45deg) !important;
    opacity: 1 !important;
}

/* ACTIVE HOVER - X */
.mobile-toggle.active:hover .hamburger-icon .line {
    background-color: #e11d48 !important;
}

/* SHOW ON MOBILE */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

 /* Gallery Styles */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin: 3rem 0;
        }

        .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 15px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .gallery-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        }

        .gallery-item img {
            width: 100%;
            height: 350px;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .gallery-item:hover img {
            transform: scale(1.1);
        }

        .gallery-caption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
            color: white;
            padding: 1.5rem;
            transform: translateY(100%);
            transition: transform 0.3s ease;
        }

        .gallery-item:hover .gallery-caption {
            transform: translateY(0);
        }

        .gallery-caption h4 {
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
            color: white;
        }

        .gallery-caption p {
            font-size: 0.9rem;
            opacity: 0.9;
            margin: 0;
        }

        /* Lightbox Modal */
        .lightbox {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            z-index: 10000;
            align-items: center;
            justify-content: center;
        }

        .lightbox.active {
            display: flex;
        }

        .lightbox-content {
            max-width: 90%;
            max-height: 90%;
            position: relative;
        }

        .lightbox-content img {
            max-width: 100%;
            max-height: 90vh;
            object-fit: contain;
        }

        .lightbox-close {
            position: absolute;
            top: 20px;
            right: 30px;
            color: white;
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
            z-index: 10001;
        }

        .lightbox-close:hover {
            color: #ccc;
        }

        .lightbox-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            font-size: 40px;
            color: white;
            cursor: pointer;
            padding: 20px;
            user-select: none;
        }

        .lightbox-nav:hover {
            color: #ccc;
        }

        .lightbox-prev {
            left: 20px;
        }

        .lightbox-next {
            right: 20px;
        }

        .lightbox-caption {
            text-align: center;
            color: white;
            padding: 20px;
            font-size: 1.1rem;
        }

        @media (max-width: 768px) {
            .gallery-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .gallery-item img {
                height: 250px;
            }
        }