:root {
  --wood-light: #e6dac2;
  --wood-mid: #d8c7a5;
  --wood-frame: #a9835f;
  --wood-frame-dark: #7a5c3e;
  --chalkboard: #262b27;
  --chalkboard-edge: #1b1f1c;
  --chalk-white: #f5f2ea;
  --pink: #ef5da3;
  --pink-glow: #ff8fc4;
  --teal: #3fc6c9;
  --orange: #e8862d;
  --gold: #e0c23e;
  --ink: #2b2018;
  --muted: #cfc6b8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  line-height: 1.6;
  background-color: var(--wood-light);
  background-image: repeating-linear-gradient(
    to bottom,
    var(--wood-light) 0,
    var(--wood-light) 22px,
    var(--wood-mid) 22px,
    var(--wood-mid) 24px
  );
}

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

/* ---------- Hero ---------- */

.hero {
  text-align: center;
}

.hero-sign {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1rem 0.5rem;
}

.sign-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 900px;
}

.sign-main {
  width: min(58%, 480px);
  height: auto;
}

.sign-flower {
  width: min(18%, 150px);
  height: auto;
}

.sign-tag {
  width: min(18%, 150px);
  height: auto;
  margin-bottom: 0.75rem;
  transform: rotate(4deg);
}

@media (max-width: 600px) {
  .sign-flower,
  .sign-tag {
    display: none;
  }
}

.tagline {
  margin: 0.75rem 0 0;
  font-style: italic;
  color: var(--wood-frame-dark);
  font-size: 1.05rem;
}

/* ---------- Nav ---------- */

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  padding: 0.5rem;
  background: linear-gradient(180deg, var(--wood-frame), var(--wood-frame-dark));
  border-top: 3px solid var(--wood-frame-dark);
  border-bottom: 3px solid var(--wood-frame-dark);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-nav a {
  display: inline-block;
  padding: 0.6rem 0.5rem;
  color: var(--chalk-white);
  text-decoration: none;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-color: var(--pink);
  text-underline-offset: 4px;
}

/* ---------- Main / sections ---------- */

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.call-banner {
  text-align: center;
  margin: 0;
}

.menu-main {
  padding: 1rem 1.25rem 1.5rem;
}

section {
  background: var(--chalkboard);
  border: 10px solid var(--wood-frame);
  border-radius: 6px;
  box-shadow:
    0 0 0 3px var(--wood-frame-dark) inset,
    0 8px 18px rgba(0, 0, 0, 0.3);
  padding: 1.75rem 1.75rem 2rem;
  color: var(--chalk-white);
}

section h2 {
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 2.4rem;
  margin: 0 0 1rem;
  display: inline-block;
  text-decoration: underline;
  text-decoration-style: wavy;
  text-underline-offset: 6px;
  text-decoration-thickness: 3px;
}

#about h2 { text-decoration-color: var(--pink); }
#hours h2 { text-decoration-color: var(--teal); }
#contact h2 { text-decoration-color: var(--gold); }
#breakfast h2 { text-decoration-color: var(--gold); }
#lunch-dinner h2 { text-decoration-color: var(--orange); }
#drinks h2 { text-decoration-color: var(--teal); }
#menu-directory h2 { text-decoration-color: var(--pink); }
#gallery h2 { text-decoration-color: var(--gold); }
#specials h2 { text-decoration-color: var(--orange); }

.menu-page {
  padding: 1.25rem 1.5rem 1.5rem;
}

.menu-page h2 {
  margin-bottom: 0.5rem;
}

section p {
  color: var(--chalk-white);
}

section p em {
  color: var(--muted);
  font-style: italic;
}

/* ---------- Menu section headings ---------- */

.menu-page h4 {
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--orange);
  margin: 0.75rem 0 0.2rem;
}

.menu-page h4:first-of-type {
  margin-top: 0;
}

.menu-note {
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
  margin: 0 0 0.25rem;
}

