/* Taunton Animal Hospital — brand palette pulled from the real logo colors */
:root {
  --plum: #4e2a7a;
  --plum-dark: #351d54;
  --amber: #ee8b2b;
  --amber-dark: #d3711a;
  --cream: #faf6f0;
  --ink: #2a2333;
  --slate: #5c5566;
}

body {
  font-family: 'Karla', sans-serif;
  color: var(--ink);
  background-color: var(--cream);
}

h1, h2, h3, h4, .display-heading {
  font-family: 'Fraunces', serif;
}

a {
  color: var(--plum);
}

.btn-amber {
  background-color: var(--amber);
  border-color: var(--amber);
  color: #fff;
  font-weight: 700;
}
.btn-amber:hover {
  background-color: var(--amber-dark);
  border-color: var(--amber-dark);
  color: #fff;
}

.btn-outline-cream {
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
  font-weight: 700;
}
.btn-outline-cream:hover {
  background-color: #fff;
  color: var(--plum-dark);
}

.btn-plum {
  background-color: var(--plum);
  border-color: var(--plum);
  color: #fff;
  font-weight: 700;
}
.btn-plum:hover {
  background-color: var(--plum-dark);
  border-color: var(--plum-dark);
  color: #fff;
}

/* Navbar */
.navbar-brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex-shrink: 1;
}
.navbar-logo {
  height: 46px;
  width: auto;
  flex-shrink: 0;
}
.navbar-brand-text {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: #fff !important;
  line-height: 1.1;
  white-space: normal;
  min-width: 0;
}
.navbar-brand-text small {
  display: block;
  font-family: 'Karla', sans-serif;
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: #d8c8ef;
}
.navbar-toggler {
  flex-shrink: 0;
}
@media (max-width: 767.98px) {
  .navbar-logo { height: 36px; }
  .navbar-brand-text { font-size: 0.95rem; }
  .navbar-brand-text small { font-size: 0.58rem; }
}
@media (max-width: 400px) {
  .navbar-brand-text small { display: none; }
}
.navbar-custom {
  background-color: rgba(53, 29, 84, 0.97);
  backdrop-filter: blur(6px);
}
.navbar-custom .nav-link {
  color: #f1e9fb;
  font-weight: 600;
  font-size: 0.92rem;
  padding-left: 0.7rem !important;
  padding-right: 0.7rem !important;
}
.navbar-custom .nav-link:hover {
  color: var(--amber);
}
.nav-emergency {
  background-color: #c0392b;
  color: #fff !important;
  border-radius: 999px;
  padding: 0.4rem 1rem !important;
  margin-left: 0.4rem;
  font-weight: 700 !important;
}
.nav-emergency:hover {
  background-color: #a5301f;
  color: #fff !important;
}

/* Hero — duotone/color-wash, full-bleed, centered */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('img/hero.webp') center/cover no-repeat;
  text-align: center;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(78, 42, 122, 0.55) 0%, rgba(53, 29, 84, 0.25) 100%),
    linear-gradient(to bottom, rgba(53, 29, 84, 0.55) 0%, rgba(78, 42, 122, 0.35) 45%, rgba(40, 20, 65, 0.65) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 2.5rem 2rem;
  margin: 0 1rem;
  background: rgba(53, 29, 84, 0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 1rem;
}
.hero-eyebrow {
  color: #f4c98a;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.9rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
}
.hero-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  color: #fff;
  margin: 0.75rem 0 1rem;
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
}
.hero-subtitle {
  color: #f1e9fb;
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto 2rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
}
.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Section spacing */
section {
  padding: 5.5rem 0;
}
.section-eyebrow {
  color: var(--amber-dark);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.85rem;
}
.section-title {
  font-weight: 600;
  margin-bottom: 1rem;
}
.section-lead {
  color: var(--slate);
  max-width: 700px;
}

