/* ============================================
   The Cake Gallery — Playful Bakery Design
   Vibrant, sweet, photo-forward
   ============================================ */

:root {
  --pink: #d63384;
  --pink-light: #f8d7e8;
  --pink-pale: #fff0f6;
  --pink-dark: #a61d60;
  --cream: #fffaf5;
  --cream-dark: #f9f0e6;
  --brown: #3d2b1f;
  --brown-light: #6b4f3a;
  --text: #2c1810;
  --text-muted: #7a6b62;
  --white: #ffffff;
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0 4px 24px rgba(214, 51, 132, 0.08);
  --shadow-hover: 0 8px 40px rgba(214, 51, 132, 0.15);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --nav-height: 72px;
  --max-width: 1200px;
  --radius: 16px;
  --radius-sm: 8px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
address { font-style: normal; }

a {
  color: var(--pink);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--pink-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--brown);
}
h1 { font-size: clamp(2.5rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }

/* ============================================
   Utility
   ============================================ */

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--brown); color: var(--white);
  padding: 0.5rem 1rem; border-radius: 0 0 8px 8px;
  z-index: 1000; font-weight: 600;
}
.skip-link:focus { top: 0; color: var(--white); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--pink);
}

.section-title { text-align: center; margin-bottom: 0.5rem; }
.section-intro {
  text-align: center; max-width: 600px; margin: 0 auto 3rem;
  color: var(--text-muted); font-size: 16px;
}

/* Reveal */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-block; padding: 0.85rem 2rem;
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  border-radius: 999px; border: 2px solid var(--pink);
  color: var(--pink); background: transparent;
  cursor: pointer; transition: all 0.2s; text-align: center;
}
.btn:hover { background: var(--pink); color: var(--white); }

.btn-filled {
  background: var(--pink); color: var(--white); border-color: var(--pink);
}
.btn-filled:hover { background: var(--pink-dark); border-color: var(--pink-dark); color: var(--white); }

.btn-white {
  border-color: var(--white); color: var(--white);
}
.btn-white:hover { background: var(--white); color: var(--pink); }

.btn-link {
  border: none; padding: 0; border-radius: 0;
  font-size: 15px; font-weight: 600; color: var(--pink);
}
.btn-link::after { content: ' →'; }
.btn-link:hover { color: var(--pink-dark); background: transparent; }

/* ============================================
   Navigation
   ============================================ */

.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100; background: var(--white);
  box-shadow: 0 1px 0 var(--border);
}

.nav-container {
  max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-height);
}

.nav-logo-text {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700;
  color: var(--brown);
}
.nav-logo-text span { color: var(--pink); }

.nav-menu-wrap {
  display: flex; align-items: center; gap: 2.5rem;
}

.nav-center {
  display: flex; list-style: none; align-items: center; gap: 2rem;
}
.nav-center a {
  color: var(--text); font-size: 14px; font-weight: 500;
  transition: color 0.2s;
}
.nav-center a:hover, .nav-center a[aria-current="page"] { color: var(--pink); }

.nav-right { display: flex; align-items: center; gap: 1rem; }
.nav-phone { font-size: 14px; font-weight: 500; color: var(--text-muted); }
.nav-phone:hover { color: var(--pink); }
.nav-cta {
  font-size: 13px; font-weight: 600; padding: 8px 20px;
  background: var(--pink); color: var(--white); border-radius: 999px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--pink-dark); color: var(--white); }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 0.5rem; flex-direction: column; gap: 5px; z-index: 101;
}
.nav-toggle-bar { display: block; width: 22px; height: 2px; background: var(--brown); transition: all 0.2s; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-phone { display: none; }
  .nav-menu-wrap {
    display: none; position: fixed; inset: 0; background: var(--white);
    z-index: 100; flex-direction: column; align-items: center;
    justify-content: center; gap: 2rem;
  }
  .nav-menu-wrap.is-open { display: flex; }
  .nav-center { flex-direction: column; gap: 1.5rem; }
  .nav-center a { font-size: 20px; }
  .nav-right { flex-direction: column; }
  .nav-phone { display: block; font-size: 16px; }

  .mobile-bottom-bar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 99; background: var(--pink);
  }
  .mobile-bottom-bar a {
    flex: 1; text-align: center; padding: 14px; color: var(--white);
    font-size: 13px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .mobile-bottom-bar a:first-child { border-right: 1px solid rgba(255,255,255,0.2); }
  .mobile-bottom-bar a:hover { background: var(--pink-dark); }
  body { padding-bottom: 48px; }
}
@media (min-width: 901px) { .mobile-bottom-bar { display: none; } }

/* ============================================
   Hero — Pink gradient, playful
   ============================================ */

