:root {
  --primary-green: #2ecc71;
  --dark-green: #006400;
  --gold: #c5a059;
  --beige: #f3eacb;
  --beige-rgb: 243 234 203;
  --brown: #8b7d6b;
  --font-main: "Poppins", sans-serif;
  --font-title: "Playfair Display", serif;
  --font-script: "Great Vibes", cursive;
}

body {
  font-family: var(--font-main);
  background-color: #fcfbf8;
  overflow-x: hidden;
}

/* HEADER DÜZENİ (GÜNCELLENDİ: SAĞ MENÜ) */
.top-bar {
  height: 80px; /* Biraz yükselttik */
  display: flex;
  align-items: center;
  border-bottom: 3px solid var(--gold);
  padding: 0 20px;
}

.logo-container {
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-nav {
  margin-left: auto; /* BU KOD MENÜYÜ EN SAĞA İTER */
}

.top-nav a {
  color: white;
  text-decoration: none;
  margin-left: 25px;
  font-size: 0.95rem;
  text-transform: uppercase;
  transition: 0.3s;
  font-weight: 500;
  letter-spacing: 1px;
}
.top-nav a:hover {
  color: var(--gold);
}

.qr-btn {
  color: #ffc107 !important;
  border: 1px solid #ffc107;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: bold;
}

.mobile-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* Desenler & Diğer CSS'ler */
.pattern-green {
  background-color: var(--dark-green);
  background-image: radial-gradient(#2ecc71 1px, transparent 1px);
  background-size: 20px 20px;
}
/* --- LEZZETLERİMİZ BAŞLIK ALANI (PATTERN TITLE) --- */
.pattern-title-section {
  /* 1. Arka Plan: Koyu Altın/Kahve Rengi + Desen */
  background-color: var(--beige);
  background-image:
    linear-gradient(to bottom, rgb(var(--beige-rgb) / 0.7)),
    url("../../tema.webp");

  background-size: auto 100%; /* Resmi alana yay */
  background-position: center; /* Ortala */
  background-repeat: round;
  background-position:
    0 0,
    20px 20px;

  /* 2. Boyut ve Boşluklar */
  width: 100%;
  padding: 20px 0; /* Üstten alttan boşluk */
  text-align: center;
  margin-bottom: 40px; /* Kartlarla arasında boşluk olsun */

  /* 3. Sınırlar ve Gölge */
  border-top: 3px solid #d4c495;
}

.pattern-title-text {
  font-family: "Great Vibes", cursive; /* El yazısı fontu */
  font-size: 3.5rem;
  color: #8b7d6b; /* Hafif kahve rengi */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Yazı gölgesi */
  margin: 0;
  line-height: 1.2;
}

/* --- PREMIUM FOOTER DÜZENLEMESİ --- */
.footer-custom {
  background-color: #2b2118; /* Koyu Kahve (Premium hissi için) */
  /* Hafif desen ekleyelim */
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.03) 0,
    rgba(255, 255, 255, 0.03) 1px,
    transparent 0,
    transparent 50%
  );
  background-size: 20px 20px;
  color: #e0e0e0;
  padding-top: 60px;
  border-top: 5px solid var(--gold);
  font-size: 0.9rem;
}

.footer-logo-box {
  width: 100px;
  height: 100px;
  background: white;
  border-radius: 50%;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--gold);
  margin-bottom: 20px;
}

.footer-heading {
  color: var(--gold);
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

/* Başlık altı çizgi efekti */
.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--gold);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #bbb;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

/* Link üzerine gelince sağa kayma ve altın rengi olma efekti */
.footer-links a:hover {
  color: var(--gold);
  transform: translateX(5px);
}

.footer-links a i {
  font-size: 0.7rem;
  margin-right: 8px;
  color: var(--gold);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  color: #ccc;
}
.footer-contact-item i {
  color: var(--gold);
  margin-right: 15px;
  font-size: 1.1rem;
  margin-top: 3px;
}

