/* Global Styles */
:root {
    --primary-color: #D50000; /* Polish flag red */
    --secondary-color: #FFFFFF; /* Polish flag white */
    --accent-color: #F5F5F5;
    --text-color: #333333;
    --light-text: #777777;
    --dark-bg: #222222;
    --border-color: #DDDDDD;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 4px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--secondary-color);
}

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

a:hover {
    color: #A30000;
}

ul {
    list-style: none;
}

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

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--light-text);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: #A30000;
    color: var(--secondary-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.btn-sm {
    padding: 8px 15px;
    font-size: 0.9rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--secondary-color);
    box-shadow: var(--shadow);
    z-index: 100;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: inline-block;
}

.logo-svg {
    height: 50px;
    width: auto;
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 25px;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 600;
    position: relative;
}

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

.main-nav a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1659384895944-88e709169a58');
    background-size: cover;
    background-position: center;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    margin-top: 80px;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Landmarks Section */
.landmarks {
    padding: 80px 0;
    background-color: var(--accent-color);
}

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

.landmark-card {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.landmark-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.landmark-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.landmark-content {
    padding: 20px;
}

.landmark-content h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.landmark-content p {
    margin-bottom: 15px;
    color: var(--light-text);
}

/* Architecture Section */
.architecture {
    padding: 80px 0;
}

.architecture-slider {
    position: relative;
    margin-top: 40px;
}

.slider-wrapper {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.slide {
    min-width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.slide-content {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: var(--secondary-color);
    width: 100%;
    padding: 20px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.5);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    color: var(--text-color);
    transition: var(--transition);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.8);
}

.slider-btn.prev {
    left: 10px;
}

.slider-btn.next {
    right: 10px;
}

/* Landscapes Section */
.landscapes {
    padding: 80px 0;
    background-color: var(--accent-color);
}

.landscape-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 15px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    background-size: cover;
    background-position: center;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: var(--secondary-color);
    padding: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

/* Culture Section */
.culture {
    padding: 80px 0;
}

.culture-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.culture-feature {
    text-align: center;
    padding: 20px;
    border-radius: var(--border-radius);
    background-color: var(--secondary-color);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.culture-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    margin-bottom: 20px;
}

.culture-feature h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.culture-photos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.photo {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--accent-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 15px;
}

.about-image {
    flex: 1;
}

.team-photo {
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1677273423823-f78694ac6558');
    background-size: cover;
    background-position: center;
    color: var(--secondary-color);
}

.newsletter .section-title,
.newsletter .section-description {
    color: var(--secondary-color);
}

.newsletter-form {
    max-width: 600px;
    margin: 40px auto 0;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(5px);
}

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

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

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--secondary-color);
}

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

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
    margin-top: 4px;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
}

.testimonials-slider {
    max-width: 800px;
    margin: 40px auto 20px;
    overflow: hidden;
}

.testimonial {
    padding: 0 20px;
}

.testimonial-content {
    background-color: var(--accent-color);
    padding: 30px;
    border-radius: var(--border-radius);
    position: relative;
    box-shadow: var(--shadow);
}

.testimonial-content::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50px;
    width: 30px;
    height: 30px;
    background-color: var(--accent-color);
    transform: rotate(45deg);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 30px;
    padding-left: 20px;
}

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

.author-info h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

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

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

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--accent-color);
}

.contact-content {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.contact-info {
    flex: 1;
}

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

.contact-icon {
    margin-right: 15px;
    padding-top: 5px;
}

.contact-text h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.social-links {
    margin-top: 30px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

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

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

.social-icons a:hover svg path {
    fill: var(--secondary-color);
}

.contact-map {
    flex: 1;
}

.map-placeholder {
    height: 400px;
    background-color: #e5e5e5;
    border-radius: var(--border-radius);
    overflow: hidden;
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: var(--secondary-color);
    padding: 60px 0 20px;
}

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

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

.footer-logo p {
    margin-top: 15px;
    opacity: 0.7;
}

.footer-logo-svg {
    filter: brightness(1.5);
}

.footer-links {
    flex: 2;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-links-column {
    min-width: 150px;
    margin-bottom: 20px;
}

.footer-links-column h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

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

.footer-links-column ul li a {
    color: var(--secondary-color);
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links-column ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--secondary-color);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 999;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cookie-content h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.cookie-content p {
    margin-bottom: 20px;
    text-align: center;
    max-width: 800px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

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

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

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    color: var(--light-text);
}

.close:hover {
    color: var(--primary-color);
}

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

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

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option label {
    font-weight: 600;
    margin-left: 10px;
}

.cookie-option p {
    margin-top: 5px;
    margin-left: 30px;
    color: var(--light-text);
    font-size: 0.9rem;
}

/* Blog Cards */
.blog-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.blog-card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.blog-card-content {
    padding: 20px;
}

.blog-card-content h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.blog-card-meta {
    display: flex;
    margin-bottom: 15px;
    color: var(--light-text);
    font-size: 0.9rem;
}

.blog-card-meta span {
    margin-right: 15px;
}

.blog-card-content p {
    margin-bottom: 15px;
    color: var(--light-text);
}

/* Article */
.article-header {
    margin-bottom: 40px;
}

.article-header h1 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.article-meta {
    display: flex;
    margin-bottom: 20px;
    color: var(--light-text);
}

.article-meta span {
    margin-right: 15px;
}

.article-featured-image {
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

.article-content {
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2 {
    margin: 40px 0 20px;
    color: var(--primary-color);
}

.article-content h3 {
    margin: 30px 0 15px;
    color: var(--primary-color);
}

.article-content ul, 
.article-content ol {
    margin: 20px 0;
    padding-left: 40px;
}

.article-content ul li, 
.article-content ol li {
    margin-bottom: 10px;
}

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

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

.article-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: var(--light-text);
}

.related-articles {
    margin-top: 60px;
}

.related-articles h2 {
    margin-bottom: 30px;
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.legal-content h1 {
    margin-bottom: 30px;
    color: var(--primary-color);
}

.legal-content h2 {
    margin: 40px 0 20px;
    color: var(--primary-color);
}

.legal-content p {
    margin-bottom: 20px;
}

.legal-content ul {
    margin: 20px 0;
    padding-left: 40px;
    list-style-type: disc;
}

.legal-content ul li {
    margin-bottom: 10px;
}

/* Thank You Page */
.thank-you {
    text-align: center;
    padding: 100px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-icon {
    margin-bottom: 30px;
}

.thank-you h1 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.thank-you p {
    margin-bottom: 30px;
    color: var(--light-text);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.3rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .team-photo {
        height: 300px;
    }
    
    .contact-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 10px 0;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--secondary-color);
        box-shadow: var(--shadow);
        padding: 20px;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin: 0 0 15px 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .landmarks-grid,
    .blog-cards {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .landscape-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 200px);
    }
    
    .gallery-item.large {
        grid-column: auto;
        grid-row: auto;
    }
    
    .culture-photos {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .photo {
        height: 150px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .article-featured-image {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .landmarks-grid,
    .blog-cards {
        grid-template-columns: 1fr;
    }
    
    .culture-features {
        grid-template-columns: 1fr;
    }
    
    .culture-photos {
        grid-template-columns: 1fr;
    }
    
    .testimonial-author {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .author-avatar {
        margin-bottom: 10px;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-buttons button {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .modal-content {
        margin: 20% auto;
        padding: 20px;
    }
}