.hero {
  padding: calc(var(--nav-height) + 4rem) 1.5rem 0;
  background: linear-gradient(135deg, var(--pink-pale) 0%, var(--cream) 50%, var(--pink-pale) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(214,51,132,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(214,51,132,0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  position: relative; z-index: 1;
  max-width: 700px; margin: 0 auto;
  padding-bottom: 3rem;
}

.hero .eyebrow { margin-bottom: 1rem; }

.hero h1 {
  margin-bottom: 1rem;
  font-style: italic;
}

.hero-body {
  font-size: 17px; color: var(--text-muted);
  max-width: 520px; margin: 0 auto 2rem; line-height: 1.7;
}

.hero-cta { display: flex; gap: 1rem; justify-content: center; align-items: center; flex-wrap: wrap; }
.hero-phone { font-size: 16px; font-weight: 500; color: var(--text-muted); }

/* Wavy divider */
.wave-divider {
  display: block; width: 100%; height: auto;
  margin-top: -1px;
}
.wave-divider path { fill: var(--cream); }

.wave-divider-white path { fill: var(--white); }
.wave-divider-pink path { fill: var(--pink-pale); }

/* ============================================
   Cake Showcase — Horizontal scroll cards
   ============================================ */

.showcase {
  padding: 4rem 0;
  background: var(--cream);
}

.showcase-scroll {
  display: flex; gap: 1.5rem; padding: 0 1.5rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.showcase-scroll::-webkit-scrollbar { display: none; }

.showcase-card {
  flex: 0 0 260px; scroll-snap-align: start;
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.showcase-img {
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--pink-pale), var(--cream-dark), var(--pink-light));
}

.showcase-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}

.showcase-card:hover .showcase-img img {
  transform: scale(1.05);
}

.showcase-card h3 {
  padding: 1rem 1.25rem 0.25rem;
  font-size: 1.1rem;
}

.showcase-card p {
  padding: 0 1.25rem 1.25rem;
  font-size: 14px; color: var(--text-muted);
}

/* ============================================
   Photo Break — Full width
   ============================================ */

.photo-break {
  width: 100%; height: 400px; overflow: hidden;
}
.photo-break-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--pink-pale), var(--cream-dark), var(--pink-light));
  display: flex; align-items: center; justify-content: center;
}
.photo-break-placeholder span {
  font-family: var(--font-display); font-size: 1.2rem;
  color: var(--text-muted); font-style: italic; opacity: 0.5;
}
@media (max-width: 768px) { .photo-break { height: 250px; } }

/* ============================================
   About / Story Section
   ============================================ */

.story-section { padding: 5rem 0; }

.story-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem;
}

.story-image {
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--pink-pale), var(--cream-dark));
}

.story-text .eyebrow { margin-bottom: 0.75rem; }
.story-text h2 { margin-bottom: 1rem; }
.story-text p { color: var(--text-muted); margin-bottom: 1rem; }

.story-details {
  list-style: none; margin: 1.5rem 0;
}
.story-details li {
  padding: 0.4rem 0; color: var(--text-muted); font-size: 15px;
  padding-left: 1.5rem; position: relative;
}
.story-details li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--pink); font-weight: 700;
}

@media (max-width: 768px) {
  .story-grid { grid-template-columns: 1fr; gap: 2rem; }
  .story-image { aspect-ratio: 16/9; }
}

/* ============================================
   Services Section
   ============================================ */

.services-section {
  padding: 5rem 0;
  background: var(--white);
}

.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; max-width: var(--max-width);
  margin: 0 auto; padding: 0 1.5rem;
}

.service-card {
  background: var(--cream); border-radius: var(--radius);
  padding: 2rem; text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 64px; height: 64px;
  margin: 0 auto 1rem;
  background: var(--pink-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}

.service-card h3 { margin-bottom: 0.5rem; }
.service-card p { font-size: 14px; color: var(--text-muted); }

@media (max-width: 768px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .services-grid { grid-template-columns: 1fr; } }

/* ============================================
   Highlight Strip
   ============================================ */

.highlight-strip {
  background: var(--pink);
  padding: 1.25rem 1.5rem;
  text-align: center;
}
.highlight-strip p {
  color: var(--white); font-size: 15px; font-weight: 500;
}

/* ============================================
   Gallery
   ============================================ */

.gallery-section { padding: 5rem 0; }

.gallery-filters {
  display: flex; justify-content: center; gap: 0.5rem;
  flex-wrap: wrap; margin-bottom: 2.5rem;
}
.filter-btn {
  background: var(--white); border: 1px solid var(--border);
  padding: 8px 18px; font-family: var(--font-body);
  font-size: 13px; font-weight: 500; color: var(--text-muted);
  cursor: pointer; border-radius: 999px; transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--pink); border-color: var(--pink); color: var(--white);
}

.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem; max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem;
}

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

.gallery-item {
  position: relative; overflow: hidden;
  border-radius: var(--radius); aspect-ratio: 1;
  cursor: pointer;
}

.gallery-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--pink-pale), var(--cream-dark), var(--pink-light));
  transition: transform 0.5s ease;
}

.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-placeholder,
.gallery-item:hover img { transform: scale(1.05); }

@media (prefers-reduced-motion: reduce) {
  .gallery-item:hover .gallery-placeholder,
  .gallery-item:hover img { transform: none; }
}

.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(44, 24, 16, 0.7));
  color: var(--white); padding: 3rem 1rem 1rem;
  font-weight: 600; font-size: 14px;
}

/* ============================================
   FAQ
   ============================================ */

