body {
  font-family: "Montserrat", sans-serif;
  scroll-behavior: smooth;
}

.title-font {
  font-family: "Playfair Display", serif;
}

.hero-image {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("Images/banner/dog-supplies-hero.svg");
  background-size: cover;
  background-position: center;
}

.card {
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.card > img {
  object-fit: cover;
  width: 100%;
  height: auto;
  display: block;
}

.gallery-image {
  transition: all 0.3s ease;
}

.gallery-image:hover {
  transform: scale(1.03);
}

.gallery-image img {
  aspect-ratio: 3 / 2;
}

iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

.map-container {
  max-width: 100%;
  height: auto;
}

@media (max-width: 640px) {
  iframe {
    height: 300px;
  }
}

.testimonial-avatar { width: 64px; height: 64px; object-fit: cover; border-radius: 9999px; }
@media (min-width: 768px){ .testimonial-avatar { width: 80px; height: 80px; } }

/* Navigation logo sizing */

.nav-logo {
  height: 80px;
}

@media (min-width: 768px) {
  .nav-logo {
    height: 96px;
  }
}

/* Tiny Slider testimonial adjustments */
.reviews-slider .testimonial-card {
  width: 100%;
}

.section-card {
  max-width: 1280px;
  margin-inline: auto;
  background: #fdfdf9;
  border-radius: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
  padding: clamp(1.25rem, 5vw, 4rem);
}

.section-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 2.5rem);
}

@media (min-width: 1280px) {
  .section-grid {
    grid-template-columns: 3fr 2fr;
  }
}

@media (min-width: 900px) and (max-width: 1279px) {
  .section-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.section-heading {
  font-size: clamp(1.875rem, 5vw, 2.25rem);
  line-height: 1.2;
}

.section-lead {
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  line-height: 1.6;
}

/* Primary button styles */
.btn-primary {
  display: inline-block;
  padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(1rem, 4vw, 2rem);
  border-radius: 0.5rem;
  background-color: #15803d; /* Tailwind green-700 */
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s ease, transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn-primary:hover {
  background-color: #166534; /* Tailwind green-800 */
  transform: scale(1.05);
}

.btn-primary:focus {
  outline: 3px solid #bbf7d0; /* accessible focus ring */
  outline-offset: 2px;
}

/* Mobile menu transition and body scroll lock */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

#mobile-menu.open {
  max-height: 500px;
}

body.menu-open {
  overflow: hidden;
}

