
/* adress.css - CSS file for the web page */

.adres-container {
  display: flex;
  /* gap: 1px; */       /* Flex kutular arasındaki boşluk */
  align-items: stretch; /* Yükseklikleri eşitler */
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  /* padding: 20px;
  margin-top: 20px;*/ 

}

.adres-container > div{
  border-radius: 1px;
  background-color: none;
}

.adres-sol-kutu { 
  display: flex;
  align-items: stretch; /* Yükseklikleri eşitler */
}

.adres-sol-kutu img {
  width: 100px;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}			

.adres-sag-kutu { 
  flex: 1;
  flex-grow:1;
  flex-basis:100%;
  align-self:stretch;
  width: 100%;
}

.adres-baslik {
  background: #f9b233;
  color: #222;
  
  font-family: 'Ubuntu Condensed', sans-serif, Arial, verdana;
  font-size: 1.1em;
  font-weight: bold ;
  letter-spacing: 1px ;
  text-transform: uppercase ;
  text-align: center ;

  width: 100% ;         /* Genişliği tam yapar */
  max-width: 90vw;      /* Mobilde taşmayı engeller */ 
  padding: 5px 0;

}


.adres-kart {
  /* background: #fff;
  border: 1px solid #eee;  */
  border-radius: 0 0 4px 4px;
  padding: 0px 10px;


}

.adres-bolum {
  margin-bottom: 18px;
}

.adres-bolum-baslik {
  background: #222;
  color: #fff;
  font-weight: bold;
  padding: 5px 10px;
  /* border-radius: 3px; */
  margin-bottom: 8px;
  font-size: 1em;
}

.adres-bilgi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 18px;
}

.adres-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2em;
}

.adres-full {
  grid-column: 1 / -1;
}

.adres-bilgi-grid i {
  color: #f9b233;
  font-size: 1.2em;
}



/* Responsive adjustments */
@media (max-width: 520px) {

  .adres-baslik {
    width: 98vw;
    min-width: 0;
    max-width: 100%;
    font-size: 1.1em;
    padding: 14px 0;
  }
  .adres-container {
    flex-direction: column;
    gap: 12px;
    padding: 0;
  }
  .adres-sol-kutu,
  .adres-sag-kutu {
    width: 100%;
    max-width: 100%;
  }
  .adres-sol-kutu img {
    width: 100%;
    height: 120px;
    max-width: 300px;
    margin: 0 auto 10px auto;
    display: block;
    object-fit: cover;
  }
  .adres-kart {
    padding: 0 4px;
  }

  .adres-bilgi-grid {
    grid-template-columns: 1fr !important;
    gap: 8px 0 !important;
  }
}

@media (max-width: 700px) {
  .adres-bilgi-grid {
    grid-template-columns: 1fr !important;
    gap: 8px 0 !important;
  }
}

@media (max-width: 520px) {
  .adres-baslik,
  .adres-sol-kutu {
    display: none !important;
  }
}