:root {
  --primary: #0033a0;       /* Burcu mavisi */
  --primary-light: #0057c2;
  --accent: #ffb400;        /* Burcu sarısı */
  --bg: #f5f7fb;
  --card: #ffffff;
  --card-border: #e2e8f0;
  --text-main: #0f172a;
  --text-muted: #64748b;
}

/* Temel ayarlar */

* {
  box-sizing: border-box;
}

html,
body {
  padding: 0;
  margin: 0;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #ffffff 0, #f1f5f9 40%, #e2e8f0 100%);
  color: var(--text-main);
  display: flex;              /* sticky footer için */
  flex-direction: column;
  min-height: 100vh;
}

/* Sayfa içeriği (header + sectionlar) */
.page-content {
  flex: 1;
}

/* Genel başlıklar ve metin */

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  color: var(--text-main);
}

p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

/* HEADER */

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-logo {
  height: 48px;
  width: auto;
  display: block;
}

/* Menü */

#menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

#menu a {
  position: relative;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding-bottom: 3px;
}

#menu a span {
  display: none;
}

#menu a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  margin: 0 auto;
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
}

/* Dil seçimi */

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.lang-switch span {
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  opacity: 0.7;
}

.lang-switch span.active {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  opacity: 1;
}

/* Mobil menü */

.mobile-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 900px) {
  header {
    padding: 10px 16px;
  }

  #menu {
    position: absolute;
    right: 0;
    top: 60px;
    background: var(--primary);
    flex-direction: column;
    padding: 16px;
    gap: 12px;
    min-width: 190px;
    display: none;
  }

  #menu.show {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }
}

/* HERO – Ana sayfa */

.hero {
  max-width: 1100px;
  margin: 40px auto 0;
  padding: 0 24px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.hero h1 span span {
  color: var(--primary);
}

.hero h1 {
  font-size: 34px;
  line-height: 1.2;
  margin-bottom: 14px;
}

.hero p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 430px;
}

/* CTA butonları */

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.1s ease;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.25);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.28);
}

.btn-ghost {
  background: #ffffff;
  color: var(--primary);
  border-color: #cbd5f5;
}

.btn-ghost:hover {
  background: #edf2ff;
}

/* Sağ taraftaki kart (hero-card) */

.hero-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 18px 18px 18px;
  border: 1px solid var(--card-border);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
}

.hero-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.hero-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  font-size: 11px;
}

.hero-badges span {
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #1e3a8a;
}

/* Ana sayfa – Neden biz */

.home-section {
  max-width: 1100px;
  margin: 30px auto 0;
  padding: 0 24px 40px;
}

.home-section h2 {
  text-align: center;
  margin-bottom: 12px;
}

.home-section .subtitle {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  font-size: 13px;
}

/* Genel kart yapısı */

.card {
  background: var(--card);
  border-radius: 14px;
  border: 1px solid var(--card-border);
  padding: 18px 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.card-title {
  font-weight: 600;
  margin-bottom: 6px;
}

.card-text {
  font-size: 13px;
}

/* ÜRÜN KATEGORİLERİ (eski layout için de kullanılabilir) */

.categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
}

.category-card {
  cursor: pointer;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    border-color 0.12s ease;
}

.category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
  border-color: #cbd5f5;
}

.product-details-container {
  margin-top: 26px;
}

.product-details {
  display: none;
  background: var(--card);
  border-radius: 14px;
  border: 1px solid var(--card-border);
  padding: 18px 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  font-size: 14px;
}

.product-details.active {
  display: block;
}

.product-details h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 18px;
}

.product-details ul {
  padding-left: 20px;
  margin: 0;
}

.product-details li {
  margin-bottom: 4px;
}

/* HoReCa sayfası */

.page-horeca .hero {
  grid-template-columns: minmax(0, 1.2fr);
}

.horeca-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

/* Pill list (chip’ler) */

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 999px;
  background: #e0ebff;
  color: #1d4ed8;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
}

.pill:hover {
  background: #d4e2ff;
}

/* Private label sayfası */

.step-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.step-card {
  position: relative;
  padding-top: 30px;
}

.step-number {
  position: absolute;
  top: 12px;
  left: 16px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #e0ebff;
  color: #1d4ed8;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* İletişim sayfası */

.page-contact main {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 24px;
}

.contact-card {
  max-width: 520px;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid var(--card-border);
  padding: 22px 20px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
}

/* İletişim detayları */

.contact-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  font-size: 14px;
}

.contact-list li + li {
  margin-top: 6px;
}

.contact-list a {
  color: var(--primary);
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

/* WhatsApp butonu */

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(22, 163, 74, 0.6);
  z-index: 50;
}

/* Footer */

footer {
  text-align: center;
  font-size: 12px;
  color: #cbd5f5;
  padding: 18px 16px 22px;
  background: var(--primary);
  margin-top: auto;
}

/* Genel section yapısı (urunler, horeca vs) */

.section {
  max-width: 1100px;
  margin: 40px auto 0;
  padding: 0 24px 40px;
}

.section h1,
.section h2 {
  margin-bottom: 8px;
}

.section-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* Mobil düzen */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 24px;
  }

  .home-section {
    margin-top: 24px;
  }

  .hero-actions {
    justify-content: flex-start;
  }
}

/* === Products page visibility logic === */
.product-card {
  display: none;
}

.product-card.active {
  display: block;
}

/* Layout for product groups */
.page-products .section {
  max-width: 1100px;
  margin: 0 auto;
}

.page-products .product-groups {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
