/* ============================================
   Mr Whippy Portadown — stylesheet
   ============================================ */

:root {
  --blue: #1657c9;
  --blue-dark: #0d3f99;
  --blue-darker: #0a2f73;
  --blue-light: #eaf3ff;
  --red: #e2231a;
  --red-dark: #c01b14;
  --gold: #ffc72c;
  --cream: #fffdf7;
  --dark: #16203a;
  --gray: #5b6478;
  --gray-light: #f4f6fb;
  --white: #ffffff;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px rgba(13, 63, 153, 0.12);
  --shadow-lg: 0 20px 50px rgba(13, 63, 153, 0.18);

  --font-heading: 'Fredoka', system-ui, sans-serif;
  --font-script: 'Pacifico', cursive;

  --header-h: 64px;
}

/* ---------- Reset & base ---------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 16px;
  line-height: 1.65;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 64px 0;
}

@media (min-width: 1024px) {
  section { padding: 96px 0; }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html { scroll-behavior: auto; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(226, 35, 26, 0.35);
}
.btn--primary:hover { background: var(--red-dark); }

.btn--secondary {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.btn--secondary:hover { background: var(--gold); color: var(--dark); }

.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}
.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
}

.btn--call {
  background: var(--gold);
  color: var(--dark);
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  box-shadow: 0 6px 16px rgba(255, 199, 44, 0.4);
}
.btn--call:hover { background: #ffd862; }

.btn--block {
  width: 100%;
}

/* ---------- Top announcement bar ---------- */
.topbar {
  background: var(--blue-darker);
  color: var(--white);
  font-size: 0.85rem;
}

.topbar__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar__msg {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 500;
}

.topbar__links {
  display: flex;
  gap: 18px;
}

.topbar__links a {
  opacity: 0.9;
  transition: opacity 0.15s ease;
}
.topbar__links a:hover { opacity: 1; text-decoration: underline; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.header--scrolled {
  box-shadow: 0 4px 20px rgba(13, 63, 153, 0.08);
  border-bottom-color: rgba(13, 63, 153, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

/* Brand / logo */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand__cone { flex-shrink: 0; }

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__main {
  font-family: var(--font-script);
  color: var(--red);
  font-size: 1.5rem;
  line-height: 1;
}

.brand__sub {
  font-family: var(--font-heading);
  color: var(--blue);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 3px;
}

.brand--footer .brand__main { color: var(--gold); }
.brand--footer .brand__sub { color: var(--white); }

/* Nav */
.nav {
  display: none;
  align-items: center;
  gap: 28px;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav a {
  position: relative;
  padding: 6px 2px;
  transition: color 0.15s ease;
}

.nav a:hover {
  color: var(--blue);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border: none;
  background: var(--blue-light);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--blue);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer */
@media (max-width: 1023px) {
  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 18px;
    box-shadow: 0 12px 24px rgba(13, 63, 153, 0.1);
    border-bottom: 1px solid rgba(13, 63, 153, 0.06);
  }
  .nav a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-light);
  }
  .nav.nav--open {
    display: flex;
  }
  .btn--call span.label {
    display: none;
  }
}

@media (min-width: 1024px) {
  .nav { display: flex; }
  .hamburger { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-dark) 65%, var(--blue-darker) 100%);
  color: var(--white);
  padding-top: 72px;
  padding-bottom: 0;
}

.hero__stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
}
.hero__stars svg { width: 100%; height: 100%; }

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
  align-items: center;
  padding-bottom: 60px;
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
    padding-bottom: 0;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 18px;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  margin-bottom: 0.5em;
}

.text-accent {
  color: var(--gold);
}

.hero__lead {
  font-size: 1.1rem;
  max-width: 540px;
  color: rgba(255, 255, 255, 0.92);
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.hero__art {
  display: flex;
  justify-content: center;
}

.cone-illustration {
  width: 100%;
  max-width: 360px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
}

.hero__wave {
  position: relative;
  z-index: 1;
  line-height: 0;
}
.hero__wave svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Ticker ---------- */
.ticker {
  background: var(--gold);
  color: var(--dark);
  overflow: hidden;
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.95rem;
  border-bottom: 4px solid var(--red);
}

.ticker__track {
  display: inline-flex;
  gap: 48px;
  padding: 12px 0;
  animation: ticker-scroll 28s linear infinite;
  width: max-content;
}

.ticker__track span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
}

/* ---------- Section heading ---------- */
.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.eyebrow {
  display: inline-block;
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.section-heading--light .eyebrow {
  color: var(--gold);
}
.section-heading--light h2,
.section-heading--light p {
  color: var(--white);
}

/* ---------- About ---------- */
.about__inner {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 900px) {
  .about__inner {
    grid-template-columns: 1fr 1fr;
  }
}

.van-illustration {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0 28px;
  font-weight: 500;
}

/* ---------- Menu ---------- */
.menu {
  background: var(--blue-light);
}

.menu__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.menu-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.menu-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
}

