/* CJ'S warm dog walking brand refresh */
:root {
  --primary: #5f8f55;
  --primary-light: #f3eadc;
  --accent: #3f5f39;
  --accent-dark: #263822;
  --tan: #d9c3a3;
  --cream: #faf6ef;
  --text: #2c2a25;
  --muted: #6f695f;
  --bg: #fffaf2;
  --card: #ffffff;
  --border: #eadfcd;
  --border-radius: 22px;
  --shadow: 0 18px 45px rgba(75, 91, 56, 0.13);
}

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

body {
  font-family: 'Nunito', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3, .brand-name, .nav-cta, .btn {
  font-family: 'Fredoka', 'Nunito', system-ui, sans-serif;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: none; }

.site-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }

/* NAVBAR */

header {
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 10;
}
/* Hide hamburger on desktop */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
}

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

  .mobile-menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;              /* hidden by default */
    flex-direction: column;     /* stack links */
    background: white;          /* choose your colour */
    width: 100%;
    padding: 1rem 0;
    position: absolute;
    top: 70px;                  /* height of your navbar */
    left: 0;
    border-top: 1px solid #ddd;
    z-index: 999;
  }

  .nav-links a {
    padding: 1rem;
    text-align: center;
    width: 100%;
    display: block;
  }

  /* When active (JS adds .open) */
  .nav-links.open {
    display: flex;
  }
}

