/* ==========================================================================
   Nida Bakes — Marketing Site Stylesheet
   Warm pastel bakery aesthetic. Mobile-first.
   ========================================================================== */

:root {
  /* Palette — matched to the Nida Bakes logo: black, hot pink, silver */
  --cream:        #FFFBF8;
  --cream-deep:    #FFF2F8;
  --blush:        #FBD3E6;
  --blush-soft:    #FDEAF3;
  --rose:         #EE5FA0;
  --rose-deep:     #E31C79;
  --sage:         #F2C9DC;
  --sage-deep:     #C7508A;
  --gold:         #9AA0A8;
  --gold-soft:     #E7E9EC;
  --plum:         #000000;
  --plum-soft:     #5C5259;
  --white:        #FFFFFF;
  --shadow:       0 12px 30px rgba(0, 0, 0, 0.14);
  --shadow-soft:   0 6px 18px rgba(0, 0, 0, 0.10);

  /* Type */
  --font-display: "Playfair Display", "Georgia", serif;
  --font-script:  "Alex Brush", "Playfair Display", cursive;
  --font-body:    "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--plum);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--plum);
}

h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

p { margin: 0 0 1em; }

.script {
  font-family: var(--font-script);
  color: var(--rose-deep);
  font-weight: 400;
  line-height: 1;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-script);
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  color: var(--rose-deep);
  margin-bottom: 0.15em;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 64px 0; }
.section-tight { padding: 40px 0; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.bg-cream-deep { background: var(--cream-deep); }
.bg-blush { background: var(--blush-soft); }
.bg-plum { background: var(--plum); color: var(--cream); }
.bg-plum h2, .bg-plum h3 { color: var(--cream); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--rose-deep);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: #a8535f; box-shadow: var(--shadow); }

.btn-gold {
  background: var(--gold);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn-gold:hover { background: #b6863f; }

.btn-outline {
  background: transparent;
  border-color: var(--rose-deep);
  color: var(--rose-deep);
}
.btn-outline:hover { background: var(--rose-deep); color: var(--white); }

.btn-outline-light {
  background: transparent;
  border-color: var(--cream);
  color: var(--cream);
}
.btn-outline-light:hover { background: var(--cream); color: var(--plum); }

.btn-block { width: 100%; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.center { justify-content: center; text-align: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* No backdrop-filter here: any CSS filter on this ancestor would make the
     fixed-position .nav-links / .nav-overlay panels position relative to
     this header box instead of the viewport, breaking the mobile menu. */
  background: rgba(0, 0, 0, 0.97);
  border-bottom: 1px solid rgba(227, 28, 121, 0.25);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1180px;
  margin: 0 auto;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo .name {
  font-family: var(--font-script);
  font-size: 1.9rem;
  color: var(--rose-deep);
}
.logo .tagline {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 251, 248, 0.65);
  margin-top: 2px;
}

.nav-cta-desktop { display: none; }

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-links {
  position: fixed;
  inset: 0 0 0 30%;
  z-index: 96;
  background: var(--plum);
  display: flex;
  flex-direction: column;
  padding: 100px 30px 30px;
  gap: 6px;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  box-shadow: -10px 0 30px rgba(0,0,0,0.25);
}
.nav-links.open { transform: translateX(0); }

.nav-links a {
  font-family: var(--font-display);
  font-size: 1.3rem;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,251,248,0.1);
  color: var(--cream);
}
.nav-links a.active { color: var(--rose-deep); }

.nav-links .btn { margin-top: 20px; }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(74,46,51,0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  z-index: 90;
}
.nav-overlay.open { opacity: 1; pointer-events: auto; }

@media (min-width: 900px) {
  .hamburger { display: none; }
  .nav-links {
    position: static;
    inset: auto;
    transform: none;
    flex-direction: row;
    align-items: center;
    background: transparent;
    box-shadow: none;
    padding: 0;
    gap: 30px;
  }
  .nav-links a {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    border-bottom: none;
    padding: 4px 0;
    position: relative;
  }
  .nav-links a.active { color: var(--rose-deep); }
  .nav-links a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -4px;
    height: 2px;
    background: var(--rose-deep);
    transform: scaleX(0);
    transition: transform 0.2s ease;
  }
  .nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
  .nav-links .btn { display: none; }
  .nav-overlay { display: none; }
  .nav-cta-desktop { display: inline-flex; }
}

/* Sticky mobile order bar */
.mobile-order-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 95;
  background: var(--plum);
  border-top: 1px solid rgba(227,28,121,0.3);
  padding: 10px 16px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  box-shadow: 0 -6px 20px rgba(0,0,0,0.2);
}
.mobile-order-bar .btn { width: 100%; }
@media (min-width: 900px) {
  .mobile-order-bar { display: none; }
}
body { padding-bottom: 74px; }
@media (min-width: 900px) { body { padding-bottom: 0; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 44px 0 56px;
}
.hero.bg-plum { padding-top: 30px; }
.hero-grid {
  display: grid;
  gap: 34px;
  align-items: center;
}
.hero-copy { text-align: center; }
.hero-copy h1 { margin-bottom: 0.35em; }
.hero-copy .lead {
  font-size: 1.08rem;
  color: var(--plum-soft);
  max-width: 480px;
  margin: 0 auto 26px;
}
.hero.bg-plum .lead { color: rgba(255, 251, 248, 0.78); }
.hero-photo { order: -1; }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 1fr; text-align: left; }
  .hero-copy { text-align: left; }
  .hero-copy .lead { margin: 0 0 30px; }
  .hero-photo { order: 0; }
  .hero-copy .cta-row { justify-content: flex-start; }
}

