/*
Theme Name: GreenBite
Theme URI: https://greenbite.fit
Author: GreenBite.fit
Author URI: https://greenbite.fit
Description: A bold, energetic food & fitness blog theme for GreenBite.fit
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: greenbite
*/

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

body {
  font-family: 'Barlow', sans-serif;
  background: #111810;
  color: #F4F7EC;
  min-width: 320px;
}

img { max-width: 100%; height: auto; }

/* ── NAV ── */
.nav {
  background: #0D140C;
  border-bottom: 2px solid #C8F135;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.9rem;
  color: #C8F135;
  text-decoration: none;
  letter-spacing: 2px;
  white-space: nowrap;
}
.logo span { color: #ffffff; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
}
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #cccccc;
  text-decoration: none;
  white-space: nowrap;
}
.nav-links a:hover { color: #C8F135; }
.nav-cta {
  background: #C8F135;
  color: #111810 !important;
  padding: 8px 18px !important;
  font-weight: 700 !important;
}
.nav-cta:hover { background: #FF5C1A !important; color: #fff !important; }

/* ── HERO ── */
.hero { background: #1A2E0F; padding: 60px 40px; }
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}
.hero-text { flex: 1; min-width: 280px; }
.hero-badge {
  display: inline-block;
  background: #C8F135;
  color: #111810;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 5px 14px;
  margin-bottom: 22px;
}
.hero-text h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.92;
  color: #ffffff;
  letter-spacing: 2px;
  margin-bottom: 22px;
}
.hero-text h1 em { color: #C8F135; font-style: normal; display: block; }
.hero-text p {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(244,247,236,0.65);
  margin-bottom: 30px;
  max-width: 460px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.btn-lime {
  display: inline-block;
  background: #C8F135;
  color: #111810;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 13px 28px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn-lime:hover { background: #FF5C1A; color: #fff; }
.btn-outline {
  display: inline-block;
  border: 2px solid rgba(200,241,53,0.45);
  color: #F4F7EC;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 11px 28px;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s;
}
.btn-outline:hover { border-color: #C8F135; }
.hero-stats {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(200,241,53,0.2);
}
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  color: #C8F135;
  display: block;
  line-height: 1;
}
.stat-lbl {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(244,247,236,0.4);
}
.hero-visual {
  flex-shrink: 0;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 2px solid rgba(200,241,53,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  background: rgba(200,241,53,0.04);
  position: relative;
}
.hero-tag {
  position: absolute;
  bottom: 14px;
  right: -16px;
  background: #FF5C1A;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 14px;
  white-space: nowrap;
}

/* ── TICKER ── */
.ticker { background: #C8F135; height: 42px; overflow: hidden; display: flex; align-items: center; }
.ticker-track {
  display: flex;
  gap: 50px;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
  padding: 0 10px;
}
.ticker-item {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #111810;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.ticker-dot { width: 5px; height: 5px; background: #111810; border-radius: 50%; flex-shrink: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── SECTION LABELS ── */
.section-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #C8F135;
  margin-bottom: 6px;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.8rem;
  letter-spacing: 2px;
  color: #ffffff;
  margin-bottom: 32px;
  line-height: 1;
}

/* ── POSTS ── */
.posts-wrap { max-width: 1200px; margin: 0 auto; padding: 60px 40px; }
.post-featured {
  background: #1A2E0F;
  padding: 40px;
  margin-bottom: 24px;
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
}
.post-featured-icon {
  font-size: 5rem;
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200,241,53,0.06);
  border-radius: 4px;
}
.post-featured-body { flex: 1; min-width: 200px; }
.posts-row { display: flex; gap: 20px; flex-wrap: wrap; }
.post-card { flex: 1; min-width: 200px; background: #1A2E0F; }
.post-card-thumb {
  width: 100%;
  height: 140px;
  background: #2D5016;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.post-card-body { padding: 18px; }
.tag-pill {
  display: inline-block;
  background: #C8F135;
  color: #111810;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 3px 10px;
  margin-bottom: 10px;
}
.tag-pill.orange { background: #FF5C1A; color: #fff; }
.post-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 8px;
}
.post-featured .post-title { font-size: 1.5rem; }
.post-meta { font-size: 0.75rem; color: rgba(244,247,236,0.4); }

/* ── CATEGORIES ── */
.cats-bg { background: #0D140C; }
.cats-wrap { max-width: 1200px; margin: 0 auto; padding: 60px 40px; }
.cats-row { display: flex; gap: 16px; flex-wrap: wrap; }
.cat-card {
  flex: 1;
  min-width: 160px;
  border: 1px solid rgba(200,241,53,0.18);
  padding: 26px 20px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  position: relative;
}
.cat-card:hover { background: rgba(200,241,53,0.05); border-color: #C8F135; }
.cat-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.cat-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 2px;
  color: #fff;
  display: block;
  margin-bottom: 4px;
}
.cat-count { font-family: 'Barlow Condensed', sans-serif; font-size: 0.7rem; letter-spacing: 2px; color: #C8F135; opacity: 0.65; }

/* ── NEWSLETTER ── */
.nl-bg { background: #C8F135; }
.nl-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
  display: flex;
  gap: 60px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.nl-left { flex: 1; min-width: 260px; }
.nl-eyebrow { font-family: 'Barlow Condensed', sans-serif; font-size: 0.72rem; letter-spacing: 3px; text-transform: uppercase; color: #2D5016; margin-bottom: 10px; }
.nl-title { font-family: 'Bebas Neue', sans-serif; font-size: 3.2rem; line-height: 0.92; color: #111810; letter-spacing: 2px; margin-bottom: 16px; }
.nl-desc { font-size: 0.95rem; color: #1A2E0F; line-height: 1.65; opacity: 0.75; }
.nl-right { flex: 1; min-width: 260px; display: flex; flex-direction: column; gap: 12px; }
.nl-input {
  width: 100%;
  background: #111810;
  border: none;
  color: #F4F7EC;
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  padding: 14px 18px;
  outline: none;
}
.nl-input::placeholder { color: rgba(244,247,236,0.35); }
.nl-btn {
  width: 100%;
  background: #1A2E0F;
  color: #C8F135;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 14px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.nl-btn:hover { background: #FF5C1A; color: #fff; }
.nl-note { font-size: 0.75rem; color: #2D5016; opacity: 0.65; }

/* ── FOOTER ── */
.site-footer { background: #0A0F09; padding: 48px 40px 24px; border-top: 1px solid rgba(200,241,53,0.1); }
.footer-row { display: flex; gap: 40px; flex-wrap: wrap; margin-bottom: 36px; }
.footer-brand { flex: 2; min-width: 220px; }
.footer-brand p { font-size: 0.88rem; color: rgba(244,247,236,0.45); line-height: 1.7; max-width: 280px; margin-top: 14px; }
.footer-col { flex: 1; min-width: 140px; }
.footer-col h5 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #C8F135;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 0.88rem; color: rgba(244,247,236,0.45); text-decoration: none; }
.footer-col a:hover { color: #F4F7EC; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(244,247,236,0.25); }
.socials { display: flex; gap: 10px; }
.soc {
  width: 34px; height: 34px;
  border: 1px solid rgba(200,241,53,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(244,247,236,0.45);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.soc:hover { border-color: #C8F135; color: #C8F135; }

/* ── SINGLE POST ── */
.entry-content { max-width: 780px; margin: 60px auto; padding: 0 40px; }
.entry-content h1, .entry-content h2, .entry-content h3 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 2px;
  color: #fff;
  margin: 1.5em 0 0.5em;
}
.entry-content p { line-height: 1.8; color: rgba(244,247,236,0.8); margin-bottom: 1.2em; }
.entry-content a { color: #C8F135; }
.entry-content img { border-radius: 4px; margin: 1.5em 0; }

/* ── WORDPRESS DEFAULTS ── */
.wp-block-image img { max-width: 100%; height: auto; }
.aligncenter { display: block; margin: 0 auto; }
