body {
  font-family: var(--font-body);
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--font-body);
  font-weight: 700;  /* bold for main headings */
  color: var(--color-primary);
}

h1.hero-title {
  font-weight: 700; /* soft hero title if desired */
}

p, li, a {
  font-family: var(--font-body);
  font-weight: 400; /* normal weight */
}

.btn {
  background-color: var(--color-highlight);
  color: var(--color-text);
  padding: 0.8rem 1.6rem;
  border-radius: 6px;
  border: 2px solid var(--color-primary); /* Added */
  cursor: pointer; /* Added */
  display: inline-block; /* Ensures consistent spacing */
  text-decoration: none; /* For links styled as buttons */
  transition: all 0.3s ease;
   font-size: 1rem;        /* ADD */
  line-height: 1.2;       /* ADD */
}

.btn:hover {
  background-color: transparent;
  color: var(--color-highlight);
}

/* Normalise button + link rendering */
button.btn,
a.btn {
  font-family: var(--font-body);
}

/* ===================== SITE HEADER ===================== */
#header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-background);
}

.site-header {
  background-color: var(--color-background);
  border-bottom: 1px solid #e0ddd7;
  transition: box-shadow 0.3s ease;
}

/* Add shadow on scroll */
.site-header.scrolled {
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

/* INNER HEADER FLEX */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

/* LOGO */
.logo img {
  height: 60px;
}

/* NAVIGATION */
.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  font-family: var(--font-body);
  color: var(--color-primary);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--color-highlight);
  left: 0;
  bottom: -4px;
  transition: width 0.3s ease;
}

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

.nav a:hover::after {
  width: 100%;
}

/* ===================== HERO SECTION ===================== */
.hero-inner {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
  flex-wrap: wrap;
  align-items: flex-start;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-main {
  display: block;
  max-width: 300px;
  width: 100%;
  height: auto;
}

.logo-secondary {
  display: block;
  margin-top: 1rem;
  max-width: 100px;
  width: 100%;
  height: auto;
  border: 5px solid var(--color-primary);
  border-radius: 6px;
}

.hero-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hero-right h1,
.hero-right p,
.hero-right .next-walk {
  margin-top: 0;
}

.hero-right h1 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 2.8rem;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-description {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

/* Next-walk info */
#next-walk-info {
  line-height: 1.8;
  margin-top: 0.5rem;
}

.next-walk h3 {
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-decoration: underline;
  text-decoration-color: var(--color-highlight);
  text-decoration-thickness: 2px;
}

.next-walk p {
  margin-bottom: 1rem;
}

.menu-options {
  display: inline-block;
  margin-left: 1.5rem;
  vertical-align: top;
}

.next-walk-details p#next-walk-info {
  margin-bottom: 2rem;
}

.next-walk-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}


/* ===================== FOOTER ===================== */
footer {
  background-color: var(--color-primary);
  color: var(--color-background);
  padding: 0.6rem 0;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

footer a {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--color-background);
  text-decoration: none;
  margin-left: 1rem;
  position: relative;
}

footer a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--color-highlight);
  left: 0;
  bottom: -3px;
  transition: width 0.3s ease;
}

footer a:hover::after {
  width: 100%;
}

footer a:hover {
  color: var(--color-highlight);
}

/* ===================== ABOUT PAGE ===================== */
.about {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1rem;
}

.page-title {
  text-align: center;
  margin-bottom: 3rem;
}

.about-row {
  display: flex;
  align-items: center;
  gap: 5rem;
  position: relative;
  flex-wrap: wrap; /* responsive wrapping */
  padding: 1.5rem;
}

.about-row.reverse {
  flex-direction: row-reverse;
}

/* Alternating background */
.section-alt {
  background-color: var(--color-background);
  border-radius: 8px;
}

/* Text */
.about-text {
  flex: 1;
}

.about-text p {
  color: var(--color-text);
  opacity: 0.85;
}

/* Images */
.about-image {
  flex: 1;
  overflow: hidden;
  border-radius: 8px;
}

.about-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.6s ease;
}

.about-image img:hover {
  transform: scale(1.05);
}

/* Logos */
.about-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.about-logo {
  height: 100px;
  margin-right: 1rem;
  margin-bottom: 1rem;
  opacity: 0.9;
  transition: transform 0.3s ease;
}

.about-logo-1 {
  height: 100px;
  margin-right: 1rem;
  margin-bottom: 1rem;
  opacity: 0.9;
  transition: transform 0.3s ease;
  border: 2px solid var(--color-primary);
  border-radius: 6px;
}


.about-logo:hover {
  transform: scale(1.1);
}

.about-logo-1:hover {
  transform: scale(1.1);
}