/* ---------- Placeholder Photo Tiles ---------- */
.ph-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  padding: 20px;
  box-shadow: var(--shadow-soft);
}
.ph-photo .ph-icon { width: 34%; max-width: 64px; opacity: 0.55; }
.ph-photo .ph-label {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--plum-soft);
  background: rgba(255,255,255,0.6);
  padding: 4px 10px;
  border-radius: 999px;
  max-width: 90%;
}
.ph-ratio-1-1 { aspect-ratio: 1 / 1; }
.ph-ratio-4-3 { aspect-ratio: 4 / 3; }
.ph-ratio-3-4 { aspect-ratio: 3 / 4; }
.ph-ratio-16-9 { aspect-ratio: 16 / 9; }
.ph-ratio-4-5 { aspect-ratio: 4 / 5; }

.ph-1 { background: linear-gradient(135deg, var(--blush) 0%, var(--cream-deep) 100%); }
.ph-2 { background: linear-gradient(135deg, var(--gold-soft) 0%, var(--blush-soft) 100%); }
.ph-3 { background: linear-gradient(135deg, var(--sage) 0%, var(--cream-deep) 100%); }
.ph-4 { background: linear-gradient(135deg, var(--blush-soft) 0%, var(--gold-soft) 100%); }
.ph-5 { background: linear-gradient(135deg, var(--cream-deep) 0%, var(--blush) 100%); }

.hero-photo .ph-photo { box-shadow: var(--shadow); }
.hero-photo-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 420px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
@media (min-width: 900px) {
  .hero-photo-img { max-width: 100%; }
}

/* ---------- Value Prop Strip ---------- */
.value-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 40px 0;
}
.value-item {
  text-align: center;
  padding: 18px 10px;
}
.value-item .v-icon {
  width: 42px; height: 42px;
  margin: 0 auto 12px;
  color: var(--rose-deep);
}
.value-item h4 { font-size: 0.98rem; margin-bottom: 4px; }
.value-item p { font-size: 0.85rem; color: var(--plum-soft); margin: 0; }

@media (min-width: 900px) {
  .value-strip { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Gallery ---------- */
.filter-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 30px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-tab {
  flex: 0 0 auto;
  padding: 10px 20px;
  border-radius: 999px;
  border: 2px solid var(--blush);
  background: var(--white);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  color: var(--plum-soft);
  transition: all 0.15s ease;
}
.filter-tab.active, .filter-tab:hover {
  border-color: var(--rose-deep);
  background: var(--rose-deep);
  color: var(--white);
}

.gallery-category { margin-bottom: 10px; }
.gallery-category h3 { margin-bottom: 4px; }
.gallery-category .cat-desc { color: var(--plum-soft); font-size: 0.92rem; margin-bottom: 20px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 50px;
}
@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
@media (min-width: 900px) {
  .gallery-grid { gap: 22px; }
}

.teaser-tile {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.teaser-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}
.teaser-tile:hover img { transform: scale(1.04); }
.teaser-tile .teaser-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 14px;
  background: linear-gradient(to top, rgba(23,20,26,0.85), transparent 70%);
  color: var(--cream);
  font-weight: 600;
  font-size: 0.85rem;
}

.gallery-masonry {
  column-count: 2;
  column-gap: 14px;
  margin-bottom: 50px;
}
.gallery-masonry img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 14px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  break-inside: avoid;
}
@media (min-width: 640px) {
  .gallery-masonry { column-count: 3; column-gap: 18px; }
  .gallery-masonry img { margin-bottom: 18px; }
}
@media (min-width: 900px) {
  .gallery-masonry { column-gap: 22px; }
  .gallery-masonry img { margin-bottom: 22px; }
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 26px 22px;
}

