/* ============================================================
   products.css — Products page styles
   ============================================================ */

/* ── PAGE HEADER BG ─────────────────────────────────────────── */
.page-header--products {
    background-image: linear-gradient(rgba(0,0,0,0.72), rgba(0,0,0,0.72)),
                      url('../images/Diker Contracting INC (16).jpg');
  }
  
  /* ── INTRO BLOCK ────────────────────────────────────────────── */
  .products-intro {
    max-width: 600px;
    margin: 0 auto 56px;
    text-align: center;
  }
  .products-intro .section-subtitle { margin: 0 auto; }
  
  /* ── PRODUCTS PAGE GRID ─────────────────────────────────────── */
  .products-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
  
  /* Product card — shared base with index, extended here */
  .product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
  }
  .product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
  
  .product-img {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-light);
  }
  .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }
  .product-card:hover .product-img img { transform: scale(1.05); }
  
  .product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .product-info h3 {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 6px;
    color: var(--dark);
    line-height: 1.3;
  }
  .product-desc {
    font-size: 0.83rem;
    color: var(--gray-mid);
    margin-bottom: 12px;
    line-height: 1.6;
    flex: 1;
  }
  .product-price {
    font-family: var(--font-main);
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--dark);
    margin-bottom: 14px;
  }
  .product-info .btn { width: 100%; justify-content: center; font-size: 0.8rem; padding: 10px; }
  
  /* ── WHY OUR PRODUCTS (dark strip) ─────────────────────────── */
  .products-why-section {
    background: var(--dark);
    padding: 70px 0;
  }
  .products-why-section .section-title { color: var(--white); }
  .products-why-section .section-head-centered { margin-bottom: 48px; }
  
  .products-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .why-card {
    text-align: center;
    padding: 32px 24px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    transition: var(--transition);
  }
  .why-card:hover { background: rgba(255,255,255,0.07); }
  .why-card-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 14px;
  }
  .why-card h3 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 10px;
  }
  .why-card p {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    line-height: 1.6;
  }
  
  /* ── RESPONSIVE ─────────────────────────────────────────────── */
  @media (max-width: 900px) {
    .products-page-grid { grid-template-columns: repeat(2, 1fr); }
    .products-why-grid  { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 520px) {
    .products-page-grid { grid-template-columns: 1fr; }
    .products-why-grid  { grid-template-columns: 1fr; }
  }