/*
Theme Name: Creatinetips
Theme URI: https://creatinetips.com
Author: Jasmin
Description: Custom thema voor Creatinetips.com — labjournaal-strak, eerlijk, sportief.
Version: 1.0
Text Domain: creatinetips
*/

:root{
  --paper: #f5f6f2;
  --paper-raised: #ffffff;
  --ink: #14171c;
  --muted: #676d63;
  --line: #dcded6;
  --accent: #ff4f32;
  --accent-soft: #ffe7e1;
  --trust: #1f7a4d;
  --trust-soft: #e3f2e8;
}
*{box-sizing:border-box; margin:0; padding:0;}
body{
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  line-height:1.5;
}
img{ max-width:100%; display:block; }
.wrap{ max-width: 1080px; margin: 0 auto; padding: 0 28px; }
a{ color: inherit; text-decoration:none; }

/* ---------- NAV ---------- */
nav.site-nav{
  border-bottom: 1px solid var(--line);
  position: sticky; top:0; background: rgba(245,246,242,0.92);
  backdrop-filter: blur(6px);
  z-index: 10;
}
nav.site-nav .wrap{
  display:flex; align-items:center; justify-content:space-between;
  height: 76px;
}
.logo{
  font-family:'Space Grotesk', sans-serif;
  font-weight:700; font-size:29px; letter-spacing:-0.01em;
}
.logo span{ color: var(--accent); }
.navlinks{ display:flex; align-items:center; gap:26px; font-size:14px; font-weight:500; color: var(--muted); list-style:none; }
.navlinks li{ display:flex; }
.navlinks a{ display:flex; align-items:center; gap:6px; }
.navlinks svg{ width:16px; height:16px; stroke: currentColor; fill:none; stroke-width:1.7; }
.navlinks img.nav-icon{
  width:18px; height:18px; object-fit:contain; vertical-align:middle; margin-right:2px; border-radius:4px;
}
.navlinks a:hover{ color: var(--ink); }
.navlinks .cta a, .navlinks a.cta{
  background: var(--ink); color:#fff; padding:9px 16px; border-radius:7px;
}
.navlinks .cta a:hover, .navlinks a.cta:hover{ background: var(--accent); color:#fff; }

.nav-toggle{ display:none; background:none; border:none; padding:8px; cursor:pointer; }
.nav-toggle svg{ width:24px; height:24px; stroke: var(--ink); fill:none; stroke-width:1.8; }

@media (max-width:760px){
  .nav-toggle{ display:block; }
  .navlinks{
    display:none; position:absolute; top:76px; left:0; right:0;
    flex-direction:column; align-items:flex-start; gap:0;
    background: var(--paper); border-bottom:1px solid var(--line);
    padding: 8px 28px 20px;
  }
  .navlinks.is-open{ display:flex; }
  .navlinks li{ width:100%; border-bottom:1px solid var(--line); }
  .navlinks a{ padding:14px 0; width:100%; }
  .navlinks .cta a, .navlinks a.cta{ display:inline-flex; margin:14px 0 4px; }
}

/* ---------- SCALE DIVIDER (signature element) ---------- */
.scale{
  display:flex; flex-wrap:nowrap; align-items:flex-end; gap:4px; height:22px; margin: 12px 0 6px;
  overflow:hidden; width:100%; max-width:420px;
}
.scale i{
  display:block; flex:1 1 auto; min-width:2px; max-width:4px; background: var(--line); border-radius:1px;
}
.scale i:nth-child(5n){ height:22px; background: var(--muted); }
.scale i:not(:nth-child(5n)){ height:11px; }
@media (max-width:480px){
  .scale{ gap:3px; height:18px; }
  .scale i:nth-child(5n){ height:18px; }
  .scale i:not(:nth-child(5n)){ height:9px; }
}

/* ---------- HERO ---------- */
header.hero{ padding: 88px 0 72px; border-bottom: 1px solid var(--line); }
.eyebrow{
  font-family:'IBM Plex Mono', monospace;
  font-size:12px; color: var(--accent); letter-spacing:0.06em;
  display:flex; align-items:center; gap:8px; margin-bottom:18px;
}
.eyebrow::before{ content:"●"; font-size:8px; }
h1{
  font-family:'Space Grotesk', sans-serif;
  font-weight:700; font-size: clamp(36px, 6vw, 60px);
  letter-spacing:-0.02em; line-height:1.03; max-width:780px;
}
h1 em{ font-style:normal; color: var(--accent); }
.hero-sub{
  margin-top:22px; font-size:18px; color: var(--muted); max-width:540px;
}
.hero-actions{ margin-top:34px; margin-bottom:44px; display:flex; gap:14px; align-items:center; flex-wrap:wrap; }
.btn-primary{
  background: var(--ink); color:#fff; font-weight:600; font-size:14.5px;
  padding: 13px 22px; border-radius:8px; display:inline-block;
}
.btn-primary:hover{ background: var(--accent); color:#fff; }
.btn-secondary{
  font-size:14.5px; font-weight:600; color: var(--ink);
  border-bottom: 2px solid var(--ink);
}
.hero-stat{
  margin-top:56px; display:flex; gap:44px; flex-wrap:wrap;
}
.hero-stat div{ font-family:'IBM Plex Mono', monospace; }
.hero-stat .num{ font-size:26px; font-weight:500; color: var(--ink); }
.hero-stat .label{ font-size:12px; color: var(--muted); margin-top:2px; }

/* ---------- INTRO ---------- */
section.intro{ padding: 72px 0; border-bottom:1px solid var(--line); }
.intro-grid{
  display:grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items:start;
}
section.intro h2{
  font-family:'Space Grotesk', sans-serif; font-weight:700;
  font-size: clamp(24px,3vw,32px); letter-spacing:-0.01em; margin-bottom:18px;
}
section.intro p{ color: var(--muted); font-size:15.5px; margin-bottom:14px; max-width:520px; }
.card-note{
  background: var(--paper-raised); border:1px solid var(--line); border-radius:12px;
  padding:26px;
}
.card-note .tag{
  font-family:'IBM Plex Mono', monospace; font-size:11px; color: var(--trust);
  background: var(--trust-soft); display:inline-block; padding:4px 9px; border-radius:5px;
  margin-bottom:14px;
}
.card-note p{ font-size:14px; color: var(--ink); margin:0; }
@media (max-width:760px){ .intro-grid{ grid-template-columns:1fr; } }

/* ---------- TOPIC CARDS ---------- */
section.topics{ padding:72px 0 88px; }
.topics-head{ display:flex; justify-content:space-between; align-items:end; margin-bottom:34px; flex-wrap:wrap; gap:12px; }
.topics-head h2{
  font-family:'Space Grotesk', sans-serif; font-weight:700; font-size:28px; letter-spacing:-0.01em;
}
.topics-head p{ color: var(--muted); font-size:14px; max-width:340px; }
.topic-grid{
  display:grid; grid-template-columns: repeat(4, 1fr); gap:16px;
}
.topic-card{
  background: var(--paper-raised); border:1px solid var(--line); border-radius:12px;
  padding:24px 20px; transition: transform .15s ease, box-shadow .15s ease;
}
.topic-card:hover{ transform: translateY(-4px); box-shadow: 0 14px 28px rgba(20,23,28,0.08); }
.topic-card .icon{
  width:52px; height:52px; border-radius:50%; overflow:hidden;
  border: 1px solid var(--line);
  display:flex; align-items:center; justify-content:center; margin-bottom:16px;
}
.topic-card .icon img{ width:100%; height:100%; object-fit:cover; display:block; }
.topic-card .tag{
  font-family:'IBM Plex Mono', monospace; font-size:11px; color: var(--accent);
  text-transform:uppercase; letter-spacing:0.04em; margin-bottom:12px; display:block;
}
.topic-card h3{
  font-family:'Space Grotesk', sans-serif; font-size:17px; font-weight:700; margin-bottom:8px; line-height:1.25;
}
.topic-card p{ font-size:13.5px; color: var(--muted); margin-bottom:16px; }
.topic-card .more{ font-size:13px; font-weight:600; color: var(--ink); border-bottom:2px solid var(--accent); }
@media (max-width:900px){ .topic-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width:560px){ .topic-grid{ grid-template-columns: 1fr; } }

/* ---------- PRODUCT CARDS (Beste Creatine) ---------- */
.product-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap:16px; margin-top:34px;
}
.product-card{
  background: var(--paper-raised); border:1px solid var(--line); border-radius:12px;
  padding:22px; display:flex; flex-direction:column;
}
.product-card img{ border-radius:8px; margin-bottom:16px; aspect-ratio:1/1; object-fit:cover; background:var(--paper); }
.product-card h3{ font-family:'Space Grotesk', sans-serif; font-size:16px; margin-bottom:6px; }
.product-card .price{ font-family:'IBM Plex Mono', monospace; color:var(--accent); font-size:14px; margin-bottom:10px; }
.product-card p{ font-size:13.5px; color:var(--muted); margin-bottom:16px; flex-grow:1; }
@media (max-width:900px){ .product-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width:560px){ .product-grid{ grid-template-columns: 1fr; } }

/* ---------- BLOG ---------- */
.blog-hero{
  display:grid; grid-template-columns: 1.1fr 1fr; gap:0;
  background: var(--paper-raised); border:1px solid var(--line); border-radius:14px;
  overflow:hidden; margin-top:34px;
}
.blog-hero-media{ background: var(--line); min-height:280px; }
.blog-hero-media img{ width:100%; height:100%; object-fit:cover; }
.blog-hero-body{ padding:36px 40px; display:flex; flex-direction:column; justify-content:center; }
.blog-hero-body .cat{
  font-family:'IBM Plex Mono', monospace; font-size:11px; color:var(--accent);
  text-transform:uppercase; letter-spacing:0.05em; margin-bottom:12px; display:block;
}
.blog-hero-body h2{
  font-family:'Space Grotesk', sans-serif; font-weight:700; font-size:clamp(22px,2.6vw,30px);
  line-height:1.15; margin-bottom:14px;
}
.blog-hero-body p{ color:var(--muted); font-size:15px; margin-bottom:20px; }
.blog-hero-body .date{
  font-family:'IBM Plex Mono', monospace; font-size:12px; color:var(--muted);
  border-top:1px solid var(--line); padding-top:16px;
}
@media (max-width:800px){ .blog-hero{ grid-template-columns:1fr; } .blog-hero-media{ min-height:200px; } }

.blog-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap:16px; margin-top:16px;
}
.blog-card{
  background: var(--paper-raised); border:1px solid var(--line); border-radius:12px;
  overflow:hidden; transition: transform .15s ease, box-shadow .15s ease;
}
.blog-card:hover{ transform: translateY(-4px); box-shadow: 0 14px 28px rgba(20,23,28,0.08); }
.blog-card img{ aspect-ratio:16/10; object-fit:cover; width:100%; }
.blog-card .body{ padding:18px 20px 20px; }
.blog-card .cat{
  font-family:'IBM Plex Mono', monospace; font-size:10.5px; color:var(--accent);
  text-transform:uppercase; letter-spacing:0.05em; display:block; margin-bottom:8px;
}
.blog-card h3{ font-family:'Space Grotesk', sans-serif; font-size:16px; margin-bottom:6px; line-height:1.3; }
.blog-card p{ font-size:13px; color:var(--muted); margin-bottom:14px; }
.blog-card .date{
  font-family:'IBM Plex Mono', monospace; font-size:11px; color:var(--muted);
  border-top:1px solid var(--line); padding-top:12px; display:block;
}
@media (max-width:900px){ .blog-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width:560px){ .blog-grid{ grid-template-columns: 1fr; } }

/* ---------- FOOTER ---------- */
footer.site-footer{ border-top:1px solid var(--line); padding: 30px 0 40px; }
footer.site-footer .wrap{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; }
footer.site-footer p{ font-size:12.5px; color: var(--muted); max-width:560px; }
footer.site-footer .fnav{ display:flex; gap:22px; font-size:13px; color: var(--muted); list-style:none; }
footer.site-footer .fnav a{ display:flex; align-items:center; gap:6px; }
footer.site-footer .fnav svg{ width:15px; height:15px; stroke: currentColor; fill:none; stroke-width:1.7; }
footer.site-footer .fnav img.nav-icon{ width:16px; height:16px; object-fit:contain; vertical-align:middle; }
footer.site-footer .fnav a:hover{ color: var(--ink); }