.menu-toggle {
  display: none;
}

/* ===================== MOBILE MENU ===================== */
@media (max-width: 768px) {


  .hero-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }

  .hero-left {
    display: contents;
  }

  .logo-main {
    order: 1;
    max-width: 200px;
    margin: 0 auto;
  }

  .hero-right {
    order: 2;
    width: 100%;
  }

  /* Target the anchor wrapping logo-secondary, not the img */
  .hero-left a {
    order: 3;
    display: block;
    text-align: center;
  }

  .logo-secondary {
    max-width: 120px;
    margin: 0 auto;
    display: block;
  }


  /* ── About page: stack text above image, ignore reverse alternation ── */
   .about-row {
    flex-direction: column;
  }

  .about-row.reverse {
    flex-direction: column;
  }

  /* ── Nav ── */
  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--color-background);
    flex-direction: column;
    width: 220px;
    padding: 1rem;
    display: none;
    border-left: 1px solid #e0ddd7;
    border-bottom: 1px solid #e0ddd7;
  }

  .nav.open {
    display: flex;
  }

    .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--color-primary);
    cursor: pointer;
    padding: 0.25rem 4rem;
    line-height: 1.5;
    user-select: none;
  }
}

/* Reusable side-by-side container layout */
.side-by-side {
  display: flex;
  gap: 20px;        /* space between items */
  flex-wrap: wrap;  /* stacks on smaller screens */
}

.side-by-side .container {
  flex: 1;           /* equal width */
  min-width: 250px;  /* optional: prevent being too narrow on small screens */
}
  /* Logo styling inside help boxes */

  .help-box .help-logo {
  display: block;
   margin: 15px 0 0 0;  /* top right bottom left */ 
  max-width: 120px;     /* limits size */
  height: auto;
  transition: transform 0.3s;
}

.help-box .help-logo:hover {
  transform: scale(1.05); /* subtle hover effect */
}

/* Make two items side by side within a container */
.flex-row {
  display: flex;
  gap: 20px;        /* space between boxes */
  flex-wrap: wrap;  /* stack on small screens */
}

.flex-row .help-box {
  flex: 1;           /* equal width */
  min-width: 250px;  /* optional: prevents shrinking too small */
}

/* ===================== MENU COLUMNS (shared: index + booking) ===================== */
/* Used on the index page hero and booking page to show adult/children menus side by side */

