/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:      #F0A500;
  --gold-dk:   #C98800;
  --green:     #7EA84F;
  --green-dk:  #4A7040;
  --cream:     #FAF7F0;
  --cream-dk:  #F0EAD8;
  --brown:     #4A3010;
  --text:      #1E1E1E;
  --text-lt:   #666;
  --white:     #fff;
  --radius:    12px;
  --shadow:    0 2px 16px rgba(0,0,0,.07);
  --shadow-md: 0 6px 32px rgba(0,0,0,.11);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .7rem 1.6rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform .15s, box-shadow .15s, background .15s, color .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary  { background: var(--gold); color: var(--brown); }
.btn-primary:hover { background: var(--gold-dk); }
.btn-outline  { background: transparent; border: 2px solid rgba(255,255,255,.6); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-full     { width: 100%; }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}
.brand-logo { height: 44px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}
.nav-links a {
  font-weight: 600;
  font-size: .92rem;
  color: var(--text);
  transition: color .15s;
}
.nav-links a:hover { color: var(--gold-dk); }

.nav-right { display: flex; align-items: center; gap: .8rem; }

.cart-chip {
  display: flex;
  align-items: center;
  gap: .4rem;
  background: var(--gold);
  color: var(--brown);
  font-weight: 800;
  font-size: .9rem;
  padding: .4rem .9rem;
  border-radius: 999px;
  transition: background .15s;
}
.cart-chip:hover { background: var(--gold-dk); }
.cart-chip svg   { flex-shrink: 0; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .3rem;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .2s; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(140deg, var(--green-dk) 0%, #3a5f33 55%, #527545 100%);
  color: var(--white);
  padding: 5rem 0 0;
  overflow: hidden;
  position: relative;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 280px;
  align-items: center;
  gap: 3rem;
  padding-bottom: 4.5rem;
}
.hero-eyebrow {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .75;
  margin-bottom: .75rem;
}
.hero-text h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.1rem;
}
.hero-text h1 em { color: var(--gold); font-style: normal; }
.hero-desc {
  font-size: 1.05rem;
  opacity: .85;
  max-width: 480px;
  margin-bottom: 2rem;
}
.hero-btns { display: flex; gap: .9rem; flex-wrap: wrap; }
.hero-logo { filter: drop-shadow(0 6px 24px rgba(0,0,0,.2)); }
.hero-logo img { width: 100%; }
.hero-wave { line-height: 0; }
.hero-wave svg { width: 100%; height: 55px; display: block; }

/* ===== STEPS ===== */
.steps { padding: 3.5rem 0; background: var(--cream); }
.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  box-shadow: var(--shadow);
  text-align: center;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--brown);
  font-weight: 800;
  font-size: .95rem;
  margin-bottom: .8rem;
}
.step-card strong { display: block; font-size: .95rem; font-weight: 700; margin-bottom: .3rem; color: var(--green-dk); }
.step-card p { font-size: .82rem; color: var(--text-lt); }

/* ===== SECTION HEAD ===== */
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--green-dk); margin-bottom: .4rem; }
.section-head p  { color: var(--text-lt); }

/* ===== PRODUCTS ===== */
.products { padding: 4.5rem 0; background: var(--cream-dk); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.4rem;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.product-card.featured { outline: 2px solid var(--gold); }

.product-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cream);
  position: relative;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.product-card:hover .product-img img { transform: scale(1.04); }

.product-badge {
  position: absolute;
  top: .7rem;
  right: .7rem;
  background: var(--gold);
  color: var(--brown);
  font-size: .72rem;
  font-weight: 800;
  padding: .2rem .6rem;
  border-radius: 999px;
  letter-spacing: .03em;
}

.product-content { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.product-tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--green); }
.product-title { font-size: 1.05rem; font-weight: 800; color: var(--green-dk); }
.product-price { font-size: 1.1rem; font-weight: 800; color: var(--gold-dk); }
.product-desc { font-size: .85rem; color: var(--text-lt); flex: 1; }

.qty-row { display: flex; align-items: center; gap: .5rem; margin-top: .3rem; }
.qty-input {
  width: 64px;
  padding: .4rem .5rem;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px; /* iOS auto-zoom önler */
  font-weight: 700;
  text-align: center;
  background: var(--cream);
}
.qty-input:focus { outline: none; border-color: var(--gold); }
.unit { font-size: .82rem; color: var(--text-lt); font-weight: 600; }
.add-btn { margin-top: .5rem; width: 100%; }

/* ===== ORDER ===== */
.order { padding: 4.5rem 0; background: var(--cream); }
.order-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2rem;
  align-items: start;
}
.order-panel {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.panel-head { margin-bottom: 1.4rem; }
.panel-head h2 { font-size: 1.3rem; font-weight: 800; color: var(--green-dk); }

.cart-items { display: flex; flex-direction: column; gap: .8rem; }
.cart-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: .8rem;
  align-items: center;
  padding: .7rem;
  background: var(--cream);
  border-radius: 10px;
}
.cart-item img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; }
.cart-item h4 { font-size: .9rem; font-weight: 700; margin-bottom: .15rem; }
.cart-item p  { font-size: .78rem; color: var(--text-lt); }

