/* style.css — FitHub (dark theme) */

/* Colors */
:root{
  --bg: #121212;
  --panel: #1a1a1a;
  --muted: #bdbdbd;
  --text: #E0E0E0;
  --accent: #A6FF00; /* lime green accent */
  --accent-2: #00AFFF; /* alternative electric blue if needed */
  --glass: rgba(255,255,255,0.03);
  --radius: 12px;
  --container: 1100px;
  --shadow: 0 6px 18px rgba(0,0,0,0.6);
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, "Helvetica Neue", Arial;
}

/* Reset + base */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:linear-gradient(180deg,var(--bg),#0f0f0f);
  color:var(--text);
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.5;
}

/* Container */
.container{
  width:92%;
  max-width:var(--container);
  margin:0 auto;
}

/* Header */
.site-header{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:1000;
  background:linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  border-bottom: 1px solid rgba(255,255,255,0.03);
  backdrop-filter: blur(6px);
}
.header-inner{
  display:flex;
  align-items:center;
  gap:1rem;
  justify-content:space-between;
  padding:0.9rem 0;
}
.brand{
  display:flex;
  flex-direction:column;
  text-decoration:none;
  color:var(--text);
}
.brand-main{
  font-weight:700;
  letter-spacing:0.4px;
  font-size:1.15rem;
}
.brand-sub{
  font-size:0.7rem;
  color:var(--muted);
  margin-top:2px;
}

/* Nav */
.nav{ }
.nav-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:1rem;
}
.nav-list a{
  color:var(--muted);
  text-decoration:none;
  padding:0.35rem 0.6rem;
  border-radius:8px;
  font-weight:600;
  font-size:0.95rem;
}
.nav-list a:hover,
.nav-list a.active{
  color:var(--bg);
  background:var(--accent);
  box-shadow: var(--shadow);
}

/* Hamburger (mobile) */
.nav-toggle{
  display:none;
  background:transparent;
  border:0;
  padding:8px;
  cursor:pointer;
}
.hamburger{
  width:22px;
  height:2px;
  background:var(--text);
  display:block;
  position:relative;
}
.hamburger::before,
.hamburger::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  height:2px;
  background:var(--text);
}
.hamburger::before{ top:-7px }
.hamburger::after{ top:7px }

/* HERO */
.hero{
  padding-top:90px; /* offset header */
  padding-bottom:40px;
}
.hero-grid{
  display:grid;
  grid-template-columns:1fr 420px;
  align-items:center;
  gap:2rem;
  padding:4rem 0;
}
.hero-text h1{
  margin:0 0 0.5rem 0;
  font-size:2.25rem;
  line-height:1.05;
}
.hero-text p{
  color:var(--muted);
  margin:0 0 1.25rem 0;
  max-width:60ch;
}
.hero-cta{ display:flex; gap:0.75rem; align-items:center; flex-wrap:wrap; }

.btn{
  display:inline-block;
  padding:0.6rem 1rem;
  border-radius:10px;
  text-decoration:none;
  font-weight:700;
  letter-spacing:0.2px;
  border:1px solid transparent;
}
.btn-primary{
  background:linear-gradient(90deg,var(--accent), #9bff00);
  color:#0b0b0b;
  box-shadow: 0 8px 20px rgba(166,255,0,0.12);
}
.btn-ghost{
  background:transparent;
  color:var(--text);
  border:1px solid rgba(255,255,255,0.04);
}

/* art card */
.art-card{
  background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius:18px;
  padding:2rem;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:1rem;
  box-shadow:var(--shadow);
}
.art-circle{
  font-size:3rem;
  width:100px;
  height:100px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:var(--glass);
  border:1px solid rgba(255,255,255,0.03);
}
.art-caption{ color:var(--muted) }

/* FEATURES */
.features{
  padding:2.5rem 0 5rem;
}
.section-title{
  margin:0 0 1rem 0;
  font-size:1.4rem;
}
.card-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.1rem;
  margin-top:1rem;
}
.feature-card{
  display:block;
  padding:1.1rem;
  border-radius:14px;
  background:linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.02));
  text-decoration:none;
  color:var(--text);
  transition:transform .18s ease, box-shadow .18s ease;
  border:1px solid rgba(255,255,255,0.03);
}
.feature-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow) }
.card-icon{ font-size:1.6rem; margin-bottom:0.5rem; }
.card-link{ display:inline-block; margin-top:0.6rem; color:var(--accent); font-weight:700; }

