/* ============================================================================
   Cookienero — cookienero.com.tr
   Belçika çikolatası zanaatkâr kafe · Sancaktepe / İstanbul
   Renk paleti ve tipografi Claude Design taslağından birebir alınmıştır.
   ========================================================================== */

:root {
  --bg:        #F7F1E6;   /* sayfa zemini */
  --cream:     #FBF6EC;   /* kart / açık yüzey */
  --cream-2:   #F2E9D7;   /* alıntı / not zemini */
  --dark:      #2B1A12;   /* koyu kahve (header/footer) */
  --dark-2:    #3A241A;   /* koyu vurgu */
  --gold:      #F5B301;   /* marka sarısı */
  --ink:       #2B1A12;   /* ana metin */
  --brown:     #7A4A22;   /* link */
  --brown-h:   #C98A16;   /* link hover */
  --accent:    #A8703A;   /* etiket / üst başlık */
  --muted:     #6B584A;   /* açıklama metni */
  --muted-2:   #7A6552;
  --line:      #EADFCB;   /* kart kenarı */
  --on-dark:   #E4D8C6;   /* koyu zemin metni */
  --on-dark-2: #C9B79A;
  --sans: "Jost", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
a { color: var(--brown); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--brown-h); }
::selection { background: var(--gold); color: var(--dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
.serif { font-family: var(--serif); }
[hidden] { display: none !important; }

/* ---- Görsel yer tutucu (gerçek fotoğraf gelene kadar) --------------------- */
.ph {
  background-color: var(--dark-2);
  background-repeat: no-repeat;
  background-position: center;
}

/* ============================ Görünüm geçişi =============================== */
.view { display: none; }
.view.is-active { display: block; }

/* (Alt sağ Web Sitesi/QR Menü anahtarı kaldırıldı — menü artık /menu adresi) */

/* ================================ SİTE ==================================== */
.site-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 14px 32px;
  background: rgba(43,26,18,.96); backdrop-filter: blur(8px);
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 40px; height: 40px; display: block; object-fit: contain; }
.brand .name {
  font-family: var(--serif); font-size: 22px; letter-spacing: .04em; color: var(--cream);
}
.site-nav { display: flex; gap: 30px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.site-nav a { color: var(--on-dark); }
.site-nav a:hover { color: var(--gold); }
.btn-gold {
  border: none; cursor: pointer; font-family: var(--sans); font-weight: 500;
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  padding: 11px 20px; border-radius: 999px; background: var(--gold); color: var(--dark);
  transition: filter .18s ease;
}
.btn-gold { display: inline-flex; align-items: center; justify-content: center; }
.btn-gold:hover { filter: brightness(1.06); color: var(--dark); }
.link-btn:hover { color: var(--brown-h); }

/* ---- Hero ---------------------------------------------------------------- */
.hero {
  position: relative; min-height: 78vh; display: grid; align-items: end;
  background-image:
    linear-gradient(to top, rgba(30,18,12,.92) 0%, rgba(30,18,12,.45) 45%, rgba(30,18,12,.35) 100%),
    url('../uploads/mekan1.jpg?v=2');
  background-size: cover; background-position: center;
  padding: 64px 32px 56px;
}
.hero-inner { max-width: 1160px; margin: 0 auto; width: 100%; }
.hero-logo {
  height: 132px; width: auto; display: block; margin-bottom: 22px;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.35));
}
.eyebrow { font-size: 12px; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.hero h1 {
  font-size: clamp(44px, 6.4vw, 88px); line-height: 1.02; margin: 0;
  color: var(--cream); max-width: 15ch; text-wrap: balance;
}
.hero p {
  margin: 22px 0 34px; max-width: 52ch; font-size: 18px; line-height: 1.6;
  color: var(--on-dark); font-weight: 300;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-ghost {
  font-size: 14px; letter-spacing: .1em; text-transform: uppercase;
  padding: 16px 30px; border-radius: 999px; border: 1px solid rgba(251,246,236,.45); color: var(--cream);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.hero .btn-gold { font-size: 14px; padding: 16px 30px; }

/* ---- Marka şeridi -------------------------------------------------------- */
.strip {
  display: flex; flex-wrap: wrap; gap: 40px; justify-content: center;
  padding: 20px 32px; background: var(--dark); color: var(--on-dark-2);
  font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase;
}

/* ---- Callebaut ----------------------------------------------------------- */
.split {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: stretch;
}
.split.on-cream { background: var(--cream); }
.split.on-bg { background: var(--bg); }
.split .copy {
  padding: clamp(48px, 7vw, 96px); display: flex; flex-direction: column;
  justify-content: center; gap: 22px;
}
.split .copy h2 { font-size: clamp(32px, 3.4vw, 50px); line-height: 1.12; margin: 0; max-width: 18ch; }
.split .copy p { margin: 0; font-size: 17px; line-height: 1.7; color: #574438; max-width: 46ch; font-weight: 300; }
.split .art { min-height: 460px; background-size: cover; background-position: center; }
.callebaut-badge { display: flex; align-items: center; gap: 20px; margin-top: 10px; }
.callebaut-badge .logo {
  width: 86px; height: 86px; border-radius: 10px; overflow: hidden; background: var(--dark-2); flex: none;
}
.callebaut-badge .logo img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 8px; }
.callebaut-badge .meta { font-size: 14px; line-height: 1.6; color: var(--muted-2); }

/* ---- Bölüm ortak --------------------------------------------------------- */
.section { padding: clamp(56px, 7vw, 104px) 32px; }
.wrap { max-width: 1160px; margin: 0 auto; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: 40px;
}
.section-head h2 { font-size: clamp(30px, 3.2vw, 46px); margin: 0; line-height: 1.1; }
.link-btn {
  background: none; border: none; cursor: pointer; font-family: var(--sans);
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); padding: 0;
}

/* ---- Ürün kartları ------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card { background: var(--cream); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.card .img { height: 220px; background-size: cover; background-position: center; }
.card .body { padding: 22px 22px 26px; }
.card .price { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.card h3 { font-size: 23px; margin: 0 0 8px; }
.card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); font-weight: 300; }

/* ---- Galeri -------------------------------------------------------------- */
.gallery { background: var(--dark); color: var(--cream); }
.gallery p.lead { margin: 0 0 40px; color: var(--on-dark-2); font-weight: 300; font-size: 17px; }
.grid-gallery {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-auto-rows: 200px; gap: 14px;
}
.grid-gallery > div { border-radius: 12px; background-size: cover; background-position: center; }
.g-big { grid-column: span 2; grid-row: span 2; }
.g-wide { grid-column: span 2; }

/* ---- Yorumlar ------------------------------------------------------------ */
.reviews-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 38px; }
.reviews-head h2 { font-size: clamp(30px, 3.2vw, 46px); margin: 0; }
.reviews-head .rating { font-size: 15px; color: var(--accent); letter-spacing: .08em; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
blockquote.quote { margin: 0; padding: 30px; border-radius: 14px; background: var(--cream-2); }
blockquote.quote p { margin: 0 0 18px; font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.5; }
blockquote.quote footer { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #8A7360; }

/* ---- İletişim ------------------------------------------------------------ */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); background: var(--bg); }
.contact .copy { padding: clamp(48px, 7vw, 96px); display: flex; flex-direction: column; gap: 26px; justify-content: center; }
.contact .copy h2 { font-size: clamp(30px, 3.2vw, 46px); margin: 0; line-height: 1.1; }
.contact .rows { display: grid; gap: 20px; max-width: 44ch; }
.label { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.contact .val { font-size: 17px; line-height: 1.6; color: #4A3A2E; font-weight: 300; }
.contact .cols { display: flex; gap: 40px; flex-wrap: wrap; }
.contact .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-dark {
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase; padding: 15px 28px;
  border-radius: 999px; background: var(--dark); color: var(--cream); transition: all .18s ease;
}
.btn-dark:hover { background: var(--dark-2); color: var(--gold); }
.btn-outline {
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase; padding: 15px 28px;
  border-radius: 999px; border: 1px solid #D8C8AE; color: var(--dark);
}
.btn-outline:hover { border-color: var(--gold); }
.contact .art { min-height: 420px; background-size: cover; background-position: center; }

/* ---- Footer -------------------------------------------------------------- */
.site-footer {
  background: var(--dark); color: var(--on-dark-2); padding: 48px 32px;
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
}
.site-footer img { height: 74px; width: auto; display: block; object-fit: contain; }
.site-footer .mid { font-size: 14px; font-weight: 300; }
.site-footer .social { display: flex; gap: 22px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.site-footer .social a { color: var(--on-dark-2); }
.site-footer .social a:hover { color: var(--gold); }

/* ================================ QR MENÜ ================================= */
.menu-view { min-height: 100vh; background: var(--dark); display: flex; justify-content: center; }
.menu-phone { width: 100%; max-width: 480px; background: var(--bg); min-height: 100vh; box-shadow: 0 0 60px rgba(0,0,0,.4); }
.menu-top { background: var(--dark); color: var(--cream); padding: 14px 18px 13px; display: flex; align-items: center; justify-content: space-between; gap: 11px; }
.menu-brand { display: flex; align-items: center; gap: 11px; color: inherit; }
.menu-brand:hover { color: inherit; }
.menu-home-hint {
  flex: none; font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--on-dark-2); padding: 7px 12px; border-radius: 999px;
  border: 1px solid rgba(245,179,1,.32); transition: all .18s ease;
}
.menu-home-hint:hover { color: var(--gold); border-color: var(--gold); }
.menu-top img { width: 42px; height: 42px; flex: none; display: block; object-fit: contain; }
.menu-top .title { font-family: var(--serif); font-size: 21px; letter-spacing: .04em; line-height: 1.1; }
.menu-top .sub { font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--on-dark-2); margin-top: 3px; }

/* ---- Grid (kategori seçimi) ---------------------------------------------- */
.menu-grid-wrap { padding: 14px 14px 28px; }
.menu-grid-hint { text-align: center; margin-bottom: 12px; font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); }
.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tile {
  border: none; padding: 0; cursor: pointer; aspect-ratio: 1.5 / 1; border-radius: 13px;
  overflow: hidden; display: flex; flex-direction: column; width: 100%; background: var(--dark); text-align: left;
}
.tile .art { flex: 1; min-height: 0; background-repeat: no-repeat; background-position: center; background-size: cover; background-color: #E9DFC9; }
.tile .art.fallback { background-color: var(--dark-2); background-size: 38px auto; opacity: .92; }
.tile .cap { flex: none; padding: 7px 10px 8px; background: var(--dark); display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.tile .cap .n { font-family: var(--serif); font-size: 14.5px; line-height: 1.1; color: var(--cream); }
.tile .cap .c { font-size: 9px; letter-spacing: .14em; color: var(--gold); flex: none; }
.menu-foot { margin-top: 18px; padding-bottom: 56px; text-align: center; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #A8967E; }

/* ---- Liste (kategori detayları) ------------------------------------------ */
.menu-tabsbar { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid #E5D9C3; }
.menu-back-row { display: flex; align-items: center; gap: 8px; padding: 12px 16px 0; }
.menu-back {
  border: none; background: #EFE4CE; color: var(--muted); cursor: pointer; font-family: var(--sans);
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px;
}
.menu-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px; scrollbar-width: none; }
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tab {
  border: none; cursor: pointer; font-family: var(--sans); font-size: 13px; letter-spacing: .06em;
  padding: 9px 16px; border-radius: 999px; white-space: nowrap;
  background: #EFE4CE; color: var(--muted); font-weight: 400; transition: all .15s ease;
}
.menu-tab.on { background: var(--dark); color: var(--gold); font-weight: 500; }

.menu-list { padding: 4px 16px 40px; }
.cat { padding-top: 24px; scroll-margin-top: 108px; }
.cat .hero { height: 168px; border-radius: 12px; background-repeat: no-repeat; background-position: center; background-size: cover; background-color: #E9DFC9; min-height: 0; display: block; padding: 0; }
.cat .hero.fallback { background-color: var(--dark-2); background-size: 52px auto; }
.cat-head { display: flex; align-items: center; gap: 12px; margin: 14px 0; }
.cat-head h2 { font-size: 25px; margin: 0; line-height: 1.15; }
.cat-head .rule { flex: 1; height: 1px; background: #E0D2B8; }
.items { display: grid; gap: 9px; }
.item {
  display: grid; grid-template-columns: 1fr auto; gap: 12px; background: var(--cream);
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 13px; align-items: start;
}
.item .info { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.item h3 { font-size: 17px; margin: 0; line-height: 1.22; }
.item .desc { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--muted-2); font-weight: 300; }
.item .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 3px; }
.tag { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
.tag.yeni { background: var(--gold); color: var(--dark); }
.tag.cok { background: var(--dark); color: var(--bg); }
.tag.vegan { border: 1px solid #9BAF86; color: #5D7A46; }
.tag.glutensiz { border: 1px solid #D8C8AE; color: #8A7360; }
.item .price-col { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.item .price { font-size: 15.5px; font-weight: 500; color: var(--brown); white-space: nowrap; }
.item .price2 { font-size: 12px; color: #A8967E; white-space: nowrap; }
.cat-note { margin: 12px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--cream-2); font-size: 12.5px; line-height: 1.55; color: var(--muted-2); font-weight: 300; }
.allergen { margin-top: 34px; padding: 22px; border-radius: 14px; background: var(--cream-2); font-size: 13px; line-height: 1.6; color: var(--muted); font-weight: 300; }
.allergen strong { font-weight: 500; color: var(--dark); }

/* ================================ Responsive ============================== */
@media (max-width: 760px) {
  .site-header { padding: 12px 18px; gap: 12px; }
  .site-nav { display: none; }
  .section, .hero { padding-left: 20px; padding-right: 20px; }
  .strip { gap: 20px 28px; padding: 18px 20px; }
  .hero { min-height: 82vh; }
  .split .art { min-height: 300px; }
  .g-big { grid-row: span 1; }
}
@media (max-width: 420px) {
  .brand .name { font-size: 19px; }
  .site-header .btn-gold { padding: 10px 14px; font-size: 12px; }
}
