/* ============================================================
   Big Bark Dog Daycare — stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;600;700;800&family=Open+Sans:wght@400;500;600&display=swap');

/* ── Variables ──────────────────────────────────────────── */
:root {
  --primary:       #18bed6;
  --primary-hover: #1398ab;
  --primary-soft:  #e0f8fb;
  --accent:        #18bed6;
  --accent-hover:  #1398ab;
  --ink:           #222222;
  --body-text:     #555;
  --mid:           #888;
  --surface:       #ffffff;
  --bg:            #f5f5f5;
  --border:        #e0e0e0;
  --radius:        12px;
  --radius-sm:     8px;
  --radius-xs:     4px;
  --shadow:        0 2px 12px rgba(0,0,0,.08);
  --shadow-md:     0 6px 24px rgba(0,0,0,.12);
  --max-w:         1140px;
  --nav-h:         68px;
  --transition:    .2s ease;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  color: var(--body-text);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Skip link ──────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--primary);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: var(--radius-xs);
  font-weight: 600;
  z-index: 9999;
}
.skip-link:focus { top: 1rem; }

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1rem; font-weight: 700; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.section-label {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .6rem;
}
.section-intro { max-width: 640px; color: var(--body-text); font-size: 1.05rem; }
.text-center { text-align: center; }
.text-center .section-intro { margin: 0 auto; }

/* ── Container ──────────────────────────────────────────── */
.container { width: min(100%, var(--max-w)); margin-inline: auto; padding-inline: 1.25rem; }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.6rem;
  border-radius: var(--radius-sm);
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-align: center;
}
.btn:hover  { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn-primary  { background: var(--primary); color: #fff; }
.btn-primary:hover  { background: var(--primary-hover); }
.btn-accent   { background: var(--accent); color: #fff; }
.btn-accent:hover   { background: var(--accent-hover); }
.btn-outline  { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover  { background: var(--primary-soft); }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); }
.btn-outline-white:hover { background: rgba(255,255,255,.15); }
.btn-lg { padding: .9rem 2rem; font-size: 1rem; }

/* ── Sections ───────────────────────────────────────────── */
.section        { padding: 5rem 0; }
.section--md    { padding: 3.5rem 0; }
.section--sm    { padding: 2rem 0; }
.section--bg    { background: var(--bg); }
.section--green { background: var(--primary); color: #fff; }
.section--green h1,
.section--green h2,
.section--green h3 { color: #fff; }
.section--dark  { background: #191919; color: #fff; }
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: #fff; }

/* ── Navigation ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--surface);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}
.nav-logo img { height: 44px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .04em;
  color: var(--ink);
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--primary); }
.nav-cta { margin-left: 1rem; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .4rem;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-cta.desktop { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem 1.5rem;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    width: 100%;
    padding: .75rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }
  .nav-links a:last-child { border-bottom: none; }
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-dog.jpg');
  background-size: cover;
  background-position: center 62%;
  filter: brightness(.45);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 6rem 0;
  max-width: 700px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .4rem .9rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero p  { color: rgba(255,255,255,.88); font-size: 1.1rem; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Callout bar ────────────────────────────────────────── */
.callout-bar {
  background: var(--primary);
  color: #fff;
  padding: 1.25rem 0;
}
.callout-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.callout-bar p { color: rgba(255,255,255,.9); margin: 0; font-size: .95rem; }
.callout-bar strong { color: #fff; }

/* ── Intro block ────────────────────────────────────────── */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.intro-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.intro-img img { width: 100%; height: 100%; object-fit: cover; }
.intro-text h2 { margin-bottom: 1rem; }

/* ── Specialises list ───────────────────────────────────── */
.specialises-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.specialises-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  color: var(--ink);
}
.specialises-item svg { flex-shrink: 0; color: var(--primary); }

/* ── USP grid ───────────────────────────────────────────── */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.usp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.usp-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.usp-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-soft);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary);
}
.usp-card h3 { margin-bottom: .4rem; font-size: 1.05rem; }
.usp-card p  { font-size: .9rem; color: var(--mid); margin: 0; }

/* ── Service cards ──────────────────────────────────────── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-card-img { aspect-ratio: 16/9; overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.service-card:hover .service-card-img img { transform: scale(1.04); }
.service-card-body { padding: 1.5rem; }
.service-card-body h3 { margin-bottom: .5rem; }
.service-card-body p  { font-size: .9rem; color: var(--mid); margin: 0; }
.service-card-price {
  display: inline-block;
  margin-top: .75rem;
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
}

/* ── Reviews ────────────────────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.review-stars { color: #f5a623; font-size: 1.1rem; margin-bottom: .75rem; letter-spacing: .1em; }
.review-text { font-size: .95rem; font-style: italic; margin-bottom: 1rem; }
.review-author { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: .85rem; color: var(--primary); }

/* ── Locations ──────────────────────────────────────────── */
.locations-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.5rem;
}
.location-tag {
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 50px;
  padding: .35rem .9rem;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: .8rem;
}

/* ── Contact form ───────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-info p   { font-size: .95rem; margin-bottom: 1.25rem; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .9rem;
  font-size: .95rem;
}
.contact-detail svg { color: var(--primary); flex-shrink: 0; }
.contact-detail a:hover { color: var(--primary); }

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: .82rem;
  color: var(--ink);
  margin-bottom: .4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Open Sans', sans-serif;
  font-size: .95rem;
  color: var(--ink);
  background: var(--surface);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(24,190,214,.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-success {
  display: none;
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  text-align: center;
  margin-top: 1rem;
}

/* ── Full-width CTA banner ──────────────────────────────── */
.cta-banner {
  text-align: center;
  padding: 5rem 0;
}
.cta-banner h2 { margin-bottom: 1rem; }
.cta-banner p  { margin-bottom: 2rem; max-width: 560px; margin-inline: auto; }

/* ── Page hero (inner pages) ────────────────────────────── */
.page-hero {
  background: var(--primary);
  color: #fff;
  padding: 4rem 0;
}
.page-hero h1 { color: #fff; margin-bottom: .5rem; }
.page-hero p  { color: rgba(255,255,255,.8); max-width: 560px; margin: 0; }
.breadcrumb {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  margin-bottom: .75rem;
}
.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb a:hover { color: #fff; }

/* ── About page ─────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}
.about-img { border-radius: var(--radius); overflow: hidden; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.creds-list { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.5rem; }
.cred-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .95rem;
}
.cred-item svg { color: var(--primary); flex-shrink: 0; }

/* ── Prices page ────────────────────────────────────────── */
.prices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.price-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.price-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.price-card.featured {
  border-color: var(--primary);
  background: var(--primary-soft);
}
.price-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-soft);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary);
}
.price-card.featured .price-icon { background: rgba(24,190,214,.15); }
.price-card h3 { margin-bottom: .5rem; }
.price-amount {
  font-family: 'Raleway', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: .25rem;
}
.price-sub { font-size: .82rem; color: var(--mid); margin-bottom: 1rem; }
.price-details { font-size: .9rem; }
.price-details li { display: flex; gap: .5rem; align-items: flex-start; margin-bottom: .4rem; }
.price-details li::before { content: '✓'; color: var(--primary); font-weight: 700; flex-shrink: 0; }

