/* ===========================================
   Robro Systems — Main Product Catalog Style
   Matches Review blue theme (card bg: #073070)
   =========================================== */

:root {
  --epic: #073070; /* Card blue background */
  --text: #ffffff; /* White text */
  --border: #0a3f9a;
  --shadow: 0 8px 30px rgba(0,0,0,0.35);
  --radius: 16px;
}

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

/* Base */
body {
  font-family: "Inter", system-ui, -apple-system, Roboto, Arial, sans-serif;
  background: #020617; /* Deep navy background */
  color: var(--text);
  line-height: 1.6;
}

.wrap {
  width: min(1600px, 92vw);
  margin: 0 auto;
}

/* Header & Hero */
.site-header {
  padding: 48px 0 24px;
  text-align: center;
}

.hero {
  display: grid;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.brand-logo {
  width: clamp(64px, 8vw, 100px);
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.brand-text h1 {
  font-weight: 700;
  margin-bottom: 6px;
}

.subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
}

.overview {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
}

/* Grid layout */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 20px;
  padding: 40px 0 60px;
}

/* Product Card (blue background, white text) */
.card {
  background: var(--epic);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  color: var(--text);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
}

.icon svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

/* Product-specific styles */
.products-grid .product {
  display: block;
  text-decoration: none;
  color: var(--text);
}

.product .product-desc {
  color: rgba(255,255,255,0.9);
  margin-top: 6px;
}

.product .product-meta {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.icon {
  display: grid;
  place-items: center;
  width: 48px;             /* slightly larger for a logo */
  height: 48px;
  border-radius: 10px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  overflow: hidden;        /* ensures logo fits nicely */
}

.product-logo {
  width: 70%;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);  /* keeps white-on-blue look if needed */
}

.badge {
  display: inline-block;
  font-size: 0.82rem;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.12);
}

.meta-item {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}

/* Footer */
.site-footer {
  text-align: center;
  color: rgba(255,255,255,0.6);
  padding: 24px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

/* Responsive */
@media (max-width: 480px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

/* Optional tuning
.wrap { width: min(1900px, 94vw); } 
.grid { grid-template-columns: repeat(auto-fit, minmax(460px, 1fr)); }
*/
