/* Base */
:root {
  --honey-gold: #c58b1f;
  --honey-gold-dark: #a36c13;
  --cream: #fff7ec;
  --brown-text: #3f2f1a;
  --body-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --script-font: "Georgia", "Times New Roman", serif;
}

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

body {
  font-family: var(--body-font);
  color: var(--brown-text);
  background-color: #fffaf5;
  line-height: 1.6;
}

/* Layout helpers */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  padding: 4rem 0;
  background-color: var(--cream);
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.section-intro {
  max-width: 600px;
  margin-bottom: 2rem;
}

.section-note {
  margin-top: 1.5rem;
  font-style: italic;
  color: #6d5735;
}

/* Header */
.site-header {
  background: linear-gradient(135deg, #fffaf5, #ffe6c8);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
  padding: 0.7rem 1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #fffaf5, #ffe4c1);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.logo {
  height: 70px;
  width: auto;
}

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

.brand-name {
  font-family: var(--script-font);
  font-size: 1.45rem;
  font-weight: 700;
}

.brand-tagline {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a6426;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.main-nav a {
  text-decoration: none;
  color: #6b4e23;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  transition: background-color 0.2s, color 0.2s;
}

.main-nav a:hover {
  background-color: rgba(197, 139, 31, 0.18);
  color: #3f2f1a;
}

.main-nav .nav-cta.disabled {
  opacity: 0.6;
  cursor: default;
}

.nav-toggle {
  display: none;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 0.4rem 0.65rem;
  font-size: 1.1rem;
  cursor: pointer;
  color: #6b4e23;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.brand:hover,
.brand:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--cream), #fffaf5);
  padding: 4rem 0 4.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.hero h1 {
  font-family: var(--script-font);
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
}

.scripture {
  font-style: italic;
  color: #7b6340;
  font-size: 0.95rem;
}

/* Hero card */
.hero-card {
  background-color: #fff;
  border-radius: 1rem;
  padding: 1.6rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  position: relative;
}

.hero-card h2 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.hero-card ul {
  list-style: none;
}

.hero-card li + li {
  margin-top: 0.75rem;
}

.hero-card strong {
  color: var(--honey-gold-dark);
}

.hero-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #7b6340;
}

.hero-carousel-card {
  padding: 0;
  overflow: hidden;
}

.hero-carousel-card .carousel-shell {
  max-width: none;
  margin: 0;
  border-radius: 1rem;
  box-shadow: none;
  height: 100%;
}

.hero-carousel-card .carousel-slide {
  aspect-ratio: 3 / 4;
  max-height: 640px;
  padding: 1.4rem;
}

.hero-carousel-card .carousel-caption {
  padding: 1.2rem 1.4rem 0.6rem;
}

.hero-carousel-card .carousel-caption h3 {
  margin: 0.2rem 0;
}

.caption-note {
  color: #7b6340;
  font-size: 0.95rem;
}

.hero-carousel-card .carousel-controls.overlay-controls {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.75rem;
  pointer-events: none;
}

.hero-carousel-card .carousel-btn {
  pointer-events: all;
  background: rgba(255, 255, 255, 0.92);
}

.hero-with-cta .hero-inner {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
}

.update-banner {
  margin-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: #fffaf5;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
}

.install-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 1000;
}

.install-modal {
  background: #fffaf5;
  border-radius: 16px;
  padding: 1.5rem;
  max-width: 360px;
  width: 100%;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.install-modal h3 {
  margin-bottom: 0.5rem;
}

.install-modal p {
  margin-bottom: 1rem;
}

.install-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.ios-hint-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0 auto;
  max-width: 640px;
  padding: 0.85rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  background: #fffaf5;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px 14px 0 0;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
  z-index: 900;
}

.ios-hint-banner p {
  margin: 0.1rem 0 0;
  font-size: 0.95rem;
  color: #6b4e23;
}

@media (max-width: 1000px) {
  .hero-with-cta .hero-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-with-cta .contact-cta {
    margin-top: 0.5rem;
  }
}

