/* BarkParks.dog - Commerce Site */
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Nunito:wght@400;600;700;800&display=swap');

:root {
  --brand: #2d6a4f;
  --brand-light: #40916c;
  --accent: #e2a84b;
  --accent-hover: #d4942e;
  --dark: #1a202c;
  --text: #2d3748;
  --muted: #718096;
  --bg: #f7fafc;
  --card-bg: #ffffff;
  --radius: 16px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* === HEADER / NAV === */
header {
  background: var(--dark);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: 'Fredoka One', cursive;
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
}
.nav-brand span { color: var(--accent); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}
.nav-links a {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* === HERO === */
.hero {
  background: linear-gradient(135deg, var(--brand) 0%, #1b4332 100%);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}
.hero h1 {
  font-family: 'Fredoka One', cursive;
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0.5rem auto 1.5rem;
}
.hero-cta {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: var(--dark);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-secondary {
  background: rgba(255,255,255,0.15);
  color: white;
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-secondary:hover { background: rgba(255,255,255,0.25); }

/* === SECTIONS === */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}
.section-title {
  font-family: 'Fredoka One', cursive;
  font-size: 2rem;
  color: var(--brand);
  text-align: center;
  margin-bottom: 0.5rem;
}
.section-subtitle {
  text-align: center;
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* === MAP === */
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}
#park-map { height: 500px; width: 100%; }

/* === PRODUCT CARDS === */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.product-card .card-body {
  padding: 1.25rem;
}
.product-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--brand);
}
.product-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.product-card .price {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--accent);
}
.product-card .btn {
  display: block;
  text-align: center;
  margin-top: 0.75rem;
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* === FEATURES === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.feature-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.feature-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--brand);
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* === AFFILIATE BADGE === */
.affiliate-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 1rem;
  font-style: italic;
}

/* === FOOTER === */
footer {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
}
footer .brand {
  font-family: 'Fredoka One', cursive;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
footer .brand span { color: var(--accent); }
footer p { font-size: 0.85rem; opacity: 0.7; margin-top: 0.3rem; }
footer a { color: #90cdf4; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark);
    padding: 1rem 2rem;
    gap: 1rem;
  }
  .nav-links.active { display: flex; }
  .hero h1 { font-size: 2rem; }
  #park-map { height: 350px; }
  .product-grid { grid-template-columns: 1fr; }
}
