/* =========================================================
   Pop & Candy Shop — styles
   Palette inspired by the shop logo + apothecary warmth
   ========================================================= */

:root {
  --cream:        #F8F1E4;
  --cream-soft:   #FCF8EE;
  --paper:        #FFFCF7;
  --ink:          #1F2D5C;       /* deep navy from the logo */
  --ink-soft:     #41527E;
  --coral:        #E84C7B;       /* pink "Pop" */
  --coral-deep:   #C73867;
  --teal:         #5DCAD0;       /* teal "Candy" */
  --teal-deep:    #3FA6AD;
  --wood:         #6B4423;       /* warm shelving */
  --wood-soft:    #8C5E36;
  --rule:         rgba(31, 45, 92, 0.14);
  --shadow-sm:    0 4px 14px rgba(31, 45, 92, 0.08);
  --shadow-md:    0 18px 40px rgba(31, 45, 92, 0.14);
  --shadow-lg:    0 30px 60px rgba(31, 45, 92, 0.18);

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-script:  "Caveat", "Brush Script MT", cursive;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --max:  1200px;
  --pad:  clamp(1.25rem, 4vw, 3rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--coral-deep); text-decoration: none; }
a:hover { color: var(--coral); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.12em; font-family: var(--font-body); font-weight: 600; }

p { margin: 0 0 1em; }

/* ---------- Shared bits ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin: 0 0 1rem;
}
.eyebrow-light { color: rgba(255,255,255,0.85); }

.accent-script {
  font-family: var(--font-script);
  font-weight: 700;
  color: var(--coral);
  font-size: 1.15em;
  font-style: normal;
  display: inline-block;
  transform: translateY(0.05em);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 8px 22px rgba(232, 76, 123, 0.32);
}
.btn-primary:hover {
  background: var(--coral-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(232, 76, 123, 0.42);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}
.btn-light {
  background: var(--cream);
  color: var(--ink);
  box-shadow: var(--shadow-md);
}
.btn-light:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }

.muted { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 241, 228, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--rule);
  background: rgba(252, 248, 238, 0.95);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.7rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand { display: flex; align-items: center; }
.brand-mark { height: 56px; width: auto; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.primary-nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.96rem;
  letter-spacing: 0.02em;
  position: relative;
  padding: 0.4rem 0;
}
.primary-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}
.primary-nav a:not(.nav-cta):hover { color: var(--coral-deep); }
.primary-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }

.nav-cta {
  background: var(--ink);
  color: var(--cream) !important;
  padding: 0.55rem 1.2rem !important;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.15s ease;
}
.nav-cta:hover {
  background: var(--coral);
  color: #fff !important;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem var(--pad) 1.25rem;
  background: var(--cream-soft);
  border-bottom: 1px solid var(--rule);
}
.mobile-nav a {
  color: var(--ink);
  font-weight: 500;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--rule);
}
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav.open { display: flex; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(4rem, 10vw, 7rem) var(--pad) clamp(4rem, 9vw, 6rem);
  overflow: hidden;
  background:
    radial-gradient(ellipse at top right, rgba(93, 202, 208, 0.18), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(232, 76, 123, 0.14), transparent 55%),
    var(--cream);
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(31, 45, 92, 0.06) 1px, transparent 1.4px),
    radial-gradient(circle at 70% 60%, rgba(31, 45, 92, 0.05) 1px, transparent 1.4px);
  background-size: 28px 28px, 36px 36px;
  opacity: 0.7;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.hero-title {
  margin: 0.4rem 0 1.2rem;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 2rem;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }
.hero-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

/* ---------- Facts strip ---------- */
.facts {
  background: var(--ink);
  color: var(--cream);
  padding: 1.6rem var(--pad);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  text-align: center;
}
.fact { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; }
.fact-num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 1;
  color: var(--teal);
}
.fact-label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
}
.fact-sep { color: var(--coral); font-size: 1rem; opacity: 0.7; }

/* ---------- About ---------- */
.about { padding: clamp(4rem, 9vw, 7rem) var(--pad); }
.about-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.about-image {
  position: relative;
  padding: 16px;
}
.about-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}
.image-frame {
  position: absolute;
  inset: 0;
  border: 1px solid var(--wood-soft);
  border-radius: 4px;
  transform: translate(14px, 14px);
  z-index: 1;
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
}
.checklist li {
  padding: 0.55rem 0 0.55rem 1.85rem;
  border-bottom: 1px dashed var(--rule);
  position: relative;
  color: var(--ink-soft);
}
.checklist li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0.55rem;
  color: var(--coral);
  font-size: 0.95rem;
}
.checklist li:last-child { border-bottom: 0; }

