:root {
  color-scheme: light;
  --cream: #fff8f0;
  --paper: #fdf1e7;
  --paper-strong: #fffdfa;
  --blush: #f4c9d1;
  --blush-soft: #fbe4e8;
  --blush-deep: #e88fa1;
  --plum: #6b2d3c;
  --plum-dark: #3a1620;
  --gold: #c89b5c;
  --gold-light: #e6c98b;
  --chocolate: #4a3428;
  --ink: #2c1b1f;
  --ink-soft: #5a4249;
  --mist: #f6e3d8;
  --white: #fff;
  --shadow: 0 24px 70px #6b2d3c26;
  --shadow-soft: 0 16px 40px #6b2d3c14;

  background: var(--paper);
  color: var(--ink);
  font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, ::before, ::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }
}

body { background: var(--paper); min-width: 320px; margin: 0; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; }

h1, h2, h3, .brand-copy span, .logo-word {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
}

/* Skip link */
.skip-link {
  z-index: 50;
  background: var(--white);
  color: var(--plum);
  border-radius: 999px;
  padding: .75rem 1.2rem;
  font-weight: 700;
  transition: transform .18s;
  position: absolute;
  top: 1rem; left: 1rem;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

/* Header */
.site-header {
  z-index: 30;
  color: var(--white);
  backdrop-filter: blur(16px);
  background: linear-gradient(120deg, #3a1620ee, #6b2d3cd6);
  border-bottom: 1px solid #ffffff26;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .9rem 5vw;
  display: flex;
  position: fixed;
  inset: 0 0 auto;
  transition: padding .25s ease;
}

.brand { align-items: center; gap: .7rem; min-height: 44px; text-decoration: none; display: inline-flex; }
.brand-mark {
  width: 46px; height: 46px; flex: none;
  filter: drop-shadow(0 4px 10px #00000040);
  transition: transform .35s ease;
}
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-copy { gap: .05rem; display: grid; }
.brand-copy span { font-size: 1.15rem; font-weight: 600; letter-spacing: .01em; }
.brand-copy small {
  color: var(--gold-light);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .68rem;
  font-weight: 700;
}

.nav-links { align-items: center; gap: 1.35rem; font-size: .92rem; display: flex; }
.nav-links a { color: #ffffffdb; align-items: center; min-height: 44px; text-decoration: none; font-weight: 600; display: inline-flex; position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 10px; height: 2px;
  background: var(--gold-light); transition: right .25s ease;
}
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a[aria-current="page"] { color: var(--white); }
.nav-links a:hover::after, .nav-links a:focus-visible::after, .nav-links a[aria-current="page"]::after { right: 0; }

.nav-cta {
  background: linear-gradient(120deg, var(--gold), var(--gold-light));
  color: var(--plum-dark);
  border-radius: 999px;
  padding: .55rem 1.15rem;
  font-weight: 800 !important;
}
.nav-cta::after { display: none; }

/* Buttons */
.button {
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: .9rem 1.5rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  gap: .5rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .2s ease, box-shadow .2s ease;
}
.button.primary {
  background: linear-gradient(120deg, var(--plum), var(--blush-deep));
  color: var(--white);
  box-shadow: 0 14px 30px #6b2d3c40;
}
.button.gold {
  background: linear-gradient(120deg, var(--gold), var(--gold-light));
  color: var(--plum-dark);
  box-shadow: 0 14px 30px #c89b5c40;
}
.button.secondary {
  color: var(--ink);
  border: 2px solid var(--plum);
  background: transparent;
}
.button:hover, .button:focus-visible { transform: translateY(-3px); box-shadow: 0 18px 36px #6b2d3c40; }
.button:active { transform: translateY(0); }

/* Hero */
.hero {
  isolation: isolate;
  min-height: 100vh;
  color: var(--white);
  align-items: center;
  padding: 8rem 5vw 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .8fr);
  gap: 3rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--plum-dark) 0%, var(--plum) 55%, #8a3d52 100%);
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
  opacity: .55;
  animation: float 14s ease-in-out infinite;
  z-index: 0;
}
.hero-blob.b1 { width: 340px; height: 340px; background: radial-gradient(circle at 35% 35%, var(--blush), transparent 70%); top: -80px; right: 8%; animation-duration: 16s; }
.hero-blob.b2 { width: 260px; height: 260px; background: radial-gradient(circle at 35% 35%, var(--gold-light), transparent 70%); bottom: -60px; left: 4%; animation-duration: 12s; animation-delay: -4s; }
.hero-blob.b3 { width: 180px; height: 180px; background: radial-gradient(circle at 35% 35%, var(--blush-deep), transparent 70%); top: 40%; right: 30%; animation-duration: 18s; animation-delay: -8s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-18px, 22px) scale(1.06); }
  66% { transform: translate(16px, -14px) scale(.96); }
}

