/* Genel Stiller */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f4f4;
    color: #333;
   
}

/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0e1723;
   padding-left: 0px;
   padding-right: 50 px;
   padding-top: 15px;
   padding-bottom: 15px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-sizing: border-box;
}

.nav-img {
    height: 80px; /* Logo yüksekliğini sınırlandır */
    width:  200px; /* Genişliği kontrol et */
   
}

.logo {
    font-size: 22px;
    font-weight: bold;
    color: white;
    
}

.nav-links {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 12px;
    transition: 0.3s;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
}

/* Navbar Mobil Uyumu */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        text-align: center;
          padding: 15px 20px; /* Küçük ekranlarda daha dar boşluk */
    }
    .slider{
        height: 100px;
    }
    .nav-links {
        margin-top: 10px;
    }
    .nav-links li {
        margin: 5px 0;
    }
   

}


/* Slider */
.slider {
    width: 100%;
    height: 800px; /* Sabit bir yükseklik */
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgb(255, 255, 255); /* Küçük resimler için arka plan */
    margin-top: 60px; /* Navbar sabit olduğu için boşluk bırakıyoruz */
}

.slides {
    width: 100%;
    height: 100%;
    position: absolute;
}

.slides img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmi bozmadan tam sığdır */
    display: none;
}

.slides img:first-child {
    display: block;
}

#urunler {
    text-align: center;
    padding: 50px 20px;
    background: white;
}

/* Marka Seçimi */
#brands {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 50px 0;
}
.brands {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.brands a {
    display: inline-block;
    padding: 10px 20px;
    background: #003366;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: 0.3s;
}

.brands a:hover {
    background: #0055aa;
}

.brand-box {
    border: 1px solid black;
    width: 250px;
    height: 80px;
    background-color: #f4f4f4;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
}

.brand-box:hover {
    transform: scale(1.05);
    background-color: #ddd;
}

.brand-box a {
    position: absolute; /* Butonu kutunun tamamına yayalım */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ürün Bölümleri */
.product-section {
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.product-section h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 30px;
}

.product-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.product123123 {
    background: #fff;
        padding: 20px;
        width: 250px;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        text-align: center;
}
.product{
border: 1px solid #ddd;
    padding: 15px;
    width: 250px;
    text-align: left;
    margin-bottom: 20px;
}
.product img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 15px;
}

.product p {
    margin: 0;
    color: #555;
}

.product h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Marka Bağlantılarına Tıklama */
a {
    text-decoration: none;
    color: inherit;
}



/* Bilgilendirme */
.info {
    background: #f4f4f4;
    padding: 40px 20px;
    text-align: center;
    font-size: 18px;
    color: #555;
}

/* İletişim */
#iletisim {
    text-align: center;
    padding: 40px 20px;
    background: white;
}

#iletisim h2 {
    font-size: 26px;
    margin-bottom: 10px;
}

#iletisim p {
    font-size: 18px;
    margin: 5px 0;
}

iframe {
    width: 90%;
    max-width: 600px;
    height: 300px;
    border: 0;
    margin-top: 20px;
}

/* Footer */
footer {
    background: #003366;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 14px;
}


.slider {
    width: 100%;  /* Genişlik ekran boyutuna göre ayarlanır */
    height: 650px;  /* Yükseklik büyük ekranlarda 500px, daha küçük ekranlar için ayarlama yapılacak */
    overflow: hidden;
    position: relative;
}

/* Slider Görselleri */
.slider img {
    width: 100%;  /* Resimler genişliği slider ile uyumlu olacak şekilde ayarlanır */
    height: 100%;  /* Yüksekliği slider'a göre ayarlanır */
    object-fit: cover; /* Resimlerin kaymasını engeller ve alana tam oturur */
}

/* Mobil uyumluluk için media query */
@media (max-width: 768px) {
    .slider {
        height: 300px;  /* Küçük ekranlar için slider yüksekliği azaltılabilir */
    }
}

/* Daha küçük ekranlar için (telefonlar gibi) */
@media (max-width: 80px) {
    .slider {
        height: 10px;  /* Telefonlar için slider yüksekliği daha da küçültülür */
    }
}


.product-details p {
    margin: 5px 0;
}

.modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex; align-items: center; justify-content: center;
  }

  .modal.hidden {
    display: none;
  }

  .modal-content {
    background: white;
    padding: 20px;
    border-radius: 12px;
    max-width: 80%;
    width: 90%;
  }

  .pro img {
    width: 450px;
    margin: 10px;
    cursor: pointer;
    height: 250px;
  }

  .close {
    float: right;
    font-size: 24px;
    cursor: pointer;
  }