/* =============================================
   assets/css/main.css — Filizce Ana Stilleri
   ============================================= */

/* ---- Değişkenler ---- */
:root {
  --cream:    #fdf6ec;
  --warm:     #f5e6cc;
  --rust:     #c0392b;
  --rust-dk:  #962d22;
  --rust-lt:  #e74c3c;
  --gold:     #d4a017;
  --gold-lt:  #f0c040;
  --brown:    #6b3a2a;
  --brown-lt: #8b5a3a;
  --dark:     #1a0e0a;
  --text:     #3d2010;
  --muted:    #7a5a44;
  --white:    #ffffff;
  --shadow:   0 8px 40px rgba(96,40,10,.13);
  --radius:   16px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Nunito', system-ui, sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--font-body); background: var(--cream); color: var(--text); line-height: 1.65; font-size: 16px; }
img   { max-width: 100%; height: auto; display: block; }
a     { color: inherit; text-decoration: none; }

.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;
}

/* ---- Flash ---- */
.flash {
  padding: .9rem 1.2rem; font-size: .9rem; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
}
.flash button { background: none; border: none; font-size: 1.2rem; cursor: pointer; opacity: .7; }
.flash--success { background: #d4edda; color: #155724; }
.flash--error   { background: #f8d7da; color: #721c24; }
.flash--info    { background: #d1ecf1; color: #0c5460; }

/* ---- Header ---- */
header {
  position: sticky; top: 0; z-index: 100;
  background: var(--brown);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: .9rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 900;
  color: var(--gold-lt); letter-spacing: -.5px; line-height: 1.1;
}
.logo span { display: block; font-size: .7rem; font-weight: 300; color: var(--warm); letter-spacing: 2px; text-transform: uppercase; font-family: var(--font-body); }
nav { display: flex; gap: .3rem; align-items: center; }
nav a { color: var(--warm); font-size: .85rem; font-weight: 600; padding: .45rem .9rem; border-radius: 8px; transition: background .2s, color .2s; }
nav a:hover, nav a:focus, nav a[aria-current="page"] { background: rgba(255,255,255,.12); color: var(--gold-lt); }
.cart-btn { background: var(--rust) !important; color: var(--white) !important; border-radius: 10px !important; font-weight: 700 !important; display: flex !important; align-items: center; gap: .4rem; }
.cart-btn:hover { background: var(--rust-lt) !important; }
.cart-badge { background: var(--gold); color: var(--dark); border-radius: 999px; font-size: .7rem; font-weight: 800; padding: .05rem .45rem; min-width: 18px; text-align: center; }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, var(--brown) 0%, var(--rust-dk) 50%, var(--brown-lt) 100%);
  padding: 5rem 1.5rem 4rem; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; position: relative; z-index: 1; }
.hero-text h1 { font-family: var(--font-display); font-size: clamp(2rem,5vw,3.2rem); font-weight: 900; color: var(--white); line-height: 1.15; margin-bottom: 1rem; }
.hero-text h1 em { color: var(--gold-lt); font-style: normal; }
.hero-text p { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 1.8rem; max-width: 420px; }
.badge-row { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 2rem; }
.badge { background: rgba(255,255,255,.15); color: var(--warm); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: .3rem .9rem; font-size: .78rem; font-weight: 700; letter-spacing: .5px; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-img-wrap { display: flex; justify-content: center; align-items: center; position: relative; }
.hero-img-wrap::before { content: ''; position: absolute; width: 320px; height: 320px; background: radial-gradient(circle, rgba(212,160,23,.25) 0%, transparent 70%); border-radius: 50%; }
.hero-img { width: 340px; height: 340px; object-fit: contain; filter: drop-shadow(0 20px 40px rgba(0,0,0,.4)); animation: float 4s ease-in-out infinite; position: relative; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---- Stats ---- */
.stats-strip { background: var(--gold); padding: 1.2rem 1.5rem; }
.stats-inner { max-width: 900px; margin: 0 auto; display: flex; justify-content: space-around; flex-wrap: wrap; gap: 1rem; }
.stat { text-align: center; }
.stat strong { display: block; font-size: 1.6rem; font-weight: 900; color: var(--dark); font-family: var(--font-display); }
.stat span { font-size: .78rem; font-weight: 700; color: var(--brown); text-transform: uppercase; letter-spacing: .5px; }

/* ---- Section ortak ---- */
section { padding: 4.5rem 1.5rem; }
.section-header { max-width: 1100px; margin: 0 auto; }
.section-header.dark .section-title { color: var(--gold-lt); }
.section-header.dark .section-sub   { color: rgba(255,255,255,.7); }
.section-header.dark .section-label { color: var(--gold); }
.section-label { font-size: .75rem; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: var(--rust); margin-bottom: .5rem; }
.section-title { font-family: var(--font-display); font-size: clamp(1.6rem,4vw,2.4rem); font-weight: 900; color: var(--brown); margin-bottom: 1rem; }
.section-sub   { color: var(--muted); max-width: 500px; font-size: .95rem; margin-bottom: 3rem; }
.page-hero { background: var(--brown); color: var(--white); padding: 3rem 1.5rem; text-align: center; }
.page-hero h1 { font-family: var(--font-display); font-size: 2rem; font-weight: 900; margin-bottom: .5rem; }
.page-hero p  { opacity: .75; font-size: .95rem; }

/* ---- Products ---- */
#urunler { background: var(--white); }
.products-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px,1fr)); gap: 1.8rem; }
.product-card { background: var(--cream); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; border: 1px solid rgba(107,58,42,.08); }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(96,40,10,.2); }
.product-img-wrap { position: relative; background: var(--warm); padding: 1.5rem; min-height: 200px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-img { width: 180px; height: 180px; object-fit: contain; transition: transform .3s; }
.product-card:hover .product-img { transform: scale(1.06); }
.product-badge { position: absolute; top: 12px; left: 12px; background: var(--rust); color: var(--white); font-size: .68rem; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; padding: .25rem .7rem; border-radius: 999px; }
.product-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.product-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--brown); margin-bottom: .2rem; }
.product-name a { color: inherit; }
.product-name a:hover { color: var(--rust); }
.product-tagline { font-size: .8rem; color: var(--rust); font-weight: 700; margin-bottom: .7rem; }
.product-desc { font-size: .875rem; color: var(--muted); flex: 1; margin-bottom: 1.2rem; line-height: 1.6; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.product-price { font-family: var(--font-display); font-size: 1.4rem; font-weight: 900; color: var(--rust); }
.product-price small { font-family: var(--font-body); font-size: .72rem; color: var(--muted); font-weight: 400; display: block; }

/* ---- Buttons ---- */
.btn-primary {
  background: var(--gold); color: var(--dark);
  padding: .85rem 2rem; border-radius: 12px; font-weight: 800; font-size: 1rem;
  transition: background .2s, transform .15s, box-shadow .2s;
  display: inline-flex; align-items: center; gap: .5rem;
  box-shadow: 0 4px 20px rgba(212,160,23,.4);
}
.btn-primary:hover { background: var(--gold-lt); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(212,160,23,.5); }
.btn-wa {
  background: #25d366; color: var(--white);
  padding: .85rem 1.8rem; border-radius: 12px; font-weight: 700; font-size: 1rem;
  transition: background .2s, transform .15s;
  display: inline-flex; align-items: center; gap: .5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.35);
}
.btn-wa:hover { background: #1ebe5d; transform: translateY(-2px); }
.btn-add {
  background: var(--rust); color: var(--white); border: none; cursor: pointer;
  padding: .65rem 1.2rem; border-radius: 10px; font-size: .85rem; font-weight: 700;
  transition: background .2s, transform .15s;
  display: flex; align-items: center; gap: .4rem; font-family: var(--font-body);
}
.btn-add:hover { background: var(--rust-lt); transform: scale(1.04); }
.btn-add:focus { outline: 3px solid var(--gold); outline-offset: 2px; }
.btn-sm { background: var(--brown); color: var(--white); border: none; cursor: pointer; padding: .3rem .8rem; border-radius: 6px; font-size: .8rem; font-weight: 700; font-family: var(--font-body); }
.btn-sm:hover { background: var(--brown-lt); }

/* ---- Cart ---- */
#sepet { background: linear-gradient(135deg, var(--warm) 0%, var(--cream) 100%); }
.cart-empty { text-align: center; padding: 3rem; color: var(--muted); }
.cart-icon  { font-size: 3rem; margin-bottom: 1rem; }
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.cart-table th { text-align: left; padding: .75rem 1rem; background: var(--brown); color: var(--gold-lt); font-size: .8rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.cart-table th:first-child { border-radius: 10px 0 0 0; }
.cart-table th:last-child  { border-radius: 0 10px 0 0; }
.cart-table td { padding: .85rem 1rem; border-bottom: 1px solid rgba(107,58,42,.1); background: var(--white); vertical-align: middle; }
.cart-item-name { font-weight: 700; color: var(--brown); }
.qty-input { width: 56px; padding: .3rem .5rem; border: 2px solid #e0cfc5; border-radius: 6px; font-size: .9rem; text-align: center; font-family: var(--font-body); }
.qty-input:focus { outline: none; border-color: var(--rust); }
.remove-btn { background: none; border: none; cursor: pointer; color: var(--muted); font-size: .8rem; font-weight: 600; transition: color .2s; }
.remove-btn:hover { color: var(--rust); }
.cart-total-row { background: var(--white); border-radius: 0 0 12px 12px; padding: 1rem 1.5rem; display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 1.1rem; box-shadow: 0 4px 20px rgba(96,40,10,.1); }
.total-price { font-family: var(--font-display); color: var(--rust); font-size: 1.5rem; }

/* ---- Order Form ---- */
.order-form-wrap { margin-top: 2.5rem; background: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 700; color: var(--brown); margin-bottom: .4rem; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: .75rem 1rem; border: 2px solid #e8d5c4; border-radius: 10px;
  font-size: .95rem; font-family: var(--font-body); background: var(--cream);
  transition: border .2s; color: var(--text);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--rust); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 80px; }
.order-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* ---- Neden Biz ---- */
#neden { background: var(--brown); }
.features-grid { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: 1.5rem; }
.feature-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 1.8rem 1.4rem; text-align: center; transition: background .2s, transform .2s; }
.feature-card:hover { background: rgba(255,255,255,.14); transform: translateY(-4px); }
.feature-icon  { font-size: 2.5rem; margin-bottom: 1rem; }
.feature-title { font-weight: 800; color: var(--gold-lt); font-size: 1rem; margin-bottom: .5rem; }
.feature-desc  { color: rgba(255,255,255,.7); font-size: .85rem; }

/* ---- FAQ ---- */
#faq { background: var(--cream); }
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(107,58,42,.12); }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.1rem 0; font-weight: 700; color: var(--brown); display: flex; justify-content: space-between; align-items: center; font-size: .95rem; }
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--rust); font-weight: 300; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: .5rem 0 1.2rem; color: var(--muted); font-size: .9rem; line-height: 1.7; }

