
/* === WHATSAPP SABİT BUTON === */
.wp-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 9999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wp-btn img {
  width: 35px;
  height: 35px;
}

.wp-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}


/* === GENEL RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.slider-container {
  position: relative;
  width: 100%;        /* Ekran genişliği kadar */
  height: auto;       /* Yükseklik otomatik, orijinal resim oranı korunur */
  overflow: hidden;
}

.slider-container .slider-img {
  width: 100%;        /* Genişlik %100 */
  height: auto;       /* Yükseklik resim oranına göre */
  display: block;
  object-fit: cover;  /* Görsel alanı doldurur, kırpma olabilir */
}

.slider-container .overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
  z-index: 2;
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
  .slider-container .overlay-text {
    font-size: 2rem;
    padding: 0 1rem;
    white-space: normal;
  }
}
 /* GENEL SECTION */
.functions {
  padding: 100px 20px;
  display: flex;
  flex-direction: column;
  align-items: center; /* Ortada hizalama */
  gap: 50px;
  max-width: 1400px;
  margin: 0 auto;
}

.title-primary {
  font-size: 52px;
  font-weight: 700;
  color: #013220;
  text-align: center;
}

/* GRID AYARLARI */
.function-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  width: 100%;
}

/* KUTU TASARIMI */
.function-item {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 80px 40px;
  box-shadow: 0 7px 29px rgba(100,100,111,0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 320px;
}

/* YAZI GRUBU */
.text-group {
  position: relative;
  z-index: 2;
}

.item-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
}

.item-desc {
  font-size: 20px;
  color: rgba(0,0,0,0.7);
  max-width: 100%;
}

/* İKON / ARKA PLAN RESMİ */
.item-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  object-fit: contain;
  opacity: 0.2; /* Hafif şeffaf */
  z-index: 1;
  pointer-events: none;
}

/* RESPONSIVE MOBİL */
@media (max-width: 768px) {
  .function-grid {
    grid-template-columns: 1fr; /* Alt alta */
  }
  .function-item {
    padding: 60px 20px;
    min-height: 250px;
  }
  .item-icon {
    width: 150px;
    height: 150px;
  }
}

/* Genel alan */
.vitrin-ozellikler {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 80px 40px;
    background: #f6f8fb;
    flex-wrap: wrap;
}

/* Her bir özellik item */
.ozellik-item {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 300px;
}

/* İkon alanı */
.ozellik-icon {
    width: 90px;
    height: 90px;
    background: #ffffff;
    border-radius: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
}

.ozellik-icon img {
    width: 84px;
}

/* Yazı alanı */
.ozellik-yazi h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #111;
}

.ozellik-yazi p {
    font-size: 1rem;
    color: #4f5866;
    line-height: 1.6;
    margin: 0;
}

/* === MOBİL (ALT ALTA) === */
@media (max-width: 768px) {
    .vitrin-ozellikler {
        flex-direction: column;
        padding: 40px 20px;
    }

    .ozellik-item {
        flex-direction: column;
        text-align: center;
    }

    .ozellik-icon {
        margin-bottom: 10px;
    }
}


/* === BAYİ - RESPONSIVE === */
@media (max-width: 768px) {
  .bayi-container {
    flex-direction: column;
    min-height: auto;
  }

  .bayi-image {
    width: 100%;
    max-height: 280px;
  }

  .bayi-content {
    padding: 1.5rem;
  }

  .bayi-content h2 {
    font-size: 1.6rem;
  }

  .bayi-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .btn-group {
    flex-direction: column;
    gap: 1rem;
  }

  .btn.website {
    min-width: auto;
  }
}

/* === SLIDER GENEL === */
.slider-container {
  margin-top: 90px;
  width: 100%;
  height: 100vh;
  background: url('../images/arkaPlan.png') no-repeat center center; /* PC resmi */
  background-size: cover;
}

/* === TABLET (max 1024px) === */
@media (max-width: 1024px) {
  .slider-container {
    background-image: url('../images/arkaPlan.png'); /* Tablet resmi */
    height: 80vh;
  }
}

/* === MOBİL (max 768px) === */
@media (max-width: 768px) {
  .slider-container {
    margin-top: 40px; /* Navbar boşluğu */
    background-image: url('../images/arkaPlanMobil.png');
    background-size: cover;
    background-position: top center; /* ÜST KISIM TAM GÖRÜNSÜN */
    height: 90vh;
  }
}


/* === KÜÇÜK TELEFON (max 480px) === */
@media (max-width: 480px) {
  .slider-container {
    height: 50vh;
  }
}

/* === ÜRÜN KATALOĞU === */
.urun-katalogu {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 3rem 1rem;
}

.urun-row {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Ürün Kutusu (Web sabit kalır) */
.urun-kutu {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  width: 250px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.urun-kutu:hover {
  transform: translateY(-5px);
}

/* Slider */
.urun-slider {
  position: relative;
  width: 100%;
  padding-top: 75%;
  overflow: hidden;
}

.urun-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.urun-slider img.active {
  opacity: 1;
}

/* Butonlar */
.urun-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  background: #f5f5f5;
}

.urun-buttons button {
  border: none;
  background: #013220;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.urun-buttons button:hover {
  background: #02603c;
}


/* === MOBİL İÇİN EN DOĞRU AYARLAR === */

/* 0 — 500px arası TÜM telefonlar */
@media (max-width: 500px) {

  /* Kutu küçülmesin → tam genişlik */
  .urun-kutu {
    width: 100%;
    max-width: 100%;
    margin: 0; /* kenarlara en yakın */
    border-radius: 10px; 
  }

  /* resim orantılı büyüsün */
  .urun-slider {
    padding-top: 100%; /* tam kare — asla taşmaz, en dolu görünüm */
  }
}

/* Tablet boyutları 500–768px */
@media (max-width: 768px) {
  .urun-kutu {
    width: 95%;
    max-width: 400px;
    margin: 0 auto;
  }

  .urun-slider {
    padding-top: 85%;
  }
}


/* === ÜRÜNLER BAŞLIĞI === */
.urunler-baslik {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  color: #013220;
  letter-spacing: 1px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
}

/* Başlığın altındaki ince çizgi */
.urunler-baslik::after {
  content: "";
  width: 120px;
  height: 4px;
  background: #013220;
  border-radius: 4px;
  margin: 0 auto;
  display: block;
  margin-top: 0.5rem;
}

/* Mobil başlık uyum */
@media (max-width: 768px) {
  .urunler-baslik {
    font-size: 2rem;
  }

  .urunler-baslik::after {
    width: 80px;
  }
}

/* === BİZE ULAŞ + DEĞERLNEDİR === */
.contact-evaluate {
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

.contact-evaluate-container {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  width: 100%;
  position: relative;
}

/* Sol ve Sağ Kutu */
.contact-us, .evaluate-us {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.contact-us h4, .evaluate-us h4 {
  font-size: 30px;
  font-weight: 700;
  color: #013220;
}

/* Butonlar */
.whatsapp-btn, .google-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: 0.3s;
}

.whatsapp-btn {
  background: #25D366;
  color: white;
}

.whatsapp-btn:hover {
  background: #1ebe5c;
}

.google-btn {
  background: #4285F4;
  color: white;
}

.google-btn:hover {
  background: #2f6ad9;
}

/* Ortadaki Çizgi */
.divider {
  width: 2px;
  background: #ccc;
  height: 120px;
}

@media (max-width: 768px) {
  .contact-evaluate-container {
    flex-direction: column;
  }
  .divider {
    width: 80%;
    height: 2px;
    margin: 20px 0;
  }
}
