/* filepath: c:\Users\BTA\Box\Site1\assets\css\style.css */

/* Inter Variable Font */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/Inter-Variable.woff2') format('woff2-variations');
}

/* Temel değişkenler ve genel kurallar */
:root {
  --primary: #6C5CE7;
  --secondary: #FF5C93;
  --info: #0BA5E9;
  --warning: #F59E0B;
  --accent: #25D366;
  --text: #111;
  --muted: #5b5b5b;
  --bg: #fff;
  --bg-alt: #F8FAFF;
  --border: #e5e7eb;
  --container: 1140px;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(17,24,39,.08);
  --shadow-lg: 0 12px 28px rgba(17,24,39,.12), 0 2px 6px rgba(17,24,39,.08);
  --grad-1: linear-gradient(135deg, var(--primary) 0%, #00C2FF 100%);
  --grad-2: linear-gradient(135deg, var(--secondary) 0%, var(--warning) 100%);
  --tile-1: #7C3AED;
  --tile-2: #06B6D4;
  --tile-3: #F43F5E;
  --tile-4: #10B981;
  --tile-5: #F59E0B;
  --tile-6: #8B5CF6;
  --tile-7: #22C55E;
  --tile-8: #0EA5E9;
}

* { box-sizing: border-box; }
html:focus-within { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Georgia, ui-serif, serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}
*, *::before, *::after { font-family: inherit; }
button, input, select, textarea, details, summary { font-family: inherit; font-size: inherit; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--container); margin-inline: auto; padding-inline: 16px; }

/* Erişilebilirlik */
.skip-link {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  background: #111;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 9999;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Header & Nav - Moved to components/header.html */

/* Hero */
.hero {
  padding: 24px 0;
  background: radial-gradient(1200px 400px at 10% -20%, rgba(108,92,231,.18), transparent 60%),
             radial-gradient(900px 300px at 90% -10%, rgba(0,194,255,.15), transparent 60%),
             var(--bg);
}
.hero__grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; justify-items: center; }
.hero__left { display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; text-align: center; margin-top: 8px; }
.hero__title { margin: 0 0 8px; font-weight: 800; font-size: clamp(18px, 1.8vw, 24px); line-height: 1.1; }
.hero__title span { display: block; margin-top: 2px; font-weight: 700; }
.hero__sub p { margin: 0 0 16px; line-height: 1.6; }
.hero__sub p:last-child { margin-bottom: 0; }
.hero__cta { margin-top: 16px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: #111;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-6px); box-shadow: 0 12px 24px rgba(17,24,39,.2), 0 4px 8px rgba(17,24,39,.1); }
.btn:active { transform: scale(.85); box-shadow: 0 2px 8px rgba(17,24,39,.15); }
.btn--whatsapp {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(37,211,102,.35);
}
.btn--whatsapp:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(37,211,102,.5), 0 6px 12px rgba(37,211,102,.3); }
.btn--whatsapp:active { transform: scale(.85); box-shadow: 0 4px 12px rgba(37,211,102,.25); }
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(37,211,102,.35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-wa:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(37,211,102,.5); }
.btn--buy {
  position: relative;
  border: 2px solid transparent;
  background: linear-gradient(#fff,#fff) padding-box, var(--grad-1) border-box;
  border-radius: 12px;
  padding: 8px 14px;
  font-size: clamp(14px, 1.4vw, 16px);
  background-image: linear-gradient(#fff,#fff), linear-gradient(135deg, var(--primary) 0%, #00C2FF 50%, #6C5CE7 100%);
  background-origin: padding-box, border-box;
  background-clip: padding-box, border-box;
  background-size: auto, 200% 200%;
  transition: background-position .6s ease, box-shadow .25s ease, transform .2s ease;
  box-shadow: 0 6px 16px rgba(11,165,233,.2);
}
.btn--buy:hover, .btn--buy:focus-visible {
  background: linear-gradient(var(--info), var(--info)) padding-box, var(--grad-2) border-box;
  border-color: transparent;
  color: #fff;
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(11,165,233,.4), 0 6px 12px rgba(11,165,233,.2);
  background-position: 100% 0;
}
.btn--buy:active { transform: scale(.85); box-shadow: 0 4px 12px rgba(11,165,233,.25); }
.btn--buy::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s ease;
  background: radial-gradient(40% 60% at 30% 30%, rgba(255,255,255,.25), transparent 60%);
}
.btn--buy:hover::after, .btn--buy:focus-visible::after { opacity: 1; }
.btn--ghost {
  display: block;
  width: 100%;
  margin: 8px 0 0;
  padding: 6px 18px;
  border-radius: 999px;
  border: 4px solid transparent;
  background: linear-gradient(#fff,#fff) padding-box, linear-gradient(90deg, #FF5C93 0%, #FF8A5B 45%, #F59E0B 100%) border-box;
  color: #111;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 6px 12px rgba(17,24,39,.06);
  transition: transform .16s ease, filter .12s ease, box-shadow .16s ease;
}
.btn--ghost:hover, .btn--ghost:focus-visible {
  transform: translateY(-6px);
  filter: brightness(.98);
  box-shadow: 0 20px 40px rgba(17,24,39,.18), 0 6px 12px rgba(17,24,39,.1);
}
.btn--ghost:active { transform: scale(.85); box-shadow: 0 4px 12px rgba(17,24,39,.08); }

/* Sections */
.section { padding: 48px 0; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); }
/* Quick section - Moved to components/quick-start.html */
.section.products { background: var(--bg); }
.section__title {
  margin: 0 0 24px;
  text-align: center;
  position: relative;
  font-weight: 800;
  letter-spacing: .02em;
}
.section__title span {
  padding: 0 14px;
  position: relative;
  z-index: 1;
  background: var(--bg);
  border-radius: 6px;
}
.section__title::before, .section__title::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--info));
}
.section__title::before { left: 0; }
.section__title::after { right: 0; }

