/* ===========================================================
   Kelly's Dairy Bar — retro Americana ice-cream-stand theme
   Palette tuned to the real yellow snack stand + classic
   cherry red / mint accents.
   =========================================================== */

:root {
  --cream:   #fff8ec;
  --cream-2: #fdeed3;
  --ink:     #2b2320;
  --red:     #e23b41;
  --red-dk:  #c22a30;
  --mint:    #2ec4b6;
  --mint-dk: #1f9c90;
  --yellow:  #ffcf3f;
  --shadow:  0 12px 30px rgba(43, 35, 32, 0.12);
  --radius:  20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Fredoka', sans-serif; line-height: 1.1; }

img { display: block; max-width: 100%; }

section { padding: 5.5rem 1.5rem; }

.center { text-align: center; }

.section-kicker {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  color: var(--mint-dk);
  margin-bottom: .5rem;
}
.section-kicker.center { display: block; }

.section-sub { color: #6f635c; max-width: 38rem; margin: .75rem auto 0; }

h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 600; }

.stars { color: var(--yellow); letter-spacing: 2px; -webkit-text-stroke: .5px var(--red-dk); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  text-decoration: none;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 0 var(--red-dk); }
.btn-primary:hover { box-shadow: 0 8px 0 var(--red-dk); }
.btn-ghost {
  background: #fff; color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 0 6px 0 rgba(43,35,32,.25);
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 1.5rem;
  background: rgba(255,248,236,.9);
  backdrop-filter: blur(8px);
  border-bottom: 2px dashed rgba(226,59,65,.3);
}
.brand { display: flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--ink); }
.brand-scoop { font-size: 1.5rem; }
.brand-text { font-family: 'Pacifico', cursive; font-size: 1.4rem; color: var(--red); }
.brand-text em { font-style: normal; color: var(--ink); font-family: 'Fredoka', sans-serif; font-size: 1rem; display: inline-block; transform: translateY(-2px); }
.nav-links { display: flex; align-items: center; gap: 1.4rem; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 700; font-size: .95rem; }
.nav-links a:hover { color: var(--red); }
.nav-cta { background: var(--mint); color: #fff !important; padding: .5rem 1rem; border-radius: 999px; }
.nav-cta:hover { background: var(--mint-dk); }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center;
  max-width: 1150px; margin: 0 auto;
  background:
    radial-gradient(circle at 1px 1px, rgba(226,59,65,.10) 1px, transparent 0) 0 0 / 22px 22px;
  padding-top: 4rem; padding-bottom: 4rem;
}
.eyebrow { font-weight: 700; color: var(--mint-dk); text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; }
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 700; margin: .6rem 0 1rem; }
.hero h1 .hl { color: var(--red); }
.lede { font-size: 1.1rem; color: #564c46; max-width: 32rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.6rem 0 1.2rem; }
.rating-badge { display: inline-flex; align-items: center; gap: .6rem; font-size: .95rem; color: #564c46; }
.rating-badge .stars { font-size: 1.1rem; }

.hero-photo { position: relative; }
.hero-photo img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); border: 5px solid #fff; aspect-ratio: 4/3; object-fit: cover; }
.photo-tag {
  position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%);
  background: var(--yellow); color: var(--ink); font-family: 'Fredoka', sans-serif; font-weight: 600;
  padding: .35rem 1rem; border-radius: 999px; box-shadow: var(--shadow); white-space: nowrap; font-size: .85rem;
}

/* ---------- info bar ---------- */
.infobar {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem;
  background: var(--red); color: #fff; padding: 1.8rem 1.5rem;
}
.info-item { display: flex; align-items: center; gap: .8rem; }
.info-ico { font-size: 1.6rem; }
.info-item strong { display: block; font-family: 'Fredoka', sans-serif; }
.info-item span { display: block; opacity: .85; font-size: .9rem; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; max-width: 1100px; margin: 0 auto; }
.about h2 { margin: .3rem 0 1rem; }
.about p { color: #564c46; margin-bottom: 1rem; }
.about-points { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1.5rem; }
.about-points li { font-weight: 700; background: var(--cream-2); padding: .7rem 1rem; border-radius: 12px; }
.about-photo img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); border: 5px solid #fff; aspect-ratio: 3/4; object-fit: cover; }

/* ---------- menu ---------- */
.menu { background: var(--cream-2); }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; max-width: 1050px; margin: 2.5rem auto 0; }
.menu-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease; }
.menu-card:hover { transform: translateY(-6px); }
.menu-img { height: 190px; background-size: cover; background-position: center; }
.menu-body { padding: 1.3rem 1.4rem 1.6rem; }
.menu-body h3 { font-size: 1.3rem; font-weight: 600; color: var(--red); margin-bottom: .4rem; }
.menu-body p { color: #564c46; font-size: .95rem; }
.menu-note { text-align: center; margin-top: 2.2rem; font-weight: 700; color: var(--mint-dk); }

/* ---------- mini golf ---------- */
.golf { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3rem; align-items: center; max-width: 1100px; margin: 0 auto; }
.golf-photo img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); border: 5px solid #fff; aspect-ratio: 4/3; object-fit: cover; }
.golf h2 { margin: .3rem 0 1rem; }
.golf-text > p { color: #564c46; margin-bottom: 1rem; }
.golf-text .btn { margin-top: .6rem; }

/* ---------- reviews ---------- */
.reviews { background: var(--mint); color: #fff; }
.reviews .section-kicker, .reviews h2 { color: #fff; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1050px; margin: 2.5rem auto 0; }
.review { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.review .stars { font-size: 1.1rem; }
.review p { margin: .7rem 0; font-size: 1.02rem; }
.review cite { font-style: normal; font-weight: 700; color: var(--mint-dk); font-size: .9rem; }
.review-note { text-align: center; margin-top: 1.8rem; font-size: .85rem; opacity: .85; }

/* ---------- visit ---------- */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; max-width: 1100px; margin: 0 auto; align-items: stretch; }
.visit-card {
  background: var(--cream-2); border-radius: var(--radius); padding: 2.5rem 2rem;
  display: flex; flex-direction: column; justify-content: center; box-shadow: var(--shadow);
}
.visit-card h2 { margin-bottom: .8rem; }
.visit-card p { color: #564c46; margin-bottom: 1.4rem; }
.map { width: 100%; min-height: 320px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #fff; text-align: center; padding: 3rem 1.5rem; }
.footer .brand { justify-content: center; margin-bottom: 1rem; }
.footer .brand-text em { color: #fff; }
.footer p { opacity: .85; font-size: .95rem; }
.fineprint { opacity: .55 !important; font-size: .82rem !important; margin-top: .6rem; }

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 860px) {
  .hero, .about, .golf, .visit { grid-template-columns: 1fr; }
  .hero { text-align: center; }
  .hero-actions, .rating-badge { justify-content: center; }
  .rating-badge { display: flex; }
  .hero-photo { order: -1; }
  .menu-grid, .review-grid { grid-template-columns: 1fr; }
  .nav-links a:not(.nav-cta) { display: none; }
  .about-photo { order: -1; }
  .golf-photo { order: -1; }
}

@media (max-width: 560px) {
  section { padding: 3.5rem 1.2rem; }
  .infobar { gap: 1.4rem; flex-direction: column; align-items: flex-start; padding-left: 2rem; }
  .about-points { grid-template-columns: 1fr; }
}
