/* Main Styles */
:root {
  --primary-color: #d4213d; /* Polish flag red */
  --secondary-color: #ffffff; /* Polish flag white */
  --accent-color: #394867;
  --dark-color: #333;
  --light-color: #f9f9f9;
  --gray-color: #888;
  --border-color: #e1e1e1;
  --success-color: #4CAF50;
  --font-main: 'Roboto', 'Open Sans', sans-serif;
  --transition: all 0.3s ease;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --container-width: 1200px;
}

body {
  background-color: var(--light-color);
  font-family: var(--font-main);
  color: var(--dark-color);
}

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

/* Header */
.header {
  background-color: var(--secondary-color);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
}

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

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

.nav-menu {
  display: flex;
}

.nav-item {
  margin-left: 1.5rem;
}

.nav-link {
  color: var(--dark-color);
  font-weight: 500;
  position: relative;
}

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

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

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

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--dark-color);
}

/* Banner */
.banner {
  background-color: var(--accent-color);
  color: var(--secondary-color);
  padding: 4rem 0;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.banner h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

.banner svg {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 80%;
  opacity: 0.15;
  z-index: 1;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border-radius: 4px;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background-color: #b41c33;
  color: var(--secondary-color);
  transform: translateY(-2px);
}

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

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

/* Sections */
.section {
  padding: 3rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  position: relative;
}

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

/* Attractions */
.attractions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

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

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

.attraction-img {
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f2f2f2;
}

.attraction-img svg {
  height: 150px;
  width: 150px;
}

.attraction-content {
  padding: 1.5rem;
}

.attraction-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* Food */
.food-section {
  background-color: #f7f5f0;
}

.food-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.food-card {
  background-color: var(--secondary-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.food-img {
  height: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f2f2f2;
}

.food-img svg {
  height: 120px;
  width: 120px;
}

.food-content {
  padding: 1rem;
}

.food-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* Blog */
.blog-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

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

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-img {
  height: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f2f2f2;
}

.blog-img svg {
  height: 120px;
  width: 120px;
}

.blog-content {
  padding: 1.5rem;
}

.blog-date {
  color: var(--gray-color);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.blog-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.blog-content p {
  margin-bottom: 1rem;
}

.read-more {
  color: var(--primary-color);
  font-weight: 500;
}

/* Testimonials */
.testimonials {
  background-color: #f7f5f0;
}

.testimonial-slider {
  margin: 0 auto;
  max-width: 800px;
  position: relative;
}

.testimonial {
  text-align: center;
  padding: 2rem;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--accent-color);
}

/* Subscription */
.subscribe-form {
  background-color: var(--secondary-color);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

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

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(57, 72, 103, 0.2);
}

.form-submit {
  width: 100%;
}

/* Footer */
.footer {
  background-color: var(--accent-color);
  color: var(--secondary-color);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.footer-logo svg {
  height: 30px;
  margin-right: 10px;
}

.footer-contact p {
  margin-bottom: 0.5rem;
}

.footer-links h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

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

.footer-links ul li a:hover {
  opacity: 1;
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

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

/* 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: 1rem;
  z-index: 1000;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-text {
  flex: 1;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
}

.cookie-settings {
  background-color: var(--secondary-color);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
  z-index: 1001;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: none;
}

.cookie-settings.show {
  display: block;
}

.cookie-setting-options {
  margin: 1.5rem 0;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

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

.cookie-option-info {
  flex: 1;
}

.cookie-option h4 {
  margin-bottom: 0.25rem;
}

.cookie-option p {
  font-size: 0.9rem;
  color: var(--gray-color);
  margin-bottom: 0;
}

.toggle {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: var(--transition);
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: var(--transition);
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: var(--primary-color);
}

input:checked + .toggle-slider:before {
  transform: translateX(24px);
}

.cookie-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: none;
}

.cookie-overlay.show {
  display: block;
}

/* Legal pages */
.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 20px;
}

.legal-content {
  background-color: var(--secondary-color);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content ul {
  list-style: disc;
  margin-left: 2rem;
  margin-bottom: 1rem;
}

/* Blog page */
.blog-header {
  background-color: var(--accent-color);
  padding: 2rem 0;
  color: var(--secondary-color);
  margin-bottom: 2rem;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Article page */
.article-header {
  margin-bottom: 2rem;
}

.article-meta {
  display: flex;
  color: var(--gray-color);
  margin-bottom: 1rem;
}

.article-author {
  margin-right: 1rem;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 100px;
}

.article-content p {
  margin-bottom: 1.5rem;
}
.related-articles {
  padding-bottom: 45px;
}

.article-image {
  margin: 2rem 0;
  border-radius: 8px;
  overflow: hidden;
}

.article-footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.related-articles {
  margin-top: 2rem;
}

.related-articles h3 {
  margin-bottom: 1.5rem;
}

.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

/* Thanks page */
.thanks-container {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.thanks-content {
  background-color: var(--secondary-color);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  max-width: 600px;
}

.thanks-content h1 {
  color: var(--success-color);
  margin-bottom: 1rem;
}

.thanks-content p {
  margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    padding: 0.5rem 20px;
  }
  
  .logo {
    margin-bottom: 1rem;
  }
  
  .nav-menu {
    flex-direction: column;
    width: 100%;
    text-align: center;
    display: none;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-item {
    margin: 0.5rem 0;
  }
  
  .mobile-menu-btn {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
  }
  
  .banner h1 {
    font-size: 2rem;
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.75rem;
  }
  
  .banner {
    padding: 2rem 0;
  }
  
  .banner h1 {
    font-size: 1.75rem;
  }
  
  .banner p {
    font-size: 1rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}
