/* styles.css */

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

body {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f7fafc;
  color: #22303a;
  line-height: 1.6;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffffcc;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 7vw;
  border-bottom: 1px solid #e2e8f0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 1.2rem;
}

.logo-paw {
  font-size: 1.4rem;
}

.logo-text {
  letter-spacing: 0.04em;
}

.site-header nav {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 0.95rem;
}

.site-header a {
  text-decoration: none;
  color: #2d3748;
}

.site-header a:hover {
  color: #3182ce;
}

.nav-cta {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #3182ce;
}

/* HERO */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  padding: 3.5rem 7vw 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2rem, 2.6vw + 1.4rem, 3rem);
  margin-bottom: 1rem;
  color: #1a202c;
}

.hero-text p {
  max-width: 34rem;
  margin-top: 0.6rem;
}

.hero-cta {
  margin: 1.5rem 0 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-location {
  font-size: 0.9rem;
  color: #4a5568;
}

.hero-image img {
  width: 100%;
  border-radius: 1.2rem;
  object-fit: cover;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22);
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn.primary {
  background: #3182ce;
  color: #fff;
}

.btn.primary:hover {
  background: #2563eb;
}

.btn.secondary {
  background: #fff;
  color: #3182ce;
  border-color: #bee3f8;
}

.btn.secondary:hover {
  background: #ebf8ff;
}

/* SECTIONS */

.section {
  padding: 3rem 7vw;
}

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #1a202c;
  text-align: center;
}

/* SERVICES */

.services .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #ffffff;
  border-radius: 1.1rem;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(148, 163, 184, 0.3);
}

.card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.card ul {
  margin-top: 0.75rem;
  padding-left: 1.1rem;
  font-size: 0.95rem;
}

.card li {
  margin-bottom: 0.25rem;
}

/* FAMILY */

.family-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 1.75rem;
}

.family-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.family-member {
  background: #ffffff;
  border-radius: 1.1rem;
  padding: 1.25rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(148, 163, 184, 0.3);
}

.family-member img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 0.9rem;
  margin-bottom: 0.75rem;
}

.family-member h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

/* GALLERY */

.gallery p {
  text-align: center;
  margin-bottom: 1.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem;
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0.9rem;
  box-shadow: 0 8px 22px rgba(148, 163, 184, 0.4);
}

/* CONTACT */

.contact {
  background: #edf2f7;
}

.contact p {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 1.5rem;
}

.contact-box {
  max-width: 420px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid #cbd5e0;
  text-align: center;
  box-shadow: 0 12px 30px rgba(160, 174, 192, 0.4);
}

.contact-box a {
  color: #3182ce;
  text-decoration: none;
}

.contact-box a:hover {
  text-decoration: underline;
}

/* FOOTER */

.site-footer {
  padding: 1.2rem 7vw 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #718096;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.5rem;
  }
}

@media (max-width: 700px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .site-header nav {
    flex-wrap: wrap;
  }
}