.sweets-and-gallery .sweets-panel {
  background: #fff;
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.sweets-and-gallery .cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.sweets-and-gallery .card {
  padding: 1.1rem;
}

.sweets-and-gallery .card h3 {
  margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s,
    box-shadow 0.2s;
}

.btn.primary {
  background-color: var(--honey-gold);
  color: #fff;
  border-color: var(--honey-gold);
}

.btn.primary:hover {
  background-color: var(--honey-gold-dark);
  border-color: var(--honey-gold-dark);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
}

.btn.ghost {
  background-color: transparent;
  color: var(--honey-gold-dark);
  border-color: rgba(0, 0, 0, 0.1);
}

.btn.ghost:hover {
  border-color: var(--honey-gold-dark);
}

.btn.full-width {
  width: 100%;
}

/* Split layout */
.split {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2rem;
  align-items: start;
}

.about-highlight,
.contact-cta {
  background-color: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.about-highlight h3,
.contact-cta h3 {
  margin-bottom: 0.75rem;
}

.about-highlight ul,
.contact-cta ol {
  margin-left: 1.2rem;
}

.about-highlight li + li,
.contact-cta li + li {
  margin-top: 0.4rem;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  background-color: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card ul {
  list-style: none;
}

.card li + li {
  margin-top: 0.35rem;
}

/* Contact */
.contact-list {
  list-style: none;
  margin-top: 1rem;
}

.contact-list li + li {
  margin-top: 0.4rem;
}

.contact-list a {
  color: var(--honey-gold-dark);
  text-decoration: none;
}

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

/* Coming soon section */
.coming-soon {
  text-align: center;
}

.coming-soon p {
  max-width: 600px;
  margin: 0.5rem auto 0;
}

/* Dessert carousel */
.dessert-carousel {
  background: linear-gradient(180deg, #fff1da, #fffaf5);
  padding-bottom: 3.5rem;
}

.carousel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.carousel-header h2 {
  margin: 0.3rem 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  color: #8a6426;
  font-weight: 700;
}

.carousel-shell {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  max-width: 720px;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s ease;
}

.carousel-slide {
  min-width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 620px;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.6rem;
  background: radial-gradient(circle at 20% 20%, #fff7ec 0, #fffaf5 40%, #ffe9c8 100%);
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  max-height: calc(100% - 0.4rem);
  object-fit: contain;
  display: block;
  border-radius: 14px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.carousel-controls {
  display: inline-flex;
  gap: 0.5rem;
}

.carousel-btn {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #6b4e23;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.carousel-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  border-color: rgba(197, 139, 31, 0.35);
}

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #c58b1f;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.carousel-dot.is-active {
  background: #c58b1f;
  transform: scale(1.1);
}

/* Footer */
.site-footer {
  background-color: #f3e6c5;
  padding: 1.5rem 0;
  margin-top: 2rem;
}

.footer-inner {
  text-align: center;
  font-size: 0.85rem;
  color: #6d5735;
}

.footer-note {
  margin-top: 0.3rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner,
  .split,
  .cards {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    width: 100%;
    background: #fffaf5;
    padding: 0.75rem;
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    z-index: 150;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 0.5rem 0.75rem;
    width: 100%;
  }

  .hero {
    padding-top: 2.5rem;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }

  .logo {
    height: 48px;
  }

  .section {
    padding: 3rem 0;
  }

  .carousel-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .carousel-controls {
    align-self: flex-start;
  }

  .carousel-slide {
    aspect-ratio: 3 / 4;
    max-height: 500px;
    padding: 1.1rem;
  }

  .hero-carousel-card .carousel-slide {
    max-height: 480px;
    padding: 1rem;
  }

  .hero-carousel-card .carousel-caption {
    padding: 1rem 1rem 0.4rem;
  }

  .sweets-and-gallery .cards {
    grid-template-columns: 1fr;
  }
}
