/* ── Helensburgh Scent Hurdle and Agility Dogs — Shared Styles ── */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

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

:root {
  --primary:       #7C3AED;
  --primary-dark:  #5B21B6;
  --primary-light: #F5F3FF;
  --accent:        #DDD6FE;
  --amber:         #F59E0B;
  --bg:            #FAFAFA;
  --card:          #FFFFFF;
  --text:          #18181B;
  --muted:         #6B7280;
  --border:        #E5E7EB;
  --radius:        16px;
  --radius-sm:     10px;
  --shadow:        0 2px 14px rgba(0,0,0,0.07);
  --shadow-lg:     0 8px 32px rgba(0,0,0,0.11);
}

body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Nav ── */
nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nav-logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}
.nav-logo-text {
  font-size: 1rem;
  font-weight: 900;
  color: var(--primary-dark);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.nav-logo-text span { color: var(--text); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--muted);
  transition: all 0.15s;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--primary-light);
  color: var(--primary-dark);
}
.nav-cta {
  background: var(--primary) !important;
  color: #fff !important;
  border-radius: 50px !important;
  padding: 0.45rem 1.2rem !important;
  box-shadow: 0 2px 8px rgba(124,58,237,0.35);
}
.nav-cta:hover {
  background: var(--primary-dark) !important;
  box-shadow: 0 4px 12px rgba(124,58,237,0.45) !important;
}

/* Hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text); margin: 5px 0;
  transition: all 0.2s; border-radius: 2px;
}

/* ── Page Header ── */
.page-header {
  background: linear-gradient(135deg, #18181B 0%, #3B0764 55%, #5B21B6 100%);
  color: #fff;
  padding: 4rem 1.5rem;
  text-align: center;
}
.page-header h1 { font-size: 2.4rem; font-weight: 900; letter-spacing: -0.02em; }
.page-header p { color: #fff; font-size: 1.1rem; margin-top: 0.5rem; opacity: 0.88; font-weight: 600; }

/* ── Container ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4rem 0; }
.section-sm { padding: 2.5rem 0; }

/* ── Typography ── */
.section-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
h2.section-heading {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1rem;
}
h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.5rem; }
p { color: #374151; font-weight: 600; }

/* ── Cards ── */
.card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.card-grid {
  display: grid;
  gap: 1.25rem;
}
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-family: inherit;
  font-size: 0.97rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 14px rgba(124,58,237,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124,58,237,0.45);
}
.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary-light);
}
.btn-white {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.18); }

/* ── Badges ── */
.badge {
  display: inline-block;
  padding: 0.25em 0.8em;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.badge-purple { background: var(--accent); color: var(--primary-dark); }
.badge-amber  { background: #FEF3C7; color: #92400E; }
.badge-dark   { background: #E4E4E7; color: #18181B; }

/* ── Image placeholder ── */
.img-placeholder {
  background: linear-gradient(135deg, #EDE9FE, #DDD6FE);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary-dark);
  min-height: 220px;
  border: 2px dashed #C4B5FD;
}
.img-placeholder.tall { min-height: 340px; }
.img-placeholder.short { min-height: 160px; }

/* ── Footer ── */
footer {
  background: var(--text);
  color: #E5E7EB;
  padding: 3rem 1.5rem 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}
footer h4 {
  color: #fff;
  font-weight: 800;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
}
footer p, footer li {
  color: #9CA3AF;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
footer ul { list-style: none; }
footer ul li a { color: #9CA3AF; transition: color 0.15s; }
footer ul li a:hover { color: #fff; }
.footer-bottom {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid #374151;
  text-align: center;
  color: #6B7280;
  font-size: 0.82rem;
  font-weight: 600;
}

/* ── Qualification / journey item ── */
.qual-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.qual-item:last-child { border-bottom: none; }
.qual-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.qual-item h4 { font-size: 0.95rem; font-weight: 800; }
.qual-item p { font-size: 0.85rem; color: var(--muted); margin-top: 0.15rem; }

/* ── CTA strip ── */
.cta-strip {
  background: linear-gradient(135deg, #3B0764 0%, #5B21B6 100%);
  color: #fff;
  padding: 4rem 1.5rem;
  text-align: center;
  border-radius: var(--radius);
  margin: 0 1.5rem 3rem;
}
.cta-strip h2 { font-size: 2rem; font-weight: 900; margin-bottom: 0.75rem; }
.cta-strip p { color: #fff; opacity: 0.88; font-size: 1.05rem; margin-bottom: 1.5rem; font-weight: 600; }

/* ── Divider ── */
.divider { height: 1px; background: var(--border); margin: 2rem 0; }

/* ── Split grid (text + image) ── */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.split-grid-wide {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}

/* ── Social link ── */
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  background: #1877F2;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.4em 0.9em;
  border-radius: 50px;
  text-decoration: none;
}

/* ── Contact card ── */
.contact-card {
  background: linear-gradient(135deg, #3B0764 0%, #5B21B6 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
}
.contact-card p { color: #E9D5FF; }
.contact-card .btn-white { margin-top: 1.25rem; }

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: start;
}
.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .card-grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .split-grid-wide { grid-template-columns: 1fr; }
  .split-grid-wide img { max-height: 320px; object-fit: cover; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .split-grid { grid-template-columns: 1fr; }
  .split-grid img { width: 100%; height: auto; border-radius: var(--radius); }
  .home-hero { padding: 3.5rem 1.25rem !important; }
  .home-hero-title { font-size: 2rem !important; }
  .page-header h1 { font-size: 1.8rem; }
  h2.section-heading { font-size: 1.6rem; }
  .card-grid-2, .card-grid-3 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .cta-strip { margin: 0 0 2rem; border-radius: 0; }
  .cta-strip h2 { font-size: 1.6rem; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow);
    gap: 0.25rem;
  }
  .nav-links.open a { display: block; padding: 0.6rem 0.85rem; }
  .gallery-grid { grid-template-columns: 1fr !important; }
}