/* ---- Footer ---- */
footer { background: var(--dark); color: rgba(255,255,255,.75); padding: 3rem 1.5rem 1.5rem; }
.footer-inner { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2rem; }
.footer-brand .logo { font-size: 1.3rem; margin-bottom: .8rem; }
.footer-brand p { font-size: .85rem; color: rgba(255,255,255,.55); line-height: 1.7; }
.footer-col h3 { color: var(--gold-lt); font-size: .8rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .5rem; }
.footer-col a  { color: rgba(255,255,255,.6); font-size: .85rem; transition: color .2s; }
.footer-col a:hover { color: var(--gold-lt); }
.footer-bottom { max-width: 1000px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.2rem; display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: rgba(255,255,255,.35); flex-wrap: wrap; gap: .5rem; }
.footer-muafiyet { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 8px; padding: .8rem 1rem; font-size: .72rem; color: rgba(255,255,255,.45); max-width: 1000px; margin: 1rem auto 0; line-height: 1.6; }

/* ---- WhatsApp Float ---- */
.wa-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 200;
  background: #25d366; color: var(--white);
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s;
  animation: pulse-wa 3s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.1); }
@keyframes pulse-wa {
  0%,100% { box-shadow: 0 6px 24px rgba(37,211,102,.45); }
  50%      { box-shadow: 0 6px 36px rgba(37,211,102,.7), 0 0 0 10px rgba(37,211,102,.08); }
}