/* About */
.about-section {
  background-color: #fff;
}
.about-img {
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(78, 42, 122, 0.15);
}
.feature-grid .feature-tile {
  background-color: var(--cream);
  border-radius: 0.85rem;
  padding: 1.75rem 1.25rem;
  text-align: center;
  height: 100%;
}
.feature-tile i {
  font-size: 1.9rem;
  color: var(--amber-dark);
  margin-bottom: 0.6rem;
  display: block;
}
.feature-tile h4 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.feature-tile p {
  font-size: 0.9rem;
  color: var(--slate);
  margin-bottom: 0;
}

/* Services */
.services-section {
  background-color: var(--cream);
}
.service-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.75rem;
  height: 100%;
  box-shadow: 0 10px 26px rgba(78, 42, 122, 0.08);
  border: 1px solid rgba(78, 42, 122, 0.08);
}
.service-card i.service-icon {
  font-size: 2rem;
  color: var(--plum);
  margin-bottom: 0.75rem;
  display: block;
}
.service-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.service-card .service-lead {
  color: var(--slate);
  font-size: 0.92rem;
  margin-bottom: 0.9rem;
}
.service-card .btn-link {
  padding: 0;
  font-weight: 700;
  color: var(--plum);
  text-decoration: none;
  font-size: 0.88rem;
}
.service-card ul {
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: var(--slate);
}
.service-card ul li {
  margin-bottom: 0.5rem;
}
.service-card ul li strong {
  color: var(--ink);
}

/* Pharmacy CTA band */
.pharmacy-band {
  background: linear-gradient(120deg, var(--plum) 0%, var(--plum-dark) 100%);
  color: #fff;
}
.pharmacy-band h2 {
  color: #fff;
}
.pharmacy-band p {
  color: #e6d9f5;
}
.pharmacy-icon-chip {
  background: #fff;
  border-radius: 0.75rem;
  padding: 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
}
.pharmacy-icon-chip img {
  max-width: 100%;
  max-height: 100%;
}
.dog-eating-img {
  max-height: 320px;
  width: auto;
}

/* Policies */
.policies-section {
  background-color: #fff;
}
.accordion-button:not(.collapsed) {
  background-color: rgba(78, 42, 122, 0.08);
  color: var(--plum-dark);
}
.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(78, 42, 122, 0.2);
}
.policy-note {
  background-color: var(--cream);
  border-left: 4px solid var(--amber);
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.92rem;
  color: var(--slate);
}

/* Location & Contact */
.location-section {
  background-color: var(--plum-dark);
  color: #fff;
}
.location-section h2 {
  color: #fff;
}
.location-card {
  background: rgba(255,255,255,0.06);
  border-radius: 1rem;
  padding: 2rem;
  height: 100%;
}
.location-card h4 {
  font-size: 1.1rem;
  color: var(--amber);
  margin-bottom: 0.75rem;
}
.hours-table {
  width: 100%;
  font-size: 0.95rem;
  color: #e6d9f5;
}
.hours-table td {
  padding: 0.3rem 0;
}
.hours-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: #fff;
}
.map-embed {
  border-radius: 1rem;
  overflow: hidden;
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 320px;
}
.contact-link {
  color: #fff;
  text-decoration: underline;
}
.contact-link:hover {
  color: var(--amber);
}

/* Footer */
.site-footer {
  background-color: var(--plum-dark);
  color: #d8c8ef;
  padding: 3rem 0 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-logo-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.footer-logo-chip img {
  height: 52px;
  width: auto;
}
.footer-logo-chip span {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  color: #fff;
  font-size: 1.1rem;
}
.site-footer a {
  color: #d8c8ef;
}
.site-footer a:hover {
  color: var(--amber);
}
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  margin-right: 0.5rem;
}
.social-icons a:hover {
  background: var(--amber);
  color: #fff;
}
.powered-by {
  color: #d8c8ef;
  font-size: 0.9rem;
}
.powered-by a {
  font-weight: 700;
  color: var(--amber);
}

/* Mobile tweaks */
@media (max-width: 767.98px) {
  section { padding: 3.5rem 0; }
  .hero { min-height: 92vh; }
}
