/* ===== СТИЛИ ДЛЯ РАЗДЕЛА "МАРШРУТЫ" ===== */
/* Добавить в templates/taxi755/css/template.css */

/* Стили для категории Маршруты */
.category-routes-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.routes-hero {
  text-align: center;
  padding: 60px 20px 40px;
  background: linear-gradient(135deg, #fff 0%, #fffbf0 100%);
  border-radius: 20px;
  margin-bottom: 50px;
}

.routes-hero h1 {
  color: #333;
  font-size: 2.8rem;
  margin-bottom: 25px;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.routes-main-content {
  margin-bottom: 60px;
}

.content-section {
  background: white;
  padding: 40px;
  margin-bottom: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.content-section.highlight {
  border: 2px solid #ffd700;
  background: linear-gradient(135deg, #fffbf0 0%, #fff 100%);
}

.content-section h2 {
  color: #333;
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.content-section p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 18px;
}

.purpose-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.purpose-list li {
  color: #555;
  padding: 12px 0 12px 30px;
  position: relative;
  border-bottom: 1px solid #f0f0f0;
}

.purpose-list li:before {
  content: "→";
  color: #ffd700;
  font-weight: bold;
  font-size: 1.2rem;
  position: absolute;
  left: 0;
  top: 12px;
}

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

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

.benefit-icon {
  font-size: 1.5rem;
  width: 40px;
  text-align: center;
  margin-top: 5px;
}

.benefit-text strong {
  color: #333;
  display: block;
  margin-bottom: 5px;
}

.benefit-text p {
  color: #666;
  margin: 0;
  font-size: 0.95rem;
}

.airport-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.stat-card {
  text-align: center;
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  min-width: 140px;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 8px;
}

.stat-label {
  color: #666;
  font-size: 0.9rem;
}

.client-types {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.client-tag {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  color: #555;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
}

/* Call-to-Action секция */
.routes-cta {
  background: linear-gradient(135deg, #333 0%, #555 100%);
  color: white;
  padding: 50px 40px;
  border-radius: 20px;
  text-align: center;
}

.routes-cta h2 {
  color: white;
  margin-bottom: 15px;
  font-size: 2rem;
}

.routes-cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-cta {
  padding: 15px 25px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-cta.primary {
  background: #ffd700;
  color: #333;
}

.btn-cta.primary:hover {
  background: #ffa500;
  color: white;
}

.btn-cta.secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-cta.secondary:hover {
  background: white;
  color: #333;
}

.contact-text {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.contact-options {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-phone {
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  color: #333;
  text-decoration: none;
  padding: 15px 25px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.btn-phone:hover {
  background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
  color: white;
  text-decoration: none;
}

.contact-separator {
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
  font-size: 1rem;
}

.btn-contact {
  color: white;
  text-decoration: none;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-contact:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  text-decoration: none;
}

/* Мобильная адаптивность */
@media (max-width: 768px) {
  .routes-hero h1 {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .content-section {
    padding: 30px 20px;
  }

  .airport-stats {
    gap: 20px;
  }

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

  .btn-cta {
    width: 100%;
    max-width: 300px;
  }

  .station-benefits {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .contact-options {
    flex-direction: column;
    gap: 15px;
  }

  .btn-phone,
  .btn-contact {
    width: 100%;
    max-width: 250px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .routes-hero {
    padding: 40px 15px 30px;
  }

  .routes-hero h1 {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .content-section {
    padding: 25px 15px;
  }

  .routes-cta {
    padding: 40px 20px;
  }

  .airport-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .stat-card {
    padding: 20px 15px;
  }
}

/* === СТИЛИ ДЛЯ СТАТЕЙ МАРШРУТОВ === */

/* Общие стили для статей */
.routes-article {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.routes-article h1 {
  color: #333;
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.routes-article .lead {
  font-size: 1.3rem;
  color: #666;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Карточки аэропортов */
.airports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

.airport-card {
  background: white;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.airport-card:hover {
  border-color: #ffd700;
  transform: translateY(-3px);
}

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

.airport-header h3 {
  color: #333;
  margin: 0;
  font-size: 1.3rem;
}

.distance {
  background: #f8f9fa;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #666;
}

.airport-info p {
  color: #666;
  line-height: 1.5;
  margin-bottom: 15px;
}

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

.price-label {
  color: #666;
  font-size: 0.9rem;
}

.price-from {
  color: #ffd700;
  font-size: 1.3rem;
  font-weight: 700;
}

.airport-features {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.feature {
  background: #f8f9fa;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 0.85rem;
  color: #555;
}

.btn-order-airport {
  width: 100%;
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  color: #333;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-order-airport:hover {
  background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
  color: white;
}

/* Карточки вокзалов */
.stations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.station-card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-left: 4px solid #ffd700;
}

.station-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.station-card h3 {
  color: #333;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.station-address {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.station-directions {
  color: #555;
  margin-bottom: 15px;
  font-style: italic;
}

.price-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-from {
  color: #ffd700;
  font-size: 1.2rem;
  font-weight: 600;
}

.time-info {
  color: #666;
  font-size: 0.9rem;
}

/* Городские зоны */
.city-zones {
  margin: 50px 0;
}

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

.zone-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.zone-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ffd700 0%, #ffa500 100%);
}

.zone-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.zone-card h3 {
  color: #333;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.zone-description {
  color: #666;
  margin-bottom: 15px;
  line-height: 1.5;
}

.zone-price {
  color: #ffd700;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.zone-landmarks {
  list-style: none;
  padding: 0;
  margin: 0;
}

.zone-landmarks li {
  color: #555;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.9rem;
}

.zone-landmarks li:last-child {
  border-bottom: none;
}

/* Междугородние поездки */
.destinations-table {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  margin: 30px 0;
}

.destination-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  padding: 20px;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
}

.destination-row.header {
  background: #f8f9fa;
  font-weight: 600;
  color: #333;
}

.destination-row:not(.header):hover {
  background: #fffbf0;
}

.destination-row:last-child {
  border-bottom: none;
}

.dest-name {
  color: #333;
  font-weight: 500;
}

.dest-distance,
.dest-time {
  color: #666;
  text-align: center;
}

.dest-price {
  color: #ffd700;
  font-weight: 600;
  text-align: right;
}

/* Почасовая аренда */
.hourly-rent {
  background: #f8f9fa;
  padding: 40px;
  border-radius: 16px;
  margin: 40px 0;
}

.hourly-options {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hourly-option {
  background: white;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  min-width: 180px;
}

.hourly-option h4 {
  color: #333;
  margin-bottom: 15px;
}

.hourly-price {
  color: #ffd700;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

/* Мобильная адаптивность */
@media (max-width: 768px) {
  .routes-hero h1 {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .content-section {
    padding: 30px 20px;
  }

  .airports-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  .btn-cta {
    width: 100%;
    max-width: 300px;
  }

  .station-benefits {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .contact-options {
    flex-direction: column;
    gap: 15px;
  }

  .destinations-table {
    font-size: 0.9rem;
  }

  .destination-row {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: left;
  }

  .destination-row.header {
    display: none; /* Скрываем заголовок таблицы на мобильных */
  }

  .hourly-options {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .routes-hero {
    padding: 40px 15px 30px;
  }

  .routes-hero h1 {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .content-section {
    padding: 25px 15px;
  }

  .routes-cta {
    padding: 40px 20px;
  }

  .airport-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .stat-card {
    padding: 20px 15px;
  }
}
