/* ==========================================================================
   Home page (index.html) — everything not covered by shared
   globals/components (nav, whatsapp, footer base, hero header).
   ========================================================================== */

.section {
  padding: 50px 20px;
  max-width: 1100px;
  margin: auto;
}

.section h2 {
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.card {
  background: var(--card);
  padding: 20px;
  margin: 15px 0;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(255, 140, 0, 0.2);
  transition: 0.4s;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 0 30px rgba(255, 140, 0, 0.6);
}

.card h3 {
  margin-bottom: 6px;
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  margin-top: 12px;
  background: linear-gradient(45deg, var(--accent), var(--yellow));
  color: #000;
  font-weight: bold;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(255, 200, 0, 0.6);
  transition: 0.3s;
}

.btn:hover {
  box-shadow: 0 0 25px rgb(255, 200, 0);
  transform: scale(1.05);
}

/* ── GALLERY ── */
.gallery {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
}

.gallery a {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(255, 140, 0, 0.2);
  transition: 0.4s;
}

.gallery a:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(255, 140, 0, 0.6);
}

.gallery img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery .large {
  border-radius: 20px;
}

/* ── CLIENT WORK ── */
.client-label {
  color: var(--accent);
  font-weight: 700;
  margin: 32px 0 16px;
  font-size: 1rem;
  letter-spacing: 1px;
}

.client-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.client-card {
  background: var(--card);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(255,140,0,0.15);
  transition: 0.4s;
  display: flex;
  flex-direction: column;
}

.client-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(255,140,0,0.5);
}

.client-card a {
  display: block;
  overflow: hidden;
}

.client-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s;
}

.client-card:hover img {
  transform: scale(1.03);
}

.client-card-info {
  padding: 12px 14px;
}

.client-card-info .type {
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.client-card-info .name {
  font-size: 0.9rem;
  color: var(--text);
  margin-top: 2px;
  font-weight: 600;
}

/* ── PRICING ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.price-card {
  background: var(--card);
  border-radius: 15px;
  padding: 22px 20px;
  box-shadow: 0 0 15px rgba(255,140,0,0.15);
  transition: 0.4s;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 28px rgba(255,140,0,0.5);
}

.price-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--accent);
}

.price-card .amount {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--yellow);
}

.price-card .note {
  font-size: 0.8rem;
  color: var(--grey);
  margin-top: 6px;
}

/* ── FOOTER (page-specific overrides) ── */
footer {
  padding: 30px 20px;
  margin-top: 20px;
  font-size: 0.9rem;
}

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

@media (max-width: 900px) {
  .section { padding: 40px 20px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .client-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .gallery { grid-template-columns: 1fr; }
  .client-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Phase 3 additions — real, data-driven homepage sections.
   ========================================================================== */

.section-lede {
  color: var(--grey);
  font-size: 0.9rem;
  margin: -10px 0 20px;
}

/* ── Explore by Category ── */
.home-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

/* Reuses .category-card from blog.css visual language — defined standalone
   here too since home.css doesn't import blog.css */
.home-categories-grid .category-card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 20px;
  text-decoration: none;
  box-shadow: 0 0 12px rgba(255,140,0,0.12);
  transition: 0.4s var(--ease);
}

.home-categories-grid .category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow-strong); }
.home-categories-grid .category-card h3 { color: var(--accent); font-size: 0.95rem; margin-bottom: 6px; }
.home-categories-grid .category-card p { color: var(--grey); font-size: 0.8rem; }

/* ── Featured Amazon Picks ── */
.home-picks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.home-pick-card {
  background: var(--card);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-glow);
  transition: 0.4s var(--ease);
  display: block;
}

.home-pick-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow-strong); }
.home-pick-image { height: 160px; background: #0b0b2e; display: flex; align-items: center; justify-content: center; }
.home-pick-image img { width: 100%; height: 100%; object-fit: contain; }
.home-pick-info { padding: 14px 16px; }
.home-pick-info h3 { font-size: 0.9rem; }

/* ── Latest Blog Articles (reuses .post-card look from blog.css, redefined standalone) ── */
.home-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.home-posts-grid .post-card,
.home-posts-grid .empty-state {
  background: var(--card);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 0 12px rgba(255,140,0,0.12);
  display: block;
}

.home-posts-grid .post-card-image { height: 140px; }
.home-posts-grid .post-card-image img { width: 100%; height: 100%; object-fit: cover; }
.home-posts-grid .post-card-body { padding: 14px 16px; }
.home-posts-grid .post-card-body h3 { font-size: 0.9rem; margin: 6px 0; }
.home-posts-grid .post-card-body p { color: var(--grey); font-size: 0.8rem; }
.home-posts-grid .empty-state { grid-column: 1/-1; text-align: center; padding: 40px 20px; border: 1px dashed rgba(255,140,0,0.25); }
.home-posts-grid .empty-state-icon { font-size: 2rem; margin-bottom: 8px; }
.home-posts-grid .empty-state h3 { color: var(--accent); margin-bottom: 6px; }
.home-posts-grid .empty-state p { color: var(--grey); font-size: 0.85rem; }

/* ── Trust section ── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

/* ── FAQ ── */
.home-faq .faq-item {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 12px;
  border-bottom: none;
}

.home-faq summary { cursor: pointer; font-weight: 600; }
.home-faq p { color: var(--grey); margin-top: 10px; font-size: 0.9rem; }

/* ── Compact newsletter (matches blog sidebar widget styling) ── */
.newsletter-widget form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.newsletter-widget input {
  flex: 1;
  min-width: 200px;
  background: var(--bg);
  border: 1px solid rgba(255,140,0,0.25);
  color: var(--text);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}
.newsletter-widget button {
  background: linear-gradient(45deg, var(--accent), var(--yellow));
  color: #000;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
}
