/* --- GENEL DEĞİŞKENLER --- */
:root {
  --primary: #ffc107;       /* Bal Sarısı */
  --primary-dark: #e0a800;  /* Koyu Sarı (Hover) */
  --text: #333;             /* Koyu Gri Yazı */
  --bg-light: #f9f9f9;      /* Açık Gri Arkaplan */
  --white: #fff;
  --gray: #ddd;
}

/* --- HEADER / ÜST BAR --- */
.topbar {
  background: var(--white);
  border-bottom: 1px solid #eee;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.topbar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo img {
  height: 150px; /* Logo boyutu */
  display: block;
}

.searchWrap {
  flex: 1;
  max-width: 900px;
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid var(--text);
  border-radius: 50px;
  padding: 5px 15px;
}

.searchWrap input {
  border: none;
  outline: none;
  width: 100%;
  padding: 8px;
  font-size: 1rem;
}

.btnOrder {
  background: var(--primary);
  color: #000;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}
.btnOrder:hover { background: var(--primary-dark); }

/* Menü */
.nav {
  margin-top: 5px;
  border-top: 1px solid #eee;
  padding-top: 10px;
  display: flex;
  justify-content: center;
  gap: 80px;
}

.nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
  transition: color 0.3s;
}
.nav a:hover { color: var(--primary-dark); }

/* --- HERO SLIDER --- */
.hero { margin: 20px 0; }

.heroFrame {
  position: relative;
  width: 100%;
  height: 750px; /* Slider yüksekliği */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  cursor: pointer;
}

.slide.isActive { opacity: 1; z-index: 2; }

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Slider Okları */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.7);
  border: none;
  font-size: 2rem;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  transition: 0.3s;
}
.arrow:hover { background: #fff; color: var(--primary); }
.arrow.left { left: 20px; }
.arrow.right { right: 20px; }

/* Noktalar */
.dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}
.dot {
  width: 12px; height: 12px;
  background: rgba(255,255,255,0.5);
  border: none;
  border-radius: 50%;
  cursor: pointer;
}
.dot.isActive { background: var(--primary); transform: scale(1.2); }


/* --- KATEGORİ KARTLARI --- */
.cards { margin: 0px; }
.cardGrid {
  display: flex;
  grid-template-columns: repeat(4, 1fr);
  flex-wrap:wrap;
  justify-content: center;
  gap: 25px;
}

.card {
  justify-content: flex-start;
  text-decoration: none;
  color: var(--text);
  background: #fab90d;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s;
  text-align: center;
  padding-bottom: 70px;
  height: 500px;
  width: 328px; 
  display: flex;
  flex-direction: column;
  
  
}
.card:hover { transform: translateY(-5px); }

.cardMedia { height: 300px; overflow: hidden; }
.cardMedia img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.card:hover .cardMedia img { transform: scale(1.05); }

