/* Genel stil ayarları */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
  }
  @media (min-width: 992px) {
    .custom-container {
      height: 200px;
    }
  }
  @media (max-width: 991.98px) {
    .custom-container {
      height: auto;
    }
  }
  /* Header Ayarları */
header {
  /* Header yüksekliğini sabit tutuyoruz */
  height: 70px;
  min-height: 70px;
}

.bg-light {
  background-color: #f8f9fa !important;
}

.slider {
  height: calc(100vh - 70px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Görselin tam ortalanması ve tüm cihazlarda uyumlu olması için */
.slider img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Resim container'ı tamamen kaplar, boşluk kalmaz */
  display: block;
}
.slider-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 5rem;
  font-weight: bold;
  text-align: center;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  padding: 0 20px;
  white-space: nowrap;
}


/* Responsive Ayarlar */
@media (max-width: 768px) {
  header {
    height: 60px;
    min-height: 60px;
  }
  .slider {
    height: calc(100vh - 60px);
  }
  header h1 {
    font-size: 1.2rem;
  }
  .slider-text {
    font-size: 4rem;
    padding: 0 10px;
    white-space: normal;
  }
}
  /* Slider Ayarları */
/* .slider {
  position: relative;
  overflow: hidden;
  height: calc(100vh - 70px);
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  box-sizing: border-box;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain; 
  display: block;
  margin: auto; 
}

@media (max-width: 768px) {
  header {
    height: 60px;
    min-height: 60px;
  }
  .slider {
    height: calc(100vh - 60px);
  }
  header h1 {
    font-size: 1.2rem;
  }
  .slide img {
    object-fit: cover;
  }
} */

.kargo {
  width: 100%;
  height: 500px; /* Sabit yükseklik */
  overflow: hidden; /* Taşmaları gizler */
}

.kargo img {
  width: 100%;
  height: auto; /* Bu sayede oran korunur */
  display: block;
}
@media (max-width: 768px) {
  .kargo {
    height: auto; /* Mobilde daha kısa yükseklik */
    width: 100%;
  }
  .kargo img {
    height: auto; /* Mobilde oran korunur */
  }
}
  /* Ürünler bölümü */
  .products {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
  }
  .products h2 {
    text-align: center;
    margin-bottom: 20px;
  }
  .product-grid {
    display: grid;
    gap: 20px;
    /* 800px'lik alan içinde otomatik sütun ayarı */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .card-img-top {
    width: 100%; 
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }
  
  /* Desktop: maksimum 3 ürün yan yana */
  @media(min-width: 992px) {
    .product-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  .product {
    cursor: pointer;
  }
  .product-box {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
  }
  .product-image {
    width: 100%;
    height: 250px; /* Kare görünüm için sabit yükseklik */
    overflow: hidden;
  }
  .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .product-info {
    border-top: 1px solid #ddd;
    padding-top: 10px;
    margin-top: 10px;
  }
  .product-info h3 {
    margin: 5px 0;
    font-size: 1.2em;
  }
  .product-info .price {
    font-weight: bold;
    color: #333;
  }
  
  /* Modal stil */
  .modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0,0,0,0.5);
  }
  .modal-content {
    background: #fff;
    margin: 10% auto;
    padding: 20px;
    width: 80%;
    max-width: 600px;
    position: relative;
  }
  .close {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 1.5em;
    cursor: pointer;
  }
  
  .whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 200;
  }
  
  .whatsapp-btn {
    background-color: #25D366;
    color: #fff;
    padding: 10px 15px;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    transition: background-color 0.3s;
  }
  
  .whatsapp-btn:hover {
    background-color: #1ebd5b;
  }
  
  .whatsapp-btn i {
    font-size: 24px;
  }
  
  .whatsapp-text {
    margin-left: 10px;
    font-size: 16px;
  }
  
  /* Mobil görünümde metni gizle */
  @media (max-width: 576px) {
    .whatsapp-text {
      display: none;
    }
  }
  
  /* Footer iletişim bilgileri */
/*   footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
  }
  footer a {
    color: #ffeb3b;
    text-decoration: none;
    margin: 0 5px;
  } */
  
  /* Responsive ayarlar */
  @media(max-width: 768px) {
    header h1 {
      font-size: 2em;
    }
    .modal-content {
      width: 90%;
    }
  }


  .about-section {
    background-color: #ffffff !important  ;
    color: #333;
  }
  
  .about-section p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.7rem;
    line-height: 1.7;
  }
  @media screen and (max-width: 768px) {
    .about-section p {
      font-size: 1.2rem;
      line-height: 1.5;
    }
    
  }
  
  .footer {
    font-size: 0.95rem;
    background: #222;
  }
  .mb-0 {
    margin-bottom: 0 !important;
  }
  .footer a {
    color: #ffeb3b;
    text-decoration: none !important;
  }
  .custom-link {
    color: #6a4e35; /* Doğal kahverengi tonu */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
  }
  
  .custom-link i {
    margin-right: 8px; /* İkon ile metin arasına boşluk bırak */
  }
  
  .custom-link:hover {
    color: #a3672b; /* Hover rengini biraz daha açık yap */
    text-decoration: underline;
  }
  
  
  