/**
 * УПРОЩЕННЫЙ CSS ДЛЯ "ТРАНСФЕР ВОКЗАЛ-АЭРОПОРТ"
 * Файл: css/station-airport-simple.css
 */

.station-airport-content {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.intro-section {
  background: linear-gradient(135deg, #e8f5e8 0%, #ffffff 100%);
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 30px;
  border-left: 5px solid #4caf50;
}

.intro-section p {
  margin-bottom: 15px;
}

.intro-section strong {
  color: #2e7d32;
  font-weight: 600;
}

.tariff-class {
  margin-bottom: 40px;
  padding: 25px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid #f5f5f5;
}

.class-title {
  color: #2e7d32;
  font-size: 24px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 3px solid #4caf50;
}

.class-description {
  background: #f1f8e9;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-style: italic;
  border-left: 4px solid #4caf50;
  color: #2e7d32;
}

/* Система матриц для новых материалов */
.station-matrix {
  overflow-x: auto;
  margin-bottom: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.matrix-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 1px;
  background: #4caf50;
  font-weight: bold;
  border-radius: 8px 8px 0 0;
}

.matrix-header > div {
  background: #4caf50;
  padding: 12px 8px;
  text-align: center;
  color: white;
  font-size: 14px;
}

.matrix-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 1px;
  background: #e0e0e0;
}

.matrix-row > div {
  background: #ffffff;
  padding: 12px 8px;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}

.matrix-row:hover > div {
  background: #f8f9fa;
}

.station-name {
  background: #e8f5e8 !important;
  font-weight: bold;
  color: #2e7d32 !important;
  text-align: left !important;
  padding-left: 15px !important;
}

.station-name.special {
  background: #fff3e0 !important;
  color: #ef6c00 !important;
}

.price-cell {
  font-weight: bold;
  color: #2e7d32;
  font-size: 16px;
}

.price-cell.special {
  background: #fff8e1 !important;
  color: #ef6c00 !important;
}

.price-cell:hover {
  background: #c8e6c9 !important;
}

.price-summary-compact {
  background: #f5f5f5;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.price-summary-compact h4 {
  color: #2e7d32;
  margin-bottom: 15px;
}

.price-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 15px;
}

