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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

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

/* Header */
.header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 2px solid #e5e7eb;
}

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

.logo h1 {
  color: #dc2626;
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}

.logo span {
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 500;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #dc2626;
}

.mobile-menu-btn {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23dc2626' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: white;
  text-align: center;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.8), rgba(185, 28, 28, 0.6));
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.btn-primary {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #b91c1c, #991b1b);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-outline {
  background: transparent;
  color: #dc2626;
  border: 2px solid #dc2626;
}

.btn-outline:hover {
  background: #dc2626;
  color: white;
}

.btn-full {
  width: 100%;
}

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

.section-gray {
  background-color: #f9fafb;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: #6b7280;
  max-width: 800px;
  margin: 0 auto;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

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

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
}

.service-icon-yellow {
  background-color: #fef3c7;
  color: #d97706;
}

.service-icon-blue {
  background-color: #dbeafe;
  color: #2563eb;
}

.service-icon-green {
  background-color: #dcfce7;
  color: #16a34a;
}

.service-icon-emerald {
  background-color: #d1fae5;
  color: #059669;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
}

/* Cards */
.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-header {
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.card-content {
  padding: 1.5rem;
}

/* Calculator & Opinions Grid */
.calc-opinions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* Form Elements */
.form-group {
  margin-bottom: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

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

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.form-checkbox input[type="checkbox"] {
  width: auto;
}

.form-note {
  font-size: 0.875rem;
  color: #6b7280;
  text-align: center;
  margin-top: 1rem;
}

/* Calculator */
.calc-buttons {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.calc-buttons .btn {
  flex: 1;
}

.calc-result {
  padding: 1rem;
  background: linear-gradient(135deg, #ecfdf5, #dbeafe);
  border-radius: 8px;
  border-left: 4px solid #10b981;
}

.calc-result p {
  margin: 0;
  font-weight: 600;
  color: #065f46;
}

/* Opinions */
.google-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

.google-link:hover {
  color: #dc2626;
}

.google-logo {
  height: 24px;
  width: auto;
}

.opinions-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.opinion-item {
  padding: 1rem;
  border-left: 4px solid #fbbf24;
  background: #fffbeb;
  border-radius: 0 8px 8px 0;
  transition: background-color 0.3s ease;
}

.opinion-item:hover {
  background: #fef3c7;
}

.stars {
  color: #fbbf24;
  margin-bottom: 0.5rem;
}

.opinion-item p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
}

.opinions-footer {
  margin-top: 1rem;
  text-align: center;
}

.opinions-note {
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

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

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

.faq-question {
  padding: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #f3f4f6;
}

.faq-answer {
  padding: 1.5rem;
  display: none;
  color: #6b7280;
  line-height: 1.6;
}

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

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.map-container {
  margin-bottom: 1.5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-item i {
  color: #dc2626;
  width: 20px;
}

.contact-item a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #dc2626;
}

.travel-zones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.zone {
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid;
}

.zone-free {
  background: linear-gradient(135deg, #ecfdf5, #dbeafe);
  border-left-color: #10b981;
}

.zone-paid {
  background: linear-gradient(135deg, #fefce8, #fed7aa);
  border-left-color: #f59e0b;
}

.zone h4 {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #111827;
}

.zone p {
  font-size: 0.75rem;
  margin: 0;
  line-height: 1.4;
}

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

.nav-buttons .btn {
  flex: 1;
  font-size: 0.875rem;
  padding: 8px 16px;
}

/* Footer */
.footer {
  background: #f3f4f6;
  padding: 2rem 0;
  border-top: 2px solid #e5e7eb;
}

.footer-content {
  text-align: center;
}

.footer-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-item i {
  color: #dc2626;
}

.footer-item a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.footer-item a:hover {
  color: #dc2626;
}

.footer-stats {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.footer-copy {
  font-size: 0.875rem;
  color: #9ca3af;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
  animation: fadeIn 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
  animation: fadeIn 1s ease-out 0.6s both;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

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

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

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

  .calc-opinions-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .travel-zones {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-buttons {
    flex-direction: column;
  }

  .calc-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section {
    padding: 60px 0;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading states */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Success/Error messages */
.message {
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
  font-weight: 500;
}

.message-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #10b981;
}

.message-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #ef4444;
}
