/* ============================================================
   Olilou Dalmatians — static rebuild
   Fonts: DM Serif Display (display), Poppins (body)
   Accent: #d81f0a  Ink: #1f2124
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --accent: #d81f0a;
  --accent-dark: #b31706;
  --ink: #1f2124;
  --muted: #69727d;
  --line: #e7e3e1;
  --bg: #ffffff;
  --bg-soft: #faf8f7;
  --bg-dark: #17181b;
  --maxw: 1160px;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(20,18,18,.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }

p { margin: 0 0 1rem; }

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

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.eyebrow {
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: .6rem;
}

.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--bg-dark); color: #f2efee; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #cfcac8; }

.text-center { text-align: center; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 720px; }
.text-center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: .95rem;
  padding: .8rem 1.7rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid var(--accent); color: var(--accent); padding: calc(.8rem - 2px) calc(1.7rem - 2px); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--bg-soft); color: var(--ink); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: .6rem; }
.brand img { height: 46px; width: auto; }
.brand span { font-family: 'DM Serif Display', serif; font-size: 1.25rem; color: var(--ink); }

.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; padding: .5rem; }
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block; width: 26px; height: 2px; background: var(--ink); position: relative; transition: .25s;
}
.nav-toggle-label span::before, .nav-toggle-label span::after { content: ''; position: absolute; }
.nav-toggle-label span::before { top: -8px; }
.nav-toggle-label span::after { top: 8px; }

.nav-menu { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.nav-menu > li { position: relative; }
.nav-menu a {
  display: block;
  padding: .55rem .85rem;
  color: var(--ink);
  font-weight: 500;
  font-size: .95rem;
  border-radius: 8px;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--accent); background: var(--bg-soft); }

/* dropdown */
.has-dropdown > a::after { content: ' ▾'; font-size: .7em; color: var(--muted); }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: .4rem;
  list-style: none;
  margin: .4rem 0 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: .18s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 74vh;
  display: flex;
  align-items: center;
  color: #fff;
  background: #333;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(15,14,14,.72), rgba(15,14,14,.35));
}
.hero > .container { position: relative; z-index: 1; padding-top: 40px; padding-bottom: 40px; }
.hero h1 { color: #fff; max-width: 12ch; }
.hero .eyebrow { color: #ffd7cf; }
.hero p { color: #f0ecea; max-width: 46ch; font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* ---------- Page banner (interior pages) ---------- */
.page-banner {
  background: var(--bg-dark);
  color: #fff;
  padding: 66px 0 58px;
  text-align: center;
}
.page-banner h1 { color: #fff; }
.breadcrumb { color: #a9a3a0; font-size: .9rem; }
.breadcrumb a { color: #d9d3d0; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Generic layout helpers ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 100%; object-fit: cover; }
.rounded { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card img { width: 100%; height: 240px; object-fit: cover; }
.card-body { padding: 1.4rem; }
.card-body h3 { margin-bottom: .35rem; }
.card-body .muted { color: var(--muted); font-size: .92rem; }

.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}
.feature h3 { color: var(--accent); }

/* dog thumbnail card */
.dog-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.dog-card img { height: 300px; object-fit: cover; transition: transform .4s; width: 100%; }
.dog-card:hover img { transform: scale(1.05); }
.dog-card .caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.78));
  color: #fff; padding: 1.4rem 1.1rem .9rem;
}
.dog-card .caption strong { font-family: 'DM Serif Display', serif; font-size: 1.25rem; font-weight: 400; display: block; }
.dog-card .caption small { color: #e9d9d5; }

/* pill / meta */
.pill { display: inline-block; background: #fceae7; color: var(--accent-dark); font-size: .78rem; font-weight: 600; padding: .25rem .7rem; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }
.stat-line { list-style: none; padding: 0; margin: 1rem 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.stat-line li { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px; padding: .35rem .8rem; font-size: .9rem; }

/* ---------- FAQ (details) ---------- */
.faq-item { border: 1px solid var(--line); border-radius: 10px; margin-bottom: .8rem; background: #fff; overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.1rem 1.3rem;
  font-weight: 600; font-size: 1.02rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--accent); font-size: 1.5rem; line-height: 1; }
.faq-item[open] summary::after { content: '–'; }
.faq-item .faq-body { padding: 0 1.3rem 1.2rem; color: var(--muted); }

/* ---------- Testimonials ---------- */
.testi-grid { columns: 3 300px; column-gap: 28px; }
.testi {
  break-inside: avoid;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  margin: 0 0 28px;
  box-shadow: var(--shadow);
}
.testi .quote { color: #3a3d42; font-size: .96rem; }
.testi .author { margin-top: 1rem; font-family: 'DM Serif Display', serif; font-size: 1.15rem; color: var(--accent-dark); }
.testi::before { content: '“'; font-family: 'DM Serif Display', serif; font-size: 3rem; color: #f0c9c2; line-height: .5; display: block; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: .9rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .ico { font-size: 1.3rem; flex-shrink: 0; }
.contact-list li > span { min-width: 0; overflow-wrap: anywhere; }
.contact-list a { font-weight: 500; overflow-wrap: anywhere; }
.contact-list small { color: var(--muted); display: block; }
.footer-links a, .footer-links li { overflow-wrap: anywhere; }

/* ---------- Gallery + Lightbox (per spec) ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery-item { width: 100%; height: 220px; object-fit: cover; cursor: pointer; border-radius: 8px; transition: transform .2s; }
.gallery-item:hover { transform: scale(1.02); }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.9); display: flex; align-items: center; justify-content: center; z-index: 1000; }
.lightbox[hidden] { display: none; }
.lightbox-img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 4px; }
.lightbox button { position: absolute; background: none; border: none; color: #fff; font-size: 2.5rem; cursor: pointer; padding: 1rem; user-select: none; }
.lightbox-close { top: 0; right: 1rem; }
.lightbox-prev  { left: 0;  top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 0; top: 50%; transform: translateY(-50%); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: #cfcac8; padding: 60px 0 26px; }
.site-footer h4 { color: #fff; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .95rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand img { height: 54px; margin-bottom: 1rem; }
.footer-brand p { color: #a9a3a0; font-size: .92rem; max-width: 34ch; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { color: #cfcac8; font-size: .93rem; }
.footer-links a:hover { color: #fff; }
.social { display: flex; gap: .7rem; margin-top: .4rem; }
.social a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff;
}
.social a:hover { background: var(--accent); }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; text-align: center; color: #8b8582; font-size: .85rem; }
.footer-bottom a { color: #a9a3a0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .testi-grid { columns: 2 260px; }
}

@media (max-width: 940px) {
  .nav-toggle-label { display: block; }
  .nav-menu {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: .6rem 20px 1rem; gap: .1rem;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-toggle:checked ~ .nav-menu { display: flex; }
  .nav-menu a { padding: .75rem .4rem; border-radius: 6px; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--line);
    margin: 0 0 .4rem .6rem; padding: 0 0 0 .4rem; border-radius: 0;
  }
  .has-dropdown > a::after { content: ''; }
}

@media (max-width: 620px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .testi-grid { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 54px 0; }
  .hero { min-height: 68vh; }
}