.menu-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.menu-card p {
  font-size: 0.88rem;
  color: var(--gray);
  margin-bottom: 14px;
  min-height: 2.6em;
}

.menu-card .price {
  display: inline-block;
  font-weight: 700;
  color: var(--red);
  background: var(--blue-light);
  border-radius: 999px;
  padding: 4px 16px;
  font-size: 0.95rem;
}

.menu__note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.85rem;
  color: var(--gray);
}

/* ---------- Find Us ---------- */
.find-us__grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 900px) {
  .find-us__grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
  }
}

.schedule-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.schedule-table th {
  text-align: left;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray);
  padding: 0 10px 10px;
  border-bottom: 2px solid var(--gray-light);
}

.schedule-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--gray-light);
}

.schedule-table tr:last-child td {
  border-bottom: none;
}

.schedule-table tr.today {
  background: var(--blue-light);
}

.schedule-table tr.today td {
  font-weight: 700;
  color: var(--blue-dark);
}

.schedule-table tr.today td:first-child::after {
  content: " 📍";
}

.schedule-note {
  margin: 18px 0 0;
  font-size: 0.85rem;
  color: var(--gray);
}

.schedule-note a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
}

.map-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 280px;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
}

/* ---------- Parties / Events ---------- */
.parties {
  background: linear-gradient(160deg, var(--blue-dark) 0%, var(--blue-darker) 100%);
  color: var(--white);
}

.parties .section-heading p {
  color: rgba(255, 255, 255, 0.85);
}

.event-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin-bottom: 48px;
}

.event-type {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 20px 14px;
  text-align: center;
  font-size: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.event-type:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.14);
}

.event-type span {
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-heading);
}

.parties__grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 900px) {
  .parties__grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

.parties__info h3 {
  font-size: 1.4rem;
}

.parties__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

/* Booking form */
.booking-form {
  background: var(--white);
  color: var(--dark);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.form-row {
  margin-bottom: 16px;
}

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

.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--gray);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  background: var(--gray-light);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}

.form-row textarea {
  resize: vertical;
  font-family: var(--font-heading);
}

.form-success {
  margin-top: 16px;
  background: #e7f8ee;
  color: #1c7c4d;
  border: 1px solid #b9ecd0;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-weight: 600;
  font-size: 0.92rem;
  text-align: center;
}

/* ---------- Features ---------- */
.features {
  background: var(--cream);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  text-align: center;
}

.feature-card__icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 0;
}

/* ---------- Testimonials ---------- */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.testimonial {
  background: var(--blue-light);
  border-radius: var(--radius);
  padding: 26px 24px;
  margin: 0;
}

.testimonial .stars {
  color: var(--gold);
  font-size: 1.05rem;
  margin-bottom: 10px;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,0.05));
}

.testimonial blockquote {
  margin: 0 0 14px;
  font-size: 0.95rem;
  color: var(--dark);
  font-style: italic;
}

.testimonial figcaption {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--blue-dark);
}

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--red);
  color: var(--white);
  text-align: center;
}

.final-cta__inner h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.final-cta__inner p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
}

.final-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.final-cta .btn--secondary {
  color: var(--red);
}
.final-cta .btn--secondary:hover {
  background: var(--dark);
  color: var(--white);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.85);
}

.footer__inner {
  display: grid;
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 40px;
}

@media (min-width: 768px) {
  .footer__inner {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer__brand p {
  font-size: 0.9rem;
  margin: 14px 0;
  max-width: 320px;
}

.footer__social {
  display: flex;
  gap: 16px;
  font-weight: 600;
  font-size: 0.9rem;
}

.footer__social a {
  background: rgba(255, 255, 255, 0.08);
  padding: 8px 16px;
  border-radius: 999px;
  transition: background 0.15s ease;
}
.footer__social a:hover {
  background: rgba(255, 255, 255, 0.18);
}

.footer__col h4 {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.footer__col a {
  display: block;
  margin-bottom: 10px;
  font-size: 0.92rem;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}
.footer__col a:hover { opacity: 1; }

.footer__note {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 14px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 24px;
  text-align: center;
  font-size: 0.82rem;
  opacity: 0.65;
}

.footer__bottom p { margin: 4px 0; }

/* ---------- Sticky call button ---------- */
.sticky-call {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 10px 24px rgba(226, 35, 26, 0.45);
  z-index: 90;
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 24px rgba(226, 35, 26, 0.45); }
  50% { box-shadow: 0 10px 24px rgba(226, 35, 26, 0.7), 0 0 0 10px rgba(226, 35, 26, 0.12); }
}

@media (prefers-reduced-motion: reduce) {
  .sticky-call { animation: none; }
}

@media (min-width: 1024px) {
  .sticky-call { display: none; }
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 90px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 90;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top:hover {
  transform: translateY(-3px);
}

@media (min-width: 1024px) {
  .back-to-top { bottom: 24px; }
}