/* ---------- Feature sections (sodas / candy) ---------- */
.feature {
  padding: clamp(4rem, 9vw, 7rem) var(--pad);
}
.feature-sodas { background: var(--paper); }
.feature-candy { background: var(--cream); }
.feature-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.feature-inner.reverse { grid-template-columns: 1.15fr 1fr; }
.feature-inner.reverse .feature-copy { order: 2; }
.feature-inner.reverse .feature-image { order: 1; }

.feature-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow-md);
}
.feature-copy h2 { margin-top: 0.2rem; }
.feature-copy .muted { margin-top: 1.2rem; font-style: italic; }

/* ---------- Gifts ---------- */
.gifts {
  background:
    linear-gradient(135deg, rgba(31, 45, 92, 0.92), rgba(31, 45, 92, 0.92)),
    radial-gradient(circle at 30% 30%, var(--coral) 0%, var(--ink) 60%);
  color: var(--cream);
  padding: clamp(4rem, 9vw, 6.5rem) var(--pad);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.gifts::before, .gifts::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
}
.gifts::before { background: var(--coral); top: -80px; left: -80px; }
.gifts::after { background: var(--teal); bottom: -100px; right: -80px; }
.gifts-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.gifts-inner h2 { color: #fff; }
.gifts-inner p { color: rgba(255,255,255,0.88); font-size: 1.08rem; max-width: 580px; margin: 0 auto 1.8rem; }

/* ---------- Visit ---------- */
.visit {
  padding: clamp(4rem, 9vw, 7rem) var(--pad);
  background: var(--paper);
}
.visit-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.visit-copy h2 { max-width: 14ch; }

.info-card {
  margin-top: 2rem;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 1.75rem 1.85rem;
  box-shadow: var(--shadow-sm);
}
.info-row { padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
.info-row:first-child { padding-top: 0; }
.info-row:last-child { padding-bottom: 0; border-bottom: 0; }
.info-row h3 {
  color: var(--teal-deep);
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}
.info-row p { margin: 0 0 0.4rem; color: var(--ink); }
.info-link {
  display: inline-block;
  margin-top: 0.4rem;
  font-weight: 600;
  color: var(--coral-deep);
}
.info-link:hover { color: var(--coral); }

.hours {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hours li {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 0.97rem;
  border-bottom: 1px dotted var(--rule);
}
.hours li:last-child { border-bottom: 0; }
.hours li span:first-child { color: var(--ink); font-weight: 500; }
.hours li span:last-child { color: var(--ink-soft); }
.hours li.closed span:last-child { color: var(--coral-deep); font-weight: 600; }
.hours li.late span:last-child { color: var(--teal-deep); font-weight: 600; }

.visit-map {
  position: sticky;
  top: 100px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--rule);
  background: var(--cream);
}
.visit-map iframe {
  display: block;
  width: 100%;
  height: 520px;
  border: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(2.5rem, 5vw, 3.5rem) var(--pad);
  text-align: center;
}
.footer-inner { max-width: 720px; margin: 0 auto; }
.footer-mark { height: 80px; width: auto; margin: 0 auto 0.75rem; filter: brightness(0) invert(1) opacity(0.15); }
/* Show in original colors but slightly muted on dark bg */
.footer-mark { filter: none; opacity: 0.95; }
.footer-tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  margin: 0.5rem 0 1.2rem;
  color: var(--cream);
}
.footer-meta { color: rgba(248, 241, 228, 0.78); font-size: 0.95rem; }
.footer-meta a { color: var(--teal); }
.footer-meta a:hover { color: #fff; }
.footer-copy { color: rgba(248, 241, 228, 0.5); font-size: 0.82rem; margin-top: 1.2rem; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .primary-nav { display: none; }
  .menu-toggle { display: flex; }

  .about-grid,
  .feature-inner,
  .feature-inner.reverse,
  .visit-inner {
    grid-template-columns: 1fr;
  }
  .feature-inner.reverse .feature-copy { order: 0; }
  .feature-inner.reverse .feature-image { order: 0; }

  .visit-map { position: relative; top: 0; }
  .visit-map iframe { height: 360px; }

  .image-frame { transform: translate(10px, 10px); }
}

@media (max-width: 520px) {
  .facts { gap: 1.25rem; }
  .fact-sep { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .brand-mark { height: 44px; }
}

/* Reduce motion for users that prefer it */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