/* ---- 404 ---- */
.not-found { text-align: center; padding: 6rem 1.5rem; }
.not-found h1 { font-family: var(--font-display); font-size: 5rem; color: var(--rust); margin-bottom: 1rem; }
.not-found p  { color: var(--muted); margin-bottom: 2rem; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero-inner   { grid-template-columns: 1fr; text-align: center; }
  .hero-img-wrap { display: none; }
  .hero-text p  { max-width: 100%; }
  .hero-cta, .badge-row { justify-content: center; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-grid    { grid-template-columns: 1fr; }
  nav a { padding: .4rem .6rem; font-size: .8rem; }
  .logo { font-size: 1.2rem; }
}
@media (max-width: 480px) {
  .stats-inner { gap: 1.5rem; }
  .stat strong { font-size: 1.3rem; }
  .products-grid { grid-template-columns: 1fr; }
}

/* ---- Kategori Bar ---- */
.cat-bar{background:var(--cream);border-bottom:1px solid rgba(107,58,42,.1);padding:.6rem 1.5rem;overflow-x:auto;-webkit-overflow-scrolling:touch}
.cat-bar-inner{max-width:1200px;margin:0 auto;display:flex;gap:.5rem;white-space:nowrap}
.cat-bar-link{color:var(--brown);font-size:.8rem;font-weight:700;padding:.35rem .9rem;border-radius:999px;border:1.5px solid rgba(107,58,42,.15);transition:all .2s;display:inline-block}
.cat-bar-link:hover{background:var(--warm);border-color:var(--gold)}
.cat-bar-link.active{background:var(--rust);color:var(--white);border-color:var(--rust)}
