/* Katie Rose Kreations — public website.
   Warm bakery storefront: cream, blush pink, teal. Mobile-first. */

:root {
  --cream: #fff8f0;
  --cream-deep: #f7e7d2;
  --blush: #b84a1f;
  --blush-deep: #8c3a16;
  --blush-soft: #f6e0c8;
  --teal: #9a6b1a;
  --teal-deep: #3a2a1c;
  --ink: #3a2a22;
  --muted: #8a6f5c;
  --card: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(184, 74, 31, 0.14);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--blush-deep); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 249, 244, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--blush-soft);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 10px; padding-bottom: 10px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow); }
.brand-name { font-family: var(--serif); font-size: 22px; font-weight: 700; line-height: 1.1; }
.brand-name em { color: var(--blush); font-style: normal; }
.brand-tag { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: 4px; }
.nav a {
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: 15px;
  padding: 10px 14px; border-radius: 12px;
}
.nav a:hover { background: var(--blush-soft); }
.nav a.active { color: var(--blush-deep); background: var(--blush-soft); }
@media (max-width: 640px) {
  .brand img { width: 42px; height: 42px; }
  .brand-name { font-size: 18px; white-space: nowrap; }
  .brand-tag { display: none; }
  .site-header .wrap { flex-wrap: wrap; row-gap: 2px; }
  .nav { flex: 1 1 100%; justify-content: space-between; }
  .nav a { flex: 1; text-align: center; padding: 10px 4px; font-size: 14px; }
}

