/* Base Styles */
:root {
  --primary-color: #e30b17; /* Polish Red */
  --secondary-color: #ffffff; /* Polish White */
  --accent-color: #2c3e50; /* Dark Blue/Gray */
  --text-color: #333333;
  --bg-light: #f8f9fa;
  --bg-dark: #343a40;
  --font-main: 'Roboto', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  --box-shadow: 0 2px 10px 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: var(--font-main);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--secondary-color);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

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

.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

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

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

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

/* Section Styles */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  margin: 15px auto 0;
}

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

.header.scrolled {
  padding: 10px 0;
}

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

.logo {
  height: 60px;
}

.nav-list {
  display: flex;
}

.nav-item {
  margin-left: 30px;
}

.nav-link {
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* Hero Banner */
.hero {
  height: 100vh;
  min-height: 600px;
  background-color: var(--accent-color);
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 0;
  padding: 0;
  overflow: hidden;
}

.hero svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  color: var(--secondary-color);
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--secondary-color);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* About Section */
.about {
  background-color: var(--bg-light);
}

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

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

.about-image {
  flex: 1;
  min-width: 300px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

/* Services Section */
.services {
  background-color: var(--secondary-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--bg-light);
  border-radius: 8px;
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.service-title {
  margin-bottom: 15px;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--bg-light);
}

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

.testimonial-item {
  text-align: center;
  padding: 30px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-text::before,
.testimonial-text::after {
  content: '"';
  font-size: 2rem;
  color: var(--primary-color);
  position: absolute;
}

.testimonial-text::before {
  top: -10px;
  left: -15px;
}

.testimonial-text::after {
  bottom: -20px;
  right: -15px;
}

.testimonial-author {
  font-weight: 600;
}

/* Blog Section */
.blog {
  background-color: var(--secondary-color);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

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

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

.blog-img {
  height: 200px;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-img img {
  transform: scale(1.05);
}

.blog-content {
  padding: 20px;
}

.blog-date {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 10px;
}

.blog-title {
  margin-bottom: 10px;
}

.blog-preview {
  margin-bottom: 20px;
}

/* Contact Section */
.contact {
  background-color: var(--bg-light);
}

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

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

.contact-method {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-icon {
  color: var(--primary-color);
  margin-right: 15px;
  min-width: 24px;
}

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

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

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

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-main);
  font-size: 1rem;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Newsletter Section */
.newsletter {
  background-color: var(--accent-color);
  color: var(--secondary-color);
  padding: 60px 0;
}

.newsletter-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

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

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.newsletter-input {
  flex: 1;
  min-width: 200px;
  padding: 12px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
}

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

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

.footer-logo {
  height: 60px;
  margin-bottom: 20px;
}

.footer-description {
  margin-bottom: 20px;
}

.footer-title {
  font-size: 1.2rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
  position: relative;
}

.footer-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
  margin-top: 10px;
}

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

.footer-links a {
  color: #ccc;
  transition: var(--transition);
}

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

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

.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 svg {
  width: 20px;
  height: 20px;
  color: var(--secondary-color);
}

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

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

/* Blog Page Styles */
.blog-header {
  background-color: var(--accent-color);
  color: var(--secondary-color);
  padding: 100px 0 60px;
  text-align: center;
}
.nav-close{
  display: none;
}
.blog-header-title {
  color: var(--secondary-color);
}

.blog-list {
  padding: 80px 0;
}

/* Blog Post Page Styles */
.blog-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 100px 20px;
}

.blog-post-header {
  margin-bottom: 40px;
}

.blog-post-meta {
  color: #777;
  margin-bottom: 20px;
}

.blog-post-content p,
.blog-post-content ul,
.blog-post-content ol {
  margin-bottom: 20px;
}

.blog-post-content h2,
.blog-post-content h3 {
  margin-top: 40px;
  margin-bottom: 20px;
}

.blog-post-image {
  margin: 30px 0;
  border-radius: 8px;
  overflow: hidden;
}

/* Contact Page Styles */
.contact-page {
  padding: 80px 0;
}

.contact-page-header {
  text-align: center;
  margin-bottom: 60px;
}

/* Legal Pages Styles */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 120px 20px 80px;
}

.legal-page h2 {
  margin-top: 40px;
  margin-bottom: 20px;
}

.legal-page p,
.legal-page ul,
.legal-page ol {
  margin-bottom: 20px;
}

.legal-page ul,
.legal-page ol {
  padding-left: 20px;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--secondary-color);
  padding: 20px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  display: none;
}

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

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

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

/* Cookie Settings Modal */
.cookie-settings-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  display: none;
}

.cookie-modal-content {
  background-color: var(--secondary-color);
  border-radius: 8px;
  padding: 30px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

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

.cookie-modal-title {
  margin-bottom: 0;
}

.cookie-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--accent-color);
}

.cookie-option {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

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

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

.cookie-option-title {
  font-weight: 600;
  margin: 0;
}

.cookie-option-description {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Thank you page */
.thank-you {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--bg-light);
}

.thank-you-content {
  max-width: 600px;
  padding: 40px;
  background-color: var(--secondary-color);
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.thank-you-icon {
  font-size: 5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.thank-you-title {
  margin-bottom: 20px;
}

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