.price-range,
.note {
  background: #4caf50;
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.note {
  background: #ff9800;
}

.additional-services-section {
  background: linear-gradient(135deg, #fff8e1 0%, #ffffff 100%);
  padding: 30px;
  border-radius: 12px;
  margin: 40px 0;
  border-left: 5px solid #ff9800;
}

.additional-services-section h2 {
  color: #ef6c00;
  text-align: center;
  margin-bottom: 25px;
  font-size: 28px;
}

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

.service-category {
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #ff9800;
}

.service-category h3 {
  color: #ef6c00;
  margin-bottom: 15px;
  font-size: 18px;
}

.service-category ul {
  list-style: none;
  padding: 0;
}

.service-category li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.service-category li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4caf50;
  font-weight: bold;
}

.station-features {
  background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
  padding: 30px;
  border-radius: 12px;
  margin: 40px 0;
  border-left: 5px solid #2196f3;
}

.station-features h2 {
  color: #1976d2;
  text-align: center;
  margin-bottom: 25px;
  font-size: 28px;
}

.feature-highlight {
  background: #ffffff;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-left: 4px solid #2196f3;
}

.feature-highlight h3 {
  color: #1976d2;
  margin-bottom: 15px;
  font-size: 20px;
}

.station-connections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.connection {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  border-left: 3px solid #2196f3;
}

.connection strong {
  display: block;
  color: #1976d2;
  margin-bottom: 5px;
  font-weight: 600;
}

.connection span {
  color: #666;
  font-size: 14px;
}

.timing-critical {
  background: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-left: 4px solid #f44336;
}

.timing-critical h3 {
  color: #d32f2f;
  margin-bottom: 15px;
  font-size: 20px;
}

.timing-critical ul {
  list-style: none;
  padding: 0;
}

.timing-critical li {
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
  line-height: 1.5;
}

.timing-critical li::before {
  content: "⚡";
  position: absolute;
  left: 0;
  color: #f44336;
}

.popular-routes {
  background: linear-gradient(135deg, #fff3e0 0%, #ffffff 100%);
  padding: 30px;
  border-radius: 12px;
  margin: 40px 0;
  border-left: 5px solid #ff9800;
}

.popular-routes h2 {
  color: #ef6c00;
  text-align: center;
  margin-bottom: 25px;
  font-size: 28px;
}

.routes-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 25px;
}

.route-section {
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.domestic {
  background: #e8f5e8;
  border-left: 4px solid #4caf50;
}

.domestic h3 {
  color: #2e7d32;
}

.international {
  background: #e3f2fd;
  border-left: 4px solid #2196f3;
}

.international h3 {
  color: #1976d2;
}

.route-examples {
  margin-top: 15px;
}

.route-example {
  background: rgba(255,255,255,0.7);
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 12px;
  border-left: 3px solid #4caf50;
}

.international .route-example {
  border-left: 3px solid #2196f3;
}

.route-example strong {
  display: block;
  color: #2e7d32;
  margin-bottom: 4px;
  font-weight: 600;
}

.international .route-example strong {
  color: #1976d2;
}

.route-example span {
  color: #666;
  font-size: 14px;
}

.advantages-section {
  background: linear-gradient(135deg, #fce4ec 0%, #ffffff 100%);
  padding: 30px;
  border-radius: 12px;
  margin: 40px 0;
  border-left: 5px solid #e91e63;
}

.advantages-section h2 {
  color: #c2185b;
  text-align: center;
  margin-bottom: 25px;
  font-size: 28px;
}

.advantages-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 25px;
}

.vs-section {
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.problems {
  background: #ffebee;
  border-left: 4px solid #f44336;
}

.problems h3 {
  color: #d32f2f;
  margin-bottom: 15px;
  font-size: 20px;
}

.solutions {
  background: #e8f5e8;
  border-left: 4px solid #4caf50;
}

.solutions h3 {
  color: #2e7d32;
  margin-bottom: 15px;
  font-size: 20px;
}

.vs-section ul {
  list-style: none;
  padding: 0;
}

.vs-section li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  line-height: 1.5;
}

.problems li::before {
  content: "❌";
  position: absolute;
  left: 0;
}

.solutions li::before {
  content: "✅";
  position: absolute;
  left: 0;
}

.conclusion-section {
  background: linear-gradient(135deg, #f3e5f5 0%, #ffffff 100%);
  padding: 30px;
  border-radius: 12px;
  margin-top: 40px;
  text-align: center;
  border-left: 5px solid #9c27b0;
}

.conclusion-section h2 {
  color: #7b1fa2;
  margin-bottom: 20px;
  font-size: 28px;
}

.conclusion-section > p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 25px;
}

.final-cta {
  background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
  color: white;
  padding: 30px;
  border-radius: 10px;
  margin-top: 25px;
}

.final-cta h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 24px;
}

.cta-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.cta-method {
  background: rgba(255,255,255,0.15);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
}

.cta-method h4 {
  color: white;
  margin-bottom: 10px;
  font-size: 18px;
}

.cta-method p {
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 768px) {
  .station-airport-content {
    padding: 15px;
  }

  .matrix-header,
  .matrix-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .matrix-header > div:not(:first-child),
  .matrix-row > div:not(:first-child) {
    display: none;
  }

  .station-name,
  .matrix-header > div:first-child {
    display: block !important;
    text-align: center !important;
    padding: 15px !important;
  }

  .advantages-comparison,
  .routes-comparison {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .services-grid,
  .station-connections,
  .cta-options {
    grid-template-columns: 1fr;
  }

  .tariff-class,
  .additional-services-section,
  .advantages-section,
  .conclusion-section,
  .station-features,
  .popular-routes {
    padding: 20px;
    margin: 25px 0;
  }

  .intro-section {
    padding: 20px;
    margin-bottom: 25px;
  }

  .class-title {
    font-size: 20px;
  }

  .additional-services-section h2,
  .advantages-section h2,
  .conclusion-section h2,
  .station-features h2,
  .popular-routes h2 {
    font-size: 24px;
  }

  .final-cta h3 {
    font-size: 20px;
  }

  .price-highlights {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .intro-section,
  .tariff-class,
  .additional-services-section,
  .advantages-section,
  .conclusion-section,
  .station-features,
  .popular-routes {
    padding: 15px;
  }

  .class-title {
    font-size: 18px;
  }

  .price-cell {
    font-size: 14px;
  }

  .service-category,
  .feature-highlight,
  .timing-critical,
  .route-section,
  .vs-section {
    padding: 15px;
  }
}