/* Balloons By Amy. Mobile first; breakpoints at 600px, 768px and 1024px. */

:root {
  --orange: #FF8A4C;
  --pink: #FF9EC4;
  --ink: #00010B;
  --white: #FFFFFF;
  --cream: #FFF7F0;
  --ink-soft: #4A4A55;      /* secondary text, 8.4:1 on cream */
  --pink-soft: #FFE3EE;     /* pale pink fill for badges */

  --font-head: "Fredoka", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 24px;
  --radius-sm: 16px;
  --gutter: 16px;
  --header-h: 76px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img,
svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 7vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 5vw, 2.5rem); text-align: center; margin-bottom: 1.25em; }
h3 { font-size: 1.3rem; font-weight: 600; }

p { margin: 0 0 1em; }

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

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

:where(ul, ol)[role="list"] { list-style: none; margin: 0; padding: 0; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap-narrow { max-width: 720px; }

.centre { text-align: center; }

/* Buttons and links */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 52px;
  padding: 0.75em 1.6em;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--orange);
  color: var(--ink);             /* ink on orange is 8.9:1; white would only be 2.3:1 */
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 0 var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn:hover { background: var(--pink); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }

.btn-small {
  min-height: 44px;
  padding: 0.45em 1.1em;
  font-size: 1rem;
  box-shadow: 0 3px 0 var(--ink);
}

.text-link {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}
.text-link:hover { text-decoration-color: var(--pink); }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 2px solid var(--ink);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  padding-top: 6px;
  padding-bottom: 6px;
}
.header-logo { display: block; border-radius: 50%; }
.header-logo img { width: 64px; height: auto; }

/* Hero: full-bleed cow print like the van, with the text on a white panel so no patch is ever behind it */

.hero {
  background: var(--white) url("assets/cow-print-tile.svg") 0 0 / 420px auto repeat;
  padding: 40px 0 56px;
  border-bottom: 2px solid var(--ink);
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 720px;
}
.hero-logo {
  width: 220px;
  margin-bottom: 24px;
  /* White glow separates it from black patches; the shadow lifts it off the white */
  filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 3px #fff) drop-shadow(0 0 6px rgba(255, 255, 255, 0.9)) drop-shadow(0 10px 16px rgba(0, 1, 11, 0.45));
}
.hero-panel {
  width: 100%;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 28px 18px 30px;
}
.hero .lede {
  max-width: 34em;
  margin: 0 auto 1.75em;
  font-size: 1.125rem;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

@media (min-width: 768px) {
  .hero { padding: 64px 0 80px; background-size: 600px auto; }
  .hero-logo { width: 260px; }
  .hero-panel { padding: 40px 48px 40px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-logo { animation: float 6s ease-in-out infinite; }
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }
}

/* Sections */

.section {
  position: relative;
  padding: 72px 0;
}
.section-tight { padding: 56px 0; }
.section-cream { background: var(--cream); }

/* What I do */

.cards {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 26px 22px 24px;
}
.card:nth-child(4n+2),
.card:nth-child(4n+3) { background: var(--pink-soft); }
.card p { margin: 0; }

.occasions {
  max-width: 44em;
  margin: 36px auto 0;
  text-align: center;
  font-size: 1.125rem;
  font-weight: 700;
}

@media (min-width: 600px) {
  .cards { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(4, 1fr); }
}

/* Prices */

.price-list {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 8px 20px;
}
.price-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 16px;
  padding: 16px 0;
  border-bottom: 2px dashed var(--pink);
}
.price-list li:last-child { border-bottom: 0; }
.price-item { flex: 1 1 14em; }
.price {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
  white-space: nowrap;
}
.small-print {
  margin: 24px 0 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 1rem;
}

/* How booking works */

.steps {
  display: grid;
  gap: 20px;
  margin-bottom: 40px;
  counter-reset: none;
}
.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.step p { margin: 6px 0 0; }
.step-num {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
}
.step:nth-child(2) .step-num { background: var(--pink); }

@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .step { flex-direction: column; align-items: center; text-align: center; }
  .step-num { width: 60px; height: 60px; font-size: 1.6rem; }
}

/* Gallery */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}
.shot { margin: 0; }
.shot-frame,
.about-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
  border: 2px solid var(--ink);
}
.shot-frame img,
.about-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shot figcaption {
  margin-top: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

/* Venues */

.venues {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto;
}
.venues li {
  background: var(--pink-soft);
  border-radius: 999px;
  padding: 6px 16px;
  font-weight: 700;
}

.van {
  max-width: 720px;
  margin: 40px auto 0;
  text-align: center;
}
.van img {
  width: 100%;
  border-radius: var(--radius);
  border: 3px solid var(--ink);
}
.van figcaption {
  margin-top: 10px;
  font-weight: 700;
}

/* Reviews */

.reviews {
  display: grid;
  gap: 16px;
}
.review {
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 22px;
}
.stars {
  align-self: flex-start;
  margin: 0 0 12px;
  padding: 2px 12px;
  border-radius: 999px;
  background: var(--pink);
  color: var(--ink);    /* ink on pink is 10.8:1 */
  letter-spacing: 2px;
}
.review blockquote { margin: 0 0 16px; flex: 1; }
.review blockquote p { margin: 0; }
.review figcaption {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
}

@media (min-width: 768px) {
  .reviews { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

/* About */

.about {
  display: grid;
  gap: 32px;
  align-items: center;
}
.about-photo {
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  background: var(--cream);
  border-radius: var(--radius);
}
.about-text h2 { text-align: left; margin-bottom: 0.6em; }

@media (min-width: 768px) {
  .about { grid-template-columns: 2fr 3fr; gap: 56px; max-width: 960px; }
}

/* Footer: tiled cow print behind a white panel */

.site-footer {
  background: var(--white) url("assets/cow-print-tile.svg") 0 0 / 420px auto repeat;
  padding: 72px var(--gutter);
  border-top: 2px solid var(--ink);
}
.footer-panel {
  max-width: 520px;
  margin: 0 auto;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 32px 16px 24px;
  text-align: center;
}
@media (min-width: 600px) {
  .site-footer { padding: 80px 24px; }
  .footer-panel { padding: 32px 24px 24px; }
}
.footer-logo { width: 120px; margin: 0 auto 20px; }
.social {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 4px 0 20px;
}
.social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 700;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.social svg { width: 24px; height: 24px; fill: var(--ink); }
.footer-area { font-weight: 700; }
.footer-area { margin-bottom: 0.4em; }
.footer-map { margin-bottom: 1.25em; }
.footer-map a {
  display: inline-block;
  padding: 10px 0;
  font-weight: 700;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.step .text-link { display: inline-block; margin-top: 6px; }
.footer-legal,
.footer-credit {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.footer-credit a { color: var(--ink-soft); }

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