:root {
  /* Logo renkleri: bordo #8d0b0b, krem #fff8e5 */
  --bg: #fff8e5;
  --bg-alt: #f7ecd2;
  --ink: #2e1715;
  --muted: #7d5f5a;
  --line: #ecdcc0;
  --accent: #8d0b0b;
  --accent-dark: #6e0808;
  --accent-soft: #c98b84;
  --accent-pale: #f3dcd3;
  --card: #fffcf4;
  --text: #4f3532;
  --radius: 14px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }

.container { width: min(1140px, 92%); margin: 0 auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 600; color: var(--accent); margin-bottom: .6rem; }
.small { font-size: .8rem; color: var(--muted); margin-top: .75rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent; font-weight: 500; text-decoration: none; transition: background .2s, color .2s, border-color .2s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-block { width: 100%; }
.btn:disabled { background: var(--line); color: var(--muted); cursor: not-allowed; }
.icon-btn { background: none; border: none; font-size: 1.1rem; padding: .4rem; color: var(--muted); }
.icon-btn:hover { color: var(--ink); }

/* Hazırlık şeridi */
.notice-bar { background: var(--accent); color: var(--bg); text-align: center; font-size: .85rem; padding: .55rem 1rem; }
.cart-btn[hidden] { display: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 248, 229, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: block; line-height: 0; }
.logo img { height: 46px; width: auto; }
.nav { display: flex; gap: 2rem; }
.nav a { text-decoration: none; font-size: .95rem; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.cart-btn { position: relative; background: none; border: none; padding: .5rem; color: var(--ink); }
.cart-count { position: absolute; top: 0; right: -2px; background: var(--accent); color: #fff; font-size: .68rem; font-weight: 600; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.cart-count.bump { animation: bump .3s; }
@keyframes bump { 50% { transform: scale(1.35); } }
.menu-btn { display: none; background: none; border: none; font-size: 1.4rem; padding: .3rem .5rem; }

/* Hero */
.hero { padding: clamp(3rem, 8vw, 6rem) 0; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 400; margin-bottom: 1.2rem; }
.hero h1 em { color: var(--accent); }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 32rem; margin-bottom: 2rem; }
.hero-buttons { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-art { position: relative; aspect-ratio: 1; max-width: 440px; justify-self: center; width: 100%; }
.blob { position: absolute; border-radius: 50% 45% 55% 48% / 52% 48% 52% 48%; }
.b1 { inset: 8% 12% 18% 6%; background: linear-gradient(150deg, var(--accent-soft), var(--accent)); animation: float 9s ease-in-out infinite; }
.b2 { width: 42%; height: 42%; right: 2%; bottom: 4%; background: linear-gradient(150deg, var(--accent-pale), var(--accent-soft)); border-radius: 50%; animation: float 7s ease-in-out infinite reverse; }
.b3 { width: 20%; height: 20%; left: 4%; bottom: 10%; background: var(--ink); border-radius: 50%; opacity: .85; }
@keyframes float { 50% { transform: translateY(-12px) rotate(3deg); } }

/* Sections */
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: 2.2rem; flex-wrap: wrap; }
.section-note { color: var(--muted); max-width: 22rem; }

/* Workshops */
.workshop-list { display: grid; gap: 1rem; }
.workshop { display: grid; grid-template-columns: 96px 1fr auto; gap: 1.5rem; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.5rem; transition: box-shadow .2s, transform .2s; }
.workshop:hover { box-shadow: 0 10px 30px -18px rgba(60, 40, 20, .35); transform: translateY(-2px); }
.date-badge { border-radius: 12px; aspect-ratio: 1; display: grid; place-content: center; text-align: center; color: #fff; }
.date-badge .day { font-family: var(--serif); font-size: 2rem; line-height: 1; }
.date-badge .month { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; margin-top: .2rem; }
.workshop h3 { margin-bottom: .3rem; }
.workshop .meta { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; font-size: .88rem; color: var(--muted); margin-bottom: .45rem; }
.workshop .desc { font-size: .95rem; color: var(--text); }
.workshop-side { text-align: right; display: grid; gap: .55rem; justify-items: end; }
.price { font-family: var(--serif); font-size: 1.35rem; }
.seats { font-size: .8rem; font-weight: 500; padding: .2rem .6rem; border-radius: 999px; background: var(--bg-alt); color: var(--text); border: 1px solid var(--line); }
.seats.low { background: var(--accent-pale); border-color: transparent; color: var(--accent-dark); }
.seats.full { background: var(--line); color: var(--muted); }
.past { margin-top: 2rem; }
.past summary { cursor: pointer; color: var(--muted); font-weight: 500; margin-bottom: 1rem; }
.past .workshop { opacity: .6; }
.past .workshop:hover { transform: none; box-shadow: none; }
.empty { color: var(--muted); padding: 1rem 0; }

/* Shop */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { border: 1px solid var(--line); background: var(--card); padding: .45rem 1rem; border-radius: 999px; font-size: .88rem; color: var(--muted); transition: all .2s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }
.product { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.product:hover { box-shadow: 0 14px 34px -20px rgba(60, 40, 20, .4); transform: translateY(-3px); }
.product-img { aspect-ratio: 4 / 3.4; position: relative; display: grid; place-items: center; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-img .shape { width: 46%; aspect-ratio: .82; border-radius: 42% 42% 30% 30% / 30% 30% 22% 22%; box-shadow: inset -10px -14px 0 rgba(0,0,0,.08); }
.product-img .tag { position: absolute; top: .8rem; left: .8rem; background: rgba(255,255,255,.88); font-size: .72rem; font-weight: 600; padding: .25rem .6rem; border-radius: 999px; letter-spacing: .04em; }
.product-img .tag.out { background: var(--ink); color: #fff; }
.product-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.product-body h3 { font-size: 1.1rem; }
.product-body p { font-size: .88rem; color: var(--muted); flex: 1; }
.product-foot { display: flex; justify-content: space-between; align-items: center; margin-top: .7rem; }
.product-foot .price { font-size: 1.2rem; }
.add-btn { padding: .5rem 1rem; font-size: .88rem; }

/* About */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: center; }
.about-art { aspect-ratio: 4 / 5; border-radius: 200px 200px var(--radius) var(--radius); background:
  radial-gradient(circle at 30% 75%, var(--accent-pale) 0 18%, transparent 19%),
  radial-gradient(circle at 70% 35%, var(--accent-soft) 0 22%, transparent 23%),
  linear-gradient(170deg, #f7ecd2, var(--accent)); }
.about h2 { margin-bottom: 1.2rem; }
.about p { color: var(--text); margin-bottom: 1rem; max-width: 34rem; }
.stats { list-style: none; display: flex; gap: 2.5rem; margin-top: 2rem; }
.stats strong { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 400; color: var(--accent); }
.stats span { font-size: .85rem; color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact h2 { margin-bottom: 1.2rem; }
.contact-line { color: var(--text); margin-bottom: .3rem; }
.contact-links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.newsletter { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.newsletter p { color: var(--muted); margin: .3rem 0 1.2rem; }
.newsletter-row { display: flex; gap: .5rem; }
.newsletter input { flex: 1; min-width: 0; }
.form-msg { color: var(--accent) !important; font-weight: 500; margin: .8rem 0 0 !important; min-height: 1.2em; }

input, textarea { font: inherit; width: 100%; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); transition: border-color .2s; }
input:focus, textarea:focus { outline: none; border-color: var(--accent); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 1.8rem 0; font-size: .88rem; color: var(--muted); }
.site-footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }

/* Drawer */
.overlay { position: fixed; inset: 0; background: rgba(30, 22, 16, .4); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 90; }
.overlay.show { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(400px, 100%); background: var(--bg); z-index: 100; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1), visibility .35s; visibility: hidden; }
.drawer.open { transform: none; visibility: visible; box-shadow: -20px 0 40px -20px rgba(0,0,0,.25); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1.3rem 1.5rem; border-bottom: 1px solid var(--line); }
.drawer-body { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.drawer-foot { padding: 1.3rem 1.5rem; border-top: 1px solid var(--line); }
.total-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; }
.total-row strong { font-family: var(--serif); font-size: 1.4rem; }
.cart-item { display: grid; grid-template-columns: 56px 1fr auto; gap: .9rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 56px; height: 56px; border-radius: 10px; background-size: cover; background-position: center; }
.cart-item h4 { font-size: .92rem; font-weight: 500; }
.cart-item .unit { font-size: .8rem; color: var(--muted); }
.qty { display: flex; align-items: center; gap: .4rem; margin-top: .3rem; }
.qty button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: #fff; line-height: 1; }
.qty button:hover { border-color: var(--ink); }
.qty span { min-width: 1.4rem; text-align: center; font-size: .9rem; }
.cart-item .line-total { font-weight: 600; font-size: .92rem; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 1rem; background: rgba(30, 22, 16, .45); opacity: 0; pointer-events: none; transition: opacity .25s; }
.modal.show { opacity: 1; pointer-events: auto; }
.modal-box { position: relative; background: var(--bg); border-radius: var(--radius); padding: 2rem; width: min(440px, 100%); max-height: 92vh; overflow-y: auto; display: grid; gap: .9rem; transform: translateY(10px); transition: transform .25s; }
.modal.show .modal-box { transform: none; }
.modal-close { position: absolute; top: .9rem; right: .9rem; }
.modal-box .eyebrow { margin-bottom: -.5rem; }
.modal-meta { color: var(--muted); font-size: .9rem; margin-top: -.5rem; }
.modal-box label { display: grid; gap: .3rem; font-size: .85rem; font-weight: 500; }

/* Toast */
.toast { position: fixed; bottom: 1.5rem; left: 50%; transform: translate(-50%, 20px); background: var(--ink); color: var(--bg); padding: .75rem 1.3rem; border-radius: 999px; font-size: .9rem; opacity: 0; pointer-events: none; transition: all .3s; z-index: 120; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Responsive */
@media (max-width: 860px) {
  .nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); max-height: 0; overflow: hidden; transition: max-height .3s; }
  .nav.open { max-height: 300px; }
  .nav a { padding: 1rem 4%; border-top: 1px solid var(--line); }
  .menu-btn { display: block; }
  .hero-inner, .about, .contact { grid-template-columns: 1fr; }
  .hero-art { max-width: 300px; order: -1; }
  .about { gap: 2rem; }
  .about-art { max-width: 340px; }
}
@media (max-width: 640px) {
  .workshop { grid-template-columns: 64px 1fr; gap: 1rem; padding: 1.1rem; }
  .date-badge .day { font-size: 1.5rem; }
  .workshop-side { grid-column: 1 / -1; grid-template-columns: auto auto 1fr; align-items: center; justify-items: start; text-align: left; }
  .workshop-side .btn { justify-self: end; }
  .newsletter-row { flex-direction: column; }
  .stats { gap: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
