/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Genel Ayarlar */
body {
  font-family: 'Poppins', Arial, sans-serif;
  background-color: #fafafa;
  color: #222;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px;
  min-height: 100vh;
}

/* TOPBAR (görsel üstü kutu) */
.topbar {
  width: 100%;
  max-width: 420px;
  position: relative;
  margin-bottom: 25px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

/* Üst Görsel */
#gorsel {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(80%);
  object-fit: cover;
}

/* Üst yazı - Orhangazi 7/24 Taksi Hizmeti */
#p1 {
  font-size: 1.15em;
  color: #fff;
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-weight: 600;
  text-shadow: 0 2px 5px rgba(0,0,0,0.7);
  background: rgba(0,0,0,0.45);
  padding: 8px 14px;
  border-radius: 8px;
  text-align: center;
  width: 90%;
  max-width: 350px;
  white-space: nowrap; /* Tek satırda tutar */
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Ana kutu (Orhangazi Taksi başlığı ve alt açıklama) */
#deneme {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  width: 90%;
  max-width: 320px;
}

/* Ana başlık - Siyah Şerit + Sarı çizgi */
#ana {
  font-size: 1.7em;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #000, #1a1a1a);
  border-left: 6px solid #ffd60a;
  border-radius: 10px 10px 0 0;
  padding: 12px 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.4);
}

#ana .sari {
  color: #ffd60a;
}

/* Alt açıklama (buton tarzı) */
#p2 {
  font-size: 1.05em;
  color: #fff;
  background: linear-gradient(90deg, #222, #000);
  padding: 10px;
  border-radius: 0 0 10px 10px;
  text-align: center;
  display: block;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}
#p2:hover {
  background: linear-gradient(90deg, #000, #222);
  transform: scale(1.02);
}

/* LİSTBAR */
.listbar {
  width: 100%;
  max-width: 420px;
  background-color: #fff;
  padding: 20px 18px;
  border-radius: 14px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  margin-top: 10px;
  border: 2px solid #f2f2f2;
}

/* Liste başlığı */
#ana2 {
  text-align: center;
  font-size: 1.5em;
  color: #000;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
}

/* Açıklama */
.listbar p {
  text-align: center;
  color: #555;
  margin-bottom: 25px;
  line-height: 1.4;
  font-size: 0.95em;
}

/* İkonlar ve yazılar */
#konum, #ara {
  font-size: 1.8em;
  color: #ffd60a;
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

#ad, #num {
  text-align: center;
  font-size: 1.2em;
  margin-top: 8px;
  color: #111;
  font-weight: 600;
}

#a, #b {
  text-align: center;
  font-size: 1em;
  color: #333;
  margin-top: 4px;
  display: block;
}

#b {
  font-weight: bold;
  color: #000;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Kart içi ikon efekti */
.listbar ion-icon {
  background: #000;
  color: #ffd60a;
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}

.listbar ion-icon:hover {
  transform: scale(1.1);
}

/* Mobil uyum */
@media (max-width: 600px) {
  body {
    padding: 10px;
  }

  #p1 {
    font-size: 1em;
    max-width: 300px;
  }

  #ana {
    font-size: 1.5em;
    padding: 10px;
  }

  #p2 {
    font-size: 0.95em;
    padding: 9px;
  }

  #ana2 {
    font-size: 1.3em;
  }

  .listbar {
    padding: 15px 12px;
  }

  #konum, #ara {
    font-size: 1.6em;
  }
}

