/* ============================================================
   Çiğköfte Durağı – style.css
   Primary: #E8231A (red)  |  BG: #fff / #f8f8f8
   Font: Playfair Display (headings) + Nunito (body)
   ============================================================ */

/* ── CSS Variables ── */
:root {
  --red: #E8231A;
  --red-dark: #c01a12;
  --red-light: #fff0ef;
  --black: #1a1a1a;
  --gray: #6b7280;
  --gray-light: #f3f4f6;
  --border: #e5e7eb;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.07);
  --shadow-md: 0 4px 20px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.13);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --transition: .25s ease;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Nunito', 'Segoe UI', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); background: #f8f8f8; color: var(--black); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Container ── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

/* ── Section ── */
.section { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-tag { display: inline-block; background: var(--red-light); color: var(--red); font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; padding: .3rem .9rem; border-radius: var(--radius-pill); margin-bottom: .75rem; }
.section-title { font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--black); line-height: 1.2; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .65rem 1.4rem; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: .9rem; font-weight: 700;
  transition: all var(--transition); white-space: nowrap;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(232,35,26,.35); }
.btn-outline { background: transparent; color: var(--black); border: 2px solid var(--black); }
.btn-outline:hover { background: var(--black); color: #fff; }
.btn-lg { padding: .85rem 2rem; font-size: 1rem; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  height: 68px;
}
.logo { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.logo-icon { font-size: 1.6rem; }
.logo-text { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--black); }
.logo-accent { color: var(--red); }

.nav { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav-link {
  padding: .4rem .8rem; border-radius: var(--radius-pill);
  font-size: .88rem; font-weight: 600; color: var(--gray);
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--red); background: var(--red-light); }

.header-ctas { display: flex; gap: .6rem; flex-shrink: 0; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: .4rem; margin-left: auto; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--black); border-radius: 2px; transition: all var(--transition); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #fff 55%, #fff5f5 100%);
  padding: 5rem 0 4rem;
}
.hero-bg-pattern {
  position: absolute; inset: 0; opacity: .04;
  background-image: repeating-radial-gradient(circle at 50% 50%, var(--red) 0, var(--red) 1px, transparent 0, transparent 50%);
  background-size: 30px 30px;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--red-light); color: var(--red);
  font-size: .8rem; font-weight: 800; padding: .35rem 1rem;
  border-radius: var(--radius-pill); margin-bottom: 1rem;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1;
  color: var(--black); margin-bottom: .4rem;
}
.hero-title-accent { color: var(--red); }
.hero-slogan {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 800;
  color: var(--black); margin-bottom: .5rem; letter-spacing: -.01em;
}
.hero-subtitle { font-size: 1rem; color: var(--red); font-weight: 700; margin-bottom: 1rem; }
.hero-desc { font-size: .95rem; color: var(--gray); line-height: 1.75; max-width: 480px; margin-bottom: 1.5rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.badge {
  display: inline-flex; align-items: center; gap: .3rem;
  background: #fff; border: 1.5px solid var(--border);
  padding: .35rem .85rem; border-radius: var(--radius-pill);
  font-size: .8rem; font-weight: 700; box-shadow: var(--shadow-sm);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Hero image */
.hero-image-wrap {
  position: relative; display: flex; align-items: center; justify-content: center;
}
.hero-image-ring {
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff0ef 0%, #fce8e8 60%, transparent 80%);
  z-index: 0;
}
.hero-img {
  position: relative; z-index: 1;
  width: 340px; height: 340px;
  border-radius: 50%; object-fit: cover;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
}
/* Placeholder when image is missing */
.hero-image-wrap.img-placeholder::after {
  content: "🌯";
  position: absolute; z-index: 1;
  width: 340px; height: 340px; border-radius: 50%;
  background: var(--red-light); border: 6px solid #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 8rem; box-shadow: var(--shadow-lg);
}
.hero-float-badge {
  position: absolute; z-index: 2;
  background: #fff; border-radius: var(--radius-pill);
  padding: .45rem 1rem; font-size: .8rem; font-weight: 800;
  box-shadow: var(--shadow-md); border: 1.5px solid var(--border);
}
.hero-float-badge.top { top: 10%; right: 0; }
.hero-float-badge.bottom { bottom: 10%; left: 0; }

.hero-wave { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; }
.hero-wave svg { width: 100%; height: auto; }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.popular-section { background: #f8f8f8; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.product-img-wrap {
  position: relative; height: 200px; background: var(--gray-light); overflow: hidden;
}
.product-img-wrap img { transition: transform .4s ease; }
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
/* Placeholder for missing product images */
.product-img-wrap.img-ph {
  display: flex; align-items: center; justify-content: center; font-size: 4rem;
}
.product-img-wrap.img-ph::after { content: "🌯"; font-size: 4rem; }

.badge-popular {
  position: absolute; top: .8rem; left: .8rem;
  background: var(--red); color: #fff;
  font-size: .7rem; font-weight: 800; padding: .25rem .7rem;
  border-radius: var(--radius-pill); text-transform: uppercase; letter-spacing: .05em;
}

.product-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.product-name { font-family: var(--font-head); font-size: 1.05rem; color: var(--black); margin-bottom: .4rem; line-height: 1.3; }
.product-weight { font-size: .85rem; font-weight: 400; color: var(--gray); }
.product-desc { font-size: .82rem; color: var(--gray); line-height: 1.55; flex: 1; margin-bottom: .75rem; }
.product-rating { font-size: .78rem; color: var(--gray); margin-bottom: .85rem; }
.rating-count { color: var(--gray); opacity: .7; }

.product-footer { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.price-group { display: flex; flex-direction: column; }
.product-price-old { font-size: .8rem; color: var(--gray); text-decoration: line-through; }
.product-price { font-size: 1.2rem; font-weight: 800; color: var(--red); }

.btn-add {
  background: var(--red); color: #fff;
  padding: .5rem 1rem; border-radius: var(--radius-pill);
  font-size: .82rem; font-weight: 700;
  transition: all var(--transition); flex-shrink: 0;
}
.btn-add:hover { background: var(--red-dark); transform: scale(1.04); }

/* ============================================================
   FULL MENU
   ============================================================ */
.menu-section { background: #fff; }

/* Category Tabs */
.category-tabs {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem;
  justify-content: center;
}
.cat-tab {
  padding: .5rem 1.2rem; border-radius: var(--radius-pill);
  font-size: .88rem; font-weight: 700; border: 2px solid var(--border);
  color: var(--gray); background: #fff; transition: all var(--transition);
}
.cat-tab:hover { border-color: var(--red); color: var(--red); }
.cat-tab.active { background: var(--red); color: #fff; border-color: var(--red); }

.menu-category { margin-bottom: 3rem; }
.cat-title {
  font-family: var(--font-head); font-size: 1.4rem; color: var(--black);
  margin-bottom: 1.25rem; display: flex; align-items: center; gap: .6rem;
  padding-bottom: .75rem; border-bottom: 2px solid var(--red-light);
}
.cat-icon { font-size: 1.3rem; }

.menu-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem;
}
.menu-grid-full { grid-template-columns: 1fr; }

.menu-item {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--gray-light); border-radius: var(--radius-sm);
  padding: 1rem 1.25rem; gap: 1rem;
  transition: background var(--transition), box-shadow var(--transition);
}
.menu-item:hover { background: var(--red-light); box-shadow: var(--shadow-sm); }
.menu-item-full { flex-direction: row; align-items: flex-start; }

.mi-name { font-size: .92rem; font-weight: 700; color: var(--black); }
.mi-desc { font-size: .78rem; color: var(--gray); margin-top: .25rem; }
.mi-info { display: flex; flex-direction: column; }
.mi-price { font-size: 1rem; font-weight: 800; color: var(--red); white-space: nowrap; }
.mi-price-old { font-size: .78rem; color: var(--gray); text-decoration: line-through; }
.mi-price-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: .1rem; flex-shrink: 0; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-section { background: #f8f8f8; }
.about-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.about-image-wrap {
  position: relative; border-radius: var(--radius); overflow: hidden;
  height: 480px;
}
.about-image-wrap img { height: 100%; }
.about-img-bg {
  position: absolute; inset: 0; background: var(--red-light); z-index: 0;
  display: flex; align-items: center; justify-content: center; font-size: 10rem;
}
.about-img-bg::after { content: "🌯"; }
.about-image-wrap img { position: relative; z-index: 1; }
.about-image-wrap.img-placeholder img { display: none; }

.about-stat-card {
  position: absolute; bottom: 1.5rem; right: 1.5rem; z-index: 2;
  background: var(--red); color: #fff; border-radius: var(--radius-sm);
  padding: 1rem 1.5rem; text-align: center; box-shadow: var(--shadow-md);
}
.stat-num { display: block; font-family: var(--font-head); font-size: 2rem; font-weight: 800; }
.stat-label { display: block; font-size: .8rem; font-weight: 700; opacity: .9; }

.about-content { display: flex; flex-direction: column; gap: 1rem; }
.about-text { font-size: .95rem; color: var(--gray); line-height: 1.75; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: .5rem; }
.about-feat {
  display: flex; align-items: flex-start; gap: .85rem;
  background: #fff; border-radius: var(--radius-sm);
  padding: 1rem; box-shadow: var(--shadow-sm);
}
.feat-icon { font-size: 1.5rem; flex-shrink: 0; }
.about-feat strong { font-size: .9rem; color: var(--black); display: block; }
.about-feat p { font-size: .8rem; color: var(--gray); margin-top: .1rem; }

/* ============================================================
   ORDER / CONTACT
   ============================================================ */
.order-section { background: #fff; }
.order-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.order-sub { font-family: var(--font-head); font-size: 1.3rem; margin-bottom: 1.25rem; }
.order-platforms { display: flex; flex-direction: column; gap: .9rem; }

.platform-btn {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.4rem; border-radius: var(--radius);
  font-size: .92rem; font-weight: 700; border: 2px solid transparent;
  transition: all var(--transition); box-shadow: var(--shadow-sm);
  color: #fff;
}
.platform-btn:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.platform-btn > div { flex: 1; }
.platform-btn > div strong { display: block; font-size: .95rem; }
.platform-btn > div span { font-size: .78rem; opacity: .85; }
.platform-icon { font-size: 1.6rem; }
.platform-arrow { font-size: 1.1rem; opacity: .7; }

.platform-ys { background: linear-gradient(135deg, #ff6000, #e04e00); }
.platform-ty { background: linear-gradient(135deg, #f27a1a, #d96a10); }
.platform-wa { background: linear-gradient(135deg, #25d366, #1aa051); }

.contact-card {
  background: var(--gray-light); border-radius: var(--radius);
  padding: 2rem; display: flex; flex-direction: column; gap: 1.1rem;
}
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon { font-size: 1.4rem; flex-shrink: 0; }
.contact-item strong { font-size: .9rem; color: var(--black); display: block; margin-bottom: .15rem; }
.contact-item p, .contact-link { font-size: .88rem; color: var(--gray); }
.contact-link:hover { color: var(--red); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--black); color: #e5e7eb; padding: 4rem 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.footer-brand .logo-text { color: #fff; }
.footer-slogan { color: var(--red); font-weight: 700; margin: .5rem 0 .4rem; }
.footer-desc { font-size: .85rem; color: #9ca3af; margin-bottom: 1.25rem; }
.social-links { display: flex; gap: .6rem; }
.social-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff1; border: 1px solid #ffffff22;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: background var(--transition);
}
.social-btn:hover { background: var(--red); }

.footer-col { display: flex; flex-direction: column; gap: .6rem; }
.footer-col h4 { color: #fff; font-size: .95rem; font-weight: 800; margin-bottom: .4rem; }
.footer-col a, .footer-col p { font-size: .85rem; color: #9ca3af; transition: color var(--transition); }
.footer-col a:hover { color: var(--red); }

.footer-bottom {
  border-top: 1px solid #ffffff11; padding: 1.25rem 0; text-align: center;
}
.footer-bottom p { font-size: .82rem; color: #6b7280; }

/* ============================================================
   CART TOAST
   ============================================================ */
.cart-toast {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--black); color: #fff;
  padding: .85rem 2rem; border-radius: var(--radius-pill);
  font-size: .9rem; font-weight: 700; box-shadow: var(--shadow-lg);
  z-index: 9999; opacity: 0; transition: all .4s ease;
  white-space: nowrap; pointer-events: none;
}
.cart-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================================
   WHATSAPP FLOAT BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: wa-pulse 2.5s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,.6); }
@keyframes wa-pulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,.7); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .header-ctas { display: none; }
  .hamburger { display: flex; }
  .nav {
    position: fixed; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    flex-direction: column; gap: 0; padding: 1rem;
    transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: all .3s ease; z-index: 99;
  }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-link { padding: .75rem 1rem; width: 100%; border-radius: var(--radius-sm); }
  
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-content { order: 2; }
  .hero-image-wrap { order: 1; }
  .hero-badges { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-desc { margin: 0 auto 1.5rem; }
  .hero-img { width: 260px; height: 260px; }
  .hero-image-ring { width: 300px; height: 300px; }
  
  .about-inner { grid-template-columns: 1fr; }
  .about-image-wrap { height: 320px; }
  .order-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .products-grid { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-float-badge { display: none; }
  .category-tabs { gap: .4rem; }
  .cat-tab { font-size: .78rem; padding: .4rem .9rem; }
}