.menu-note a {
  color: var(--gold);
}

.menu-note a:hover {
  color: var(--pink);
}

.menu-disclaimer {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: italic;
  margin-top: 1.25rem;
  padding-top: 0.75rem;
  border-top: 2px dashed rgba(245, 242, 234, 0.2);
}

/* ---------- Menu list ---------- */

.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 0.75rem;
  padding: 0.3rem 0;
  border-bottom: 2px dashed rgba(245, 242, 234, 0.25);
}

.menu-list li:last-child {
  border-bottom: none;
}

.menu-list .item {
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--chalk-white);
  flex: 1 1 100%;
}

.menu-list .desc {
  color: var(--muted);
  font-size: 0.9rem;
  flex: 1 1 auto;
}

.menu-list .price {
  color: var(--orange);
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 1.2rem;
  margin-left: auto;
}

/* ---------- Menu directory (home page) ---------- */

.menu-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.menu-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-decoration: none;
  background: var(--chalkboard-edge);
  border: 6px solid var(--wood-frame);
  border-radius: 8px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.menu-card:hover,
.menu-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--pink);
}

.menu-card-title {
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--chalk-white);
  text-decoration: underline;
  text-decoration-style: wavy;
  text-underline-offset: 4px;
}

.menu-card--breakfast .menu-card-title { text-decoration-color: var(--gold); }
.menu-card--lunch-dinner .menu-card-title { text-decoration-color: var(--orange); }
.menu-card--drinks .menu-card-title { text-decoration-color: var(--teal); }

.menu-card-sub {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

/* ---------- About photo ---------- */

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.about-photo {
  border: 6px solid var(--wood-frame);
  border-radius: 8px;
  overflow: hidden;
  line-height: 0;
}

.about-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.gallery-photo {
  border: 6px solid var(--wood-frame);
  border-radius: 8px;
  overflow: hidden;
  line-height: 0;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.gallery-photo:hover {
  transform: translateY(-3px);
  border-color: var(--pink);
}

.gallery-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- Hours ---------- */

.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.4rem 0;
  border-bottom: 2px dashed rgba(245, 242, 234, 0.25);
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 1.3rem;
}

.hours-list li:last-child {
  border-bottom: none;
}

.hours-list .day {
  color: var(--chalk-white);
}

.hours-list .time {
  color: var(--orange);
}

/* ---------- Specials ---------- */

#specials a {
  color: var(--gold);
}

#specials a:hover {
  color: var(--pink);
}

/* ---------- Contact ---------- */

#contact a {
  color: var(--gold);
}

#contact a:hover {
  color: var(--pink);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.contact-info p:first-child {
  margin-top: 0;
}

.phone-button {
  display: inline-block;
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--pink);
  background: var(--chalkboard-edge);
  border: 5px solid var(--wood-frame);
  border-radius: 10px;
  padding: 0.6rem 1.75rem;
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.phone-button:hover,
.phone-button:focus-visible {
  border-color: var(--pink);
  transform: translateY(-2px);
}

.contact-map {
  border: 6px solid var(--wood-frame);
  border-radius: 8px;
  overflow: hidden;
  line-height: 0;
}

.contact-links {
  text-align: center;
  margin: 1.5rem 0 0;
  padding-top: 1rem;
  border-top: 2px dashed rgba(245, 242, 234, 0.25);
}

.contact-map iframe {
  display: block;
}

/* ---------- Footer ---------- */

footer {
  text-align: center;
  padding: 2rem 1.5rem;
  color: var(--ink);
  font-size: 0.9rem;
}

.chalk-tag {
  display: inline-block;
  background: var(--chalkboard);
  color: var(--chalk-white);
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.25;
  border: 4px solid var(--wood-frame);
  border-radius: 4px;
  padding: 0.6rem 1rem;
  transform: rotate(-2deg);
  margin: 0 0 1rem;
}
