/* ============================================
   Bark Mobile - Mobile Dog Grooming
   South Coast KZN, South Africa
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --teal: #09AEB8;
  --teal-dark: #078a92;
  --teal-light: #e0f7f8;
  --gold: #FFD763;
  --gold-dark: #e6b800;
  --dark: #3A3A3A;
  --white: #FFFFFF;
  --cream: #FFF9F0;
  --grey-light: #f5f5f5;
  --grey-mid: #999;
  --shadow: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 24px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
  --font-heading: 'Nunito', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1140px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--dark);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--teal-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;
}

.section--cream {
  background: var(--cream);
}

.section--teal {
  background: var(--teal);
  color: var(--white);
}

.section--teal h2,
.section--teal h3,
.section--teal p {
  color: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--grey-mid);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Header / Navigation --- */
.header {
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  text-decoration: none;
}

.logo span {
  color: var(--teal);
}

.logo .paw {
  font-size: 1.6rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav a {
  padding: 0.5rem 0.85rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

.nav a:hover,
.nav a.active {
  color: var(--teal);
  background: var(--teal-light);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--dark);
  padding: 0.5rem;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 1rem;
    gap: 0.25rem;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 1rem;
    width: 100%;
  }

  .nav-toggle {
    display: block;
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn--primary {
  background: var(--teal);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--teal-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn--gold {
  background: var(--gold);
  color: var(--dark);
}

.btn--gold:hover {
  background: var(--gold-dark);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn--outline {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}

.btn--outline:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--white);
  color: var(--teal);
}

.btn--white:hover {
  background: var(--cream);
  color: var(--teal-dark);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, var(--teal-light) 0%, var(--cream) 50%, #fef3e0 100%);
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.5vw, 3rem);
}

.hero h1 .highlight {
  color: var(--teal);
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #555;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.hero-phone a {
  color: var(--teal);
  font-weight: 700;
}

.hero-image {
  position: relative;
  z-index: 1;
}

.hero-image-placeholder {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--grey-mid);
  font-style: italic;
  border: 2px dashed var(--teal-light);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .hero-image {
    display: none;
  }

  .hero {
    padding: 3rem 0 2rem;
  }
}

/* --- Cards Grid --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.cards-grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  color: #666;
  font-size: 0.95rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--teal);
}

.card-link:hover {
  gap: 0.6rem;
}

/* --- Service Cards (Homepage) --- */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  color: var(--dark);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  color: var(--dark);
}

.service-card .icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.service-card h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.service-card p {
  font-size: 0.85rem;
  color: var(--grey-mid);
  margin-bottom: 0;
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 4rem;
  color: var(--teal-light);
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  line-height: 1;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 1rem;
  padding-top: 1.5rem;
  color: #555;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.testimonial-author {
  font-weight: 700;
  color: var(--dark);
}

.testimonial-location {
  font-size: 0.85rem;
  color: var(--grey-mid);
}

/* --- Service Areas --- */
.areas-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.area-tag {
  background: var(--white);
  color: var(--dark);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: all var(--transition);
}

.area-tag:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #eee;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 0;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--teal);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--teal);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.open .faq-question::after {
  content: '\2212';
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 1.25rem;
}

.faq-answer p {
  color: #555;
  line-height: 1.8;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 3.5rem 1.5rem;
  border-radius: var(--radius);
  margin: 0 1.25rem;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.cta-banner .cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.cta-banner .cta-phone {
  margin-top: 1rem;
  font-size: 1.1rem;
}

.cta-banner .cta-phone a {
  color: var(--gold);
  font-weight: 700;
}

/* --- Services Page --- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid #eee;
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.service-detail-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.service-detail h2 {
  margin-bottom: 0.5rem;
}

.service-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 1rem 0;
}

.service-detail-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--grey-mid);
  font-weight: 600;
}

.service-detail-meta .price {
  color: var(--teal);
  font-weight: 700;
  font-size: 1rem;
}

.service-includes {
  background: var(--teal-light);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin-top: 1rem;
}

.service-includes h4 {
  margin-bottom: 0.75rem;
  color: var(--teal-dark);
}

.service-includes ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.5rem;
}

.service-includes li {
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
}

.service-includes li::before {
  content: '\2714';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* --- About Page --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

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

.value-card {
  text-align: center;
  padding: 2rem;
}

.value-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* --- Areas Page --- */
.area-section {
  padding: 2rem 0;
  border-bottom: 1px solid #eee;
}

.area-section:last-child {
  border-bottom: none;
}

.area-section h2 {
  color: var(--teal);
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.contact-info-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-item .icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.contact-info-item h4 {
  margin-bottom: 0.25rem;
}

.contact-info-item p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: #555;
}

.contact-info-item a {
  font-weight: 600;
}

/* --- Page Header (Internal Pages) --- */
.page-header {
  background: linear-gradient(135deg, var(--teal-light) 0%, var(--cream) 100%);
  padding: 3rem 0 2.5rem;
  text-align: center;
}

.page-header h1 {
  margin-bottom: 0.5rem;
}

.page-header p {
  color: #666;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: var(--grey-mid);
}

.breadcrumb a {
  color: var(--teal);
}

.breadcrumb span {
  color: var(--grey-mid);
}

/* --- Footer --- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer a:hover {
  color: var(--gold);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-teal { color: var(--teal); }
.text-gold { color: var(--gold); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

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

/* Paw print decorative */
.paw-divider {
  text-align: center;
  font-size: 1.5rem;
  color: var(--teal-light);
  letter-spacing: 1rem;
  margin: 2rem 0;
}

/* Star rating */
.stars {
  color: var(--gold);
  letter-spacing: 0.15rem;
}