.grid-3 { display: grid; gap: 20px; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; gap: 20px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Pricing ---------- */
.price-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 30px 26px;
  border-top: 4px solid var(--rose-deep);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.price-card.alt { border-top-color: var(--gold); }
.price-card .amount {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--rose-deep);
  margin: 6px 0 4px;
}
.price-card .amount span { font-size: 0.95rem; font-family: var(--font-body); color: var(--plum-soft); font-weight: 500; }
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 14px 0 20px;
  flex-grow: 1;
}
.price-card li {
  padding: 7px 0;
  font-size: 0.92rem;
  color: var(--plum-soft);
  border-bottom: 1px dashed rgba(74,46,51,0.12);
}
.price-card li:last-child { border-bottom: none; }

.menu-category {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.menu-category h3 {
  border-bottom: 2px solid var(--blush);
  padding-bottom: 12px;
  margin-bottom: 4px;
}
.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}
.menu-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(23,20,26,0.12);
}
.menu-list li:last-child { border-bottom: none; }
.menu-list .item-name { font-weight: 500; }
.menu-list .item-price {
  color: var(--rose-deep);
  font-weight: 700;
  white-space: nowrap;
}

.pricing-note {
  background: var(--blush-soft);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin-top: 40px;
  text-align: center;
}

/* ---------- Policies ---------- */
.policy-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .policy-grid { grid-template-columns: repeat(2, 1fr); }
}
.policy-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 26px;
  display: flex;
  gap: 16px;
}
.policy-card .p-icon {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  color: var(--rose-deep);
}
.policy-card h4 { margin-bottom: 6px; }
.policy-card p { color: var(--plum-soft); font-size: 0.92rem; margin: 0; }

/* ---------- Reviews ---------- */
.rating-hero {
  text-align: center;
  padding: 20px 0 10px;
}
.stars {
  color: #F4B400;
  font-size: 1.8rem;
  letter-spacing: 4px;
  margin-bottom: 10px;
}
.rating-number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--plum);
}
.rating-sub { color: var(--plum-soft); margin-bottom: 26px; }

.trust-points {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-top: 40px;
}
@media (min-width: 720px) {
  .trust-points { grid-template-columns: repeat(3, 1fr); }
}
.trust-point {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 24px;
  text-align: center;
}
.trust-point .t-icon { width: 36px; height: 36px; margin: 0 auto 12px; color: var(--sage-deep); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  gap: 30px;
  align-items: center;
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-grid.reverse .ph-photo { order: 2; }
}
.portrait-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.portrait-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 420px;
  margin: 0 auto;
}
@media (min-width: 900px) {
  .portrait-img { max-width: 100%; }
}

.map-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--sage);
  color: var(--plum);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-top: 20px;
  font-weight: 600;
  font-size: 0.92rem;
}
.map-strip svg { width: 26px; height: 26px; flex: 0 0 auto; }

/* ---------- Final CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--plum) 0%, var(--rose-deep) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 30px;
  text-align: center;
  margin: 20px auto;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,0.9); max-width: 480px; margin: 0 auto 26px; }
.cta-banner .btn-outline-light { border-color: var(--white); color: var(--white); }
.cta-banner .btn-outline-light:hover { background: var(--white); color: var(--rose-deep); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--plum);
  color: var(--cream);
  padding: 50px 0 26px;
}
.footer-grid {
  display: grid;
  gap: 34px;
  margin-bottom: 34px;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}
.footer-logo {
  font-family: var(--font-script);
  font-size: 1.8rem;
  color: var(--blush);
}
.footer-tagline { color: rgba(255,249,242,0.7); font-size: 0.9rem; max-width: 300px; }
.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 14px;
}
.footer-col a, .footer-col p {
  display: block;
  color: rgba(255,249,242,0.82);
  font-size: 0.92rem;
  margin-bottom: 10px;
}
.footer-col a:hover { color: var(--blush); }

.social-row { display: flex; gap: 12px; margin-top: 6px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,249,242,0.3);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.social-row a:hover { background: var(--rose-deep); border-color: var(--rose-deep); }
.social-row svg { width: 17px; height: 17px; }

.footer-bottom {
  border-top: 1px solid rgba(255,249,242,0.15);
  padding-top: 20px;
  font-size: 0.78rem;
  color: rgba(255,249,242,0.55);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

/* ---------- Page Header (interior pages) ---------- */
.page-header {
  text-align: center;
  padding: 50px 0 20px;
}
.page-header .eyebrow { display: block; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.muted { color: var(--plum-soft); }
