/* ==========================================================================
   Blessy's Crumbs & Swirl — Boutique Patisserie Stylesheet
   Palette: Warm Ivory (#FAF6F0), Cream (#F3ECE1), Blush Rose (#E8B4B8),
            Antique Gold (#C5A059), Espresso Brown (#4A2E1B)
   ========================================================================== */

:root {
  --bg-ivory: #FAF6F0;
  --bg-cream: #F3ECE1;
  --bg-card: #FFFFFF;
  --espresso: #4A2E1B;
  --espresso-light: #6E4B35;
  --gold: #C5A059;
  --gold-dark: #A6823C;
  --gold-soft: rgba(197, 160, 89, 0.22);
  --blush: #E8B4B8;
  --blush-soft: rgba(232, 180, 184, 0.22);
  --berry: #B83B5E;
  --border-subtle: rgba(197, 160, 89, 0.35);
  --shadow-soft: 0 14px 36px rgba(74, 46, 27, 0.08);
  --shadow-hover: 0 20px 44px rgba(74, 46, 27, 0.14);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-ivory);
  color: var(--espresso);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* Announcement Bar */
.announcement-bar {
  background: var(--espresso);
  color: #FAF6F0;
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 0.55rem 1rem;
  font-weight: 500;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-script {
  font-family: 'Great Vibes', cursive;
  font-size: 1.65rem;
  color: var(--espresso);
}

.brand-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.85rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a:not(.nav-cta) {
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.nav-links a:not(.nav-cta):hover {
  color: var(--gold-dark);
}

.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--espresso);
  color: #FAF6F0 !important;
  padding: 0.6rem 1.35rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-cta:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--espresso);
  border-radius: 2px;
}

/* Typography & Buttons */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--espresso);
}

.section-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold-dark);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.94rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--espresso);
  color: #FAF6F0;
  box-shadow: 0 8px 22px rgba(74, 46, 27, 0.18);
}

.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--espresso);
  border-color: var(--gold);
}

.btn-secondary:hover {
  background: var(--gold-soft);
  transform: translateY(-2px);
}

.full-width {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 4.5rem 0 5.5rem;
  background: radial-gradient(circle at 85% 20%, var(--blush-soft), transparent 48%),
              radial-gradient(circle at 10% 80%, rgba(197, 160, 89, 0.14), transparent 45%),
              var(--bg-ivory);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  background: #FFF;
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--espresso-light);
  margin-bottom: 1.25rem;
}

.eyebrow-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--berry);
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.3rem);
  margin-bottom: 1.15rem;
}

.accent-italic {
  font-family: 'Great Vibes', cursive;
  font-weight: 400;
  color: var(--berry);
  font-size: 1.12em;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--espresso-light);
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-highlights {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.highlight-item strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  color: var(--espresso);
}

.highlight-item span {
  font-size: 0.8rem;
  color: var(--espresso-light);
}

.highlight-divider {
  width: 1px;
  height: 34px;
  background: var(--border-subtle);
}

.hero-visual {
  position: relative;
}

.hero-card-frame {
  padding: 12px;
  background: #FFF;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.hero-banner-img {
  border-radius: 12px;
  width: 100%;
  object-fit: cover;
}

.floating-badge {
  position: absolute;
  bottom: -20px;
  left: -18px;
  background: #FFF;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-soft);
}

.floating-badge img {
  width: 44px;
  height: 44px;
}

.floating-badge strong {
  display: block;
  font-size: 0.9rem;
  color: var(--espresso);
}

.floating-badge span {
  font-size: 0.78rem;
  color: var(--gold-dark);
}

/* Sections General */
.section {
  padding: 5.5rem 0;
}

.section-header.center {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 2.75rem;
}

.section-header h2 {
  font-size: clamp(2.1rem, 3.6vw, 2.9rem);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--espresso-light);
}

.gold-frame {
  padding: 12px;
  background: #FFF;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.gold-frame img {
  border-radius: 12px;
  width: 100%;
}

/* Story Section */
.story-section {
  background: var(--bg-cream);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}

.story-content h2 {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  margin-bottom: 1.1rem;
}

.story-content p {
  color: var(--espresso-light);
  margin-bottom: 1rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
}

.pillar-card {
  background: var(--bg-ivory);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.1rem;
}

.pillar-icon {
  color: var(--gold-dark);
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.pillar-card h3 {
  font-size: 1.18rem;
  margin-bottom: 0.35rem;
}

.pillar-card p {
  font-size: 0.84rem;
  margin-bottom: 0;
}

/* Menu Section */
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}

