/* ============================================================
   ANERIO MINIATURE DACHSHUNDS — GLOBAL STYLESHEET
   ============================================================ */

@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');

/* ---- CSS Variables ---- */
:root {
  --color-bg:           #FDF8F2;
  --color-surface:      #F5ECD9;
  --color-border:       #E0CCB0;
  --color-primary:      #6B2D0F;
  --color-accent:       #C0832A;
  --color-accent-hover: #9A651E;
  --color-text:         #2C1810;
  --color-text-muted:   #8C7060;
  --color-white:        #FFFFFF;
  --color-nav-bg:       #3D1608;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Lato', system-ui, -apple-system, sans-serif;

  --shadow-sm:  0 1px 3px rgba(44,24,16,0.08);
  --shadow-md:  0 4px 12px rgba(44,24,16,0.12);
  --shadow-lg:  0 8px 24px rgba(44,24,16,0.18);

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;

  --max-width:  1200px;
  --nav-height: 68px;
  --transition: 0.2s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img  { max-width: 100%; height: auto; display: block; }
ul   { list-style: none; }
a    { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-hover); }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }
main { flex: 1; }

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px)  { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem;   } }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.2;
}
h1 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
.text-muted  { color: var(--color-text-muted); font-size: 0.9rem; }
.text-center { text-align: center; }
.text-white  { color: var(--color-white); }

/* ============================================================
   NAVIGATION
   ============================================================ */
#nav-container {
  position: sticky;
  top: 0;
  z-index: 1000;
}
.site-nav {
  background: var(--color-nav-bg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  position: relative;
  z-index: 2;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-accent);
}
.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-white);
  line-height: 1.2;
}
.nav-logo-text span {
  display: block;
  font-size: 0.62rem;
  font-family: var(--font-body);
  color: var(--color-accent);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Desktop links */
.nav-links {
  display: none;
  align-items: center;
  gap: 0.1rem;
}
@media (min-width: 1024px) { .nav-links { display: flex; } }

.nav-links > li > a,
.nav-links > li > .nav-drop-btn {
  color: rgba(255,255,255,0.88);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > .nav-drop-btn:hover,
.nav-links > li > a.active { color: var(--color-accent); }
.nav-links > li > a.active { background: rgba(255,255,255,0.06); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-drop-btn svg { width: 10px; height: 10px; transition: transform var(--transition); }
.nav-dropdown:hover .nav-drop-btn svg,
.nav-dropdown.open   .nav-drop-btn svg { transform: rotate(180deg); }

.dropdown-menu {
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  z-index: 200;
  background: #2A0E04;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  min-width: 170px;
  box-shadow: var(--shadow-lg);
  padding: 0.4rem 0;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  transition-delay: 0.25s;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open  .dropdown-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}
.dropdown-menu a {
  display: block;
  padding: 0.55rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
}
.dropdown-menu a:hover { color: var(--color-accent); background: rgba(255,255,255,0.04); }
.dropdown-section-label {
  padding: 0.45rem 1.1rem 0.15rem;
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.3);
  pointer-events: none;
  user-select: none;
}
.dropdown-menu .litter-past > a { color: rgba(255,255,255,0.45); font-style: italic; }
.dropdown-menu .litter-past > a:hover { color: var(--color-accent) !important; }
.submenu .submenu-section-label {
  display: block;
  padding: 0.6rem 1.25rem 0.15rem;
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
}
.submenu a.litter-past { color: rgba(255,255,255,0.45); font-style: italic; }
.submenu a.litter-past:hover { color: var(--color-accent); }

/* Hamburger */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}
@media (min-width: 1024px) { .nav-hamburger { display: none; } }
.nav-hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all 0.25s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu — full-screen overlay */
.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: var(--color-nav-bg);
  overflow-y: auto;
  padding: var(--nav-height) 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.nav-mobile.open {
  opacity: 1;
  pointer-events: auto;
}
.nav-mobile a {
  display: block;
  color: rgba(255,255,255,0.85);
  padding: 0.7rem 1.5rem;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--transition);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover,
.nav-mobile a.active { color: var(--color-accent); }
.nav-mobile .submenu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255,255,255,0.85);
  padding: 0.7rem 1.5rem;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  cursor: pointer;
  user-select: none;
}
.nav-mobile .submenu-header svg { transition: transform var(--transition); }
.nav-mobile .submenu-header.open svg { transform: rotate(180deg); }
.nav-mobile .submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  background: rgba(0,0,0,0.2);
}
.nav-mobile .submenu.open { max-height: 600px; }
.nav-mobile .submenu a {
  padding: 0.6rem 2.5rem;
  font-weight: 400;
  font-size: 0.82rem;
  text-transform: none;
  color: rgba(255,255,255,0.65);
  border-bottom: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-nav-bg);
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 0 1.5rem;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

