/* styles.css - Tech Sisters Hub (shared) */

/* Colors */
:root{
  --lilac:#A78BFA;
  --lilac-strong:#7C6CF6;
  --blush:#F9E6EC;
  --gold:#D4AF37;
  --bg-grad-start:#f6eefe;
  --bg-grad-end:#ffffff;
  --muted:#6b6b78;
  --soft-black:#1b1b1b;
  --card:#ffffff;
  --radius:14px;
  --max-width:1100px;
  --container-padding:20px;
}

/* Reset + base */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color:var(--soft-black);
  background: linear-gradient(135deg,var(--bg-grad-start),var(--bg-grad-end));
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.45;
}

.container{
  max-width:var(--max-width);
  margin:28px auto;
  padding:var(--container-padding);
}

/* Header / nav */
.header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:10px 0;
}
.brand { display:flex; align-items:center; gap:12px; }
.logo { width:72px; height:72px; border-radius:12px; background:var(--card); display:flex; align-items:center; justify-content:center; padding:8px; box-shadow:0 8px 30px rgba(23,20,79,0.06); }
.logo img{ width:100%; height:100%; object-fit:contain; display:block; }
.brand-title h1{ margin:0; color:var(--lilac-strong); font-size:18px; }
.brand-title p{ margin:0; color:var(--muted); font-size:13px; }

.nav { display:flex; gap:14px; align-items:center; }
.nav a { color:var(--soft-black); text-decoration:none; font-size:14px; opacity:0.95; padding:8px 10px; border-radius:8px; }
.nav a:hover{ background:rgba(167,139,250,0.08); color:var(--lilac-strong); }

.cta { background:linear-gradient(90deg,var(--lilac-strong),var(--lilac)); color:white; padding:8px 12px; border-radius:10px; font-weight:600; box-shadow:0 10px 25px rgba(124,108,246,0.08); }

/* Hero */
.hero {
  display:flex;
  gap:24px;
  align-items:center;
  background:linear-gradient(180deg, rgba(167,139,250,0.06), rgba(244,233,251,0.02));
  padding:28px;
  border-radius:16px;
  margin-top:14px;
}
.hero-left{flex:1}
.eyebrow{display:inline-block;background:rgba(167,139,250,0.12);color:var(--lilac-strong);padding:6px 10px;border-radius:999px;font-size:13px}
.hero h2{margin:12px 0 8px 0;font-size:28px}
.hero p{margin:0;color:var(--muted);font-size:15px}

/* thumbs */
.thumbs {
  width:300px;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
}
.thumb { width:100%; height:120px; border-radius:12px; object-fit:cover; display:block; box-shadow:0 10px 30px rgba(23,20,79,0.04); }

/* Sections */
.section { margin-top:28px; }
.grid { display:grid; gap:18px; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); }
.card { background:var(--card); padding:16px; border-radius:12px; box-shadow:0 8px 28px rgba(15,23,42,0.04); }
.card h3{ margin:0 0 8px 0; }
.card p{ margin:0; color:var(--muted); font-size:14px; }

/* Affiliates tiles */
.affiliate-grid { display:grid; gap:12px; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); margin-top:12px; }
.tile { background:linear-gradient(180deg, rgba(167,139,250,0.04), rgba(212,175,55,0.02)); padding:14px; border-radius:12px; display:flex; flex-direction:column; gap:10px; align-items:flex-start; }
.tile img{ width:76px; height:76px; border-radius:10px; object-fit:cover; }

/* Blog previews */
.blog-grid { display:grid; gap:16px; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); }
.post img{ width:100%; height:140px; object-fit:cover; border-radius:10px 10px 0 0; }

/* Community and contact */
.community { display:flex; gap:18px; align-items:center; flex-wrap:wrap; }
.contact { display:flex; gap:18px; align-items:flex-start; flex-wrap:wrap; }
.subscribe { flex:1; min-width:220px; }

/* Footer */
.site-footer { margin-top:28px; text-align:center; color:var(--muted); font-size:13px; padding:18px 10px; }

/* small screens */
@media (max-width:880px){
  .hero { flex-direction:column; align-items:flex-start; }
  .thumbs { width:100%; grid-template-columns:repeat(2,1fr); }
  .nav { display:none; }
}

/* simple fade-in reveal */
.reveal { opacity:0; transform:translateY(10px); transition:opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity:1; transform:none; }

/* small helper */
.center{ text-align:center }
.link{ color:var(--lilac-strong); font-weight:600; text-decoration:none; }
.product-video {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Hover Effect */
.product-video:hover {
  transform: scale(1.05);
  box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.25);
}