.card h3 { color: #000; font-size: 2rem; margin: 30px 0 5px; }
.card small { display: block; color: #000; font-size: 1.5rem; font-weight: bold; margin-bottom: 10px; }
.card p { font-size: 1.4rem; color: #000; padding: 0 10px; }

/* --- ÇOK SATANLAR (CAROUSEL) --- */
.best { margin: 60px 0; }
.sectionTitle { border-bottom: 2px solid #eee; margin-bottom: 20px; }
.sectionTitle h2 { color: var(--primary-dark); display: inline-block; border-bottom: 3px solid var(--primary); padding-bottom: 5px; }

.carouselWrap { position: relative; padding: 0 40px; }

.carousel {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 5px;
  /* Kaydırma çubuğunu gizle */
  scrollbar-width: none; 
}
.carousel::-webkit-scrollbar { display: none; }

.cArrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  border: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
  z-index: 5;
}
.cArrow.left { left: -10px; }
.cArrow.right { right: -10px; }

/* Ürün Kartı */
.pcard {
  min-width: 220px;
  background: #f0f0f0;
  border: 1px solid #eee;
  border-radius: 10px;
  text-align: center;
  padding: 15px;
  transition: 0.3s;
}
.pcard:hover { border-color: var(--primary); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

.pimg img { width: 100%; height: 160px; object-fit: contain; margin-bottom: 10px; }
.pname { font-weight: 600; margin-bottom: 5px; color: #333; }
.pprice { color: var(--primary-dark); font-size: 1.1rem; font-weight: bold; margin-bottom: 10px; }
.pbtn {
  display: inline-block;
  padding: 8px 20px;
  background: #333;
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.3s;
}
.pbtn:hover { background: var(--primary); color: #000; }


/* --- ÇOK SATANLAR OK TASARIMI --- */
.bs-arrow {
    background: #ffc107;
    color: #333;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    z-index: 10; /* Kartların üstünde dursun */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, background 0.3s ease;
}

.bs-arrow:hover {
    background: #e0a800;
    transform: scale(1.1); /* Üzerine gelince hafif büyüsün */
}

/* Okların Konumları */
.bs-arrow.left { left: -10px; } 
.bs-arrow.right { right: -10px; }

/* Mobilde okları gizlemek istersen (mobilde zaten parmakla kaydırılıyor) */
@media (max-width: 768px) {
    .bs-arrow { display: none; }
}


/* --- ÖZELLİKLER (ICONS) --- */
.features { margin-bottom: 60px; }
.featureGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.fIconImg { height: 50px; margin-bottom: 15px; }
.featureItem h4 { color: var(--primary-dark); margin-bottom: 5px; }
.featureItem p { font-size: 0.9rem; color: #666; }


/* =========================================
   ANA SAYFA FOOTER - SİYAH TASARIM
   ========================================= */
.footerContact {
    background-color: #000000; /* Siyah arka plan */
    padding: 50px 0 20px;
    margin-top: 60px;
}

    .footerContact .footerGrid {
        display: grid;
        grid-template-columns: 1fr 1fr 1.5fr;
        gap: 40px;
        margin-bottom: 30px;
    }

    .footerContact .fBrand {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .footerContact .fLogo {
        width: 60px;
    }

    /* Başlıklar ve Yazı Renkleri */
    .footerContact .fTitle {
        font-family: 'Dancing Script', cursive;
        font-size: 2rem;
        color: #ffc107; /* Sarı Logo Yazısı */
        margin: 0;
    }

    .footerContact .fHead {
        margin-bottom: 15px;
        font-size: 1.1rem;
        color: #ffffff; /* Beyaz Başlıklar */
    }

    /* Linkler ve İkonlar */
    .footerContact .fRow {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
        text-decoration: none;
        color: #ffffff; /* Beyaz Yazılar */
        transition: 0.2s;
    }

        .footerContact .fRow:hover {
            color: #ffc107;
        }
        /* Üzerine gelince sarı olsun */
        .footerContact .fRow img {
            width: 25px; /* İkon boyutları */
            height: auto;
        }

    /* En Alt Telif Hakkı Kısmı */
    .footerContact .fBottom {
        text-align: left;
        border-top: 1px solid #333; /* İnce koyu gri çizgi */
        padding-top: 20px;
        font-size: 0.9rem;
        color: #888;
    }

/* Mobilde Alt Alta Dizilmesi İçin */
@media (max-width: 768px) {
    .footerContact .footerGrid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footerContact .fBrand, .footerContact .fRow {
        justify-content: center;
    }

    .footerContact .fBottom {
        text-align: center;
    }
}

/* 4. Telefondan Girenler İçin (Mobil) Alt Alta Sıralama */
@media (max-width: 768px) {
    .footerContact .footerGrid {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }

    .footerContact .fRow {
        justify-content: center !important;
    }

    .footerContact .fBrand {
        justify-content: center !important;
    }
}
/* WhatsApp Butonu */
.waFloat {
  position: fixed;
  bottom: 20px; right: 20px;
  background: #25D366;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: transform 0.3s;
}
.waFloat:hover { transform: scale(1.1); }
.waFloat img { width: 35px; }

/* RESPONSIVE (Mobil Ayarlar) */
@media (max-width: 768px) {
  .topbar-row { flex-direction: column; }
  .nav { flex-wrap: wrap; gap: 15px; }
  .cardGrid, .featureGrid, .footerGrid { grid-template-columns: 1fr; text-align: center; }
  .heroFrame { height: 220px; } /* Mobilde slider küçülsün */
  .slide img {
      object-fit: contain !important;
      background-color: #f9f9f9
  }
  .footerGrid { gap: 30px; }
  .fBrand { justify-content: center; }
  .fRow { justify-content: center; }
}
