/* =========================================================
   Otogar Detay Sayfası
   Tema renkleri: Birincil #D40303, Nötr #4D4D4D
   ========================================================= */

.otogar-detay-wrapper {
  margin-top: 10px;
}

/* -------- Hero / Üst tanıtım kutusu -------- */
.otogar-detay-hero {
  display: flex;
  gap: 24px;
  background: #fff;
  padding: 20px;
  box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
  border-radius: 6px;
  margin-bottom: 30px;
  align-items: stretch;
}

.otogar-detay-hero-img {
  flex: 0 0 260px;
  max-width: 260px;
  height: 220px;
  overflow: hidden;
  border-radius: 6px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.otogar-detay-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.otogar-detay-hero-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.otogar-detay-hero-info h2 {
  margin-bottom: 6px;
}

.otogar-detay-subtitle {
  color: #737373;
  font-size: 15px;
  margin-bottom: 16px;
}

.otogar-detay-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
}

.otogar-detay-meta li {
  font-size: 14px;
  color: #4D4D4D;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.otogar-detay-meta li i {
  color: #D40303;
  width: 18px;
  text-align: center;
}

.otogar-detay-meta li a {
  color: #4D4D4D;
  text-decoration: none;
}

.otogar-detay-meta li a:hover {
  color: #D40303;
}

.otogar-detay-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.otogar-detay-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* -------- İçerik bölümleri -------- */
.otogar-detay-section {
  background: #fff;
  padding: 22px 24px;
  box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 10px;
  border-radius: 6px;
  margin-bottom: 22px;
}

.otogar-detay-section h3 {
  margin-bottom: 14px;
  border-bottom: 1px solid #E4E6E8;
  padding-bottom: 10px;
}

.otogar-detay-section p {
  color: #4D4D4D;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 10px;
}

/* Hizmetler */
.otogar-detay-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.otogar-detay-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #FFF5F5;
  border: 1px solid #F7DADA;
  border-radius: 6px;
  font-size: 14px;
  color: #4D4D4D;
}

.otogar-detay-feature i {
  color: #D40303;
  font-size: 16px;
}

/* Nasıl gidilir listesi */
.otogar-detay-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.otogar-detay-list li {
  padding: 12px 0;
  border-bottom: 1px dashed #E4E6E8;
  font-size: 14px;
  color: #4D4D4D;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.otogar-detay-list li:last-child {
  border-bottom: 0;
}

.otogar-detay-list li i {
  color: #D40303;
  font-size: 18px;
  margin-top: 3px;
  width: 22px;
  text-align: center;
}

.otogar-detay-list li strong {
  color: #313131;
  margin-right: 4px;
}

/* Popüler güzergahlar */
.otogar-detay-routes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.otogar-detay-route {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: #F2F4F6;
  color: #313131;
  border-radius: 40px;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.otogar-detay-route:hover {
  background: #D40303;
  color: #fff;
}

/* -------- Sağ sidebar -------- */
.otogar-detay-sidebar {
  position: sticky;
  top: 90px;
}

.otogar-detay-map {
  background: #fff;
  padding: 8px;
  box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 10px;
  border-radius: 6px;
  margin-bottom: 20px;
  overflow: hidden;
  min-height: 300px;
}

.otogar-detay-map iframe {
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
  border-radius: 4px;
}

.otogar-detay-contact-card {
  background: #fff;
  padding: 20px;
  box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 10px;
  border-radius: 6px;
}

.otogar-detay-contact-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #313131;
}

.otogar-detay-contact-card p {
  font-size: 14px;
  color: #4D4D4D;
  margin-bottom: 8px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.otogar-detay-contact-card p i {
  color: #D40303;
  width: 18px;
  text-align: center;
  margin-top: 3px;
}

.otogar-detay-contact-card a {
  color: #4D4D4D;
  text-decoration: none;
}

.otogar-detay-contact-card a:hover {
  color: #D40303;
}

/* -------- Responsive -------- */
@media (max-width: 991px) {
  .otogar-detay-features {
    grid-template-columns: repeat(2, 1fr);
  }
  .otogar-detay-sidebar {
    position: static;
  }
}

@media (max-width: 767px) {
  .otogar-detay-hero {
    flex-direction: column;
    padding: 16px;
  }
  .otogar-detay-hero-img {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
    height: 200px;
  }
  .otogar-detay-section {
    padding: 18px;
  }
  .otogar-detay-features {
    grid-template-columns: repeat(2, 1fr);
  }
  .otogar-detay-actions .btn {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .otogar-detay-features {
    grid-template-columns: 1fr;
  }
}
