/* Reset i podstawowe style */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
}

a {
  text-decoration: none;
  color: #0d9488;
}

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

/* Header */
header {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0d9488;
}

nav ul {
  display: flex;
  list-style: none;
}

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

nav ul li a {
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #0d9488;
}

.btn {
  display: inline-block;
  background-color: #0d9488;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background-color: #0f766e;
}

/* Hero Section */
.hero {
  background: linear-gradient(to bottom, #e6fffa, #ffffff);
  padding: 80px 0;
}

.hero-container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-content {
  flex: 1;
}

.hero-image {
  flex: 1;
}

.hero-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

h1 span {
  color: #0d9488;
}

.hero p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 30px;
  max-width: 600px;
}

.features {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.feature {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

.feature-icon {
  color: #0d9488;
  margin-right: 5px;
}

/* Sections */
section {
  padding: 80px 0;
}

section:nth-child(even) {
  background-color: #f8fafc;
}

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

.badge {
  display: inline-block;
  background-color: #ccfbf1;
  color: #0d9488;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 10px;
}

h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.section-header p {
  color: #666;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.benefit-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 30px;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.benefit-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.benefit-card p {
  color: #666;
  font-size: 0.9rem;
}

/* How it works */
.steps {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
}

.step {
  flex: 1;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: #ccfbf1;
  color: #0d9488;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 20px;
}

.step h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.step p {
  color: #666;
  font-size: 0.9rem;
}

/* Parameters */
.parameters {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 30px;
}

.parameter {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.parameter-icon {
  width: 30px;
  height: 30px;
  background-color: #ccfbf1;
  color: #0d9488;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.parameter-content h3 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.parameter-content p {
  color: #666;
  font-size: 0.9rem;
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
}

.testimonial-image {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: #e2e8f0;
  margin: 0 auto 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-weight: 700;
}

.testimonial p {
  color: #666;
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-name {
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-info {
  color: #666;
  font-size: 0.8rem;
}

/* FAQ */
.faq {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 20px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
}

.faq-answer {
  margin-top: 15px;
  color: #666;
  font-size: 0.9rem;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Contact */
.contact {
  background-color: #e6fffa;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

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

.contact-icon {
  color: #0d9488;
}

.contact-item h3 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.contact-item p {
  color: #666;
  font-size: 0.9rem;
}

.contact-form {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

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

.form-row {
  display: flex;
  gap: 20px;
}

.form-row .form-group {
  flex: 1;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  font-size: 0.9rem;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: #666;
  margin-top: 15px;
}

/* Footer */
footer {
  background-color: white;
  border-top: 1px solid #eee;
  padding: 30px 0;
}

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

.footer-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0d9488;
}

.footer-copyright {
  font-size: 0.9rem;
  color: #666;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-container {
    flex-direction: column;
  }

  .steps {
    flex-direction: column;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .footer-container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .report-container {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .benefits-grid,
  .testimonials {
    grid-template-columns: 1fr;
  }

  .parameters {
    grid-template-columns: 1fr;
  }
}

/* Success message */
.success-message {
  background-color: #dcfce7;
  color: #166534;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 20px;
  display: none;
}

.success-message.show {
  display: block;
}

/* Error message */
.error-message {
  background-color: #fee2e2;
  color: #b91c1c;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 20px;
  display: none;
}

.error-message.show {
  display: block;
}

/* Report Section */
.report-section {
  background-color: #f0f9ff;
  padding: 80px 0;
}

.report-container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.report-content {
  flex: 1;
}

.report-image {
  flex: 1;
  text-align: center;
}

.report-image img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.report-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.report-features {
  margin-top: 30px;
}

.report-feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.report-feature-icon {
  color: #0d9488;
  margin-right: 10px;
  font-size: 1.2rem;
}

.report-feature-text h4 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.report-feature-text p {
  color: #666;
  font-size: 0.9rem;
}

.zoom-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  cursor: pointer;
}

.zoom-overlay img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.zoom-overlay.active {
  display: flex;
}

.close-zoom {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

/* Language Switcher */
.language-switcher {
  display: flex;
  align-items: center;
  margin-left: 20px;
}

.language-switcher .flag {
  width: 24px;
  height: 16px;
  margin-right: 5px;
  border-radius: 2px;
  cursor: pointer;
  transition: transform 0.2s;
  border: 1px solid #ddd;
}

.language-switcher .flag:hover {
  transform: scale(1.1);
}

.language-switcher .flag.active {
  box-shadow: 0 0 0 2px #0d9488;
}

/* Calendar Styles */
.calendar-container {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-top: 20px;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.calendar-nav {
  display: flex;
  gap: 10px;
}

.calendar-nav button {
  background: #f1f5f9;
  border: none;
  border-radius: 4px;
  padding: 5px 10px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.calendar-nav button:hover {
  background: #e2e8f0;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.calendar-day-header {
  text-align: center;
  font-weight: 600;
  padding: 5px;
  color: #64748b;
}

.calendar-day {
  text-align: center;
  padding: 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.calendar-day:hover {
  background-color: #f1f5f9;
}

.calendar-day.today {
  background-color: #ccfbf1;
  font-weight: 600;
}

.calendar-day.selected {
  background-color: #0d9488;
  color: white;
}

.calendar-day.available {
  border: 1px solid #0d9488;
}

.calendar-day.unavailable {
  color: #cbd5e1;
  cursor: not-allowed;
}

.calendar-day.other-month {
  color: #cbd5e1;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
  margin-top: 15px;
}

.time-slot {
  text-align: center;
  padding: 8px;
  border-radius: 4px;
  background-color: #f1f5f9;
  cursor: pointer;
  transition: background-color 0.3s;
}

.time-slot:hover {
  background-color: #e2e8f0;
}

.time-slot.selected {
  background-color: #0d9488;
  color: white;
}

.time-slot.unavailable {
  color: #cbd5e1;
  cursor: not-allowed;
}

/* CAPTCHA styles */
.captcha-container {
  margin-bottom: 20px;
}

.captcha-challenge {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.captcha-question {
  font-weight: 500;
}

.captcha-refresh {
  background: none;
  border: none;
  color: #0d9488;
  cursor: pointer;
  font-size: 1rem;
}

.captcha-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}
