/* ── cattery-style.css ── */

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

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

:root {
  --cream:      #faf6f0;
  --warm-white: #fff9f2;
  --taupe:      #c4b5a0;
  --taupe-dark: #9e8f7c;
  --forest:     #3d5a3e;
  --forest-dark:#2c4230;
  --forest-light:#eef3ee;
  --brown:      #6b4c3b;
  --text:       #3a2e28;
  --text-muted: #7a6b62;
  --border:     #e8ddd4;
  --shadow:     0 4px 20px rgba(58,46,40,0.10);
  --radius:     12px;
}

body {
  font-family: 'Lato', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.3; }
p { margin-bottom: 1rem; }

/* ── Header ── */
header {
  background: var(--forest);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: padding 0.3s ease;
}
header.scrolled { padding: 0; box-shadow: 0 2px 12px rgba(0,0,0,0.2); }

.header-inner {
  max-width: 1100px;
  margin: auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--cream);
  font-style: italic;
  letter-spacing: 0.02em;
}
.site-name span {
  display: block;
  font-family: 'Lato', sans-serif;
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-top: 2px;
}

nav { display: flex; gap: 32px; align-items: center; }
nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--taupe);
  transition: width 0.25s ease;
}
nav a:hover { color: #fff; }
nav a:hover::after, nav a.active::after { width: 100%; }
nav a.active { color: #fff; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  align-items: center;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--forest-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.45;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 40px 24px;
  animation: fadeUp 1s ease forwards;
  opacity: 0;
}
.hero-content h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: var(--cream);
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.hero-content p {
  font-size: 1.15rem;
  color: rgba(250,246,240,0.88);
  margin-bottom: 32px;
  font-weight: 300;
}
.hero-badge {
  display: inline-block;
  background: rgba(250,246,240,0.15);
  border: 1px solid rgba(250,246,240,0.3);
  color: var(--cream);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 20px;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.btn-primary {
  background: var(--forest);
  color: var(--cream);
}
.btn-primary:hover { background: var(--forest-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 2px solid rgba(255,255,255,0.6);
  margin-left: 12px;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* ── Sections ── */
.section {
  max-width: 1100px;
  margin: auto;
  padding: 80px 24px;
}
.section-sm { padding: 50px 24px; }

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--text);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 48px;
  font-weight: 300;
}

.centered { text-align: center; }
.centered .section-sub { margin-left: auto; margin-right: auto; }

/* ── Divider ── */
.divider {
  width: 48px; height: 3px;
  background: var(--forest);
  margin: 16px 0 32px;
  border-radius: 2px;
}
.centered .divider { margin: 16px auto 32px; }

/* ── Cards ── */
.card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--taupe);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 3rem;
}
.card-body { padding: 22px 24px; }
.card-body h3 { font-size: 1.2rem; margin-bottom: 8px; color: var(--text); }
.card-body p { font-size: 0.92rem; color: var(--text-muted); margin: 0; }

/* ── Grid ── */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }

/* ── Testimonials ── */
.testimonial {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--forest);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 32px;
}
.testimonial p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 16px;
}
.testimonial cite {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Badge ── */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.badge-available  { background: #d4edd4; color: #1e5c1e; }
.badge-reserved   { background: #fef0d4; color: #7a4f00; }
.badge-adopted    { background: #e8e8e8; color: #555; }

/* ── Forms ── */
.form-wrap {
  max-width: 640px;
  margin: auto;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(61,90,62,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Kitten card ── */
.kitten-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.kitten-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.kitten-card-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #d4c9bc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.kitten-card-body { padding: 20px; }
.kitten-card-body h3 { font-size: 1.15rem; margin-bottom: 6px; }
.kitten-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 14px;
  font-size: 0.83rem;
  color: var(--text-muted);
}
.kitten-meta span { display: flex; align-items: center; gap: 4px; }
.kitten-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--forest);
  font-family: 'Playfair Display', serif;
}

/* ── Parent cat section ── */
.parent-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.parent-card.reverse { direction: rtl; }
.parent-card.reverse > * { direction: ltr; }
.parent-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #c8bdb4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}
.parent-body {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.parent-body .section-label { margin-bottom: 8px; }
.parent-body h2 { font-size: 2rem; margin-bottom: 12px; }
.parent-body p { color: var(--text-muted); font-weight: 300; }
.parent-details {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
  font-size: 0.85rem;
}
.parent-detail {
  background: var(--forest-light);
  padding: 6px 14px;
  border-radius: 20px;
  color: var(--forest-dark);
  font-weight: 700;
}

/* ── Warm band ── */
.warm-band {
  background: var(--forest);
  color: var(--cream);
  padding: 60px 24px;
  text-align: center;
}
.warm-band h2 { color: var(--cream); margin-bottom: 12px; }
.warm-band p { color: rgba(250,246,240,0.8); max-width: 520px; margin: 0 auto 28px; font-weight: 300; }

/* ── Footer ── */
footer {
  background: var(--text);
  color: rgba(250,246,240,0.6);
  text-align: center;
  padding: 48px 24px;
  font-size: 0.88rem;
  line-height: 2;
}
footer .footer-name {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: 8px;
}
footer a { color: var(--taupe); transition: color 0.2s; }
footer a:hover { color: var(--cream); }
footer .footer-links { margin: 12px 0; }
footer .footer-links a { margin: 0 12px; }

/* ── Loading placeholder ── */
.placeholder-img {
  background: linear-gradient(135deg, #d4c9bc 0%, #c0b4a8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--forest-dark);
    padding: 12px 0 20px;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  nav.open { display: flex; }
  nav a {
    padding: 13px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    width: 100%;
  }
  nav a::after { display: none; }

  .parent-card,
  .parent-card.reverse { grid-template-columns: 1fr; direction: ltr; }
  .parent-img { aspect-ratio: 16/9; font-size: 3rem; }
  .parent-body { padding: 28px 24px; }

  .form-row { grid-template-columns: 1fr; }

  .hero { min-height: 70vh; }
  .section { padding: 56px 20px; }

  .btn-outline { margin-left: 0; margin-top: 12px; display: block; text-align: center; }
}
