/* ============================================================
   PDX PET SPA — style.css
   Mobile-first. Breakpoints: 600px (tablet), 900px (desktop)

   Palette:
     Teal      #26bbb8  — hero, pricing bg; accent text/borders
     Wine      #9f1c4b  — nav, services, contact, footer bg; headings on light
     Peach bg  #fbb166  — about section bg; "gold" headings on dark sections
     Peach btn #f69b77  — buttons everywhere
     Off-white #faf9f7  — blog, general bg
     Text      #494949  — body copy on light backgrounds
   No drop shadows. Flat 2D only.
============================================================ */

/* ============================================================
   CUSTOM PROPERTIES
============================================================ */
:root {
  --wine:         #9f1c4b;
  --wine-dk:      #7d1439;
  --teal:         #26bbb8;
  --teal-dk:      #1d9896;
  --peach-bg:     #fbb166;
  --peach-btn:    #f69b77;
  --peach-btn-lt: #f8b090;
  --white:        #ffffff;
  --off-white:    #faf9f7;
  --light-gray:   #f0ece8;
  --dark:         #1c0e15;
  --text:         #494949;
  --text-lt:      #666666;

  --font-display: 'Candal', Helvetica, Arial, sans-serif;
  --font-body:    'Open Sans', Arial, sans-serif;

  --radius:    12px;
  --radius-sm: 8px;
  --transition: 0.25s ease;

  --nav-h:  64px;
  --max-w:  1160px;
  --pad-x:  1.25rem;
  --pad-y:  4rem;
}

/* ============================================================
   RESET + BASE
============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--off-white);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }

section[id] {
  scroll-margin-top: var(--nav-h);
}

/* ============================================================
   UTILITY
============================================================ */
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--pad-y) var(--pad-x);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.section-subtitle {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 2.75rem;
}

/* ============================================================
   BUTTONS — shared: gold fill, wine border
============================================================ */
.btn-primary,
.btn-secondary,
.btn-submit {
  display: inline-block;
  background: #fbb166;
  color: #a01c4b;
  border: 2px solid #a01c4b;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.85rem 2.5rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-submit:hover {
  background: #f8c080;
  color: #7d1439;
  border-color: #7d1439;
}

/* ============================================================
   NAV
============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  background: var(--wine);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 var(--pad-x);
}

.hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 2px solid var(--peach-bg);
  color: var(--peach-bg);
  font-size: 1.35rem;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-shrink: 0;
  line-height: 1;
  transition: background var(--transition), color var(--transition);
}

.hamburger:hover,
.hamburger[aria-expanded="true"] {
  background: var(--peach-bg);
  color: var(--wine);
}

/* Mobile dropdown */
.nav-links {
  display: none;
  flex-direction: column;
  position: absolute;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--wine-dk);
  padding: 0.75rem 0 1rem;
}

.nav-links.open { display: flex; }

.nav-links li a {
  display: block;
  padding: 0.7rem 1.75rem;
  color: var(--peach-bg);
  font-weight: 700;
  font-size: 0.9rem;
  transition: background var(--transition), color var(--transition);
}

.nav-links li a:hover,
.nav-links li a.active {
  background: rgba(251, 177, 102, 0.12);
  color: var(--white);
}

.nav-links li a.nav-cta {
  margin: 0.5rem 1.75rem 0;
  background: #fbb166;
  color: #a01c4b;
  border: 2px solid #a01c4b;
  border-radius: var(--radius-sm);
  text-align: center;
  padding: 0.55rem 1rem;
  font-weight: 800;
}

.nav-links li a.nav-cta:hover {
  background: #f8c080;
  color: #7d1439;
  border-color: #7d1439;
}

/* Desktop nav */
@media (min-width: 900px) {
  .hamburger { display: none; }

  .nav-links {
    display: flex !important;
    flex-direction: row;
    position: static;
    background: transparent;
    padding: 0;
    gap: 0.15rem;
    align-items: center;
  }

  .nav-links li a {
    padding: 0.45rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
  }

  .nav-links li a.nav-cta {
    margin: 0;
    padding: 0.45rem 1.1rem;
  }
}

/* ============================================================
   HERO  — Site BG 02 (teal + dogs) as full background
============================================================ */
#home {
  background: #48dacd url('../images/site-bg-02.png') no-repeat center calc(100% + 20vh) / cover;
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: flex;
  align-items: flex-start;
}

.hero-content {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  padding: 3.5rem var(--pad-x) 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: 100%;
  height: auto;
  margin-bottom: 2.5rem;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.8vw, 1.75rem);
  color: #008080;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: 0.5px;
}

