/* Gadi's Bakery — full-site visual (on Page structure IA)
   Industry cues: light home, product photos as atmosphere, primary Order CTA.
   Specialty: look only — not SEO / IA / Toast embed logic. */

:root {
  --ink: #1a2b33;
  --muted: #52656e;
  --wash: rgba(255, 250, 244, 0.84);
  --surface: rgba(255, 252, 248, 0.5);
  --amber: #d4841a;
  --amber-deep: #b56a0c;
  --teal: #143c50;
  --teal-deep: #0d2a38;
  --line: rgba(20, 60, 80, 0.12);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", "Segoe UI", Candara, sans-serif;
  --wrap: 68rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: #f3e4d4;
  background-image:
    linear-gradient(rgba(255, 250, 244, 0.58), rgba(255, 250, 244, 0.66)),
    url("../images/site-bg-croissants.jpg");
  background-position: center top;
  background-repeat: repeat;
  background-size: 44rem auto;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
  background: transparent;
}

a {
  color: var(--teal);
}

a:hover {
  color: var(--teal-deep);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 0.8rem;
  z-index: 10;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(calc(100% - 2rem), var(--wrap));
  margin-inline: auto;
}

/* —— Header + logo (no black plate) —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 250, 244, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

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

.wordmark {
  display: block;
  width: min(13.5rem, 46vw);
  flex: none;
  line-height: 0;
  background: transparent !important;
  overflow: visible;
}

.wordmark img {
  display: block;
  width: 100%;
  height: auto;
  position: static;
  max-width: 100%;
  background: transparent !important;
}

.site-header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header nav a {
  display: inline-block;
  padding: 0.4rem 0.65rem;
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
  border-radius: 0;
  background: transparent;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  background: transparent;
  color: var(--amber-deep);
  text-decoration: underline;
  text-underline-offset: 0.28em;
  text-decoration-thickness: 1.5px;
}

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  overflow: hidden;
  flex: none;
}

.lang-switch button {
  background: transparent;
  color: var(--teal);
  border: 0;
  min-height: 2rem;
  padding: 0.25rem 0.65rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.lang-switch button[aria-pressed="true"] {
  background: var(--teal);
  color: #fff8f0;
}

main {
  padding-bottom: 2.5rem;
}

/* —— Home hero: brand + photo + Order CTA (industry: Fox / Mah-Ze-Dahr) —— */
.hero-band {
  background: transparent;
  color: var(--ink);
  padding: 0;
}

.hero,
.page-intro {
  padding: 2.75rem 0 1.25rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 24rem);
  align-items: center;
  gap: 1.5rem 2rem;
}

.hero > * {
  min-width: 0;
}

.hero-band h1 {
  margin: 0;
  color: var(--teal-deep);
  font-size: clamp(2.7rem, 7vw, 4.8rem);
  font-weight: 600;
}

.hero-band .lede {
  color: var(--ink);
  max-width: 30rem;
}

.hero-band .button-primary {
  /* Order = primary CTA */
  box-shadow: 0 8px 24px rgba(212, 132, 26, 0.28);
}

.hero-photo {
  width: 100%;
  max-width: 26rem;
  height: auto;
  justify-self: end;
  object-fit: cover;
  aspect-ratio: 1;
  background: transparent;
  box-shadow: 0 18px 40px rgba(20, 60, 80, 0.14);
}

.tagline-alt {
  margin: 0.35rem 0 0;
  font-family: var(--serif);
  font-size: 1.22rem;
  color: var(--amber);
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--amber-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

h1 {
  margin: 0;
  font-size: clamp(2.25rem, 5.5vw, 3.6rem);
}

h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
}

h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

.lede {
  max-width: 36rem;
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.6rem 1.15rem;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--amber);
  color: #1a1208;
}

.button-primary:hover {
  background: var(--amber-deep);
  color: #1a1208;
}

