@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

:root {
  --cream: #f6efe2;
  --paper: #fffdf7;
  --teal: #0d5458;
  --teal-soft: #4b9690;
  --gold: #c98627;
  --ink: #111111;
  --shadow: rgba(64, 43, 25, 0.08);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
}

a { color: inherit; }

.site-header {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 18px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}

.nav a {
  color: #000;
  text-decoration: none;
  font-size: .96rem;
  position: relative;
  padding: 6px 0 10px;
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 1px;
  background: var(--gold);
}

.nav a.active::before {
  content: "♥";
  position: absolute;
  left: 50%;
  bottom: -5px;
  transform: translateX(-50%);
  color: var(--gold);
  font-size: .7rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 7px;
}

.social-links a {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: .82rem;
}

.hero {
  max-width: 1080px;
  margin: 18px auto 18px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: minmax(320px, 460px) minmax(300px, 1fr);
  align-items: center;
  gap: 42px;
}

.logo-wrap {
  background: var(--paper);
  border-radius: 8px;
  padding: 6px;
  box-shadow: 0 8px 18px var(--shadow);
}

.main-logo {
  display: block;
  width: 100%;
  max-width: 445px;
  max-height: 295px;
  object-fit: contain;
}

.hero-text {
  text-align: center;
}

.hero-text h1 {
  margin: 0;
  color: var(--teal);
  font-size: clamp(3rem, 5vw, 5.1rem);
  line-height: .92;
  font-weight: 700;
}

.sub-page .hero-text h1 {
  font-size: clamp(2.7rem, 4vw, 4.35rem);
}

.script,
.small-script,
.signature {
  font-family: "Great Vibes", "Brush Script MT", cursive;
  color: var(--gold);
}

.script {
  margin: 12px 0 8px;
  font-size: clamp(1.75rem, 3vw, 3rem);
  line-height: 1.05;
  font-weight: 700;
}

.divider {
  width: min(300px, 80%);
  margin: 12px auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  color: var(--gold);
}

.divider span {
  height: 1px;
  background: var(--gold);
}

.tagline {
  margin: 10px auto;
  font-size: 1.16rem;
  line-height: 1.34;
}

.sub-page .tagline {
  font-size: 1rem;
}

.button-row,
.center-button {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  border: 1px solid var(--gold);
  padding: 10px 22px;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--teal);
  color: #fffaf0;
  box-shadow: inset 0 0 0 2px rgba(201, 134, 39, .55);
}

.btn-primary::before,
.btn-primary::after {
  content: "✦";
  color: var(--gold);
  padding: 0 8px;
}

.btn-secondary {
  background: var(--paper);
  color: var(--teal);
}

.menu-section,
.product-section,
.info-section,
.order-form-section,
.welcome-strip {
  max-width: 1080px;
  margin: 22px auto 0;
  padding: 0 20px;
}

.section-title {
  margin: 0 0 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.section-title span {
  height: 1px;
  background: var(--gold);
}

.section-title h2 {
  margin: 0;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  line-height: 1;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 14px;
}

.menu-card {
  min-height: 225px;
  padding: 9px;
  border: 1px solid var(--gold);
  border-radius: 7px;
  background: rgba(255, 253, 247, .92);
  text-align: center;
  box-shadow: 0 8px 18px var(--shadow);
}

.menu-card h3 {
  margin: 0 0 7px;
  min-height: 1.2em;
  color: var(--teal);
  font-size: .98rem;
  line-height: 1.1;
  font-weight: 500;
}

.menu-title-link {
  color: var(--teal);
  text-decoration: none;
}

.menu-title-link:hover {
  text-decoration: underline;
}

.menu-image-link {
  display: block;
  text-decoration: none;
}

.menu-card img {
  display: block;
  width: 100%;
  height: 122px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(201, 134, 39, .38);
}

.menu-image-link:hover img {
  filter: brightness(.96);
}

.menu-button-link {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 8px 5px;
  background: var(--teal);
  color: #fffaf0;
  border: 1px solid var(--gold);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.menu-button-link::before,
.menu-button-link::after {
  content: "✦";
  color: var(--gold);
  padding: 0 5px;
}

.welcome-strip {
  margin-top: 24px;
  padding: 16px;
  min-height: 165px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 380px 1fr 110px;
  align-items: center;
  gap: 18px;
  background: rgba(255, 253, 247, .8);
}

.welcome-image img {
  display: block;
  width: 100%;
  max-height: 120px;
  object-fit: cover;
  border-radius: 4px;
}

.welcome-copy {
  text-align: center;
}

.welcome-copy h2 {
  margin: 0;
  color: var(--teal);
  font-size: 1.9rem;
}

.welcome-copy p {
  margin: 4px auto;
  font-size: .98rem;
  line-height: 1.34;
  max-width: 520px;
}

.small-script,
.signature {
  font-size: 1.2rem !important;
}

.small-heart,
.sprig {
  color: var(--gold);
}

.sprig {
  text-align: center;
  font-size: 1.5rem;
  color: #8d6aa0;
}

.product-section {
  margin-top: 18px;
}

.section-note {
  margin: -6px auto 12px;
  text-align: center;
  font-size: .92rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(105px, 1fr));
  gap: 9px;
}

.product-card {
  padding: 7px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  background: rgba(255, 253, 247, .95);
  text-align: center;
  box-shadow: 0 8px 18px var(--shadow);
}

.product-card img {
  width: 100%;
  height: 98px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(201, 134, 39, .35);
}

.product-card h3 {
  margin: 6px 0 4px;
  min-height: 2em;
  color: var(--teal);
  font-size: .8rem;
  line-height: 1.1;
}

.product-card ul {
  list-style: none;
  margin: 0;
  padding: 5px 0 0;
  border-top: 1px solid rgba(201, 134, 39, .35);
}

.product-card li {
  display: flex;
  justify-content: space-between;
  gap: 7px;
  padding: 1px 0;
  font-size: .74rem;
  line-height: 1.15;
}

.product-card strong {
  color: var(--teal);
}

.info-section,
.order-form-section {
  padding: 18px 22px;
  border: 1px solid var(--gold);
  border-radius: 12px;
  background: rgba(255, 253, 247, .9);
  text-align: center;
}

.info-section p {
  max-width: 760px;
  margin: 0 auto;
  font-size: .98rem;
  line-height: 1.45;
}

.bakery-form {
  max-width: 850px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
  text-align: left;
}

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

.bakery-form label {
  display: grid;
  gap: 5px;
  color: var(--teal);
  font-weight: 700;
  font-size: .92rem;
}

.bakery-form input,
.bakery-form select,
.bakery-form textarea {
  width: 100%;
  padding: 8px 9px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  background: var(--paper);
  font: inherit;
}

.footer {
  margin-top: 24px;
  padding: 14px 20px;
  display: flex;
  justify-content: center;
  gap: 48px;
  background: var(--teal-soft);
  color: white;
  font-size: .92rem;
}

.footer a {
  color: white;
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 620px;
    gap: 16px;
  }

  .logo-wrap {
    margin: 0 auto;
  }

  .menu-grid {
    grid-template-columns: repeat(2, minmax(135px, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(135px, 1fr));
  }

  .welcome-strip {
    grid-template-columns: 1fr;
  }

  .sprig {
    display: none;
  }

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

  .footer {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}