/* Hero */
.hero {
  text-align: center;
  padding: 72px 20px 56px;
  background:
    radial-gradient(600px 300px at 50% -80px, var(--blush-soft), transparent),
    var(--cream);
}
.hero img.logo-big {
  width: 130px; height: 130px; border-radius: 50%; object-fit: cover;
  box-shadow: var(--shadow); border: 6px solid #fff;
}
.hero h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(38px, 7vw, 64px); line-height: 1.08; margin: 22px 0 12px;
}
.hero h1 em { color: var(--blush); font-style: italic; }
.hero p.lede { font-size: 19px; color: var(--muted); max-width: 560px; margin: 0 auto 28px; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 800; font-size: 16px;
  padding: 14px 28px; border-radius: 999px; border: none; cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:active { transform: scale(0.97); }
.btn-pink { background: var(--blush); color: #fff; box-shadow: 0 8px 20px rgba(184, 74, 31, 0.4); }
.btn-pink:hover { background: var(--blush-deep); }
.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(154, 107, 26, 0.35); }
.btn-teal:hover { background: #7a5414; }
.btn-ghost { background: #fff; color: var(--ink); border: 2px solid var(--blush-soft); }

/* Sections */
.section { padding: 56px 0; }
.section h2 {
  font-family: var(--serif); font-size: clamp(28px, 4.5vw, 40px);
  text-align: center; margin: 0 0 8px;
}
.section .sub { text-align: center; color: var(--muted); max-width: 600px; margin: 0 auto 36px; font-size: 17px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card {
  background: var(--card); border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow); border: 1px solid #f6e3d8; text-align: center;
}
.card .icon { font-size: 40px; }
.card h3 { font-family: var(--serif); font-size: 22px; margin: 12px 0 8px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; counter-reset: step; }
.step {
  background: var(--card); border-radius: var(--radius); padding: 26px 22px;
  border: 1px solid #f6e3d8; position: relative;
}
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blush); color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 12px;
}
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* Menu */
.menu-group { margin-bottom: 40px; }
.menu-group > h3 {
  font-family: var(--serif); font-size: 26px; color: var(--blush-deep);
  border-bottom: 2px solid var(--blush-soft); padding-bottom: 8px; margin: 0 0 4px;
}
.menu-sub { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin: 22px 0 6px; }
.menu-item {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px dotted #e8cfc0;
}
.menu-item .menu-photo {
  width: 56px; height: 56px; flex-shrink: 0;
  border-radius: 14px; object-fit: cover;
}
.menu-item .name { font-weight: 700; font-size: 17px; flex: 1; min-width: 0; }
.menu-item .price { white-space: nowrap; font-weight: 800; color: var(--blush-deep); }
.menu-item .price small { display: block; text-align: right; font-weight: 600; color: var(--muted); font-size: 12px; }
.menu-note {
  background: var(--blush-soft); border-radius: var(--radius);
  padding: 18px 22px; margin-top: 32px; font-size: 15px; color: var(--ink);
}
.skeleton { color: var(--muted); text-align: center; padding: 40px 0; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
@media (min-width: 760px) { .about-grid { grid-template-columns: 340px 1fr; } }
.about-grid img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-grid h2 { text-align: left; }
.prose p { font-size: 17px; color: #5b4447; }
.prose .script { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--blush-deep); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 820px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.contact-card { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 1px solid #f6e3d8; }
.contact-row { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #f6e3d8; font-size: 17px; }
.contact-row:last-child { border-bottom: none; }
.contact-row a { color: var(--ink); text-decoration: none; font-weight: 700; }
.contact-row a:hover { color: var(--blush-deep); }
.form label { display: block; font-weight: 700; font-size: 14px; margin: 14px 0 6px; }
.form input, .form textarea, .form select {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 14px;
  border: 2px solid #efd9cb; border-radius: 12px; background: #fff; color: var(--ink);
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blush); }
.form textarea { min-height: 120px; resize: vertical; }
.form .btn { margin-top: 18px; width: 100%; }
.form-ok {
  background: #e6f4f1; border: 2px solid var(--teal); color: var(--teal-deep);
  border-radius: var(--radius); padding: 20px; font-weight: 700; text-align: center; margin-top: 16px;
}
.form-err {
  background: #fdeef1; border: 2px solid var(--blush); color: var(--blush-deep);
  border-radius: var(--radius); padding: 16px; font-weight: 700; text-align: center; margin-top: 16px;
}
.faq { max-width: 720px; margin: 0 auto; }
.faq details {
  background: var(--card); border: 1px solid #f6e3d8; border-radius: 14px;
  padding: 16px 20px; margin-bottom: 10px;
}
.faq summary { font-weight: 800; cursor: pointer; font-size: 16px; }
.faq p { color: var(--muted); margin: 8px 0 0; }

/* Footer */
footer {
  background: var(--teal-deep); color: #f3e8d8; margin-top: 40px;
  padding: 44px 0 28px;
}
footer .wrap { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 720px) { footer .wrap { grid-template-columns: 1.4fr 1fr 1fr; } }
footer h4 { font-family: var(--serif); font-size: 19px; margin: 0 0 10px; color: #fff; }
footer p, footer a { color: #d9c6ac; font-size: 15px; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
.copyright { text-align: center; margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.15); font-size: 13px; color: #a8906c; }

.ordering-soon {
  background: linear-gradient(135deg, var(--blush), var(--blush-deep));
  color: #fff; border-radius: var(--radius); padding: 36px 28px; text-align: center;
  box-shadow: var(--shadow); margin: 8px 0 40px;
}
.ordering-soon h2 { color: #fff; margin: 0 0 8px; }
.ordering-soon p { margin: 0 auto 20px; max-width: 520px; opacity: 0.95; }
.ordering-soon .btn-ghost { border-color: rgba(255,255,255,0.6); color: #fff; background: rgba(255,255,255,0.12); }

/* ---- Fall theme accents ---- */
.hero { position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
.leaves { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.leaves span {
  position: absolute; top: -48px; opacity: 0.7;
  animation-name: leaf-fall; animation-timing-function: linear; animation-iteration-count: infinite;
}
@keyframes leaf-fall {
  0% { transform: translate3d(0, -48px, 0) rotate(0deg); }
  100% { transform: translate3d(-70px, 760px, 0) rotate(330deg); }
}
@media (prefers-reduced-motion: reduce) { .leaves { display: none; } }

.season-ribbon {
  display: inline-block; background: var(--teal-deep); color: #f7e7d2;
  font-weight: 800; font-size: 14px; letter-spacing: 0.03em;
  padding: 10px 22px; border-radius: 999px; margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.season-ribbon a { color: #ffd9a8; }
