﻿/* ============================================================
   Paws and Tails Vet Clinic — Brand Stylesheet
   Colors: Navy #0F3D5C, Light Blue #E8F6FB, Teal #5FC9BE, White #FFF
   Typography: Poppins (headings), Inter (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@500;600;700;800&display=swap');

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #0F3D5C;
  --navy-dark:   #0A2D43;
  --light-blue:  #E8F6FB;
  --teal:        #5FC9BE;
  --teal-dark:   #3BA99E;
  --white:       #FFFFFF;
  --text-dark:   #1A1A2E;
  --text-muted:  #5A6C7D;
  --shadow-sm:   0 2px 8px rgba(15, 61, 92, 0.08);
  --shadow-md:   0 4px 20px rgba(15, 61, 92, 0.12);
  --shadow-lg:   0 8px 40px rgba(15, 61, 92, 0.15);
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --navy-teal:   linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }

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

a {
  color: var(--teal-dark);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--navy); }

/* ---- UTILITY ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-md);
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1rem;
  transition: all 0.25s; cursor: pointer; border: none; text-align: center;
}
.btn-primary {
  background: var(--navy-teal);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--white); }
.btn-outline {
  background: transparent; color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.section { padding: 80px 0; }
.section-bg { background: var(--light-blue); }

.gradient-divider {
  height: 4px;
  background: var(--navy-teal);
  border-radius: 2px;
  margin: 0 auto;
}

/* ---- NAVBAR ---- */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
}
.navbar-logo {
  display: flex; align-items: center; gap: 10px;
}
.navbar-logo img { width: 64px; height: auto; border-radius: var(--radius-sm); }
.navbar-logo span {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.25rem;
  color: var(--navy);
}
.navbar-links {
  display: flex; gap: 8px; list-style: none; flex-wrap: wrap;
}
.navbar-links a {
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-weight: 500; color: var(--text-dark);
  transition: background 0.2s, color 0.2s;
}
.navbar-links a:hover, .navbar-links a.active {
  background: var(--light-blue);
  color: var(--navy);
}
.navbar-toggle {
  display: none; background: none; border: none; font-size: 1.6rem;
  cursor: pointer; color: var(--navy); padding: 4px 8px;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 72px; height: auto; border-radius: var(--radius-sm); }
.footer-brand h3 {
  font-family: 'Poppins', sans-serif; font-size: 1.2rem; color: var(--white);
}
.footer h4 {
  font-family: 'Poppins', sans-serif; font-size: 1rem;
  color: var(--teal); margin-bottom: 16px;
}
.footer p, .footer a { font-size: 0.95rem; color: rgba(255,255,255,0.8); line-height: 1.8; }
.footer a:hover { color: var(--teal); }
.footer-hours li { list-style: none; margin-bottom: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem; color: rgba(255,255,255,0.6);
}

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 60%, rgba(95,201,190,0.15) 100%);
  padding: 80px 0 60px;
  position: relative; overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-content h1 { margin-bottom: 16px; color: var(--navy); }
.hero-content h1 span { color: var(--teal-dark); }
.hero-content p {
  font-size: 1.1rem; color: var(--text-muted); margin-bottom: 24px; max-width: 520px;
}
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-image {
  display: flex; justify-content: center; align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px;
}
.hero-image img { width: 100%; height: auto; max-width: 340px; }

/* ---- MAP SECTION ---- */
.map-section { padding: 0; }
.map-embed {
  width: 100%; height: 350px; border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* ---- CATEGORY CARDS ---- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.category-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
  text-align: center;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.category-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.category-icon svg { width: 36px; height: 36px; fill: var(--white); }
.category-card h3 { margin-bottom: 10px; }
.category-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 18px; }
.category-card .btn { font-size: 0.9rem; }

/* ---- REVIEWS ---- */
.reviews { text-align: center; }
.review-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); border-radius: var(--radius-md);
  padding: 12px 24px; box-shadow: var(--shadow-sm); font-weight: 600;
}
.review-stars { color: #F4B400; font-size: 1.2rem; }

/* ---- NAP BAR ---- */
.nap-bar {
  background: var(--navy);
  color: var(--white);
  padding: 16px 0;
  font-size: 0.95rem;
}
.nap-bar .container {
  display: flex; flex-wrap: wrap; gap: 24px;
  align-items: center; justify-content: center;
}
.nap-bar a { color: var(--teal); }
.nap-bar a:hover { color: var(--white); }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .navbar-toggle { display: block; }
  .navbar-links {
    display: none; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); box-shadow: var(--shadow-md);
    padding: 12px 20px;
  }
  .navbar-links.open { display: flex; }

  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content p { margin: 0 auto 24px; }
  .hero-buttons { justify-content: center; }
  .hero-image { max-width: 280px; margin: 0 auto; }
  .section { padding: 56px 0; }
  .map-embed { height: 250px; }
}

@media (max-width: 480px) {
  .hero { padding: 48px 0 36px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
}