.footer-brand .footer-brand-name {
  font-family: var(--font-heading);
  color: var(--color-white);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.footer-brand p { font-size: 0.875rem; margin-bottom: 1rem; line-height: 1.6; }
.footer-heading {
  color: var(--color-accent);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: var(--font-body);
}
.footer-links li { margin-bottom: 0.45rem; }
.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--color-accent); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  margin-bottom: 0.6rem;
  color: rgba(255,255,255,0.7);
}
.footer-contact-item a { color: rgba(255,255,255,0.7); }
.footer-contact-item a:hover { color: var(--color-accent); }
.footer-contact-icon { font-size: 1rem; flex-shrink: 0; margin-top: 0.1rem; }

.info-box .footer-contact-item       { color: var(--color-text); }
.info-box .footer-contact-item a     { color: var(--color-accent); }
.info-box .footer-contact-item a:hover { color: var(--color-accent-hover); }
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  transition: background var(--transition), color var(--transition);
}
.footer-social a:hover { background: var(--color-accent); color: var(--color-white); }
.footer-social a svg { display: block; }
.footer-contact-icon svg { display: inline-block; vertical-align: middle; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: var(--color-accent); }

/* ============================================================
   PAGE HEADER BANNER
   ============================================================ */
.page-header {
  background: linear-gradient(135deg, #2C1008 0%, var(--color-primary) 60%, #8B3A15 100%);
  color: var(--color-white);
  padding: 3rem 0 2.5rem;
  text-align: center;
}
.page-header h1 {
  color: var(--color-white);
  margin-bottom: 0.5rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.breadcrumb {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.55);
}
.breadcrumb a { color: var(--color-accent); }
.breadcrumb span { margin: 0 0.35rem; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section     { padding: 4rem 0; }
.section-sm  { padding: 2.5rem 0; }
.section-lg  { padding: 5.5rem 0; }
.section-alt { background: var(--color-surface); }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 0.6rem; }
.section-header p {
  color: var(--color-text-muted);
  max-width: 580px;
  margin: 0 auto;
}
.section-header h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-accent);
  margin: 0.65rem auto 0;
  border-radius: 2px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: var(--color-white);
}
.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.btn-outline:hover {
  background: var(--color-accent);
  color: var(--color-white);
}
.btn-white {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}
.btn-white:hover {
  background: var(--color-surface);
  color: var(--color-primary);
}
.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  color: var(--color-white);
  border-color: var(--color-white);
}
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.78rem; }
.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card-body { padding: 1.25rem; }
.card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}
.card-meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* ============================================================
   GRIDS
   ============================================================ */
.grid-2, .grid-3, .grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 480px) { .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3,1fr); }
  .grid-4 { grid-template-columns: repeat(4,1fr); }
}

/* ============================================================
   STATUS BADGES
   ============================================================ */
.badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-body);
}
.badge-available { background: #E8F5E9; color: #2E7D32; }
.badge-reserved  { background: #FFF3E0; color: #C07820; }
.badge-sold      { background: #ECEFF1; color: #546E7A; }
.badge-upcoming  { background: #E3F2FD; color: #1565C0; }
.badge-born      { background: #F3E5F5; color: #7B1FA2; }
.badge-closed    { background: #FAFAFA; color: #888; }
.badge-male      { background: #E3F2FD; color: #1565C0; }
.badge-female    { background: #FCE4EC; color: #C2185B; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(150deg, #1A0704 0%, var(--color-primary) 55%, #8B3A15 100%);
  color: var(--color-white);
  padding: 5rem 0 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.12;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 740px;
  margin: 0 auto;
  padding: 0 1rem;
}
.hero-badge {
  display: inline-block;
  background: rgba(192,131,42,0.18);
  border: 1px solid rgba(192,131,42,0.6);
  color: var(--color-accent);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  margin-bottom: 1rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.35);
}
.hero p {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin: 0 auto 2.25rem;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   ABOUT CAROUSEL
   ============================================================ */
.about-carousel {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(44,24,16,0.15);
  aspect-ratio: 4/3;
  background: var(--color-border);
}
.about-slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.about-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.about-slide.active { opacity: 1; }
.about-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.75);
  border: none;
  border-radius: 50%;
  width: 2.2rem;
  height: 2.2rem;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
  padding: 0;
  line-height: 1;
  color: var(--color-primary);
}
.about-carousel-btn:hover { background: white; }
.about-carousel-prev { left: 0.6rem; }
.about-carousel-next { right: 0.6rem; }
.about-carousel-dots {
  position: absolute;
  bottom: 0.75rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  z-index: 2;
}
.about-carousel-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}
.about-carousel-dot.active {
  background: white;
  transform: scale(1.4);
}

/* ============================================================
   CONTACT STRIP
   ============================================================ */
.contact-strip {
  background: var(--color-accent);
  padding: 0.85rem 0;
}
.contact-strip-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: center;
  align-items: center;
}
.contact-strip a {
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.contact-strip a:hover { opacity: 0.85; color: var(--color-white); }
.contact-strip-divider {
  color: rgba(255,255,255,0.4);
  display: none;
}
@media (min-width: 640px) { .contact-strip-divider { display: block; } }

/* ============================================================
   DOG CARDS
   ============================================================ */
.dog-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.dog-card { cursor: pointer; }
.dog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.dog-card-img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}
.dog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.dog-card:hover .dog-card-img { transform: scale(1.05); }
.dog-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.dog-card-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}
.dog-card-meta {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.7rem;
}
.dog-card-bio {
  font-size: 0.875rem;
  color: var(--color-text);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.dog-card-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: auto;
}
.dog-card-links a {
  font-size: 0.75rem;
  padding: 0.28rem 0.6rem;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-sm);
  color: var(--color-accent);
  transition: all var(--transition);
}
.dog-card-links a:hover { background: var(--color-accent); color: var(--color-white); }

/* ============================================================
   NEWS CARDS
   ============================================================ */
.news-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.news-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.news-card-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 2.5rem;
}
.news-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.news-card-date {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.news-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.news-card-excerpt {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  flex: 1;
  line-height: 1.55;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-footer {
  margin-top: auto;
}
.read-more {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.read-more:hover { color: var(--color-accent-hover); }

/* ============================================================
   LITTER CARDS
   ============================================================ */
.litter-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.litter-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.litter-card-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.litter-card-body { padding: 1.25rem; }
.litter-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
  font-family: var(--font-body);
}
.litter-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}
.litter-parents {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

/* ============================================================
   RAINBOW BRIDGE
   ============================================================ */
.bridge-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}
.bridge-card-img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.1rem;
  border: 3px solid var(--color-border);
  filter: grayscale(25%) sepia(15%);
}
.bridge-card-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}
.bridge-card-dates { font-size: 0.82rem; color: var(--color-text-muted); margin-bottom: 0.75rem; }
.bridge-poem {
  font-style: italic;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.65;
  max-width: 580px;
  margin: 0 auto;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  columns: 2;
  column-gap: 0.75rem;
}
@media (min-width: 640px)  { .gallery-grid { columns: 3; column-gap: 1rem; } }
@media (min-width: 1024px) { .gallery-grid { columns: 4; column-gap: 1rem; } }