/* Exercises page */
.exercises-hero{ padding-top:90px; padding-bottom:4rem; }
.filter-row{
  display:flex;
  gap:1rem;
  align-items:center;
  margin:1rem 0 1.6rem;
  flex-wrap:wrap;
}
.search-input{
  background:var(--panel);
  border:1px solid rgba(255,255,255,0.03);
  padding:0.65rem 0.8rem;
  border-radius:10px;
  color:var(--text);
  min-width:260px;
}
.filter-buttons{ display:flex; gap:0.5rem; flex-wrap:wrap; }
.filter-btn{
  background:transparent;
  color:var(--muted);
  border:1px solid rgba(255,255,255,0.03);
  padding:0.45rem 0.6rem;
  border-radius:8px;
  cursor:pointer;
  font-weight:600;
}
.filter-btn.active{
  background:var(--accent);
  color:var(--bg);
}

/* Exercise grid */
.exercise-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1rem;
}
.exercise-card{
  display:flex;
  gap:0.9rem;
  padding:1rem;
  border-radius:12px;
  background:var(--panel);
  border:1px solid rgba(255,255,255,0.03);
}
.ex-thumb{
  width:64px;
  height:64px;
  border-radius:10px;
  background:rgba(255,255,255,0.02);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.9rem;
  flex-shrink:0;
}
.ex-body h3{ margin:0; font-size:1.05rem }
.ex-muscle{ margin:6px 0; color:var(--muted); font-size:0.88rem }
.ex-steps{ margin:0; padding-left:1.05rem; color:var(--muted) }

/* Accordion (diets) */
.diets-hero{ padding-top:90px; padding-bottom:4rem; }
.accordion{ margin-top:1.2rem; border-radius:12px; overflow:hidden; }
.accordion-item{ border-top:1px solid rgba(255,255,255,0.03) }
.accordion-toggle{
  width:100%;
  text-align:left;
  padding:1rem;
  background:var(--panel);
  color:var(--text);
  cursor:pointer;
  border:0;
  font-weight:700;
  font-size:1rem;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.accordion-toggle::after{
  content:"+";
  color:var(--muted);
  font-weight:900;
}
.accordion-toggle[aria-expanded="true"]::after{ content:"–" }

.accordion-panel{
  padding:1rem;
  background:linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.02));
  color:var(--muted);
  display:none;
}

/* Footer */
.site-footer{
  border-top:1px solid rgba(255,255,255,0.03);
  padding:1.75rem 0;
  margin-top:3rem;
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:1rem;
}
.small{ color:var(--muted); font-size:0.85rem }

/* Responsive */
@media (max-width:1000px){
  .hero-grid{ grid-template-columns:1fr; text-align:center }
  .card-grid{ grid-template-columns:repeat(2,1fr) }
  .exercise-grid{ grid-template-columns:repeat(2,1fr) }
  .footer-inner{ flex-direction:column; align-items:flex-start }
}

@media (max-width:700px){
  .nav-list{ display:none; position:absolute; right:12px; top:64px; background:var(--panel); border-radius:10px; padding:0.6rem; box-shadow:var(--shadow) }
  .nav-list.show{ display:flex; flex-direction:column; gap:0.5rem; min-width:160px }
  .nav-toggle{ display:block }
  .card-grid{ grid-template-columns:1fr }
  .exercise-grid{ grid-template-columns:1fr }
  .header-inner{ padding:0.7rem 0 }
  .hero-text h1{ font-size:1.6rem }
}
