/* Font */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

/* Genel Ayarlar */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
  font-family: 'Segoe UI', sans-serif;
  background-color: #fffefc;
  color: #000;
  scroll-behavior: smooth;
}

/* HEADER */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 1rem 2rem;
  position: relative;
  background-color: white;
  border-bottom: 1px solid #e0e0e0;
  z-index: 100;
}

.header-slogan h1 {
  font-family: 'Great Vibes', cursive;
  font-size: 3.6rem;
  font-weight: 400;
  margin: 0;
  color: #b14110;
}

.ust-satir {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1.5rem;
  background-color: #fff;
}

.mini-menu-label {
  font-family: 'Great Vibes', cursive;
  font-size: 1.6rem;
  color: #b14110;
}

.header-logo {
  text-align: center;
  margin-top: 10px;
}

.logo {
  height: 95px;
  max-height: 100px;
  width: auto;
}

.social-icons {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  gap: 15px;
}

.social-icons a {
  color: black;
  font-size: 1.3rem;
  transition: transform 0.2s ease;
}
.social-icons a:hover {
  transform: scale(1.2);
}

/* HERO */
.hero {
  height: 33vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100vw;
}

.hero-content p {
  font-size: 2.4rem;
  font-family: "Franklin Gothic Medium", serif;
  color: white;
  margin: 0;
  padding: 0 1rem;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

/* KATEGORİLER */
.hero-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  padding: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  position: relative;
  background: #fffefc;
  border: 12px solid transparent;
  border-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,20 Q10,0 20,20 T40,20' stroke='%238b5e3c' stroke-width='2' fill='none'/%3E%3C/svg%3E") 30 stretch;
  border-radius: 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.07);
  transition: transform 0.2s ease-in-out;
  overflow: hidden;
}

.card:hover {
  transform: scale(1.03);
}

.card-button {
  font-size: 2.4rem;
  color: #333;
  background-color: transparent;
  border: none;
  font-family: "Ink Free";
  font-style: italic;
  cursor: pointer;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  text-align: center;
  transition: 0.3s;
}

.card-button:hover {
  color: #b14110;
  transform: scale(1.05);
}

/* BAMBU ÇERÇEVE */
.bambu-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
          45deg,
          rgba(100, 70, 50, 0.06) 0px,
          rgba(100, 70, 50, 0.06) 1px,
          transparent 1px,
          transparent 4px
  );
  background-size: 10px 10px;
  border-radius: 20px;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

/* ALT KATEGORİ BUTONLARI */
.alt-kategoriler {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 10px auto 30px auto;
}

.alt-kat-buton {
  background-color: #f5ede3;
  padding: 10px 18px;
  border-radius: 20px;
  color: #8d3d00;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #e0d6cb;
  transition: 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
}

.alt-kat-buton:hover {
  background-color: #e8d8c4;
  transform: scale(1.05);
}

/* ÜRÜNLER */
.urun-kart {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px dashed #bfa88c;
  border-radius: 12px;
  padding: 20px;
  background-color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s ease-in-out;
  width: 100%;
  max-width: 650px;
  min-height: 420px;
  margin: 30px auto; /* Tek sıra ve ortalı */
}

.urun-kart:hover {
  transform: scale(1.02);
}

.urun-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
  background-color: #eee;
}

.urun-bilgi h3 {
  font-family: "Bell MT";
  font-size: 2.2rem;
  color: #8d3d00;
  letter-spacing: 0.5px;
  line-height: 1.4;
}

.urun-bilgi p {
  font-size: 1.1rem;
  font-family: 'Segoe UI', sans-serif;
  color: #555;
  line-height: 1.6;
}

.fiyat {
  font-weight: bold;
  font-size: 1.2rem;
  color: #333;
  margin-top: 10px;
}

.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-box {
  background: #fffefc;
  border-radius: 20px;
  width: 95%;
  max-width: 700px;
  margin: 40px auto;
  overflow: hidden;
  position: relative;
  animation: fadeIn 0.4s ease;
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #888;
  cursor: pointer;
  z-index: 10;
  transition: 0.2s;
}
.modal-close:hover {
  color: #b14110;
}

.modal-image {
  width: 100%;
  height: 350px;
  overflow: hidden;
}
.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #ddd;
}

.modal-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}

.modal-left {
  flex: 1;
}
.modal-left h2 {
  font-family: "Bell MT";
  font-size: 2.6rem;
  color: #8d3d00;
  margin-bottom: 8px;
}
.modal-fiyat {
  font-size: 1.4rem;
  font-weight: bold;
  color: #222;
}

.modal-right {
  flex: 1;
  background: rgba(0,0,0,0.03);
  padding: 15px 20px;
  border-radius: 12px;
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

.modal-icons {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  padding: 0 20px 20px;
  flex-wrap: wrap;
}
.modal-icons a {
  font-size: 1.3rem;
}

.modal-icons a:hover {
  color: #b14110;
}

@media (max-width: 768px) {
  .modal-content {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }
  .modal-icons {
    justify-content: center;
    padding: 10px 20px 20px;
  }
}



/* Animasyonlar */
@keyframes popupZoom {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes fadeInBG {
  from { background-color: rgba(0,0,0,0); }
  to { background-color: rgba(0,0,0,0.5); }
}

/* Mini Footer */
.mini-footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: whitesmoke;
  color: black;
  text-align: center;
  font-size: 0.95rem;
  padding: 8px 0;
  font-family: 'Segoe UI', sans-serif;
  z-index: 999;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

.urunler-liste {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 20px 40px;
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 1rem;
  }

  .header-logo {
    position: static;
    transform: none;
  }

  .logo {
    height: 80px;
  }

  .header-slogan h1 {
    font-size: 2.5rem;
  }

  .hero {
    height: auto;
    padding: 30px 0;
  }

  .hero-content p {
    font-size: 2.2rem;
  }

  .card-button {
    font-size: 2rem;
  }

  .urun-kart {
    width: 100%;
    max-width: 100%;
    margin: 20px auto;
  }
}

  .modal-icerik {
    padding: 20px;
  }

  /* === KATEGORİ VE ALT KATEGORİ BUTONLARI 2'li === */
  .hero-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
  }

  .card-button {
    font-size: 1.6rem;
    padding: 15px;
  }

  .alt-kategoriler {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 15px;
  }

  .alt-kat-buton {
    text-align: center;
    font-size: 1rem;
    padding: 10px;
    width: 100%;
  }