.hero-sprinkles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-sprinkles span {
  position: absolute;
  width: 10px; height: 4px;
  border-radius: 999px;
  opacity: .8;
  animation: drift linear infinite;
}
@keyframes drift {
  0% { transform: translateY(-10vh) rotate(0deg); opacity: 0; }
  10% { opacity: .85; }
  90% { opacity: .85; }
  100% { transform: translateY(110vh) rotate(340deg); opacity: 0; }
}

.hero-content { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--gold-light);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 700;
}
.eyebrow::before { content: "✦"; }

.hero h1 {
  max-width: 720px;
  margin: 1rem 0 0;
  font-weight: 600;
  line-height: 1.05;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--gold-light), var(--blush));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}
.underline-draw {
  display: block;
  width: min(420px, 90%);
  height: 14px;
  margin-top: -6px;
}
.underline-draw path {
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: draw 1.4s ease forwards .5s;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-intro { color: #fff2e8dd; max-width: 560px; margin: 1.4rem 0 0; font-size: 1.2rem; line-height: 1.7; }

.hero-actions { flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; display: flex; }

.hero-stats { display: flex; gap: 2rem; margin-top: 2.6rem; flex-wrap: wrap; }
.hero-stats div { display: grid; gap: .1rem; }
.hero-stats strong { font-size: 1.9rem; font-family: "Playfair Display", serif; color: var(--gold-light); }
.hero-stats span { font-size: .78rem; color: #ffffffb0; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }

.hero-visual {
  position: relative; z-index: 1;
  display: grid; place-items: center;
}
/* Dikey kart. Daire denendi ve calismadi: galeri kareleri 960x1200 dikey ve
   cogunun arka plani siyah studyo ya da markali karton; daire pastayi kesip
   arka plani bordo zemin uzerinde bir disk olarak one cikariyordu. */
.hero-cake-frame {
  width: min(360px, 100%);
  aspect-ratio: 4 / 5;
  border-radius: 26px;
  padding: 10px;
  background: linear-gradient(150deg, #ffffff2e, #ffffff08);
  border: 1px solid #ffffff2e;
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}
.hero-cake-frame img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
  border-radius: 18px;
  display: block;
}

/* Marquee */
.marquee {
  background: var(--plum-dark);
  color: var(--gold-light);
  overflow: hidden;
  white-space: nowrap;
  padding: .8rem 0;
  border-top: 1px solid #ffffff1f;
  border-bottom: 1px solid #ffffff1f;
}
.marquee-track { display: inline-flex; gap: 2.5rem; animation: marquee 26s linear infinite; padding-right: 2.5rem; }
.marquee-track span { font-weight: 700; letter-spacing: .04em; font-size: .92rem; text-transform: uppercase; }
.marquee-track span::after { content: "✦"; margin-left: 2.5rem; color: var(--blush); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 6rem 5vw; position: relative; }
.section-heading { max-width: 760px; }
.section-heading.center { max-width: 700px; margin: 0 auto; text-align: center; }
.section-label {
  display: inline-flex; align-items: center; gap: .45rem;
  color: var(--blush-deep);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 800;
  margin: 0 0 .8rem;
}
.section-label::before { content: "🍰"; font-size: .9rem; }
.section-heading h2 {
  color: var(--ink);
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 600;
  margin: 0;
  line-height: 1.12;
}
.section-heading p:not(.section-label) { color: var(--ink-soft); font-size: 1.08rem; line-height: 1.75; margin-top: 1rem; }

/* About */
.about-section { background: var(--paper-strong); display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); gap: 3.5rem; align-items: center; }
.about-visual { position: relative; }
.about-visual img { border-radius: 28px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-badge {
  position: absolute; bottom: -1.2rem; left: -1.2rem;
  background: linear-gradient(120deg, var(--gold), var(--gold-light));
  color: var(--plum-dark);
  border-radius: 20px;
  padding: 1rem 1.3rem;
  box-shadow: var(--shadow-soft);
  font-weight: 800;
  display: grid;
  text-align: center;
  animation: bob 5s ease-in-out infinite;
}
.about-badge strong { font-size: 1.6rem; font-family: "Playfair Display", serif; }
.about-badge span { font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-10px) rotate(2deg); } }

.about-copy p { color: var(--ink-soft); font-size: 1.08rem; line-height: 1.8; }
.about-list { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .9rem; }
.about-list li { display: flex; align-items: flex-start; gap: .7rem; color: var(--ink); font-weight: 600; }
.about-list li::before { content: "🧁"; flex: none; }

/* Products */
.products-section { background: linear-gradient(180deg, var(--paper) 0%, var(--blush-soft) 100%); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.6rem; margin-top: 2.6rem; }
.product-card {
  background: var(--paper-strong);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #6b2d3c14;
  box-shadow: var(--shadow-soft);
  transition: transform .35s ease, box-shadow .35s ease;
  perspective: 800px;
}
.product-card:hover { transform: translateY(-8px) rotateX(2deg); box-shadow: var(--shadow); }
.product-media { aspect-ratio: 5/4; overflow: hidden; position: relative; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-media img { transform: scale(1.12) rotate(1deg); }
.product-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, #3a1620cc 0%, transparent 45%);
}
.product-badge {
  position: absolute; top: .9rem; left: .9rem; z-index: 2;
  background: #fffdfaee; color: var(--plum);
  font-size: .7rem; font-weight: 800; letter-spacing: .04em;
  padding: .35rem .7rem; border-radius: 999px;
}
.product-body { padding: 1.3rem 1.4rem 1.5rem; }
.product-body h3 { margin: 0 0 .5rem; font-size: 1.2rem; color: var(--ink); }
.product-body p { margin: 0; color: var(--ink-soft); line-height: 1.6; font-size: .95rem; }

/* Process rail */
.process-section { background: var(--plum-dark); color: var(--white); overflow: hidden; }
.process-section .section-label { color: var(--gold-light); }
.process-section .section-heading h2 { color: var(--white); }
.process-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; margin-top: 3rem; }
.process-step {
  background: #ffffff0d;
  border: 1px solid #ffffff1f;
  border-radius: 20px;
  padding: 1.8rem 1.5rem;
  position: relative;
  transition: transform .3s ease, background .3s ease;
}
.process-step:hover { transform: translateY(-6px); background: #ffffff1a; }
.process-step span.num {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(120deg, var(--gold), var(--blush-deep));
  color: var(--plum-dark); font-weight: 800; font-family: "Playfair Display", serif;
  margin-bottom: 1.2rem;
}
.process-step h3 { margin: 0; font-size: 1.05rem; }
.process-step p { color: #ffffffb0; margin: .7rem 0 0; line-height: 1.6; font-size: .92rem; }

/* Stats band */
.stats-band {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; background: #6b2d3c1f;
  margin: 0 5vw; border-radius: 24px; overflow: hidden;
  box-shadow: var(--shadow-soft);
  transform: translateY(-3.2rem);
}
.stat-tile { background: var(--paper-strong); padding: 2rem 1.2rem; text-align: center; }
.stat-tile strong { display: block; font-size: 2.1rem; font-family: "Playfair Display", serif; color: var(--plum); }
.stat-tile span { font-size: .78rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }

/* Gallery */
.gallery-section { background: var(--paper-strong); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 1rem;
  margin-top: 2.6rem;
}
.gallery-grid a { grid-column: span 1; grid-row: span 1; border-radius: 18px; overflow: hidden; position: relative; display: block; }
.gallery-grid a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid a:nth-child(4) { grid-row: span 2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .5s ease; }
.gallery-grid a:hover img { transform: scale(1.1); filter: saturate(1.15); }
.gallery-caption {
  position: absolute; inset: auto 0 0 0; padding: .8rem 1rem;
  background: linear-gradient(0deg, #3a1620e6, transparent);
  color: var(--white); font-weight: 700; font-size: .85rem;
  transform: translateY(100%); transition: transform .3s ease;
}
.gallery-grid a:hover .gallery-caption { transform: translateY(0); }

/* Testimonials */
.testimonial-section { background: linear-gradient(135deg, var(--blush-soft), var(--paper)); }
.testimonial-track-wrap { overflow: hidden; margin-top: 2.6rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.testimonial-track { display: flex; gap: 1.4rem; width: max-content; animation: marquee 42s linear infinite; }
.testimonial-card {
  width: 340px; flex: none;
  background: var(--paper-strong);
  border-radius: 22px;
  padding: 1.8rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid #6b2d3c14;
}
.testimonial-stars { color: var(--gold); letter-spacing: .15em; margin-bottom: .8rem; }
.testimonial-card p { color: var(--ink-soft); line-height: 1.7; font-style: italic; margin: 0 0 1rem; }
.testimonial-name { font-weight: 800; color: var(--plum); font-size: .92rem; }
.testimonial-role { color: var(--ink-soft); font-size: .8rem; }

/* FAQ */
.faq-panel { background: var(--paper-strong); box-shadow: var(--shadow-soft); border-radius: 20px; padding: 1.6rem; }
.faq-panel details { border-top: 1px solid var(--mist); padding: 1.1rem 0; }
.faq-panel details:first-child { border-top: none; }
.faq-panel summary { cursor: pointer; color: var(--ink); font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-panel summary::-webkit-details-marker { display: none; }
.faq-panel summary::after { content: "+"; flex: none; color: var(--plum); font-size: 1.4rem; font-weight: 400; transition: transform .25s ease; }
.faq-panel details[open] summary::after { transform: rotate(45deg); }
.faq-panel p { color: var(--ink-soft); margin: .8rem 0 0; line-height: 1.65; }

/* Contact */
.contact-band {
  background: linear-gradient(150deg, var(--plum) 0%, var(--plum-dark) 100%);
  color: var(--white);
  display: grid;
  grid-template-columns: minmax(280px, .55fr) minmax(320px, .85fr);
  gap: 2.5rem;
  padding: 5.5rem 5vw;
}
.contact-band h2, .contact-band .section-label { color: var(--white); }
.contact-band .section-label { color: var(--gold-light); }
.contact-band p { color: #ffffffc0; max-width: 480px; }
.contact-quick { display: grid; gap: 1rem; margin-top: 1.8rem; }
.contact-quick a {
  display: flex; align-items: center; gap: .8rem;
  background: #ffffff14; border: 1px solid #ffffff2e;
  border-radius: 16px; padding: 1rem 1.2rem;
  text-decoration: none; color: var(--white); font-weight: 700;
  transition: background .2s ease, transform .2s ease;
}
.contact-quick a:hover { background: #ffffff26; transform: translateX(4px); }

.contact-form { box-shadow: var(--shadow); background: #ffffff14; border: 1px solid #ffffff2e; border-radius: 20px; gap: 1rem; padding: 1.6rem; display: grid; }
.contact-form label { gap: .42rem; display: grid; }
.contact-form label span { color: #ffffffcf; font-size: .84rem; font-weight: 800; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; min-height: 46px; color: var(--white); font: inherit;
  background: #1013148a; background: #3a162066; border: 1px solid #ffffff2e; border-radius: 12px; padding: .85rem .9rem;
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  border-color: var(--gold-light); outline: 3px solid #c89b5c3d;
}
.form-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; display: grid; }
.consent-line { grid-template-columns: 20px 1fr; align-items: start; }
.consent-line input { min-height: 20px; margin-top: .15rem; }
.hidden-field { width: 1px; height: 1px; position: absolute; left: -9999px; overflow: hidden; }
.form-alert { border-radius: 12px; margin: 0 0 .4rem; padding: .9rem 1rem; font-weight: 800; }
.form-alert.success { color: #d8ffe0; background: #1a7a4a3d; }
.form-alert.error { color: #ffd6d6; background: #b43a3a3d; }

/* Footer */
.site-footer {
  color: #ffffffb0; background: var(--plum-dark);
  display: grid; grid-template-columns: minmax(280px, 1.3fr) minmax(180px, .6fr) minmax(220px, .7fr);
  gap: 2rem; padding: 3.2rem 5vw 2rem; font-size: .9rem; line-height: 1.6;
}
.site-footer p { margin: 0; }
.footer-brand { gap: 1.2rem; max-width: 720px; display: grid; }
.footer-logo { width: fit-content; color: var(--white); }
.footer-social { display: flex; gap: .7rem; margin-top: .3rem; }
.footer-social a {
  width: 38px; height: 38px; display: grid; place-items: center;
  background: #ffffff14; border: 1px solid #ffffff26; border-radius: 50%;
  color: var(--white); transition: background .2s ease, transform .2s ease;
}
.footer-social a:hover { background: var(--gold); color: var(--plum-dark); transform: translateY(-3px); }
.footer-links, .footer-contact { align-content: start; gap: .6rem; display: grid; }
.footer-links a { color: #ffffffc7; text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold-light); }
.footer-contact p { color: #ffffff7a; text-transform: uppercase; font-size: .78rem; font-weight: 800; }
.footer-contact a, .footer-contact small a { color: #ffffff9e; text-decoration: none; }
.footer-bottom { color: #ffffff70; border-top: 1px solid #ffffff1f; grid-column: 1 / -1; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; display: flex; }

/* Instagram band */
.insta-band { background: linear-gradient(120deg, var(--blush-soft), var(--paper-strong)); padding: 4rem 5vw; }
.insta-card { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr); gap: 2.5rem; align-items: center; }
.insta-icon {
  width: 68px; height: 68px; display: grid; place-items: center;
  color: var(--white); background: linear-gradient(135deg, #f4c9d1, #c89b5c, #6b2d3c);
  border-radius: 20px; box-shadow: var(--shadow-soft);
}
.insta-copy h2 { margin: .3rem 0 .6rem; font-weight: 600; font-size: 1.7rem; color: var(--ink); }
.insta-copy p { color: var(--ink-soft); margin: 0 0 1.2rem; line-height: 1.6; }
.insta-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.insta-strip a { display: block; overflow: hidden; border-radius: 12px; }
/* `width: 100%` sart: aspect-ratio tek basina yetmez, gorsel kendi dogal
   genisligine (960px) yayilip kabindan tasar ve geriye ince bir serit kalir. */
.insta-strip img {
  display: block; width: 100%; height: 100%;
  aspect-ratio: 1; object-fit: cover;
  border-radius: 12px; transition: transform .3s ease;
}
.insta-strip a:hover img { transform: scale(1.08); }

/* Blog listing (shared with tools) */
.hero.page-hero { min-height: 46vh; padding-bottom: 3rem; }
.blog-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 1rem; }
.blog-card { border: 1px solid #6b2d3c14; background: var(--paper-strong); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.blog-card-cover { display: block; aspect-ratio: 1200 / 630; overflow: hidden; background: var(--plum-dark); }
.blog-card-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.blog-card:hover .blog-card-cover img { transform: scale(1.06); }
.blog-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.blog-card h2 { font-size: 1.2rem; margin: .3rem 0 .7rem; font-weight: 600; }
.blog-card h2 a { color: var(--ink); text-decoration: none; }
.blog-card h2 a:hover { color: var(--plum); }
.blog-card p { color: var(--ink-soft); line-height: 1.65; flex-grow: 1; font-size: .95rem; }
.blog-card-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--mist); font-size: .85rem; color: var(--ink-soft); }
.blog-card-link { color: var(--plum); font-weight: 700; text-decoration: none; }

/* Tools grid */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; }
.tool-card { border: 1px solid #6b2d3c14; background: var(--paper-strong); border-radius: 20px; padding: 1.6rem; box-shadow: var(--shadow-soft); transition: transform .25s ease, box-shadow .25s ease; }
.tool-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tool-card h3 a { color: var(--ink); text-decoration: none; }
.tool-card h3 a:hover { color: var(--plum); }
.tool-card p { color: var(--ink-soft); line-height: 1.6; }
.tool-badge { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, var(--plum), var(--blush-deep)); color: var(--white); font-family: "Playfair Display", serif; font-weight: 700; font-size: 1rem; margin-bottom: .9rem; }
.tool-badge--lg { flex: none; width: 64px; height: 64px; border-radius: 18px; font-size: 1.3rem; margin-bottom: 0; }
.tool-header { display: flex; align-items: flex-start; gap: 1.2rem; }

/* Article / tool article body */
.article-section { max-width: 860px; margin: 0 auto; padding-top: 9rem; }
.breadcrumbs { display: flex; gap: .5rem; flex-wrap: wrap; font-size: .85rem; color: var(--ink-soft); margin-bottom: 1.5rem; }
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--plum); }
.article-header h1 { font-weight: 600; font-size: 2.5rem; line-height: 1.1; margin: .4rem 0 .8rem; color: var(--ink); }
.article-meta { color: var(--ink-soft); font-size: .9rem; display: flex; gap: .5rem; }
.article-cover { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 20px; margin-top: 1.6rem; box-shadow: var(--shadow-soft); }
.article { margin-top: 2rem; color: var(--ink-soft); font-size: 1.06rem; line-height: 1.85; }
.article h2 { font-weight: 600; color: var(--ink); font-size: 1.55rem; margin: 2.2rem 0 .9rem; }
.article h3 { color: var(--ink); font-size: 1.15rem; margin: 1.6rem 0 .6rem; }
.article p { margin: 0 0 1.1rem; }
.article ul, .article ol { margin: 0 0 1.1rem; padding-left: 1.3rem; line-height: 1.8; }
.article li { margin-bottom: .4rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 1.5rem 0 0; padding: 0; }
.tag-pill { background: var(--mist); color: var(--plum); border-radius: 999px; padding: .35rem .9rem; font-size: .8rem; font-weight: 700; }
.article-cta { margin-top: 2.5rem; padding: 1.6rem; background: var(--mist); border-radius: 18px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.article-cta p { margin: 0; font-weight: 700; color: var(--ink); }

/* Calculators */
.calc-form { max-width: 640px; margin: 2rem 0; background: var(--paper-strong); border: 1px solid #6b2d3c1a; border-radius: 20px; padding: 1.6rem; display: grid; gap: 1rem; box-shadow: var(--shadow-soft); }
.calc-form label { display: grid; gap: .4rem; color: var(--ink); font-weight: 700; font-size: .88rem; }
.calc-form label em { font-weight: 400; color: var(--ink-soft); font-style: normal; }
.calc-form input, .calc-form select { width: 100%; min-height: 46px; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--mist); border-radius: 12px; padding: .7rem .9rem; }
.calc-form input:focus, .calc-form select:focus { border-color: var(--plum); outline: 3px solid #6b2d3c26; }
.calc-result { max-width: 640px; margin: 0 0 2rem; background: var(--plum-dark); color: var(--white); border-radius: 18px; padding: 1.5rem; display: grid; gap: 1px; opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .35s ease; }
.calc-result.is-revealed { opacity: 1; transform: none; }
.calc-result .contact-row { border-bottom: 1px solid #ffffff24; padding-bottom: .8rem; display: grid; gap: .25rem; }
.calc-result .contact-row:last-child { border-bottom: none; padding-bottom: 0; }
.calc-result .contact-row span { color: #ffffff94; text-transform: uppercase; font-size: .78rem; font-weight: 800; }
.calc-result .contact-row strong { font-size: 1.15rem; }
.calc-note { color: var(--ink-soft); font-size: .88rem; margin-top: .8rem; }
.calc-result .calc-note { color: #ffffffa8; }

/* Admin */
.admin-body { background: var(--mist); min-height: 100vh; }
.admin-shell { max-width: 420px; margin: 0 auto; min-height: 100vh; display: grid; align-content: center; padding: 2rem; }
.admin-shell--wide { max-width: 980px; align-content: start; padding-top: 3rem; }
.admin-card { background: var(--paper-strong); border: 1px solid var(--mist); border-radius: 20px; padding: 2rem; box-shadow: var(--shadow); display: grid; gap: 1rem; }
.admin-card h1 { margin: 0 0 .5rem; font-size: 1.6rem; }
.admin-card label, .admin-form label { display: grid; gap: .4rem; font-weight: 700; font-size: .88rem; color: var(--ink); }
.admin-card input, .admin-form input, .admin-form select, .admin-form textarea { width: 100%; min-height: 44px; font: inherit; border: 1px solid var(--mist); border-radius: 12px; padding: .7rem .85rem; background: var(--paper); }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; }
.admin-topbar h1 { font-size: 1.7rem; margin: 0; }
.admin-topbar-actions { display: flex; align-items: center; gap: 1rem; }
.admin-topbar-actions .button.secondary { color: var(--ink); border-color: var(--mist); }
.admin-logout { color: var(--ink-soft); text-decoration: none; font-weight: 700; font-size: .9rem; }
.admin-table-wrap { background: var(--paper-strong); border: 1px solid var(--mist); border-radius: 16px; overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.admin-table th, .admin-table td { text-align: left; padding: .9rem 1rem; border-bottom: 1px solid var(--mist); white-space: nowrap; }
.admin-status { font-size: .78rem; font-weight: 800; padding: .25rem .6rem; border-radius: 999px; background: #17a86b26; color: #0f7a4d; }
.admin-status--draft { background: #c89b5c33; color: var(--chocolate); }
.admin-row-actions { display: flex; align-items: center; gap: .9rem; }
.admin-row-actions a { color: var(--plum); text-decoration: none; font-weight: 700; }
.admin-row-actions form { margin: 0; }
.admin-delete { border: none; background: none; color: #b43a3a; font-weight: 700; cursor: pointer; font: inherit; padding: 0; }
.admin-form { background: var(--paper-strong); border: 1px solid var(--mist); border-radius: 16px; padding: 1.8rem; display: grid; gap: 1.1rem; }
.admin-html-editor { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88rem; line-height: 1.6; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Not found */
.not-found { align-content: center; gap: 1rem; min-height: 100vh; padding: 6rem 5vw; text-align: center; justify-items: center; }
.not-found h1 { color: var(--ink); font-size: 2.6rem; margin: .4rem 0; }
.not-found .button { width: fit-content; }

/* Floating action buttons */
.fab-stack { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 40; display: grid; gap: .8rem; }
.fab {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  color: var(--white); text-decoration: none; box-shadow: 0 14px 30px #00000030;
  transition: transform .25s ease;
}
.fab:hover { transform: scale(1.08) rotate(-6deg); }
.fab.fab-insta { background: linear-gradient(135deg, #f4c9d1, #c89b5c, #6b2d3c); }
.fab.fab-whatsapp { background: #25d366; }
.fab.fab-whatsapp::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid #25d36680; animation: pulse-ring 2.4s ease-out infinite; }
@keyframes pulse-ring { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }

/* Back to top */
.back-to-top {
  position: fixed; right: 1.4rem; bottom: 7.4rem; z-index: 40;
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--plum); color: var(--white); border: 1px solid var(--gold);
  border-radius: 50%; cursor: pointer; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  box-shadow: 0 12px 30px #6b2d3c40;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .25s ease, visibility 0s; }
.back-to-top:hover { background: var(--gold); color: var(--plum-dark); }

/* Page-load bar */
.page-load-bar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.page-load-bar span { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--gold), var(--blush-deep)); box-shadow: 0 0 8px #c89b5c88; transition: width .35s ease; }
.page-load-bar.is-done { opacity: 0; transition: opacity .4s ease; }

/* Reading progress */
.reading-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 45; background: transparent; }
.reading-progress span { display: block; height: 100%; width: 0%; background: var(--plum); transition: width .1s linear; }

/* Confetti burst */
.confetti-piece { position: fixed; top: 0; left: 0; width: 8px; height: 8px; border-radius: 2px; pointer-events: none; z-index: 70; will-change: transform, opacity; }

/* Mobile nav */
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: none; border: none; cursor: pointer; padding: 0; z-index: 31; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); transition: transform .25s ease, opacity .25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
body.nav-open { overflow: hidden; }

/* Responsive */
@media (width <= 960px) {
  .site-header { align-items: flex-start; position: absolute; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100dvh; z-index: 25;
    background: var(--plum-dark); flex-direction: column; justify-content: center; align-items: center;
    gap: 1.6rem; font-size: 1.3rem; opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .28s ease, transform .28s ease, visibility 0s linear .28s;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .28s ease, transform .28s ease, visibility 0s; }
  .nav-links a { min-height: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 10rem; text-align: left; }
  .hero-visual { order: -1; }
  .hero-cake-frame { width: min(260px, 70vw); }
  .about-section, .process-rail, .site-footer, .contact-band, .insta-card { grid-template-columns: 1fr !important; }
  .stats-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
}

@media (width <= 640px) {
  .site-header { padding: .85rem 1rem; display: flex; align-items: center; }
  .brand-copy small { display: none; }
  .hero { padding: 9rem 1.2rem 3rem; }
  .hero h1 { font-size: 2.3rem; }
  .section, .contact-band { padding: 4rem 1.2rem; }
  .stats-band { margin: 0 1.2rem; transform: translateY(-2.4rem); }
  .form-pair { grid-template-columns: 1fr; }
  .footer-bottom { display: grid; }
  .fab-stack { right: 1rem; bottom: 1rem; }
  .fab { width: 50px; height: 50px; }
  .back-to-top { right: 1rem; bottom: 6.4rem; }
  .article-section { padding-top: 7rem; }
  .article-header h1 { font-size: 2rem; }
}

/* ---- Galeri sayfasi ---- */
.gallery-page-section { padding-top: 2rem; }
.gallery-tabs { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.4rem; }
.gallery-tab {
  border: 1px solid var(--mist); background: transparent; color: inherit;
  padding: .55rem 1.15rem; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: .92rem; transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.gallery-tab:hover { border-color: var(--gold); }
.gallery-tab.is-active { background: var(--plum); border-color: var(--plum); color: #fff; }
.gallery-masonry { columns: 4 240px; column-gap: 1rem; }
.gallery-figure { break-inside: avoid; margin: 0 0 1rem; position: relative; border-radius: 16px; overflow: hidden; }
.gallery-figure[hidden] { display: none; }
.gallery-figure img { width: 100%; height: auto; display: block; transition: transform .5s ease; }
.gallery-figure:hover img { transform: scale(1.05); }
.gallery-figure figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: .7rem .9rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, .68));
  color: #fff; font-size: .82rem; letter-spacing: .02em;
  opacity: 0; transition: opacity .3s ease;
}
.gallery-figure:hover figcaption, .gallery-figure:focus-within figcaption { opacity: 1; }
.gallery-empty { text-align: center; max-width: 46ch; margin: 2rem auto; }

/* Yalnizca [open] iken goster. Kosulsuz `display: flex`, tarayicinin
   `dialog:not([open]) { display: none }` kuralini ezer ve kapali diyalog
   sayfanin ortasinda gorunur kalir. */
.gallery-lightbox { display: none; border: 0; padding: 0; }
.gallery-lightbox[open] {
  position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center;
  background: rgba(18, 10, 14, .93); padding: 4vmin; border: 0;
}
.gallery-lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; }
.gallery-lightbox::backdrop { background: rgba(18, 10, 14, .93); }
.gallery-lightbox-close {
  position: absolute; top: 1.2rem; right: 1.4rem; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(0, 0, 0, .35); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer;
}

@media (max-width: 760px) {
  .gallery-masonry { columns: 2 150px; column-gap: .6rem; }
  .gallery-figure { margin-bottom: .6rem; }
}

.product-grid.is-focused { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.product-aside {
  margin-top: 2rem; padding: 1.6rem 1.8rem; border: 1px solid var(--mist);
  border-radius: 18px; background: var(--paper);
}
.product-aside > p { margin: 0 0 .8rem; font-weight: 600; }
.product-aside ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.product-aside li { padding-left: 1.2rem; position: relative; }
.product-aside li::before { content: "•"; position: absolute; left: 0; color: var(--gold); }
.gallery-more { text-align: center; margin-top: 2rem; }

/* ---- Mobil siparis cubugu ----
   Masaustunde yuzen FAB'lar, mobilde alt seride tam genislikte CTA. Tek elle
   kullanimda kose bolgeleri zor erisilir; birincil eylem alt seride durur.
   Dokunma hedefleri 48px, cihaz jest alani icin safe-area payi birakilir. */
.order-bar { display: none; }

@media (max-width: 760px) {
  .fab-stack { display: none; }

  .order-bar {
    display: flex;
    gap: .6rem;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    padding: .7rem .9rem calc(.7rem + env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--cream) 92%, transparent);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--mist);
    box-shadow: 0 -8px 24px #6b2d3c1f;
  }

  .order-bar-cta {
    flex: 1;
    display: flex; align-items: center; justify-content: center; gap: .55rem;
    min-height: 52px;
    padding: 0 1rem;
    border-radius: 14px;
    background: #25d366;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
  }
  .order-bar-cta:active { transform: scale(.98); }

  .order-bar-alt {
    display: flex; align-items: center; justify-content: center;
    width: 52px; min-height: 52px;
    border-radius: 14px;
    border: 1px solid var(--mist);
    background: var(--white);
    color: var(--plum);
    text-decoration: none;
  }

  /* Sabit cubugun sayfa sonunu ve back-to-top butonunu ortmesini engelle */
  .site-footer { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); }
  .back-to-top { bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .order-bar-cta:active { transform: none; }
}

/* ---- Reels video seridi ---- */
.reel-section { background: var(--paper-strong); }
.reel-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr);
  gap: 1rem; overflow-x: auto; padding: .5rem .2rem 1.2rem;
  scroll-snap-type: x mandatory; margin-top: 2.4rem;
}
.reel-card { margin: 0; scroll-snap-align: start; }
.reel-card video {
  width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover;
  border-radius: 16px; background: #000; display: block;
}
.reel-card figcaption { margin-top: .7rem; font-size: .9rem; color: var(--ink-soft); }

@media (max-width: 760px) {
  .reel-strip { grid-auto-columns: minmax(180px, 78%); }
}