.button-secondary {
  background: transparent;
  border-color: var(--teal);
  color: var(--teal);
}

.button-secondary:hover {
  background: var(--teal);
  color: #fff;
}

.section {
  padding: 1.5rem 0 0.4rem;
}

.section-heading {
  max-width: 34rem;
  margin-bottom: 0.9rem;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.prose {
  max-width: 38rem;
}

.prose p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 1.06rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

/* —— Product photos embedded in design (not menu cards) —— */
.photo-band {
  padding-top: 1.25rem;
}

.photo-band .wrap.section-heading {
  padding-bottom: 0.65rem;
}

.photo-band-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.4rem;
  margin: 0;
  padding: 0 0 1.5rem;
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

.photo-embed {
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.photo-embed img,
.photo-embed .shot,
.photo-embed .shot-cover {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 11rem;
  aspect-ratio: 1;
  object-fit: cover;
  background: transparent;
  border-radius: 0;
  margin: 0;
}

.about-story-photos {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
  width: 100%;
  padding: 0;
}

.about-story-photos .photo-embed img {
  min-height: 14rem;
  aspect-ratio: 4 / 3;
}

.contact-photos {
  grid-template-columns: 1fr;
  width: 100%;
  padding: 0;
  gap: 0.55rem;
}

.contact-photos .photo-embed img {
  min-height: 12rem;
  aspect-ratio: 4 / 3;
}

.visit-order,
.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem 2rem;
  align-items: start;
}

.details {
  margin: 1rem 0 0;
}

.details div {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.65rem;
  padding: 0.6rem 0;
  border-top: 1px solid var(--line);
}

.details div:first-child {
  border-top: 0;
  padding-top: 0;
}

.details dt {
  font-weight: 700;
}

.details dd {
  margin: 0;
}

.hours-note,
.fine-note,
.caption {
  color: var(--muted);
  font-size: 0.92rem;
}

.hours-note {
  margin: 0.65rem 0 0;
}

.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.testimonial {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.testimonial blockquote {
  margin: 0 0 0.65rem;
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.4;
}

.testimonial figcaption {
  color: var(--muted);
  font-size: 0.88rem;
}

/* Open surfaces — no heavy cards */
.panel {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.grid,
.order-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.wheat {
  width: 7.5rem;
  height: auto;
  background: transparent !important;
}

.shot,
.card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: transparent;
  margin-bottom: 0.6rem;
}

.shot-cover {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Toast host chrome only (embed owned by Toast agent) */
.order-host {
  display: grid;
  gap: 0.85rem;
  justify-items: start;
}

#toast-embed-root {
  margin-top: 0.35rem;
  width: 100%;
}

#toast-embed-root iframe {
  display: block;
  width: 100%;
  min-height: 40rem;
  border: 0;
  background: var(--wash);
}

.site-footer {
  background: rgba(20, 60, 80, 0.92);
  color: #f6efe6;
  padding: 1.85rem 0;
  margin-top: 2rem;
}

.site-footer a {
  color: #f0c37a;
  font-weight: 700;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.15rem;
}

.site-footer p {
  margin: 0.18rem 0;
}

.fine {
  color: #c9d5d8;
  font-size: 0.9rem;
  font-weight: 400;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
}

@media (max-width: 900px) {
  .photo-band-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .header-inner,
  .hero,
  .visit-order,
  .split,
  .quotes,
  .about-story-photos {
    display: grid;
    grid-template-columns: 1fr;
  }

  .photo-band-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wordmark {
    width: min(11rem, 52vw);
  }

  .header-tools {
    width: 100%;
    justify-content: space-between;
  }

  .hero-photo {
    justify-self: start;
    max-width: 18rem;
  }

  .details div {
    grid-template-columns: 1fr;
    gap: 0.12rem;
  }

  .actions,
  .button {
    width: 100%;
  }

  .hero,
  .page-intro {
    padding-top: 2rem;
  }
}
