/* ==========================================================================
   Woof Gang Bakery & Grooming – Raleigh Locations
   ========================================================================== */

:root {
  --color-primary: #d62271;
  --color-primary-light: #fa7598;
  --color-dark: #2e2925;
  --color-text: #4d3b32;
  --color-text-light: #7a6b62;
  --color-bg: #fff;
  --color-bg-warm: #faf7f5;
  --color-border: #e8e0db;
  --font: 'Poppins', system-ui, sans-serif;
  --max-width: 1100px;
  --radius: 16px;
  --radius-sm: 8px;
  --radius-pill: 50px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.6;
  background: var(--color-bg-warm);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover { color: var(--color-primary-light); }

h1, h2, h3 {
  color: var(--color-dark);
  line-height: 1.2;
  font-weight: 700;
}

ul { list-style: none; }

/* ---------- Utility ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Phone Bar ---------- */
.phone-bar {
  background: var(--color-dark);
  color: #fff;
  font-size: 0.75rem;
  padding: 8px 24px;
}

.phone-bar__inner {
  display: flex;
  justify-content: center;
  gap: 8px 28px;
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin: 0 auto;
}

.phone-bar a {
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  transition: color 0.2s;
}

.phone-bar a:hover { color: #fff; }
.phone-bar strong { color: #fff; font-weight: 600; }

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-header__logo img {
  height: 56px;
  width: auto;
}

.site-header__social {
  display: flex;
  gap: 12px;
}

.site-header__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--color-text-light);
  transition: color 0.2s, background 0.2s;
}

.site-header__social a:hover {
  color: var(--color-primary);
  background: var(--color-bg-warm);
}

/* ---------- Hero ---------- */
.hero {
  background: var(--color-dark);
  color: #fff;
  padding: 64px 24px;
  text-align: center;
}

.hero h1 {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero h1 span { color: var(--color-primary); }

.hero__subtitle {
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.hero__description {
  max-width: 600px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Locations Section ---------- */
.locations {
  padding: 64px 0;
}

.locations__heading {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 40px;
}

.locations__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ---------- Location Card ---------- */
.location-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s, transform 0.3s;
}

.location-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.location-card__header {
  background: var(--color-primary);
  color: #fff;
  padding: 20px 24px;
}

.location-card__header h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 2px;
}

.location-card__neighborhood {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.8;
}

.location-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.location-card__detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.875rem;
  line-height: 1.5;
}

.location-card__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-primary);
}

.location-card__detail a {
  color: var(--color-text);
  font-weight: 500;
}

.location-card__detail a:hover {
  color: var(--color-primary);
}

.location-card__services {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.badge {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--color-bg-warm);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.location-card__actions {
  padding: 0 24px 24px;
  display: flex;
  gap: 8px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 10px 24px;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--color-primary);
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-align: center;
  flex: 1;
}

.btn:hover {
  background: #be1d64;
  border-color: #be1d64;
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ---------- Services Section ---------- */
.services {
  padding: 64px 0;
  background: #fff;
}

.services__heading {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 40px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-item {
  text-align: center;
  padding: 24px;
}

.service-item__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--color-primary);
}

.service-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.service-item p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 32px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.footer__social a:hover { color: #fff; }

.footer__copy {
  font-size: 0.75rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
  .locations__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .services__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .phone-bar { display: none; }

  .hero { padding: 48px 24px; }
  .hero h1 { font-size: 1.75rem; }

  .locations { padding: 48px 0; }
  .locations__heading { font-size: 1.4rem; }

  .services { padding: 48px 0; }
  .services__heading { font-size: 1.4rem; }

  .location-card__actions {
    flex-direction: column;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}