@media (min-width: 900px) {
  .hero-content h1 { white-space: nowrap; }
}

.hero-content p {
  color: #008080;
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  margin-bottom: 2rem;
  line-height: 1.75;
}

/* ============================================================
   ABOUT  — peach #fbb166
============================================================ */
#about {
  background: var(--peach-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.about-image img {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  border-radius: var(--radius);
  border: 3px solid var(--wine);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 15%;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--wine);
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.about-text p {
  font-size: 0.975rem;
  line-height: 1.85;
  margin-bottom: 1rem;
  color: var(--text);
}

@media (min-width: 700px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .about-image img {
    max-width: 100%;
    aspect-ratio: 3 / 4;
    object-position: center 10%;
  }
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 420px 1fr;
    gap: 4.5rem;
  }
}

/* ============================================================
   SERVICES  — wine #9f1c4b
============================================================ */
#services {
  background: var(--wine);
}

#services .section-title {
  color: var(--peach-bg);
}

#services .section-subtitle {
  color: rgba(255, 255, 255, 0.78);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.service-card {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(251, 177, 102, 0.30);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: background var(--transition), border-color var(--transition);
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(251, 177, 102, 0.60);
}

.service-card.featured {
  border-color: var(--peach-bg);
  background: rgba(251, 177, 102, 0.08);
}

.service-tag {
  display: inline-block;
  background: var(--peach-btn);
  color: var(--wine);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

.service-icon {
  font-size: 1.9rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--peach-bg);
  margin-bottom: 0.65rem;
  letter-spacing: 0.5px;
}

.service-card p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  line-height: 1.7;
}

@media (min-width: 600px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   PRICING  — teal #26bbb8
============================================================ */
#pricing {
  background: var(--teal);
}

#pricing .section-title {
  color: #008080;
}

#pricing .section-subtitle {
  color: #008080;
}

.pricing-note {
  text-align: center;
  font-style: italic;
  color: #008080;
  font-size: 0.9rem;
  margin-top: -1.5rem;
  margin-bottom: 2rem;
}

.pricing-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  margin-bottom: 2.5rem;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.875rem;
  min-width: 580px;
}

.pricing-table thead tr {
  background: var(--wine);
}

.pricing-table th {
  color: var(--peach-bg);
  font-family: var(--font-body);
  font-weight: 700;
  padding: 1rem 0.75rem;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.3;
  white-space: nowrap;
}

.pricing-table th:first-child {
  text-align: left;
  padding-left: 1.25rem;
}

.th-sub {
  font-weight: 400;
  opacity: 0.82;
  font-size: 0.72rem;
}

.pricing-table td {
  padding: 0.8rem 0.75rem;
  text-align: center;
  border-bottom: 1px solid var(--light-gray);
  color: var(--text);
  font-size: 0.875rem;
}

.pricing-table td.size-label {
  text-align: left;
  font-weight: 700;
  padding-left: 1.25rem;
  color: var(--wine);
}

.size-note {
  font-weight: 400;
  color: var(--text-lt);
  font-size: 0.78rem;
  display: block;
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-table tbody tr:nth-child(even) {
  background: #f5fafa;
}

.pricing-addons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.addon-group {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.40);
}

.addon-group h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--teal-dk);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--teal);
  letter-spacing: 0.5px;
}

.addon-group ul li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--light-gray);
  font-size: 0.9rem;
  color: var(--text);
}

.addon-group ul li:last-child {
  border-bottom: none;
}

.addon-price {
  font-weight: 700;
  color: var(--wine);
  white-space: nowrap;
  flex-shrink: 0;
}

.addon-price em {
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--text-lt);
}

.addon-note {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--text-lt);
  font-style: italic;
  line-height: 1.6;
}

@media (min-width: 600px) {
  .pricing-addons { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   BLOG  — off-white (unchanged)
============================================================ */
#blog {
  background: var(--off-white);
}

#blog .section-title {
  color: var(--wine);
}

#blog .section-subtitle {
  color: var(--text-lt);
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--light-gray);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition);
}

.blog-card:hover {
  border-color: var(--teal);
}

.blog-card-img {
  height: 180px;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-placeholder {
  font-size: 3.5rem;
  line-height: 1;
  opacity: 0.50;
}

.blog-card-body {
  padding: 1.4rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-date {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--teal-dk);
  margin-bottom: 0.4rem;
}

.blog-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--wine);
  margin-bottom: 0.6rem;
  line-height: 1.3;
  letter-spacing: 0.3px;
}