.tab-btn {
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: #FFF;
  color: var(--espresso);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn:hover,
.tab-btn.active {
  background: var(--espresso);
  color: #FAF6F0;
  border-color: var(--espresso);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
  gap: 1.4rem;
}

.menu-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 6px 20px rgba(74, 46, 27, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.menu-card.hidden {
  display: none;
}

.menu-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.badge-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--gold-soft);
  color: var(--espresso);
}

.badge-tag.specialty {
  background: var(--blush-soft);
  color: var(--berry);
}

.badge-tag.pack {
  background: var(--espresso);
  color: #FAF6F0;
}

.badge-tag.drink {
  background: #EFE7DC;
  color: var(--espresso-light);
}

.price-tag {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--espresso);
}

.menu-card h3 {
  font-size: 1.38rem;
  margin-bottom: 0.45rem;
}

.menu-card p {
  font-size: 0.89rem;
  color: var(--espresso-light);
  margin-bottom: 1.25rem;
}

.add-item-btn {
  width: 100%;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--gold);
  background: var(--bg-ivory);
  color: var(--espresso);
  font-family: inherit;
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.add-item-btn:hover {
  background: var(--espresso);
  color: #FAF6F0;
  border-color: var(--espresso);
}

.menu-sheet-banner {
  margin-top: 3rem;
  padding: 1.75rem 2rem;
  background: var(--bg-cream);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.menu-sheet-banner h3 {
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
}

.menu-sheet-banner p {
  font-size: 0.92rem;
  color: var(--espresso-light);
}

/* Kiosk Section */
.kiosk-section {
  background: var(--bg-cream);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.kiosk-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 3rem;
  align-items: center;
}

.kiosk-copy h2 {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  margin-bottom: 1rem;
}

.kiosk-copy p {
  color: var(--espresso-light);
  margin-bottom: 1.5rem;
}

.kiosk-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
  padding: 1.25rem;
  background: var(--bg-ivory);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.kiosk-details li {
  display: flex;
  flex-direction: column;
  font-size: 0.92rem;
}

.kiosk-details strong {
  color: var(--gold-dark);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Rewards Section */
.rewards-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}

.rewards-copy h2 {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  margin-bottom: 1rem;
}

.rewards-copy > p {
  color: var(--espresso-light);
  margin-bottom: 1.75rem;
}

.rewards-steps {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #FFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1;
}

.step h4 {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.step p {
  font-size: 0.88rem;
  color: var(--espresso-light);
}

/* Custom Order Section */
.order-section {
  background: radial-gradient(circle at 15% 20%, var(--blush-soft), transparent 50%),
              var(--bg-cream);
  border-top: 1px solid var(--border-subtle);
}

.order-box {
  background: #FFF;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 3rem;
}

.order-info h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  margin-bottom: 1rem;
}

.order-info p {
  color: var(--espresso-light);
  margin-bottom: 1.75rem;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-pill {
  padding: 0.85rem 1.1rem;
  background: var(--bg-ivory);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.contact-pill strong {
  color: var(--gold-dark);
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--espresso);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: var(--bg-ivory);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--espresso);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-dark);
  background: #FFF;
}

.form-note {
  font-size: 0.88rem;
  color: var(--berry);
  font-weight: 600;
  text-align: center;
  min-height: 1.2rem;
}

/* Footer */
.site-footer {
  background: var(--espresso);
  color: #FAF6F0;
  padding: 3.75rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(250, 246, 240, 0.15);
}

.footer-logo {
  width: 78px;
  height: 78px;
  background: #FAF6F0;
  border-radius: 50%;
  padding: 6px;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-style: italic;
  color: var(--gold);
}

.footer-sub {
  font-size: 0.88rem;
  opacity: 0.8;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links h4 {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.footer-links a,
.footer-links span {
  font-size: 0.9rem;
  opacity: 0.88;
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  opacity: 0.72;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(34, 20, 11, 0.78);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 1.25rem;
}

.modal-overlay.open {
  display: flex;
}

.modal-card {
  position: relative;
  background: #FFF;
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 1rem;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--espresso);
  color: #FFF;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}

.modal-menu-img {
  border-radius: 12px;
  margin: 0 auto 1rem;
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
  .hero-grid,
  .story-grid,
  .kiosk-grid,
  .rewards-grid,
  .order-box {
    grid-template-columns: 1fr;
  }

  .floating-badge {
    position: static;
    margin-top: 1rem;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-ivory);
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    gap: 1rem;
  }

  .nav-links.open {
    display: flex;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .order-box {
    padding: 1.75rem;
  }
}


/* Order Email & Stacked Form Buttons */
.inline-link {
  color: var(--berry);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-pill a {
  color: var(--berry);
  font-weight: 600;
  word-break: break-word;
}

.contact-pill a:hover {
  text-decoration: underline;
}

.form-actions-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
