/* ========== RESET I PODSTAWOWE STYLE ========== */
:root {
    --primary-color: #2a5298;
    --secondary-color: #e63946;
    --accent-color: #f9c74f;
    --dark-color: #1f2937;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --success-color: #38b000;
    --border-color: #dee2e6;
    --border-radius: 4px;
    --box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

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

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
}

.btn:hover {
    background-color: #1e3e70;
    color: white;
}

.btn-secondary {
    background-color: var(--gray-color);
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.btn-text {
    background-color: transparent;
    color: var(--primary-color);
    padding: 10px 0;
}

.btn-text:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.section {
    padding: 80px 0;
}

/* ========== NAGŁÓWEK ========== */
header {
    background-color: white;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--dark-color);
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
}

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

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin-bottom: 5px;
    background-color: var(--dark-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* ========== BANER GŁÓWNY ========== */
.banner {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.banner .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.banner-content {
    flex: 1;
    min-width: 300px;
}

.banner-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.banner-image {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

/* ========== SEKCJE ZAWARTOŚCI ========== */
.flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.text-content {
    flex: 1;
    min-width: 300px;
}

.image-content {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.regions-grid, .cuisine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.region-card, .cuisine-item {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 25px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.region-card:hover, .cuisine-item:hover {
    transform: translateY(-5px);
}

.region-card i, .cuisine-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.attraction {
    display: flex;
    margin-bottom: 25px;
}

.attraction i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-right: 20px;
    min-width: 30px;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    position: relative;
}

.testimonial-image {
    flex: 1;
    min-width: 300px;
}

.testimonial-slider {
    flex: 1;
    min-width: 300px;
    position: relative;
    min-height: 250px;
}

.testimonial {
    background-color: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.testimonial.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 1;
}

.stars {
    color: var(--accent-color);
    margin-bottom: 10px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.control {
    width: 12px;
    height: 12px;
    background-color: var(--border-color);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.control.active {
    background-color: var(--primary-color);
}

/* ========== KONTAKT ========== */
.contact-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 20px;
    min-width: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.contact-image {
    margin-top: 20px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox {
    display: flex;
    align-items: center;
}

.checkbox input {
    width: auto;
    margin-right: 10px;
}

.checkbox label {
    margin-bottom: 0;
}

/* ========== STOPKA ========== */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 15px;
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-column {
    flex: 1;
    min-width: 150px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #adb5bd;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========== COOKIE BANNER ========== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.cookie-content {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

/* ========== MODAL ========== */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 30px;
    border-radius: var(--border-radius);
    max-width: 600px;
    position: relative;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.cookie-options {
    margin: 20px 0;
}

.cookie-option {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.cookie-option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cookie-option-header h3 {
    margin-bottom: 0;
}

.toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    background-color: #ccc;
    border-radius: 12px;
    cursor: pointer;
}

.toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    transition: var(--transition);
}

.article-featured-image img {
    margin: 0 auto;
}

input[type="checkbox"]:checked + .toggle {
    background-color: var(--success-color);
}

input[type="checkbox"]:checked + .toggle::after {
    left: 28px;
}

input[type="checkbox"]:disabled + .toggle {
    opacity: 0.7;
    cursor: not-allowed;
}

.cookie-save {
    text-align: center;
    margin-top: 20px;
}

/* ========== STRONA PODZIĘKOWAŃ ========== */
.thanks-section {
    padding: 100px 0;
    text-align: center;
}

.thanks-content {
    max-width: 700px;
    margin: 0 auto;
}

.thanks-content i {
    font-size: 5rem;
    color: var(--success-color);
    margin-bottom: 20px;
}

/* ========== STRONY PRAWNE ========== */
.legal-section {
    padding: 60px 0;
}

.legal-content {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.last-updated {
    font-style: italic;
    color: var(--gray-color);
    margin-bottom: 30px;
}

.legal-section h2 {
    color: var(--primary-color);
    margin-top: 30px;
}

.legal-section h3 {
    margin-top: 20px;
}

.legal-section ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

/* ========== BLOG ========== */
.blog-banner {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.blog-section {
    padding: 60px 0;
    display: flex;
}

.blog-section .container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.blog-grid {
    flex: 3;
    min-width: 300px;
}

.blog-sidebar {
    flex: 1;
    min-width: 250px;
}

.blog-card {
    display: flex;
    flex-wrap: wrap;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.blog-image {
    flex: 1;
    min-width: 250px;
}

.blog-content {
    flex: 2;
    min-width: 300px;
    padding: 25px;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    color: var(--gray-color);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.blog-meta span {
    display: flex;
    align-items: center;
}

.blog-meta i {
    margin-right: 5px;
}

.sidebar-widget {
    background-color: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    margin-bottom: 15px;
    position: relative;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.sidebar-widget ul {
    list-style: none;
}

.sidebar-widget ul li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.popular-post {
    margin-bottom: 15px;
}

.popular-post a {
    display: block;
    font-weight: 500;
}

.popular-post span {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.sidebar-form input {
    width: 100%;
    padding: 10px 15px;
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

/* ========== POJEDYNCZY ARTYKUŁ ========== */
.article-section {
    padding: 60px 0;
}

.article-header {
    margin-bottom: 30px;
}

.article-featured-image {
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.article-content {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--gray-color);
    margin-bottom: 25px;
}

.article-content h2 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 20px;
}

.article-content h3 {
    margin-top: 25px;
    margin-bottom: 15px;
}

.article-content ul, .article-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.article-content ul {
    list-style: disc;
}

.article-content ol {
    list-style: decimal;
}

.article-share {
    margin-bottom: 30px;
}

.social-share {
    display: flex;
    gap: 10px;
}

.social-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f8f9fa;
    color: var(--dark-color);
    border-radius: 50%;
    transition: var(--transition);
}

.social-share a:hover {
    background-color: var(--primary-color);
    color: white;
}

.article-author {
    display: flex;
    padding: 30px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.author-avatar {
    margin-right: 20px;
}

.author-avatar i {
    font-size: 3rem;
    color: var(--gray-color);
}

.author-bio h3 {
    margin-bottom: 10px;
}

.related-articles h3 {
    margin-bottom: 20px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.related-article {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.related-article:hover {
    transform: translateY(-5px);
}

.related-article h4 {
    padding: 15px;
    font-size: 1rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .banner-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: white;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -7px);
    }
    
    .banner-content, .banner-image {
        text-align: center;
    }
    
    .banner-content h1 {
        font-size: 2rem;
    }
    
    .article-author {
        flex-direction: column;
        text-align: center;
    }
    
    .author-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .banner {
        padding: 50px 0;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .article-content {
        padding: 20px;
    }
}
