/* =========================================================
   Emily's Pet Grooming — warm, spring-like theme
   ========================================================= */

:root {
  /* Warm spring palette */
  --peach: #f6a58a;
  --peach-soft: #fbd9c9;
  --coral: #f2836b;
  --cream: #fff8f1;
  --cream-deep: #fdefe2;
  --sage: #9bbf9a;
  --sage-deep: #6f9c72;
  --gold: #f2c17d;
  --ink: #4a3b34;
  --ink-soft: #7a6a61;
  --white: #ffffff;

  --shadow-sm: 0 4px 14px rgba(122, 79, 58, 0.12);
  --shadow-md: 0 12px 30px rgba(122, 79, 58, 0.16);
  --radius: 18px;
  --radius-lg: 28px;
  --max-width: 1120px;

  --font-head: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
}

h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
}

a {
  color: var(--coral);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section {
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 2.5rem;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: #e9725a;
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--coral);
  border-color: var(--peach);
}

.btn-ghost:hover {
  background: var(--peach-soft);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 241, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cream-deep);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.85rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  font-size: 1.4rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: var(--ink);
  font-weight: 600;
}

.nav-menu a:hover {
  color: var(--coral);
  text-decoration: none;
}

.nav-cta {
  background: var(--sage);
  color: var(--white) !important;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--sage-deep);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--cream-deep) 0%, var(--peach-soft) 100%);
  padding-block: clamp(3rem, 7vw, 5rem) clamp(5rem, 9vw, 7rem);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.eyebrow {
  display: inline-block;
  background: var(--white);
  color: var(--coral);
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  margin: 0 0 1rem;
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 34ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-block: 1.6rem 1rem;
}

.hero-note {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.hero-photo {
  position: relative;
  display: flex;
  justify-content: center;
  width: fit-content;
  margin-inline: auto;
}

.photo-ring {
  width: min(300px, 62vw);
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 8px;
  background: linear-gradient(135deg, var(--gold), var(--peach), var(--sage));
  box-shadow: var(--shadow-md);
}

.photo-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--white);
}

.photo-badge {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: 0.95rem;
}

.wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 60px;
  background: var(--cream);
  clip-path: polygon(0 60%, 100% 20%, 100% 100%, 0 100%);
}

/* ---------- About ---------- */
.about {
  background: var(--cream);
}

.about-inner {
  display: flex;
  justify-content: center;
}

.about-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-sm);
  max-width: 780px;
  border: 1px solid var(--cream-deep);
}

.about-card p {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.about-highlights {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.7rem;
}

.about-highlights li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--ink);
}

/* ---------- Services ---------- */
.services {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cream-deep);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  border-radius: 16px;
  background: var(--peach-soft);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.service-card p {
  color: var(--ink-soft);
  margin: 0;
}

.services-note {
  text-align: center;
  margin-top: 2.5rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ---------- Gallery ---------- */
.gallery {
  background: var(--cream);
}

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

.gallery-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-note {
  text-align: center;
  margin-top: 2rem;
  color: var(--ink-soft);
}

/* ---------- Contact ---------- */
.contact {
  background: linear-gradient(160deg, var(--peach-soft) 0%, var(--cream-deep) 100%);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.contact-info p {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.ig-callout {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin-top: 1.5rem;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  border: 2px solid transparent;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.ig-callout:hover {
  text-decoration: none;
  border-color: var(--coral);
  transform: translateY(-2px);
}

.ig-icon {
  font-size: 1.6rem;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 1rem;
}

.form-hint {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--ink);
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7rem 0.9rem;
  border: 2px solid var(--cream-deep);
  border-radius: 12px;
  background: var(--cream);
  color: var(--ink);
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--peach);
  background: var(--white);
}

.form-status {
  margin: 0;
  font-weight: 600;
  color: var(--sage-deep);
  min-height: 1.2em;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding-block: 2.5rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
}

.footer-tag {
  margin: 0;
  color: var(--peach-soft);
}

.footer-ig {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cream);
  font-weight: 700;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.footer-ig:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--peach);
}

.footer-copy {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  color: rgba(255, 248, 241, 0.6);
}

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    order: 2;
  }

  .hero-photo {
    order: 1;
  }

  .lede {
    max-width: none;
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--cream-deep);
    padding: 0.5rem 1.25rem 1rem;
    box-shadow: var(--shadow-md);
    display: none;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu li {
    padding-block: 0.4rem;
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