.faq-section {
  background: var(--white); padding: 5rem 0;
}

.faq-list {
  max-width: 680px; margin: 0 auto; padding: 0 1.5rem;
}

.faq-item { border-bottom: 1px solid var(--border); }

.faq-item summary {
  padding: 1.25rem 0; font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 600; color: var(--brown);
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::after {
  content: '+'; font-size: 1.5rem; color: var(--pink);
  font-weight: 300; flex-shrink: 0; margin-left: 1rem;
  font-family: var(--font-body);
}
.faq-item[open] summary::after { content: '−'; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
  padding-bottom: 1.25rem; color: var(--text-muted); font-size: 15px; line-height: 1.8;
}

/* ============================================
   CTA — Pink gradient
   ============================================ */

.pink-cta {
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-dark) 100%);
  padding: 5rem 1.5rem; text-align: center;
}
.pink-cta h2 { color: var(--white); margin-bottom: 0.75rem; }
.pink-cta p {
  color: rgba(255,255,255,0.85); max-width: 500px;
  margin: 0 auto 2rem; font-size: 16px;
}
.pink-cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================
   Footer
   ============================================ */

.site-footer {
  background: var(--brown); color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}

.footer-container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

.footer-logo-wrap { text-align: center; margin-bottom: 3rem; }
.footer-logo {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 700;
  color: var(--white); margin-bottom: 0.25rem;
}
.footer-logo span { color: var(--pink-light); }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.4); font-style: italic; }

.footer-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 3rem; margin-bottom: 3rem;
}

.footer-col h3 {
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--pink-light); margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: rgba(255,255,255,0.5); font-size: 14px; }
.footer-col a:hover { color: var(--white); }
.footer-col p { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.6; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem; text-align: center;
  font-size: 13px; color: rgba(255,255,255,0.25);
}

@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================================
   Inner Pages
   ============================================ */

.page-content { padding-top: var(--nav-height); }

.page-hero {
  text-align: center;
  padding: 4rem 1.5rem 3rem;
  background: linear-gradient(135deg, var(--pink-pale), var(--cream));
}
.page-hero .eyebrow { margin-bottom: 0.75rem; }
.page-hero h1 { margin-bottom: 0.75rem; }
.page-hero p { color: var(--text-muted); font-size: 17px; max-width: 520px; margin: 0 auto; }

/* ============================================
   Pricing
   ============================================ */

.pricing-section { margin-bottom: 3rem; }
.pricing-section h2 { text-align: center; margin-bottom: 0.5rem; }

.pricing-table-wrapper { overflow-x: auto; max-width: 620px; margin: 0 auto; }
.pricing-table { width: 100%; border-collapse: collapse; }
.pricing-table th, .pricing-table td {
  padding: 0.75rem 1rem; text-align: left;
  border-bottom: 1px solid var(--border); font-size: 15px;
}
.pricing-table th {
  font-family: var(--font-body); font-weight: 600; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted);
}
.pricing-table td:last-child {
  text-align: right; font-weight: 700; color: var(--pink); white-space: nowrap;
}
.pricing-table tr:hover td { background: var(--pink-pale); }

.flavor-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem; list-style: none; max-width: 860px; margin: 0 auto 2rem;
}
.flavor-list li {
  padding: 0.85rem 1rem; background: var(--cream); border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.flavor-list li strong {
  display: block; font-family: var(--font-display); font-size: 1rem; color: var(--brown);
}
.flavor-list li span { font-size: 13px; color: var(--text-muted); }

.pricing-note {
  text-align: center; background: var(--pink-pale);
  padding: 2rem; border-radius: var(--radius); max-width: 620px; margin: 0 auto;
}
.pricing-note p { margin-bottom: 0.5rem; color: var(--text-muted); font-size: 15px; }
.pricing-note strong { color: var(--brown); }

/* ============================================
   Contact
   ============================================ */

.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem;
}

.contact-form h3 { margin-bottom: 1rem; }

.contact-form label {
  display: block; font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 0.35rem; color: var(--text-muted);
}
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 0.85rem; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-family: var(--font-body);
  font-size: 15px; color: var(--text); background: var(--white);
  margin-bottom: 1rem; transition: border-color 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none; border-color: var(--pink);
}
.contact-form textarea { min-height: 140px; resize: vertical; }

.contact-info-card {
  background: var(--pink-pale); padding: 2.5rem; border-radius: var(--radius);
}
.contact-info-card h3 { margin-bottom: 1.5rem; color: var(--pink-dark); }
.contact-detail { margin-bottom: 1.25rem; }
.contact-detail-label {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--pink); margin-bottom: 0.15rem;
}
.contact-detail p { color: var(--text); font-size: 15px; }
.contact-detail a { color: var(--text); }
.contact-detail a:hover { color: var(--pink); }

.ohnohoney { opacity: 0; position: absolute; top: 0; left: 0; height: 0; width: 0; z-index: -1; }

@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

/* ============================================
   Section spacing
   ============================================ */
.section { padding: 5rem 0; }
.section-eyebrow {
  font-size: 13px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--pink); text-align: center; margin-bottom: 0.5rem;
}