.copyright-area {
  background-color: #1f1811; /* Daha koyu alt şerit */
  padding: 20px 0;
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: #888;
}
/* Mobil Uyum */
@media (max-width: 768px) {
  .pattern-title-text {
    font-size: 2.5rem;
  }
}
.pattern-beige {
  background-color: var(--beige);
  background-size: 20px 20px;
}
.pattern-footer {
  background-color: #7d6e5a;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.05) 0,
    rgba(255, 255, 255, 0.05) 1px,
    transparent 0,
    transparent 50%
  );
  background-size: 30px 30px;
}

/* MOBİL RESPONSIVE */
@media (max-width: 768px) {
  .top-bar {
    height: 70px;
    justify-content: space-between;
  }
  .top-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--dark-green);
    flex-direction: column;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 100;
  }
  .top-nav.active {
    display: flex;
    animation: slideDown 0.3s ease-out forwards;
  }
  .top-nav a {
    margin: 10px 0;
    text-align: center;
    display: block;
  }
  .main-slider {
    /* Genişliği ekran kadar yap (650px yerine) */
    width: 100% !important;

    /* Yüksekliği artır (Görsel alanı büyüsün) */
    height: 170px !important;
    min-height: 20vh !important; /* Ekranın yarısını kaplasın */

    /* İçerik ve Görsel Hizalaması */
    display: flex !important;
    flex-direction: column;
    justify-content: center; /* Dikeyde ortala */
    align-items: center; /* Yatayda ortala */
    text-align: center; /* Yazıları ortala */

    /* Görsel Ayarları (Zoom yaparak doldurma) */
    background-position: center center !important;
    background-size: cover !important; /* Alanı doldurmak için yakınlaşır */
    overflow: hidden; /* Taşmaları gizle */
  }

  /* Slider içindeki yazıları/içerikleri kapsayan div varsa onu da ortalayalım */
  .main-slider .container,
  .main-slider .slider-content {
    width: 100% !important;
    padding: 0 15px; /* Kenarlardan biraz boşluk bırak */
    position: relative;
    z-index: 2; /* Yazılar görselin üstünde kalsın */
  }
  .slider-text {
    font-size: 1.5rem !important;
  }
  .section-script-title {
    font-size: 1.5rem;
  }
  .pg-img-box {
    height: 150px;
  }
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- KATEGORİ SCROLL (ORTALI VE KAYDIRILABİLİR) --- */
.category-strip {
  /* Flex yerine bu yapıyı kullanıyoruz */
  white-space: nowrap; /* Asla alt satıra geçme */
  overflow-x: auto; /* Yatayda taşarsa kaydır */
  text-align: center; /* İÇERİĞİ ORTALA (Kilit nokta burası) */
  padding: 15px 0; /* Üst-Alt boşluk */
  background: white;
  border-bottom: 1px solid #eee;

  /* Mobilde kaydırma hissini iyileştirir */
  -webkit-overflow-scrolling: touch;

  /* Kaydırma çubuğunu gizle */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* Chrome/Safari scrollbar gizleme */
.category-strip::-webkit-scrollbar {
  display: none;
}

/* Her bir kategori kutusu */
.cat-item {
  display: inline-block; /* Yan yana dizilmek için */
  vertical-align: top; /* Üst hizalamayı eşitle */
  width: 100px;
  margin: 0 8px; /* Sağ-Sol boşluk (Gap yerine bunu kullanıyoruz) */
  text-decoration: none;
  transition: transform 0.2s;
}

.cat-item:hover {
  transform: translateY(-3px);
}

/* Yuvarlak Resim Alanı */
.cat-circle {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  border: 2px solid var(--primary-gold);
  margin: 0 auto 8px auto; /* Resmi kendi kutusunda ortala */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

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

/* Kategori İsmi */
.cat-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
  line-height: 1.2;
  white-space: normal; /* İsim uzunsa kendi içinde alt satıra geçsin */
  display: block;
}
.gold-card {
  background: linear-gradient(to bottom, #ebdcb2, #dcc692);
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  height: 100%;
  border: 1px solid #d4c495;
  transition: 0.3s;
}
.gold-card:hover {
  transform: translateY(-5px);
}
/* --- ÜRÜN KARTLARI  --- */

.product-grid-card {
  background: white;
  border-radius: 25px;
  padding: 12px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.product-grid-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.pg-img-box {
  height: 220px; /* Resim yüksekliği */
  width: 100%;
  background: #f8f8f8;
  border-radius: 20px 20px 5px 5px; /* Üst köşeler yuvarlak, altlar hafif küt */
  overflow: hidden;
  margin-bottom: 8px; /* Butonla arasında minik boşluk */
  position: relative;
}

.pg-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

/* Resme zoom efekti */
.product-grid-card:hover .pg-img-box img {
  transform: scale(1.1);
}

/* --- BUTON TASARIMI (GÖRSELDEKİ GİBİ) --- */
.pg-btn {
  background-color: #8b7d6b; /* Görseldeki Kahve/Gold tonu */
  color: white !important;
  width: 100%;
  border: none;
  padding: 12px 0;

  /* Alt köşeleri kartla uyumlu yuvarla, üst köşeleri hafif tut */
  border-radius: 5px 5px 20px 20px;

  text-transform: uppercase;
  font-weight: 700; /* Kalın yazı */
  font-size: 0.95rem;
  letter-spacing: 1px;
  margin-top: auto; /* En alta it */
  text-decoration: none;
  display: block;
  transition: background 0.3s;
  box-shadow: 0 4px 10px rgba(139, 125, 107, 0.3); /* Butona özel hafif gölge */
}

.pg-btn:hover {
  background-color: #6d6052; /* Hover olunca koyulaşsın */
  color: #fff;
}

/* 1. Ana Kapsayıcı */
.navbar-custom {
  height: 100px; /* Resim daha iyi görünsün diye biraz yükselttik */

  /* ÖNEMLİ KISIM: YEŞİL FİLTRE + ARKA PLAN RESMİ */
  background: linear-gradient(
    to bottom,
    rgba(0, 60, 0, 0.85),
    rgba(0, 80, 0, 0.95)
  );
  background-image:
    linear-gradient(to bottom, rgba(0, 50, 0, 0.788)), url("../../tema.webp"),
    linear-gradient(to bottom, rgb(0, 50, 0));

  background-size: auto 100%; /* Resmi alana yay */
  background-position: center; /* Ortala */
  background-repeat: round;

  border-bottom: 4px solid var(--gold);
  transition: all 0.4s ease;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Sayfa kaydırılınca header daralsın ve renk koyulaşsın */
.navbar-custom.scrolled {
  height: 70px;
  /* Scroll yapınca resim etkisi azalsın, daha düz renk olsun (Okunabilirlik için) */
  background: linear-gradient(
    to bottom,
    rgba(0, 50, 0, 0.95),
    rgba(0, 50, 0, 1)
  );
  background-image:
    linear-gradient(to bottom, rgba(0, 50, 0, 0.788)), url("../../tema.webp"),
    linear-gradient(to bottom, rgb(0, 50, 0));
  background-size: round;
  background-size: auto 100%; /* Resmi alana yay */
  background-position: center; /* Ortala */

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
/* 2. Logo Alanı */
/* --- LOGO ALANI DÜZENLEMESİ (Ortalı Başlar -> Sola Geçer) --- */

/* --- LOGO ALANI DÜZENLEMESİ (Ortalı Başlar -> Sola Geçer) --- */

.nav-logo-wrapper {
  /* 1. BAŞLANGIÇ KONUMU: TAM ORTA */
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 27px; /* Navbar'dan aşağı sarkma payı */
  width: 140px; /* İlk açılışta büyük ve heybetli */

  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;

  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1002;

  transition:
    width 0.4s ease,
    top 0.4s ease,
    left 0.4s ease,
    transform 0.4s ease,
    filter 0.4s ease;
}

.nav-logo-wrapper img {
  width: 100%;
  height: auto;
  object-fit: contain;
  /* Logoya derinlik katan gölge */
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
  transition: all 0.4s ease;
}

/* --- SCROLL YAPINCA (Aşağı Kaydırınca - MASAÜSTÜ) --- */
.navbar-custom.scrolled .nav-logo-wrapper {
  /* 2. YENİ KONUM: SOL KÖŞE */
  left: 10%; /* Soldan boşluk */
  transform: none; /* Ortalamayı iptal et */
  top: 0px; /* Navbar içine çek */
  width: 70px; /* Küçült */
}

/* Scroll durumunda gölgeyi azalt */
.navbar-custom.scrolled .nav-logo-wrapper img {
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
}
.fs-4 {
  letter-spacing: 5px;
}
/* --- MOBİL CİHAZ AYARLARI (BURASI EKLENDİ) --- */
@media (max-width: 768px) {
  /* Mobilde Başlangıç Hali */
  .nav-logo-wrapper {
    width: 70px; /* 140px yerine 100px başlasın */
    top: 60px; /* Çok aşağı sarkmasın */
  }

  /* Mobilde Scroll Hali */
  .navbar-custom.scrolled .nav-logo-wrapper {
    width: 50px; /* 70px yerine 50px olsun */
    left: 15px; /* Sol kenara hizalama */
    top: 8px; /* Navbar içine çek */
  }
  .fs-4 {
    font-size: calc(0.5rem + 0.3vw) !important;
    letter-spacing: 1px;
  }
  .slider-text {
    font-size: 1.1rem !important;
  }
}

/* 3. Linkler (Desktop) */
.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 30px; /* Linkler arası boşluk */
}

.nav-link-item {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative; /* Çizgi animasyonu için */
  padding: 5px 0;
  transition: color 0.3s;
}

/* Hover Efekti (Altın Çizgi) */
.nav-link-item::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--gold);
  transition: width 0.3s ease-in-out;
}
.nav-link-item:hover {
  color: var(--gold);
}
.nav-link-item:hover::after {
  width: 100%;
}

/* 4. QR Butonu */
.btn-qr-gold {
  background: var(--dark-green);
  color: #fff;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(3, 99, 3, 0.815);
}
.btn-qr-gold:hover {
  background: white;
  color: var(--dark-green);
  transform: translateY(-2px);
}

/* 5. Mobil Hamburger İkonu */
.hamburger-btn {
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  transition: 0.3s;
}
.hamburger-btn:hover {
  color: var(--gold);
}

/* 6. MOBİL MENÜ (TAM EKRAN PERDE) */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 100, 0, 0.98); /* Koyu Yeşil Opak */
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(5px);
}

.mobile-menu-overlay.active {
  opacity: 0.98;
  visibility: visible;
}

.mobile-nav-link {
  color: white;
  font-size: 1.5rem;
  text-decoration: none;
  margin: 15px 0;
  font-family: "Playfair Display", serif;
  transform: translateY(20px);
  opacity: 0;
  transition: 0.4s;
}

/* Menü açılınca linkler sırayla gelsin */
.mobile-menu-overlay.active .mobile-nav-link {
  transform: translateY(0);
  opacity: 1;
}

.close-menu-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
}

/* Responsive Gizleme */
@media (max-width: 1841px) {
  .nav-links-desktop {
    display: none;
  }
  .d-none.d-lg-block {
    display: none !important;
  }
  .d-block.d-lg-none {
    display: none !important;
  }
}
@media (min-width: 1842px) {
  .hamburger-btn {
    display: none;
  }
}
