/* Best Garden & BBQ UK - Responsive CSS */

:root {
  --primary-green: #2d5016;
  --accent-green: #4a7c2c;
  --light-green: #e8f3e3;
  --text-dark: #1a1a1a;
  --text-light: #555;
  --border-light: #ddd;
  --white: #ffffff;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: #fafafa;
}

/* Header & Navigation */
header {
  background: var(--primary-green);
  color: var(--white);
  padding: 1.5rem 0;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

header h1 {
  font-size: 1.8rem;
  font-weight: 700;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

nav a:hover {
  opacity: 0.8;
}

/* Main Content */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

main {
  padding: 3rem 0;
}

h1 {
  color: var(--primary-green);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

h2 {
  color: var(--accent-green);
  font-size: 1.8rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.intro-text {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

/* Product Grid */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.product-header {
  background: var(--light-green);
  padding: 1.5rem;
}

.product-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 0.5rem;
}

.product-rating {
  color: #f59e0b;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-green);
  margin-bottom: 0.5rem;
}

.product-body {
  padding: 1.5rem;
}

.product-description {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.pros-cons {
  margin: 1rem 0;
  font-size: 0.9rem;
}

.pros-cons strong {
  color: var(--primary-green);
}

.product-footer {
  padding: 1rem 1.5rem;
  background: var(--light-green);
  border-top: 1px solid var(--border-light);
}

.amazon-link {
  display: inline-block;
  background: var(--accent-green);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}

.amazon-link:hover {
  background: var(--primary-green);
}

/* Guide Content */
.guide-section {
  background: var(--white);
  padding: 2rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--accent-green);
  border-radius: 4px;
}

.guide-section p {
  margin-bottom: 1rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* Footer */
footer {
  background: var(--primary-green);
  color: var(--white);
  padding: 2rem 0;
  margin-top: 3rem;
  text-align: center;
  font-size: 0.9rem;
}

.affiliate-disclosure {
  background: #fff3cd;
  color: #856404;
  padding: 1rem;
  border-left: 4px solid #ffc107;
  margin-bottom: 2rem;
  border-radius: 4px;
  font-weight: 500;
}

.last-updated {
  color: #999;
  font-size: 0.85rem;
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  header h1 {
    font-size: 1.4rem;
  }

  nav ul {
    gap: 1rem;
    flex-direction: column;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .products {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .intro-text {
    font-size: 1rem;
  }
}