.blog-card-body p {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.7;
  flex: 1;
}

.blog-card-more {
  display: inline-block;
  margin-top: 1rem;
  background: none;
  border: none;
  color: var(--teal-dk);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
  transition: color var(--transition);
  text-align: left;
}

.blog-card-more:hover {
  color: var(--wine);
}

@media (min-width: 600px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Blog Modal */
.blog-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
}

.blog-modal-overlay[hidden] { display: none; }

.blog-modal-box {
  background: var(--white);
  border-radius: var(--radius);
  border: 2px solid var(--teal);
  max-width: 680px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 2rem 2rem 2.5rem;
  position: relative;
}

.blog-modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-lt);
  cursor: pointer;
  line-height: 1;
  padding: 0.2rem;
  transition: color var(--transition);
}

.blog-modal-close:hover { color: var(--wine); }

.blog-modal-box .modal-date {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--teal-dk);
  margin-bottom: 0.5rem;
}

.blog-modal-box h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--wine);
  margin-bottom: 1.5rem;
  padding-right: 2rem;
  line-height: 1.2;
  letter-spacing: 0.3px;
}

.modal-body {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text);
}

.modal-body p { margin-bottom: 1rem; }

.modal-body a {
  color: var(--teal-dk);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================
   CONTACT  — wine #9f1c4b (unchanged)
============================================================ */
#contact {
  background: var(--wine);
}

#contact .section-title {
  color: var(--peach-bg);
}

#contact .section-subtitle {
  color: rgba(255, 255, 255, 0.80);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--peach-bg);
  margin-bottom: 1.4rem;
  letter-spacing: 0.5px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
  color: var(--white);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-detail a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.contact-detail a:hover { color: var(--peach-btn-lt); }

.contact-detail em {
  font-size: 0.82rem;
  opacity: 0.70;
}

.contact-socials { margin-top: 2rem; }

.contact-socials h4 {
  color: var(--peach-bg);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border: 2px solid rgba(255, 255, 255, 0.30);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), color var(--transition);
}

.social-links a:hover {
  border-color: var(--peach-btn);
  color: var(--peach-btn);
}

.contact-form-wrap {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(251, 177, 102, 0.35);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
}

.contact-form-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--peach-bg);
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 480px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 0 1rem;
  }
}

.form-group { margin-bottom: 1.1rem; }

.form-group label {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(251, 177, 102, 0.35);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition), background var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.30);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--peach-btn);
  background: rgba(255, 255, 255, 0.12);
}

.form-group textarea {
  height: 110px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  padding: 0.85rem;
  margin-top: 0.25rem;
  box-sizing: border-box;
}

.form-success {
  text-align: center;
  color: var(--peach-btn-lt);
  font-weight: 700;
  font-size: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.6fr;
    gap: 3.5rem;
    align-items: start;
  }
}

/* ============================================================
   FOOTER
============================================================ */
footer {
  background: #150B10;
  text-align: center;
  padding: 2.5rem var(--pad-x) 2rem;
}

.footer-logo { margin-bottom: 1.25rem; }

.footer-logo img {
  height: 90px;
  width: auto;
  margin: 0 auto;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.50);
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
}

.footer-sub {
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.78rem;
}

/* ============================================================
   SCROLL REVEAL (progressive enhancement)
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   EASTER EGG — clickable dog + thought bubble
============================================================ */
.dog-easter-egg {
  position: relative;
  display: inline-block;
  margin-top: 2rem;
}

.easter-dog {
  width: 160px;
  height: auto;
  cursor: pointer;
  display: block;
  transition: transform var(--transition);
}

.easter-dog:hover {
  transform: scale(1.04);
}

/* Thought bubble */
.thought-bubble {
  position: absolute;
  bottom: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 2px solid var(--wine);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  width: min(300px, 85vw);
  z-index: 10;
}

.thought-bubble[hidden] { display: none; }

.quote-text {
  font-style: italic;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.quote-attr {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--wine);
  text-align: right;
  letter-spacing: 0.3px;
}

/* Thought dots — two circles descending toward the dog */
.thought-dot {
  position: absolute;
  left: 50%;
  background: var(--white);
  border: 2px solid var(--wine);
  border-radius: 50%;
  transform: translateX(-50%);
}

.thought-dot-lg {
  width: 13px;
  height: 13px;
  bottom: -18px;
}

.thought-dot-sm {
  width: 8px;
  height: 8px;
  bottom: -30px;
}
