/* ============================================================
   Poslastičarnica M — Novi Sad
   Soft pastel boutique: blush/rose + cream + warm gold.
   Typographic-led (thin photos), elegant display type.
   ============================================================ */

:root {
  --cream: #fbf6f0;
  --cream-2: #f7ede4;
  --blush: #f7e1e4;
  --blush-deep: #f3cdd2;
  --rose: #c8607a;
  --rose-deep: #a8456a;
  --gold: #c9a24b;
  --gold-deep: #b08a32;
  --ink: #4a2c32;
  --ink-soft: #7a5b60;
  --line: rgba(168, 69, 106, 0.16);
  --white: #ffffff;
  --shadow-sm: 0 4px 18px rgba(120, 60, 75, 0.08);
  --shadow-md: 0 14px 44px rgba(120, 60, 75, 0.14);
  --radius: 18px;
  --maxw: 1140px;
  --serif: "Playfair Display", Georgia, serif;
  --script: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0; color: var(--ink); }

.section { padding: 86px 0; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--rose);
  margin: 0 0 14px;
}
.eyebrow-center { text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  color: var(--white);
  box-shadow: 0 10px 26px rgba(168, 69, 106, 0.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(168, 69, 106, 0.42); }
.btn-ghost {
  background: transparent;
  color: var(--rose-deep);
  border-color: var(--blush-deep);
}
.btn-ghost:hover { background: var(--blush); transform: translateY(-2px); }
.btn-lg { padding: 16px 34px; font-size: 1rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 246, 240, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  border-color: var(--line);
  background: rgba(251, 246, 240, 0.94);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  color: var(--white);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(168, 69, 106, 0.3);
}
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.18rem; color: var(--ink); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--rose-deep); }
.nav-cta {
  background: var(--ink);
  color: var(--cream) !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--rose-deep); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1000px 520px at 78% -8%, var(--blush) 0%, transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  padding: 78px 0 92px;
  overflow: hidden;
}
.hero-decor {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 78%, rgba(201, 162, 75, 0.10) 0 3px, transparent 4px),
    radial-gradient(circle at 90% 30%, rgba(200, 96, 122, 0.10) 0 3px, transparent 4px);
  background-size: 220px 220px, 280px 280px;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  align-items: center;
  gap: 52px;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: -0.01em;
  margin: 6px 0 22px;
}
.hero h1 .script {
  font-family: var(--script);
  font-style: italic;
  font-weight: 600;
  color: var(--rose);
  font-size: 1.08em;
}
.hero-lede {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 30em;
  margin: 0 0 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { margin: 20px 0 0; font-size: 0.88rem; color: var(--ink-soft); }

.hero-figure { margin: 0; text-align: center; }
.figure-frame {
  display: inline-block;
  padding: 14px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
}
.figure-frame:hover { transform: rotate(0deg); }
.figure-frame img {
  width: 240px;
  max-width: 100%;
  border-radius: 14px;
}
.hero-figure figcaption {
  margin-top: 18px;
  font-family: var(--script);
  font-style: italic;
  font-size: 1.18rem;
  color: var(--rose-deep);
}

/* ---------- section heads ---------- */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.section-sub { color: var(--ink-soft); font-size: 1.05rem; margin: 14px 0 0; }

/* ---------- ponuda ---------- */
.offer { background: var(--white); }
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.offer-card {
  background: linear-gradient(170deg, var(--cream) 0%, var(--blush) 130%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.offer-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.offer-ico {
  display: inline-grid;
  place-items: center;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--white);
  font-size: 1.7rem;
  margin: 0 auto 18px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--blush-deep);
}
.offer-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.offer-card p { color: var(--ink-soft); font-size: 0.97rem; margin: 0; }
.offer-note {
  text-align: center;
  margin: 44px auto 0;
  max-width: 40em;
  font-family: var(--script);
  font-style: italic;
  font-size: 1.32rem;
  color: var(--rose-deep);
}

/* ---------- kako poručiti ---------- */
.how { background: linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%); }
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.how-step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 30px 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.how-num {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--white);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 18px;
  box-shadow: 0 6px 16px rgba(176, 138, 50, 0.32);
}
.how-step h3 { font-size: 1.35rem; margin-bottom: 8px; }
.how-step p { color: var(--ink-soft); margin: 0; }
.how-step a { color: var(--rose-deep); font-weight: 600; border-bottom: 1px solid var(--blush-deep); }
.how-step a:hover { color: var(--rose); }

/* ---------- kontakt ---------- */
.contact {
  background:
    radial-gradient(800px 400px at 50% 120%, var(--blush) 0%, transparent 65%),
    var(--white);
  text-align: center;
}
.contact-inner { max-width: 660px; margin: 0 auto; }
.contact h2 { font-size: clamp(2rem, 4.5vw, 2.8rem); margin-top: 4px; }
.contact-lede { color: var(--ink-soft); font-size: 1.08rem; margin: 16px auto 32px; max-width: 38em; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.contact-loc {
  margin: 30px 0 0;
  font-family: var(--script);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--rose-deep);
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 56px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(251, 246, 240, 0.12);
}
.footer-brand { display: flex; align-items: flex-start; gap: 14px; }
.footer-brand .brand-mark { flex: 0 0 auto; }
.footer-brand p { margin: 0; color: rgba(251, 246, 240, 0.78); font-size: 0.95rem; line-height: 1.6; }
.f-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 10px;
}
.footer-col p { margin: 0; color: rgba(251, 246, 240, 0.82); font-size: 0.95rem; line-height: 1.6; }
.footer-col a:hover { color: var(--blush); }
.footer-base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  font-size: 0.82rem;
  color: rgba(251, 246, 240, 0.55);
}

/* ---------- sticky mobile call bar ---------- */
.call-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  text-align: center;
  padding: 15px 16px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  box-shadow: 0 -6px 22px rgba(168, 69, 106, 0.35);
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 38px; text-align: center; }
  .hero-copy { order: 2; }
  .hero-figure { order: 1; }
  .hero-lede { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    top: 70px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 8px 22px 18px;
    transform: translateY(-130%);
    transition: transform 0.32s ease;
    z-index: 55;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: none; }
  .nav-cta { text-align: center; margin-top: 10px; }
  .nav-toggle { display: flex; }
  .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); }

  .section { padding: 64px 0; }
  .call-bar { display: block; }
  body { padding-bottom: 56px; }
  .footer-base { flex-direction: column; }
}

@media (max-width: 460px) {
  .offer-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
}
