/* Masal Cafe – tatlı & sade tasarım */
:root {
    --cream: #fff8f3;
    --cream-2: #fff0e8;
    --pink: #f6a5b9;
    --pink-d: #b83a68;
    --pink-l: #fde3ea;
    --mint: #d4efe2;
    --lav: #eadff7;
    --choc: #5a3a35;
    --muted: #7a5f59;
    --line: #f3dcd6;
    --radius: 22px;
    --shadow: 0 10px 30px rgba(184, 58, 104, .14);
    --font-head: 'Fredoka', 'Quicksand', system-ui, sans-serif;
    --font-body: 'Quicksand', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--cream);
    color: var(--choc);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    -webkit-text-size-adjust: 100%;
}
img, video { max-width: 100%; display: block; }
a { color: var(--pink-d); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; color: var(--choc); }
h1 { font-size: clamp(2rem, 6vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.mt { margin-top: 28px; }
.lead { font-size: 1.12rem; color: var(--muted); }
ul.plain { list-style: none; margin: 0; padding: 0; }
ul.plain li { margin-bottom: .4em; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pink-d); margin-bottom: .4em; }

/* ---------- Butonlar ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .4em;
    padding: .8em 1.5em; border-radius: 999px; border: 2px solid var(--pink-d);
    background: var(--pink-d); color: #fff; font: 700 1rem var(--font-body);
    cursor: pointer; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s;
    box-shadow: 0 6px 16px rgba(184, 58, 104, .28);
}
.btn:hover { transform: translateY(-2px); text-decoration: none; box-shadow: 0 10px 22px rgba(184, 58, 104, .34); }
.btn-ghost { background: transparent; color: var(--pink-d); box-shadow: none; }
.btn-ghost:hover { background: var(--pink-l); box-shadow: none; }
.btn-sm { padding: .5em 1.1em; font-size: .92rem; }

/* ---------- Üst menü ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 248, 243, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; min-height: 66px; }
.logo { display: inline-flex; align-items: center; gap: .45em; color: var(--choc); text-decoration: none !important; }
.logo-ico { font-size: 1.6rem; }
.logo-text { font-family: 'Pacifico', cursive; font-size: 1.5rem; color: var(--pink-d); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { padding: .45em .9em; border-radius: 999px; color: var(--choc); font-weight: 600; }
.nav a:hover { background: var(--pink-l); text-decoration: none; }
.nav a.on { background: var(--pink-l); color: var(--pink-d); }
.nav a.nav-cta { background: var(--pink-d); color: #fff; margin-left: 6px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: var(--pink-l); border-radius: 14px; cursor: pointer; padding: 0; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 3px; border-radius: 3px; background: var(--pink-d); transition: .2s; }
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 760px) {
    .nav-toggle { display: block; }
    .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--cream); padding: 12px 16px 18px; border-bottom: 1px solid var(--line); box-shadow: 0 14px 20px rgba(0, 0, 0, .05); display: none; }
    .nav-open .nav { display: flex; }
    .nav a { padding: .8em 1em; text-align: center; }
    .nav a.nav-cta { margin: 6px 0 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 44px 0 70px; overflow: hidden; background:
    radial-gradient(circle at 12% 18%, var(--pink-l) 0 90px, transparent 91px),
    radial-gradient(circle at 92% 80%, var(--mint) 0 120px, transparent 121px),
    radial-gradient(circle at 85% 8%, var(--lav) 0 70px, transparent 71px); }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; }
.pill { display: inline-block; padding: .35em 1em; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: .9rem; margin-bottom: 1em; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.2em; }
.center-btns { justify-content: center; }
.arch { width: min(380px, 100%); aspect-ratio: 4/5; margin-inline: auto; border-radius: 999px 999px 28px 28px; overflow: hidden; background: #fff; border: 8px solid #fff; box-shadow: var(--shadow); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-ph { position: relative; background: linear-gradient(160deg, var(--pink-l), var(--lav)); }
.arch-ph span { position: absolute; font-size: clamp(3rem, 12vw, 5rem); filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .1)); animation: bob 4s ease-in-out infinite; }
.arch-ph .e1 { top: 14%; left: 50%; transform: translateX(-50%); font-size: clamp(4.5rem, 16vw, 7rem); }
.arch-ph .e2 { bottom: 14%; left: 12%; animation-delay: .6s; }
.arch-ph .e3 { bottom: 26%; right: 14%; animation-delay: 1.2s; }
.arch-ph .e4 { bottom: 6%; right: 38%; animation-delay: 1.8s; font-size: clamp(2.4rem, 8vw, 3.5rem); }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (max-width: 820px) {
    .hero { padding: 28px 0 50px; }
    .hero-in { grid-template-columns: 1fr; text-align: center; }
    .hero-btns { justify-content: center; }
    .arch { width: min(280px, 80%); order: -1; }
}
@media (prefers-reduced-motion: reduce) { .arch-ph span { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Bölümler ---------- */
.section { padding: 64px 0; }
.section.tight { padding: 28px 0 56px; }
.section.soft { background: var(--cream-2); }
.sec-head { text-align: center; margin-bottom: 30px; }
.page-head { padding: 44px 0 8px; background: linear-gradient(180deg, var(--pink-l), var(--cream)); }
.page-head .lead { max-width: 560px; margin-inline: auto; }
.cta-band { background: linear-gradient(135deg, var(--pink-l), var(--lav)); }
.note { background: #fff; border: 2px dashed var(--pink); border-radius: var(--radius); padding: .9em 1.2em; display: inline-block; }
.empty { padding: 40px 0; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip { padding: .5em 1.1em; border-radius: 999px; background: #fff; border: 2px solid var(--line); color: var(--choc); font-weight: 700; font-size: .95rem; }
.chip:hover { border-color: var(--pink); text-decoration: none; }
.chip.on { background: var(--pink-d); border-color: var(--pink-d); color: #fff; }

/* ---------- Kartlar ---------- */
.grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.grid > .card { flex: 0 1 calc((100% - 44px) / 3); min-width: 0; }
@media (max-width: 900px) { .grid { gap: 14px; } .grid > .card { flex-basis: calc((100% - 14px) / 2); } }
@media (max-width: 520px) { .grid { gap: 12px; } .grid > .card { flex-basis: calc((100% - 12px) / 2); } .card-body { padding: 12px 12px 14px; } .card h3 { font-size: 1rem; } .card .muted { font-size: .88rem; } }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.product .thumb { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--pink-l); }
.product .thumb > img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform .4s; }
.product:hover .thumb > img { transform: scale(1.05); }
.thumb-ph { display: grid; place-items: center; }
.ph-0 { background: linear-gradient(135deg, var(--pink-l), #fff); }
.ph-1 { background: linear-gradient(135deg, var(--mint), #fff); }
.ph-2 { background: linear-gradient(135deg, var(--lav), #fff); }
.ph-3 { background: linear-gradient(135deg, #ffe9c9, #fff); }
.ph-emoji { font-size: clamp(3rem, 12vw, 4.5rem); }
.badge { position: absolute; top: 10px; left: 10px; background: var(--pink-d); color: #fff; font-size: .75rem; font-weight: 700; padding: .25em .8em; border-radius: 999px; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-body .eyebrow { font-size: .68rem; margin-bottom: .2em; }
.card-body h3 { margin-bottom: .3em; }
.card-body p { margin-bottom: .8em; font-size: .95rem; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.price { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--pink-d); }

/* ---------- Hakkımızda ---------- */
.about { display: grid; grid-template-columns: .6fr 1.4fr; gap: 40px; align-items: center; }
.about-art { aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); max-width: 280px; width: 100%; margin-inline: auto; }
.about-art span { font-size: clamp(5rem, 18vw, 8rem); }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; text-align: center; gap: 20px; } .about-art { max-width: 160px; } }

/* ---------- Galeri ---------- */
.gallery { columns: 3 220px; column-gap: 14px; }
.g-item { margin: 0 0 14px; break-inside: avoid; }
.g-media { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--pink-l); border-radius: 18px; overflow: hidden; cursor: zoom-in; box-shadow: var(--shadow); }
.g-media img, .g-media video { width: 100%; height: auto; transition: transform .4s; }
.g-media:hover img, .g-media:hover video { transform: scale(1.04); }
.play { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--pink-d); display: grid; place-items: center; font-size: 1.3rem; box-shadow: 0 4px 14px rgba(0, 0, 0, .2); }
@media (max-width: 520px) { .gallery { columns: 2 140px; column-gap: 10px; } .g-item { margin-bottom: 10px; } }

/* ---------- İletişim ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.info { padding: 20px 22px; align-items: flex-start; }
.info .ico { font-size: 1.8rem; }
.info p { margin-bottom: .6em; }
.hours p { margin: 0 0 .2em; }
.map-box { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); min-height: 380px; background: #fff; }
.map-box iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }
.map-ph { min-height: 380px; display: grid; place-content: center; text-align: center; gap: 6px; padding: 20px; background: linear-gradient(135deg, var(--mint), #fff); }
.map-ph span { font-size: 4rem; }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; } .map-box, .map-box iframe, .map-ph { min-height: 300px; } }

/* ---------- Alt bilgi ---------- */
.site-footer { background: var(--choc); color: #f7e8e2; padding: 44px 0 0; margin-top: 0; }
.site-footer a { color: #ffd3de; }
.site-footer h4 { color: #fff; font-size: 1.05rem; }
.site-footer .logo-text { color: #ffd3de; }
.site-footer .muted { color: #dcc3bb; }
.footer-in { display: grid; grid-template-columns: 1.2fr 1fr 1.4fr; gap: 28px; }
.copy { text-align: center; padding: 20px 16px 26px; margin-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; color: #dcc3bb; }
@media (max-width: 760px) { .footer-in { grid-template-columns: 1fr; text-align: center; } }

.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: inline-flex; align-items: center; gap: .4em; padding: .7em 1.1em; border-radius: 999px; background: #17803f; color: #fff; font-weight: 700; box-shadow: 0 8px 20px rgba(0, 0, 0, .22); }
.wa-float:hover { text-decoration: none; transform: translateY(-2px); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(40, 20, 18, .9); display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 16px; }
.lightbox[hidden] { display: none; }
.lb-stage { max-width: min(1000px, 100%); max-height: 78vh; display: flex; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: 78vh; border-radius: 14px; background: #000; }
.lb-cap { color: #fff; margin-top: 12px; text-align: center; min-height: 1.4em; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .15); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .3); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 12px; top: 50%; translate: 0 -50%; }
.lb-next { right: 12px; top: 50%; translate: 0 -50%; }

/* JS varsa hafif belirme animasyonu */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .5s; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Duyuru bandı ---------- */
.announce { background: var(--pink-d); color: #fff; font-weight: 700; font-size: .93rem; text-align: center; padding: .55em 44px; position: relative; }
.announce[hidden] { display: none; }
.announce-x { position: absolute; right: 8px; top: 50%; translate: 0 -50%; background: transparent; border: 0; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; width: 32px; height: 32px; }

/* ---------- Sipariş formu ---------- */
.narrow { width: min(640px, 100% - 32px); }
.form { padding: 22px; gap: 0; }
.form label { display: block; font-weight: 700; font-size: .93rem; margin: 14px 0 5px; }
.form input[type=text], .form input[type=tel], .form input[type=date], .form textarea {
    width: 100%; padding: .75em .9em; border: 2px solid var(--line); border-radius: 14px; font: inherit; color: var(--choc); background: #fffdfb;
}
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--pink); box-shadow: 0 0 0 4px var(--pink-l); }
.form .btn { margin-top: 18px; width: 100%; font-size: 1.05rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-err { background: #fde4ea; color: #9b2b46; border-radius: 12px; padding: .7em 1em; font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.card.info.center { text-align: center; padding: 30px 22px; }
.card.info.center .ico { font-size: 3rem; }
.nav a { white-space: nowrap; }
@media (min-width: 761px) and (max-width: 1000px) { .nav a { padding: .4em .6em; font-size: .93rem; } }

/* ---------- Klavye odağı ---------- */
a:focus-visible, button:focus-visible, .btn:focus-visible, .chip:focus-visible, .g-media:focus-visible {
    outline: 3px solid var(--pink-d); outline-offset: 2px;
}
.site-footer a:focus-visible { outline-color: #ffd3de; }

/* Küçük ekranlarda WhatsApp düğmesi yalnızca simge olsun (içeriği kapatmasın) */
@media (max-width: 520px) {
    .wa-float { width: 52px; height: 52px; padding: 0; justify-content: center; font-size: 1.5rem; right: 12px; bottom: 12px; }
    .wa-float b { display: none; }
}

/* ---------- Ürün fotoğraf önizleme şeridi ---------- */
.thumb-strip { position: absolute; left: 8px; bottom: 8px; display: flex; gap: 6px; z-index: 2; }
.ts { position: relative; width: 40px; height: 40px; padding: 0; border: 2px solid #fff; border-radius: 10px; overflow: hidden; background: var(--pink-l); cursor: pointer; box-shadow: 0 3px 8px rgba(0, 0, 0, .25); }
.ts img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ts-hide { display: none; }
.ts-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(60, 30, 28, .6); color: #fff; font-weight: 700; font-size: .85rem; }
.ts:hover { transform: translateY(-2px); }
@media (max-width: 520px) { .ts { width: 34px; height: 34px; border-radius: 8px; } .thumb-strip { left: 6px; bottom: 6px; gap: 4px; } }
.lb-count { color: #ffd3de; font-size: .9rem; margin-top: 4px; }

.g-more { display: none; }