.cart-controls { display: flex; align-items: center; gap: .4rem; }
.cart-controls button {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid #ddd;
  background: var(--white);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
  line-height: 1;
}
.cart-controls button:hover { background: var(--cream-dk); }
.cart-controls .remove-btn { border-color: #f0b4b4; color: #c0392b; font-size: .9rem; }
.cart-controls strong { font-size: .95rem; min-width: 20px; text-align: center; }

.cart-empty { padding: 1.5rem 0; text-align: center; color: var(--text-lt); font-size: .9rem; }
.cart-note  { margin-top: 1rem; padding: .9rem 1rem; background: var(--cream-dk); border-radius: 10px; font-size: .82rem; color: var(--text-lt); }

.order-form { display: flex; flex-direction: column; gap: .9rem; }
.order-form h2 { font-size: 1.3rem; font-weight: 800; color: var(--green-dk); margin-bottom: .5rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }

.order-form label {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-lt);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.order-form input,
.order-form textarea {
  padding: .65rem .9rem;
  border: 1.5px solid #e0ddd5;
  border-radius: 9px;
  font-family: inherit;
  font-size: 16px; /* 16px — iOS Safari auto-zoom önler */
  font-weight: 600;
  color: var(--text);
  background: var(--cream);
  transition: border-color .15s;
  resize: vertical;
}
.order-form input:focus,
.order-form textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }
.order-form input[readonly] { opacity: .6; cursor: default; }

.form-note { font-size: .82rem; text-align: center; color: var(--text-lt); margin-top: .2rem; min-height: 1.2rem; }
.optional   { font-weight: 400; font-size: .78rem; text-transform: none; letter-spacing: 0; color: var(--text-lt); margin-left: .3rem; }
.label-head { display: flex; align-items: center; }

/* ===== ABOUT ===== */
.about { padding: 4.5rem 0; background: var(--cream-dk); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  align-items: center;
}
.about-text h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 800; color: var(--green-dk); margin-bottom: 1.8rem; }
.about-list { list-style: none; display: flex; flex-direction: column; gap: 1.3rem; }
.about-list li { display: flex; gap: 1.1rem; align-items: flex-start; }
.about-num {
  flex-shrink: 0;
  font-size: .72rem;
  font-weight: 800;
  color: var(--gold-dk);
  letter-spacing: .05em;
  padding-top: .15rem;
}
.about-list strong { display: block; font-weight: 700; color: var(--green-dk); margin-bottom: .2rem; }
.about-list p { font-size: .88rem; color: var(--text-lt); }
.about-logo { text-align: center; }
.about-logo img { width: 200px; margin: 0 auto; filter: drop-shadow(0 4px 16px rgba(0,0,0,.1)); }

/* ===== CONTACT ===== */
.contact { padding: 4rem 0; background: var(--green-dk); color: var(--white); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.contact h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: .5rem; }
.contact p  { opacity: .75; font-size: .95rem; }
.contact-cards { display: flex; flex-direction: column; gap: .8rem; }
.contact-card {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  transition: background .15s;
}
.contact-card:hover { background: rgba(255,255,255,.18); }
.contact-card strong { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; opacity: .65; }
.contact-card span  { font-weight: 700; font-size: .95rem; }

/* ===== FOOTER ===== */
.footer { background: #2e4626; padding: 1.8rem 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-logo  { height: 44px; width: auto; }
.footer p     { font-size: .82rem; color: rgba(255,255,255,.45); }

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom));
  right: calc(20px + env(safe-area-inset-right));
  z-index: 200;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 14px rgba(0,0,0,.22);
  transition: transform .18s, box-shadow .18s;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 5px 20px rgba(0,0,0,.28); }

/* ===== SEO TEXT (görünmez) ===== */
.seo-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ===== REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .45s ease, transform .45s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */

/* Tablet orta (600–900px) */
@media (max-width: 900px) and (min-width: 601px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .order-inner  { grid-template-columns: 1fr; }
}

/* Touch hedefleri minimum 44px */
.btn, .add-btn, .cart-controls button, .cart-chip, .nav-links a, .contact-card {
  min-height: 44px;
}

/* Footer safe area */
.footer {
  padding-bottom: calc(1.8rem + env(safe-area-inset-bottom));
}

@media (max-width: 900px) {
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .about-logo { display: none; }
}

@media (max-width: 768px) {
  .burger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.4rem 1.4rem;
    gap: .9rem;
    border-bottom: 1px solid rgba(0,0,0,.07);
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .header { position: relative; }

  .hero-inner { grid-template-columns: 1fr; text-align: center; padding-bottom: 3rem; }
  .hero-logo  { display: none; }
  .hero-desc  { margin-inline: auto; }
  .hero-btns  { justify-content: center; }

  .order-inner { grid-template-columns: 1fr; }
  .form-grid   { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .step-grid    { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}