/* ── Gallery page ───────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}
.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  color: #fff;
  opacity: 0;
}
.gallery-item:hover .gallery-item-overlay { background: rgba(0,0,0,.3); opacity: 1; }

/* ── Lightbox ───────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: var(--radius-sm);
  object-fit: contain;
  user-select: none;
}
.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255,255,255,.15);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,.3); }
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.15);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background var(--transition);
}
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,.3); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-counter {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.7);
  font-family: 'Raleway', sans-serif;
  font-size: .82rem;
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: #191919;
  color: rgba(255,255,255,.8);
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand img { height: 50px; margin-bottom: 1rem; }
.footer-brand p { font-size: .9rem; margin-bottom: 1.25rem; }
.footer-social { display: flex; gap: .75rem; }
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background var(--transition);
}
.footer-social a:hover { background: var(--primary); }
.footer-col h4 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul li a { font-size: .9rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: #fff; }
.footer-contact-item { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .75rem; font-size: .9rem; }
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  padding-top: 1.5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.55); transition: color var(--transition); }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; gap: 1.25rem; }

/* ── Fade-in ─────────────────────────────────────────────── */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ── Utilities ───────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); margin: 0; }
.gap-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.mt-1  { margin-top: .5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mb-2  { margin-bottom: 1rem; }
.mb-3  { margin-bottom: 1.5rem; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .intro-grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .intro-img,
  .about-img { order: -1; max-height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .usp-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .callout-bar .container { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .lightbox-prev { left: .25rem; }
  .lightbox-next { right: .25rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