.navbar {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-left a {
  text-decoration: none;   /* removes underline */
  color: inherit;          /* keeps your existing colour */
  display: flex;           /* keeps logo + text aligned */
  align-items: center;
  gap: 0.5rem;             /* spacing between logo + text */
}


.nav-left img {
  height: 40px;
  width: auto;
}

.brand-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.nav-links a.nav-cta {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  text-decoration: none;
}

.nav-links a.nav-cta:hover {
  background: var(--accent);
}

/* HERO SECTION */

.hero {
  background: linear-gradient(135deg, var(--primary-light), #ffffff);
  border-bottom: 1px solid #e0e0e0;
}

.hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 2.75rem;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 1.5rem;
  align-items: center;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.hero p.lede {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.hero p.subline {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.badge {
  font-size: 0.8rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #d7e8dd;
  color: var(--accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-image img {
  width: 100%;
  border-radius: 18px;
  border: 3px solid #d7e8dd;
}

/* SECTION BASE */

.section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2.25rem 1.25rem;
}

.section h2 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

/* AREA GRID (Areas We Cover section with Google Map) */
.area-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}

.area-text ul {
  margin-left: 1.2rem;
  margin-top: 0.5rem;
}

.area-text ul li {
  margin-bottom: 4px;
}

.area-map iframe {
  width: 100%;
  height: 300px;
  border-radius: 12px;
  border: 2px solid #d7e8dd;
}

@media (max-width: 800px) {
  .area-grid {
    grid-template-columns: 1fr;
  }
}


/* CARD GRID */

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

.card {
  border-radius: var(--border-radius);
  border: 1px solid #e2e2e2;
  padding: 1.25rem;
  background: #ffffff;
}

.card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 0.6rem;
}

/* TABLES */

.table-wrapper {
  overflow-x: auto;
  margin-top: 1rem;
}

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

th, td {
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid #e0e0e0;
  text-align: left;
}

th {
  background: var(--primary-light);
  color: var(--accent);
  font-weight: 600;
}

/* FORM STYLES */

.booking-warning {
  background: #fff6e5;
  border-left: 4px solid #f0b429;
  padding: 0.75rem 0.9rem;
  border-radius: 6px;
  font-size: 0.9rem;
  margin: 0.9rem 0 1rem;
}

form {
  margin-top: 1.25rem;
  max-width: 550px;
}

form label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

form input,
form select,
form textarea {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border-radius: 6px;
  border: 1px solid #d4d4d4;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

form input:focus,
form select:focus,
form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary-light);
}

/* NEW ANIMATED CJ'S BUTTON */

.btn-primary {
  position: relative;
  display: inline-block;
  padding: 0.8rem 1.8rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: #2f8f4e; /* CJ's green */
  border: none;
  border-radius: 12px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Pop + glow on hover */
.btn-primary:hover {
  transform: scale(1.06);
  box-shadow: 0 0 14px rgba(47, 143, 78, 0.7);
}

/* Animated outline */
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(130deg, #2f8f4e, #49c46f, #2f8f4e);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: borderRotate 3s linear infinite;
}

/* Outline rotation effect */
@keyframes borderRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* FOOTER */

footer {
  border-top: 1px solid #e0e0e0;
  padding: 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}
.social-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.social-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.social-icon:hover {
    opacity: 0.7;
}
/* Contact page layout */
.contact-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-left,
.contact-right {
  flex: 1;
}

.map-container {
  width: 100%;
  min-height: 280px;
  border-radius: 12px;
  overflow: hidden;
}

/* Make map and layout sit side by side on larger screens */
@media (min-width: 768px) {
  .contact-layout {
    flex-direction: row;
    align-items: flex-start;
  }

  .map-container {
    min-height: 350px;
  }
}

/* Bigger social icons on contact page */
.contact-social {
  margin-top: 2rem;
}

.contact-social h3 {
  margin-bottom: 0.75rem;
}

.contact-social-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-icon-large {
  width: 48px;
  height: 48px;
}

/* RESPONSIVE */

@media (max-width: 800px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-inner {
    padding: 1.75rem 1.1rem 2.1rem;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .nav-links {
    display: none;
  }
}


/* REAL WALKIES SLIDER */
.walkies-slider {
  --slide-gap: 1rem;
  overflow: hidden;
  margin-top: 1.4rem;
  position: relative;
  padding: 0.15rem 0;
}

.walkies-track {
  display: flex;
  gap: var(--slide-gap);
  width: max-content;
  animation: walkies-scroll 70s linear infinite;
}

.walkies-slider:hover .walkies-track {
  animation-play-state: paused;
}

.walkies-slide {
  flex: 0 0 calc((100vw - 2rem - (var(--slide-gap) * 2)) / 3);
  max-width: 360px;
  min-width: 260px;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e2e2e2;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.walkies-slide img {
  display: block;
  width: 100%;
  height: 290px;
  object-fit: cover;
}

@keyframes walkies-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - (var(--slide-gap) / 2)));
  }
}

@media (max-width: 900px) {
  .walkies-slide {
    flex-basis: calc((100vw - 2rem - var(--slide-gap)) / 2);
    min-width: 220px;
  }

  .walkies-slide img {
    height: 250px;
  }
}

@media (max-width: 640px) {
  .walkies-track {
    animation-duration: 32s;
  }

  .walkies-slide {
    flex-basis: calc(100vw - 2rem);
    min-width: 85vw;
  }

  .walkies-slide img {
    height: 220px;
  }
}


/* --- CJ'S brand refresh additions --- */
header {
  background: rgba(255, 250, 242, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.navbar { max-width: 1120px; }
.nav-left img { height: 48px; }
.logo-link { display: flex; align-items: center; gap: .7rem; color: inherit; }
.brand-wrap { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-size: 1.35rem; color: var(--accent-dark); font-weight: 700; }
.brand-tag { font-size: .72rem; color: var(--muted); font-weight: 800; letter-spacing: .02em; }
.nav-links a { color: #5d584f; font-weight: 800; }
.nav-links a.nav-cta { background: var(--accent); color: #fff; border-radius: 999px; padding: .55rem 1rem; box-shadow: 0 8px 22px rgba(63,95,57,.22); }
.nav-links a.nav-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }

.hero-warm {
  background:
    radial-gradient(circle at top left, rgba(217,195,163,.55), transparent 34%),
    linear-gradient(135deg, #fff7ea 0%, #f2eadb 52%, #edf5e9 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hero-warm::after {
  content: '🐾';
  position: absolute;
  right: 6%;
  bottom: -2rem;
  font-size: 8rem;
  opacity: .08;
  transform: rotate(-18deg);
}
.hero-inner { max-width: 1120px; padding: 4.2rem 1.25rem 4.6rem; gap: 2.4rem; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 5rem); line-height: .94; color: var(--accent-dark); letter-spacing: -.04em; }
.hero p.lede { font-size: 1.35rem; font-weight: 800; color: #4d463d; }
.hero p.subline { font-size: 1.02rem; max-width: 620px; color: var(--muted); }
.badge { background: #fffdfa; border: 1px solid var(--border); color: var(--accent-dark); font-weight: 800; box-shadow: 0 8px 22px rgba(75,91,56,.06); }
.hero-image img { border-radius: 34px; border: 8px solid #fff; box-shadow: var(--shadow); }
.hero-card-image { position: relative; }

.btn, .btn-ghost { display: inline-block; border-radius: 999px; font-weight: 800; padding: .85rem 1.35rem; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; border-radius: 999px; box-shadow: 0 12px 26px rgba(63,95,57,.28); }
.btn-primary:hover { background: var(--accent-dark); box-shadow: 0 14px 30px rgba(38,56,34,.28); transform: translateY(-2px) scale(1.02); }
.btn-primary::before { display: none; }
.btn-ghost { border: 2px solid var(--accent); color: var(--accent-dark); background: rgba(255,255,255,.55); }
.btn-ghost.light { color: #fff; border-color: rgba(255,255,255,.65); background: rgba(255,255,255,.13); }

.trust-strip { max-width: 1120px; margin: -2rem auto 0; position: relative; z-index: 3; display: grid; grid-template-columns: repeat(5, 1fr); gap: .75rem; padding: 0 1.25rem; }
.trust-item { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 1rem; box-shadow: var(--shadow); text-align: center; }
.trust-item strong { display: block; font-family: 'Fredoka', sans-serif; color: var(--accent-dark); font-size: 1rem; }
.trust-item span { display: block; color: var(--muted); font-size: .86rem; font-weight: 800; }

.section { max-width: 1120px; padding: 3rem 1.25rem; }
.section h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1; text-align: center; color: var(--accent-dark); margin-bottom: 1rem; }
.meet-section h2, .area-grid h2 { text-align: left; }
.section-intro { text-align: center; max-width: 720px; margin: 0 auto 1rem; color: var(--muted); }
.soft-section { background: #fff; border: 1px solid var(--border); border-radius: 34px; box-shadow: var(--shadow); margin-top: 1.5rem; }
.split-section { display: grid; grid-template-columns: 1.35fr .8fr; gap: 1.5rem; align-items: stretch; }
.split-section > div:first-child, .stat-card { background: #fff; border: 1px solid var(--border); border-radius: 28px; padding: 1.5rem; box-shadow: 0 12px 30px rgba(75,91,56,.08); }
.meet-section h2 { font-size: clamp(2rem, 4vw, 3rem); }
.check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin-top: 1.1rem; }
.check-list span, .stat-card li { background: var(--cream); border: 1px solid var(--border); border-radius: 999px; padding: .55rem .8rem; font-weight: 800; color: var(--accent-dark); }
.check-list span::before, .stat-card li::before { content: '✓ '; color: var(--primary); }
.stat-card h3 { color: var(--accent-dark); font-size: 1.55rem; margin-bottom: .8rem; }
.stat-card ul { list-style: none; display: grid; gap: .55rem; }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.4rem; }
.step-card { background: var(--cream); border: 1px solid var(--border); border-radius: 26px; padding: 1.35rem; text-align: center; }
.step-card span { width: 52px; height: 52px; display: inline-grid; place-items: center; background: var(--accent); color: #fff; border-radius: 50%; font-family: 'Fredoka', sans-serif; font-size: 1.5rem; font-weight: 700; margin-bottom: .75rem; }
.step-card h3 { color: var(--accent-dark); font-size: 1.35rem; }

.card { border: 1px solid var(--border); border-radius: 26px; background: #fff; box-shadow: 0 12px 30px rgba(75,91,56,.08); overflow: hidden; }
.card h3 { color: var(--accent-dark); font-size: 1.35rem; margin-bottom: .35rem; }
.card img { border-radius: 20px; height: 190px; object-fit: cover; }
.service-grid { grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); }
.service-card { transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.gallery-section, .testimonials-section { max-width: 100%; background: linear-gradient(180deg, transparent, #fff4e4, transparent); }
.gallery-section > h2, .gallery-section > p, .testimonials-section > h2, .testimonials-section > p { max-width: 1120px; margin-left: auto; margin-right: auto; }
.testimonial-grid { max-width: 1120px; margin: 1.5rem auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.testimonial-card { background: #fff; border: 1px solid var(--border); border-radius: 26px; padding: 1.25rem; box-shadow: 0 12px 30px rgba(75,91,56,.08); }
.testimonial-card p { color: #4d463d; margin: .6rem 0 1rem; }
.testimonial-card strong { color: var(--accent-dark); font-family: 'Fredoka', sans-serif; }
.stars { color: #d39c3f; font-size: 1.1rem; letter-spacing: .08em; }

.area-grid { background: #fff; border: 1px solid var(--border); border-radius: 28px; padding: 1.25rem; box-shadow: var(--shadow); }
.area-map iframe { border: 2px solid var(--border); }

.final-cta { max-width: 1120px; margin: 2rem auto 3rem; padding: 2rem; border-radius: 34px; background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 1rem; box-shadow: var(--shadow); }
.final-cta h2 { font-family: 'Fredoka', sans-serif; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
.final-cta p { color: rgba(255,255,255,.82); font-weight: 800; }

footer { background: #fff; border-top: 1px solid var(--border); }
footer p { margin-top: .75rem; }
.floating-book { position: fixed; right: 18px; bottom: 18px; z-index: 30; background: var(--accent); color: #fff; font-family: 'Fredoka', sans-serif; font-weight: 700; padding: .85rem 1rem; border-radius: 999px; box-shadow: 0 14px 28px rgba(38,56,34,.25); }
.floating-book:hover { background: var(--accent-dark); color: #fff; }

@media (max-width: 900px) {
  .trust-strip { grid-template-columns: repeat(2, 1fr); margin-top: 1rem; }
  .split-section, .steps-grid, .final-cta { grid-template-columns: 1fr; display: grid; }
  .final-cta { text-align: center; }
  .final-cta .hero-actions { justify-content: center; }
}

@media (max-width: 640px) {
  .brand-tag { display: none; }
  .hero-inner { padding: 2.4rem 1.1rem 2.8rem; }
  .trust-strip { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .section { padding: 2.2rem 1rem; }
  .floating-book { left: 16px; right: 16px; text-align: center; }
}


/* Extra customer-friendly improvements */
.mobile-menu-toggle {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 14px;
  width: 44px;
  height: 44px;
  color: var(--accent-dark);
  font-weight: 800;
}

.logo-link:hover { text-decoration: none; }
.hero-card-image img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }

.price-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 1.25rem;
  box-shadow: 0 12px 30px rgba(75,91,56,.08);
  text-align: center;
}
.price-card.featured { border-color: var(--tan); box-shadow: var(--shadow); }
.price-card h3 { color: var(--accent-dark); margin-bottom: .4rem; }
.price-card strong { display: block; font-family: 'Fredoka', sans-serif; font-size: 2.1rem; color: var(--accent); margin-bottom: .45rem; }
.price-card p { color: var(--muted); }

.booking-intro {
  max-width: 720px;
  margin: 0 auto 1.5rem;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 1.4rem;
  box-shadow: 0 12px 30px rgba(75,91,56,.08);
}
.booking-intro h2 { color: var(--accent-dark); font-size: clamp(2rem, 4vw, 3rem); line-height: 1; margin-bottom: .75rem; }
.booking-intro p { color: var(--muted); font-weight: 700; }

@media (max-width: 768px) {
  .navbar { position: relative; }
  .mobile-menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links { top: 74px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
}

@media (min-width: 769px) {
  .mobile-menu-toggle { display: none; }
}


/* About page compact walkies preview */
.walkies-preview-section {
  max-width: 1000px;
}

.photo-gallery-compact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 1.5rem auto 0;
  max-width: 900px;
}

.photo-gallery-compact .gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 4 / 3;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(75, 91, 56, 0.10);
}

.photo-gallery-compact .gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.photo-gallery-compact .gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-preview-action {
  text-align: center;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .photo-gallery-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .photo-gallery-compact {
    grid-template-columns: 1fr;
  }
}