@keyframes gallery-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 0.75rem;
  cursor: pointer;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  line-height: 0;
  animation: gallery-in 0.45s ease both;
}
@media (min-width: 640px) { .gallery-item { margin-bottom: 1rem; } }
.gallery-item img,
.gallery-item video {
  width: 100%;
  height: auto;
  transition: transform 0.35s ease;
  border-radius: var(--radius-sm);
  display: block;
}
.gallery-item:hover img,
.gallery-item:hover video { transform: scale(1.04); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44,24,16,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: var(--radius-sm);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay-icon { color: white; font-size: 1.8rem; line-height: 1; }
.gallery-play-icon {
  color: white;
  font-size: 2.4rem;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6));
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 1.75rem;
  right: 1.5rem;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 14px rgba(44,24,16,0.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.6rem);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s;
  z-index: 900;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover { background: #3D1205; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.94);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lightbox.open { display: flex; }
.lightbox-img,
.lightbox-video {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 60px rgba(0,0,0,0.8);
}
.lightbox-video { display: none; background: #000; }
.lightbox.is-video .lightbox-img   { display: none; }
.lightbox.is-video .lightbox-video { display: block; }
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  color: rgba(255,255,255,0.8);
  font-size: 2.2rem;
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition);
}
.lightbox-close:hover { color: white; }
.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: background var(--transition);
}
.lightbox-btn:hover { background: rgba(255,255,255,0.22); }
.lightbox-prev { left: 0.75rem; }
.lightbox-next { right: 0.75rem; }
.lightbox-caption {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  text-align: center;
  max-width: 80%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.72rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(192,131,42,0.12);
}
.form-textarea { resize: vertical; min-height: 130px; }
.form-hint { font-size: 0.78rem; color: var(--color-text-muted); margin-top: 0.25rem; }

/* ============================================================
   LOADING / EMPTY STATES
   ============================================================ */
.loading-state {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--color-text-muted);
}
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
  margin: 0 auto 1rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

.empty-state {
  text-align: center;
  padding: 4rem 1.5rem;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1.5px dashed var(--color-border);
  column-span: all;
  break-inside: avoid;
}
.empty-state-icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-state h3 { color: var(--color-text-muted); font-size: 1.1rem; margin-bottom: 0.4rem; }
.empty-state p  { font-size: 0.875rem; margin: 0; }

/* ============================================================
   ALERT / NOTICE
   ============================================================ */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border-left: 4px solid;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.alert-success { background: #E8F5E9; border-color: #2E7D32; color: #1B5E20; }
.alert-error   { background: #FFEBEE; border-color: #C62828; color: #B71C1C; }
.alert-info    { background: #E3F2FD; border-color: #1565C0; color: #0D47A1; }
.alert-warning { background: #FFF8E1; border-color: #F57F17; color: #E65100; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.page-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 700;
  background: var(--color-white);
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.page-btn:hover { border-color: var(--color-accent); color: var(--color-accent); }
.page-btn.active { background: var(--color-accent); border-color: var(--color-accent); color: white; }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ============================================================
   ABOUT / CONTENT PAGES
   ============================================================ */
.content-prose h2 { margin-bottom: 0.75rem; margin-top: 2rem; }
.content-prose h2:first-child { margin-top: 0; }
.content-prose p  { margin-bottom: 1rem; line-height: 1.75; }
.content-prose ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.content-prose li { margin-bottom: 0.4rem; }

.info-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 1.5rem;
}

/* ============================================================
   SINGLE NEWS POST
   ============================================================ */
.post-content {
  max-width: 760px;
  margin: 0 auto;
}
.post-content img {
  width: 100%;
  border-radius: var(--radius-sm);
  margin: 1.5rem 0;
}
.post-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
}
.post-body { line-height: 1.75; }
.post-body h2, .post-body h3 { margin: 1.5rem 0 0.75rem; }
.post-body p { margin-bottom: 1.1rem; }
.post-body img { border-radius: var(--radius-sm); margin: 1.5rem 0; }

/* ============================================================
   SINGLE LITTER
   ============================================================ */
.litter-detail-header {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 2.5rem;
}
.litter-parents-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
@media (min-width: 640px) {
  .litter-parents-detail { grid-template-columns: 1fr auto 1fr; align-items: center; }
}
.litter-parent-card {
  text-align: center;
}
.litter-parent-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--color-border);
  margin: 0 auto 0.5rem;
  background: var(--color-bg);
  flex-shrink: 0;
}
.litter-parent-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Focal point picker */
.focal-picker-wrap {
  display: none;
  margin-top: 0.75rem;
}
.focal-picker-outer {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
  cursor: crosshair;
  user-select: none;
}
.focal-picker-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.focal-picker-dot {
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.45), 0 0 0 2000px rgba(0,0,0,0.38);
  pointer-events: none;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
}

.litter-x-divider {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-accent);
  text-align: center;
}

/* ============================================================
   UTILITY
   ============================================================ */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap    { flex-wrap: wrap; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.w-full { width: 100%; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