.menu-columns {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

.menu-column {
  flex: 1 1 160px;
}

.menu-column strong {
  display: block;
  margin-bottom: 0.3rem;
}

.menu-column ul {
  list-style: disc;
  margin: 0 0 0 1.1rem;
  padding: 0;
}

.menu-column ul li {
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

/* Subtle divider between adult and children's columns */
.menu-column + .menu-column {
  border-left: 2px solid var(--color-background-alt2, #eae3d5);
  padding-left: 1.5rem;
}

@media (max-width: 600px) {
  .menu-columns {
    flex-direction: column;
    gap: 0.8rem;
  }

  .menu-column + .menu-column {
    border-left: none;
    border-top: 2px solid var(--color-background-alt2, #eae3d5);
    padding-left: 0;
    padding-top: 0.6rem;
  }
}

/* ==============================================
   ADD TO styles.css
   ============================================== */

/* Highlight divider bar (used on join page) */
.divider {
  width: 48px;
  height: 3px;
  background: var(--color-highlight);
  border-radius: 2px;
  margin: 0 auto 1.5rem;
}

/* Perks / feature list with gold bullet */
.perks {
  list-style: none;
  margin: 1.25rem 0 1.75rem;
  padding: 1rem 1.25rem;
  background: var(--color-background-alt1);
  border-radius: 10px;
}

.perks li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  padding: 0.35rem 0;
  color: var(--color-text);
  opacity: 0.9;
}

.perks li::before {
  content: "✦";
  color: var(--color-highlight);
  flex-shrink: 0;
  font-size: 0.75rem;
  margin-top: 3px;
}

/* Success state shown after form submission */
.success-state {
  display: none;
  text-align: center;
  animation: fadeUp 0.5s ease both;
}

.success-state .tick {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.success-state h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.success-state p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text);
  opacity: 0.8;
  text-align: center;
}

.success-state .home-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--color-tertiary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Minimal footer line on standalone pages */
.join-page-footer {
  margin-top: 2rem;
  font-size: 0.8rem;
  color: var(--color-text);
  opacity: 0.45;
  text-align: center;
  z-index: 1;
}

.join-page-footer a {
  color: inherit;
  text-decoration: underline;
}

/* ── Booking cutoff notice (shared: walks page + booking page) ── */
.booking-cutoff {
  display: block;
  margin-top: 4px;
  margin-bottom: 1rem;   /* gap before the pricing line below */
  font-size: 1rem;       /* matches body font size */
  color: var(--color-tertiary);
}

.booking-cutoff .cutoff-label {
  font-weight: 700;      /* "Book by:" bold */
}

.booking-cutoff .cutoff-date {
  font-weight: 400;      /* date in normal weight */
}

/* ── Index page: next walk menu columns ── */
.next-walk-menus {
  display: flex;
  gap: 2rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.next-walk-menu-col {
  flex: 1 1 auto;
}

.next-walk-menu-col strong {
  display: block;
  margin-bottom: 0.2rem;
}

/* Single-line menu items separated by · — no wrapping */
.menu-oneline {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  font-size: 0.95rem;
}

.booking-cutoff .cutoff-label { font-weight: 700; }
.booking-cutoff .cutoff-date  { font-weight: 400; }

/* ── Walk description (walks page + booking page) ── */
.walk-description {
  font-style: italic;
  opacity: 0.8;
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* Make heading inline so title flows on the same line */
/* ===================== NEXT WALK SECTION ===================== */

/* Keep heading + text on same line */
.nw-header-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .nw-header-row {
    justify-content: flex-start;
  }
}

/* "Next Walk:" */
.next-walk-heading {
  display: inline;
  margin: 0;
  font-size: 1.17em;   /* same as h3 */
  font-weight: 700;
  color: var(--color-primary);
}

/* title + date + cutoff */
#nw-title-inline {
  display: inline;
  font-size: 1.17em;   /* match h3 exactly */
  font-weight: 400;
  color: var(--color-primary);
}

/* title + date */
.nw-main-item {
  white-space: nowrap;
  font-weight: 400;
}

/* separators */
.nw-divider {
  color: var(--color-highlight);
  font-weight: 400;
  padding: 0 0.35rem;
}

/* book by */
.nw-book-inline {
  color: var(--color-tertiary);
  white-space: nowrap;
  font-weight: 400;
}

/* bold label */
.nw-book-inline .cutoff-label {
  font-weight: 700;
}


/* Lines 2-4: date, book-by, description */
#next-walk-info {
  margin-bottom: 0;
}

.nw-desc {
  font-style: italic;
  opacity: 0.8;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0.6rem auto 0;
  text-align: center;
  max-width: 850px;
}

/* centred pricing */
.nw-price-row {
  margin-top: 1rem;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.5;
}


.nw-btn-row {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}


.next-walk-btn {
  display: inline-block;
  text-align: center;
  white-space: nowrap;
}

/* Menus: full width, inherits menu-columns two-column layout */
.nw-menus-row {
  margin-top: 0;
}

.nw-menus-row .menu-columns {
  margin-top: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

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

body.scrolled .reveal {
  transition-delay: 0s;
}


/* ── Mobile ── */
@media (max-width: 600px) {
  .nw-header-row {
    flex-wrap: wrap;
  }

   .nw-price-side,
  .nw-btn-side {
    flex: none;
  }
.nw-btn-row .btn {
  display: inline-block;
}}

/* ── Form ── */
.signup-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

/* Two-column name row */
.name-row {
  display: flex;
  gap: 1.25rem;
}

.name-row .field {
  flex: 1;
  min-width: 0;
}
/* Field wrapper */
.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  opacity: 0.7;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.field label .optional {
  font-weight: 400;
  text-transform: none;
  opacity: 0.6;
  font-size: 0.75rem;
  letter-spacing: 0;
}

/* Inputs */
.signup-form input[type="email"],
.signup-form input[type="text"],
.signup-form input[type="tel"] {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid #d6d3cc;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-background);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
  box-sizing: border-box;
}

.signup-form input[type="email"]:focus,
.signup-form input[type="text"]:focus,
.signup-form input[type="tel"]:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(102, 112, 60, 0.15);
}

.signup-form input::placeholder {
  color: #a8a49d;
}

/* Consent row */
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--color-text);
  opacity: 0.8;
  cursor: pointer;
}

.consent-row input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--color-primary);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  cursor: pointer;
}

/* Validation errors */
.error-msg {
  display: none;
  color: #b91c1c;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

/* Submit button */
.btn-submit {
  background-color: var(--color-highlight);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.9rem 1.6rem;
  border: 2px solid var(--color-primary);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  width: 100%;
  margin-top: 0.25rem;
}

.btn-submit:hover {
  background-color: transparent;
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Small print */
.signup-form .small {
  font-size: 0.82rem;
  opacity: 0.6;
  margin-top: 0.5rem;
  text-align: center;
}