/* Products */
.products__grid { display: grid; grid-template-columns: repeat(4, minmax(220px, 1fr)); gap: 18px; align-items: stretch; }
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  min-height: 100%;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-12px); box-shadow: 0 24px 48px rgba(17,24,39,.2), 0 8px 16px rgba(17,24,39,.15); }
.product { position: relative; text-align: center; }
.products .product:nth-child(8n+1) { --tile: var(--tile-1); }
.products .product:nth-child(8n+2) { --tile: var(--tile-2); }
.products .product:nth-child(8n+3) { --tile: var(--tile-3); }
.products .product:nth-child(8n+4) { --tile: var(--tile-4); }
.products .product:nth-child(8n+5) { --tile: var(--tile-5); }
.products .product:nth-child(8n+6) { --tile: var(--tile-6); }
.products .product:nth-child(8n+7) { --tile: var(--tile-7); }
.products .product:nth-child(8n+8) { --tile: var(--tile-8); }
.products .product::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  background: linear-gradient(90deg, var(--tile), rgba(255,255,255,0));
}
.product img {
  display: block;
  width: calc(100% - 20px);
  margin: 10px auto 0;
  aspect-ratio: 1/1;
  object-fit: cover;
  background: #fff !important;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 0 0 2px var(--tile) inset, 0 2px 10px rgba(0,0,0,.25);
}
.product__body {
  padding: 8px 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  flex: 1;
  min-height: var(--body-min, 180px);
}
.product__name {
  margin: 0;
  font-weight: 700;
  letter-spacing: .15px;
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--tile, var(--text));
}
.product__total { margin: 0; color: var(--tile, #000); font-size: clamp(13px, 1.2vw, 15px); }
.product__price { margin: 6px 0 6px; color: #0BA5E9; font-weight: 600; font-size: clamp(16px, 1.6vw, 18px); }
.product__head { display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: var(--head-min, 56px); }
.product__mix { margin: 0; color: #000; font-size: clamp(13px, 1.2vw, 15px); }
.product__cta { margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 68px; }

/* Quick Items - Moved to components/quick-start.html */

/* Card Components */
.card__body { padding: 8px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; min-height: auto; align-items: center; }
.card__title { margin: 0; font-weight: 700; font-size: 1rem; line-height: 1.1; }
.card__desc { margin: 0; color: var(--muted); font-size: .94rem; flex: 1; }
.card__cta { margin-top: auto; display: inline-flex; padding: 8px 12px; border-radius: 10px; text-decoration: none; align-self: stretch; justify-content: center; }

/* Values */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; margin: 32px 0; }
.val { text-align: center; padding: 24px; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); }
.val h3 { margin: 0 0 12px; color: var(--primary); font-size: 1.25rem; }
.val p { margin: 0; color: var(--muted); }

/* CTA */
.cta { text-align: center; margin: 32px 0; }

/* FAQ */
.faq-list { max-width: 1200px; margin: 0 auto; }
.faq {
  margin: 12px 0;
  border: 2px solid #d1d5db;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}
.faq:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.15); border-color: #9ca3af; }
.faq summary {
  padding: 20px 24px;
  background: #f9fafb;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #374151;
  border: none;
  outline: none;
  position: relative;
  text-align: center;
}
.faq summary:hover { background: #f3f4f6; }
.faq[open] summary { background: #fff; border-bottom: 2px solid #e5e7eb; }
.faq .chev {
  display: none;
}
/* FAQ chevron hover rule removed - not needed */

.faq .answer { padding: 16px; line-height: 1.6; }
.faq .answer h3 { margin: 16px 0 8px; color: var(--primary); }
.faq .answer ul { margin: 8px 0; padding-left: 20px; }
.faq .answer .step { margin: 8px 0; padding: 8px 12px; background: var(--bg-alt); border-radius: 8px; border-left: 4px solid var(--primary); }
.faq .answer .note { margin: 12px 0; padding: 12px; background: #fff3cd; border: 1px solid #ffeaa7; border-radius: 8px; color: #856404; }
.faq .answer img { max-width: 100%; height: auto; margin: 12px 0; border-radius: 8px; box-shadow: var(--shadow); }

/* Coming Soon */
.coming-soon {
  text-align: center;
  padding: 48px 32px;
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.coming-soon h2 { font-size: 2.5rem; margin-bottom: 16px; color: var(--primary); }
.coming-soon p { font-size: 1.1rem; color: var(--muted); margin-bottom: 32px; }
.countdown { display: flex; justify-content: center; gap: 24px; margin: 32px 0; }
.countdown-item {
  text-align: center;
  padding: 20px 16px;
  background: #fff;
  border: 2px solid #d1d5db;
  border-radius: 12px;
  min-width: 90px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.2s ease;
}
.countdown-item:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.12); border-color: #9ca3af; }
.countdown-number { font-size: 2rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.countdown-label { font-size: 0.9rem; color: var(--muted); text-transform: uppercase; }

/* Features */
.features { margin-top: 48px; max-width: 600px; margin-left: auto; margin-right: auto; background: #fff; border: 2px solid #e5e7eb; border-radius: 16px; padding: 32px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.features h3 { text-align: center; font-size: 1.5rem; margin-bottom: 24px; color: var(--text); }
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-item { display: flex; align-items: center; gap: 16px; padding: 16px; margin: 8px 0; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 8px; transition: all 0.2s ease; }
.feature-item:hover { background: #f3f4f6; border-color: #d1d5db; }
.feature-item:last-child { border-bottom: 1px solid #e5e7eb; }
.feature-icon { font-size: 1.5rem; min-width: 40px; text-align: center; }
.feature-text { font-size: 1rem; color: var(--text); }

/* Content */
.content { max-width: 800px; margin: 0 auto; padding: 32px 16px; line-height: 1.6; }
.content h1 { color: var(--primary); margin-bottom: 8px; }
.content h2 { color: var(--text); margin: 32px 0 16px; padding-bottom: 8px; border-bottom: 2px solid var(--border); }
.content ul { margin: 16px 0; padding-left: 24px; }
.content li { margin: 8px 0; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 24px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.2s ease;
}
.back-link:hover { background: var(--bg-alt); border-color: var(--primary); }

/* Footer - Moved to components/footer.html */
main { flex: 1; }

/* List Head */
.list-head { padding: 34px 0 16px; background: radial-gradient(1200px 400px at 10% -20%, rgba(108,92,231,.16), transparent 60%), radial-gradient(900px 300px at 90% -10%, rgba(0,194,255,.14), transparent 60%), var(--bg); text-align: center; }
.lead { max-width: 860px; margin: 8px auto 6px; text-align: center; color: #445; line-height: 1.55; }
.totals-line { text-align: center; margin: 8px 0; font-weight: 700; color: var(--info); }
.lined-head {
  position: relative;
  text-align: center;
  margin: 16px 0 8px;
  font-weight: 800;
  letter-spacing: .02em;
}
.lined-head span {
  padding: 0 14px;
  position: relative;
  z-index: 1;
  background: var(--bg);
  border-radius: 6px;
  font-size: clamp(16px, 1.5vw, 18px);
}
.lined-head::before, .lined-head::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--info));
}
.lined-head::before { left: 0; }
.lined-head::after { right: 0; }
.total-pill-wrap { text-align: center; margin: 0; }
.total-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  color: #fff;
  background: linear-gradient(135deg, var(--secondary), var(--warning));
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  border: 1px solid transparent;
}

/* Actions */
.actions { margin: 12px 0 10px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* Main Card CSS removed - not used anymore */
.btn-outline-grad {
  border: 2px solid transparent;
  background: linear-gradient(#fff,#fff) padding-box, linear-gradient(135deg, #6C5CE7, #00C2FF) border-box;
  color: #111827;
}
.btn:active { transform: scale(.85); }
.btn, .wa-link, .group-card, .item { transition: transform .18s ease, box-shadow .18s ease; }
.btn:hover, .wa-link:hover { transform: translateY(-6px); box-shadow: 0 12px 24px rgba(17,24,39,.2), 0 4px 8px rgba(17,24,39,.1); }

/* WhatsApp */
.wa-box { display: flex; justify-content: center; margin-top: 8px; }
.wa-link {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-size: 15px;
  letter-spacing: .2px;
}
.wa-link--lg { font-size: 16px; padding: 12px 22px; border-radius: 12px; box-shadow: 0 8px 22px rgba(37,211,102,.25); }
@media (max-width: 480px) { .wa-link--lg { font-size: 14px; padding: 10px 18px; } }

/* Food Mount */
.food-mount { margin-top: 12px; display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .food-mount { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .food-mount { grid-template-columns: repeat(3, 1fr); } }

.group-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.group-title {
  margin: 0 0 10px;
  font-size: 14px; /* Küçültüldü */
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center; /* Ortalandı */
  gap: 10px;
  text-align: center;
  position: relative;
  padding-right: 52px;
}
.group-icon { width: 56px; height: 56px; object-fit: contain; border-radius: 8px; }
.group-badge {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #6C5CE7, #00C2FF);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  border: 1px solid transparent;
}
.group-name { white-space: normal; overflow-wrap: anywhere; word-break: break-word; max-width: 100%; }

.group-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }

/* Item */
.item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 2px solid transparent;
  border-radius: 10px;
  background: linear-gradient(#fff,#fff) padding-box, linear-gradient(135deg, #6C5CE7, #00C2FF) border-box;
}
.item:hover { transform: translateY(-4px); box-shadow: 0 8px 16px rgba(17,24,39,.15), 0 2px 4px rgba(17,24,39,.1); }
.item-left { display: flex; align-items: center; gap: 8px; min-width: 0; }
.item-img { width: 48px; height: 48px; object-fit: contain; flex: 0 0 48px; border-radius: 8px; }
.item-name-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.item-name {
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}
.item-lvl { font-size: 10px; color: #6b7280; font-weight: 500; line-height: 1; }
.lvl-num { color: #e11d48; font-weight: 700; }
.item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.item select.qty {
  width: 72px;
  text-align: left;
  text-align-last: left;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #fff;
  font-weight: 500;
  -moz-text-align-last: left;
}
@media (max-width: 480px) {
  .item select.qty { width: 66px; }
  .item-name { font-size: 12px; }
  .item-img { width: 36px; height: 36px; }
}

/* Output */
.output-wrap { margin-top: 18px; display: flex; justify-content: center; }
.output-inner { width: 100%; max-width: 1100px; margin: 0 auto; text-align: center; }
#output {
  width: 100%;
  max-width: 600px;
  height: 180px;
  resize: none;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 10px;
  box-shadow: var(--shadow);
  font-size: 13px;
  text-align: left;
  white-space: pre-wrap;
  word-wrap: break-word;
  margin: 0 auto;
}
@media (max-width: 640px) { #output { height: 140px; } }
.output-actions { margin-top: 10px; display: flex; justify-content: center; }
.copy-note {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
  padding: 6px 10px;
  border-radius: 999px;
  display: none;
  box-shadow: var(--shadow);
}

/* List Foot */
.list-foot { margin-top: 26px; text-align: center; }

/* Scroll to Top */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #6C5CE7;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.scroll-top-btn.show { opacity: 1; visibility: visible; }
.scroll-top-btn:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,0.4); }
@media (max-width: 768px) {
  .scroll-top-btn { width: 45px; height: 45px; bottom: 20px; right: 20px; }
}

/* Input Invalid */
.input-invalid { border-color: #ef4444 !important; background-color: #fef2f2 !important; }

/* Media Queries */
@media (max-width: 640px) {
  .products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product img { width: 100%; margin: 6px auto 0; padding: 4px; }
  .product__body { padding: 6px 8px 10px; gap: 4px; }
  .values { grid-template-columns: 1fr; gap: 16px; }
  .val { padding: 16px; }
  .countdown { flex-wrap: wrap; gap: 16px; }
  .countdown-item { min-width: 70px; padding: 12px; }
  .countdown-number { font-size: 1.5rem; }
  .coming-soon { padding: 32px 20px; }
  .coming-soon h2 { font-size: 2rem; }
  .features { padding: 24px 20px; }
  .section.products, .products { --body-min: 140px; --head-min: 44px; }
  
  /* Ürün listesi mobil optimizasyonu */
  .food-mount { gap: 8px; }
  .group-card { padding: 8px; }
  .group-title { padding-right: 40px; font-size: 13px; }
  .group-icon { width: 40px; height: 40px; }
  .group-badge { right: 6px; padding: 4px 8px; font-size: 11px; }
  .item { padding: 6px; gap: 8px; }
  .item-img { width: 36px; height: 36px; }
  .item-name { font-size: 12px; }
  .item select.qty { width: 60px; font-size: 12px; }
  
  /* Form optimizasyonu */
  .ask__card, #contactForm { padding: 12px; }
  .ask__card input, .ask__card textarea, 
  #contactForm input, #contactForm textarea { 
    padding: 8px 10px; 
    font-size: 14px; 
  }
}

@media (min-width: 641px) and (max-width: 992px) {
  .products__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; grid-auto-flow: row dense; }
  /* .quick__grid - Moved to components/quick-start.html */
  .section.products, .products { --body-min: 165px; --head-min: 52px; }
}

/* Blog Cards */
.blog-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}

.blog-card {
  position: relative;
}

.blog-card__image {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto;
  overflow: hidden;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  aspect-ratio: 1/1;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.05);
}

.blog-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--primary);
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
}

.blog-card__badge--new { background: #10B981; }
.blog-card__badge--trending { background: #F59E0B; }
.blog-card__badge--tips { background: #0EA5E9; }
.blog-card__badge--community { background: #8B5CF6; }
.blog-card__badge--events { background: #F43F5E; }

.blog-card__meta {
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}

.blog-card__tags {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.blog-card__tag {
  background: var(--bg-alt);
  color: var(--muted);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
  text-decoration: none;
}

@media (max-width: 768px) {
  .blog-grid-2col {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .blog-card__image {
    width: 160px;
    height: 160px;
  }
}

/* Ana sayfa menü sorunu çözüldü - Index.html critical CSS z-index düzeltildi */

/* Genel z-index hiyerarşisi */
.nav {
  z-index: 1000 !important;
}

#header-component {
  z-index: 1001 !important;
  position: relative;
}

.hero {
  z-index: 1 !important;
  position: relative;
}

/* Ana sayfa hero iyileştirmeleri */
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 500px;
}

.hero__features {
  display: flex;
  gap: 30px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 16px;
  border-radius: 25px;
  backdrop-filter: blur(10px);
}

.feature__icon {
  font-size: 1.2rem;
}

.feature__text {
  font-size: 0.9rem;
  font-weight: 500;
}

.hero__cta {
  display: flex;
  gap: 16px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.btn--secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero__right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Section header iyileştirmeleri */
.section__header {
  text-align: center;
  margin-bottom: 60px;
}

.section__subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 16px 0 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section__stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 40px;
}

.stat {
  text-align: center;
}

.stat__number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.stat__label {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero__features {
    justify-content: center;
    gap: 16px;
  }
  
  .feature {
    flex-direction: column;
    gap: 4px;
    padding: 8px 12px;
  }
  
  .section__stats {
    gap: 30px;
    flex-wrap: wrap;
  }
  
  .hero__cta {
    justify-content: center;
  }
}

/* Depolama Hesaplayıcısı */
.storage-inputs {
  display: grid;
  max-width: 700px;
  margin: 0 auto 32px;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.storage-input, .material-item, .stat-item {
  position: relative;
  border: 2px solid transparent;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 24px 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.storage-input::before, .material-item::before, .stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 20px 20px 0 0;
}

.storage-input::before { background: linear-gradient(90deg, #06B6D4, #3B82F6, #8B5CF6); height: 4px; }
.material-item::before { background: linear-gradient(90deg, #0EA5E9, #06B6D4); }
.stat-item::before { background: linear-gradient(90deg, #F43F5E, #EC4899); }

.storage-input:hover, .material-item:hover, .stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.storage-input h3 {
  color: #1e293b;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.storage-input h3::before {
  content: '📦';
  font-size: 20px;
}

.storage-field {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  text-align: center;
  background: #ffffff;
  color: #1e293b;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
}

.storage-field:focus {
  outline: none;
  border-color: #3B82F6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1), inset 0 2px 4px rgba(0, 0, 0, 0.04);
  transform: scale(1.02);
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 32px 0;
  gap: 20px;
}

.material-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.material-item h3::before {
  font-size: 20px;
}

.material-item:nth-child(1) h3::before { content: '🔩'; }
.material-item:nth-child(2) h3::before { content: '🪵'; }
.material-item:nth-child(3) h3::before { content: '📏'; }

.material-item .subtitle {
  margin: 0 0 12px;
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
}

.material-item .result {
  margin: 0;
  font-weight: 800;
  color: #0EA5E9;
  font-size: 24px;
  text-shadow: 0 2px 4px rgba(14, 165, 233, 0.2);
}

.total-result {
  max-width: 400px;
  margin: 32px auto 0;
  position: relative;
  background: linear-gradient(145deg, #ffffff 0%, #f0fdf4 100%);
  border: 3px solid transparent;
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: 0 12px 40px rgba(16, 185, 129, 0.15);
  overflow: hidden;
}

.total-result::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10B981, #059669);
  border-radius: 24px 24px 0 0;
}

.total-result h3 {
  color: #1e293b;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.total-result h3::before {
  content: '📊';
  font-size: 24px;
}

.total-result .result {
  color: #10B981;
  font-weight: 900;
  font-size: 28px;
  text-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 32px 0;
  gap: 20px;
}

.stat-item h3 {
  color: #1e293b;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.stat-item:nth-child(1) h3::before { content: '⬆️'; }
.stat-item:nth-child(2) h3::before { content: '⏱️'; }

.stat-item .result {
  color: #F43F5E;
  font-weight: 800;
  font-size: 20px;
  text-shadow: 0 2px 4px rgba(244, 63, 94, 0.2);
}

.calculator-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px 0;
}

.calc-btn {
  position: relative;
  font-weight: 700;
  cursor: pointer;
  padding: 18px 36px;
  border-radius: 20px;
  font-size: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 140px;
  border: none;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.calc-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.calc-btn:hover::before {
  left: 100%;
}

.calc-btn--primary {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: white;
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.3);
}

.calc-btn--primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 40px rgba(16, 185, 129, 0.4);
}

.calc-btn--secondary {
  background: linear-gradient(135deg, #F43F5E 0%, #DC2626 100%);
  color: white;
  box-shadow: 0 8px 32px rgba(244, 63, 94, 0.3);
}

.calc-btn--secondary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 40px rgba(244, 63, 94, 0.4);
}

.calc-btn:active {
  transform: translateY(-1px) scale(0.98);
}

/* 📱 Responsive Düzenlemeler - Modern 2026 */
@media (max-width: 768px) {
  .storage-inputs {
    max-width: 100%;
    gap: 16px;
    margin: 0 auto 24px;
  }
  
  .storage-input {
    padding: 24px 20px;
  }
  
  .storage-input h3 {
    font-size: 16px;
  }
  
  .storage-field {
    padding: 14px 16px;
    font-size: 15px;
  }
  
  .materials-grid {
    gap: 16px;
    margin: 24px 0;
  }
  
  .material-item {
    padding: 20px 16px;
  }
  
  .total-result {
    max-width: 100%;
    margin: 24px auto 0;
    padding: 24px 20px;
  }
  
  .stats-grid {
    gap: 16px;
    margin: 24px 0;
  }
  
  .stat-item {
    padding: 20px 16px;
  }
  
  .calculator-buttons {
    gap: 16px;
    margin: 32px 0;
  }
  
  .calc-btn {
    padding: 16px 28px;
    min-width: 120px;
    font-size: 15px;
  }
}

@media (max-width: 640px) {
  .storage-inputs {
    grid-template-columns: 1fr;
  }
  
  .materials-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .calculator-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .calc-btn {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .storage-input {
    padding: 20px 16px;
    border-radius: 16px;
  }
  
  .storage-input h3 {
    font-size: 15px;
    margin-bottom: 12px;
  }
  
  .storage-field {
    padding: 12px 14px;
    font-size: 14px;
    border-radius: 12px;
  }
  
  .material-item, .stat-item {
    padding: 16px 12px;
    border-radius: 16px;
  }
  
  .material-item h3 {
    font-size: 15px;
  }
  
  .material-item .subtitle {
    font-size: 13px;
  }
  
  .material-item .result {
    font-size: 20px;
  }
  
  .total-result {
    padding: 20px 16px;
    border-radius: 20px;
  }
  
  .total-result h3 {
    font-size: 18px;
  }
  
  .total-result .result {
    font-size: 24px;
  }
  
  .stat-item h3 {
    font-size: 14px;
  }
  
  .stat-item .result {
    font-size: 18px;
  }
  
  .calc-btn {
    padding: 14px 24px;
    font-size: 14px;
    border-radius: 16px;
  }
}/* Input 
error state */
.storage-field.input-invalid {
  border-color: #EF4444;
  background-color: #FEF2F2;
}/* Calcul
ator section styles */
.calculator-section {
  text-align: center;
}

.calculator-description {
  text-align: center;
  margin: 0 0 20px;
  color: #666;
  font-size: 16px;
  line-height: 1.5;
}