/* ============================================
   RJ Revenue Group — Main Stylesheet
   style.css
   ============================================ */

:root {
  --red: #CC1F1F;
  --red-dark: #a81919;
  --dark: #111111;
  --dark-grey: #1e1e1e;
  --mid-grey: #2e2e2e;
  --text-muted: #888888;
  --text-light: #cccccc;
  --white: #ffffff;
  --off-white: #f5f5f5;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
}

/* ---- NAVBAR ---- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--dark);
  border-bottom: 3px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 4px;
  text-decoration: none;
}

.nav-logo .rj-rev {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--red);
  letter-spacing: -0.5px;
}
.nav-logo .rev-rest {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--white);
}
.nav-logo .sub {
  font-family: 'Barlow', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-left: 6px;
  align-self: center;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--red); }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 5vw 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(135deg, transparent 40%, rgba(204,31,31,0.07) 100%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 5px;
  background: var(--red);
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.2s;
}

.hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 900;
  line-height: 0.95;
  color: var(--white);
  text-transform: uppercase;
  max-width: 900px;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.35s;
}

.hero h1 span { color: var(--red); }

.hero-sub {
  margin-top: 32px;
  font-size: 18px;
  font-weight: 300;
  color: var(--text-light);
  max-width: 580px;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.5s;
}

.hero-cta {
  margin-top: 48px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.65s;
}

.btn-primary {
  background: var(--red);
  color: white;
  text-decoration: none;
  padding: 16px 36px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 2px solid var(--red);
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  text-decoration: none;
  padding: 16px 36px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 2px solid rgba(255,255,255,0.25);
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}
.btn-ghost:hover { border-color: var(--white); }

.hero-metrics {
  display: flex;
  gap: 60px;
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.8s;
}

.metric-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 48px;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
}
.metric-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ---- PROBLEM SECTION ---- */
.problem {
  background: var(--off-white);
  padding: 100px 5vw;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--dark);
  line-height: 1;
  max-width: 700px;
  margin-bottom: 24px;
}

.section-title span { color: var(--red); }

.section-body {
  font-size: 17px;
  font-weight: 300;
  color: #444;
  line-height: 1.8;
  max-width: 620px;
  margin-bottom: 60px;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  max-width: 900px;
}

.problem-card {
  background: var(--dark);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--red);
}

.problem-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 14px;
}

.problem-card p {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.7;
}

/* ---- SERVICES ---- */
.services {
  background: var(--white);
  padding: 100px 5vw;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 60px;
}

.service-card {
  background: var(--off-white);
  padding: 44px 36px;
  border-bottom: 4px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.service-card:hover {
  border-color: var(--red);
  background: var(--white);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-icon svg { width: 24px; height: 24px; fill: white; }

.service-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark);
  margin-bottom: 14px;
}

.service-card p {
  font-size: 15px;
  font-weight: 300;
  color: #555;
  line-height: 1.7;
}

/* ---- WHO WE SERVE ---- */
.serve {
  background: var(--dark-grey);
  padding: 100px 5vw;
}

.serve .section-title { color: var(--white); }
.serve .section-body { color: var(--text-light); }

.serve-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 60px;
  max-width: 860px;
}

.serve-card {
  background: var(--mid-grey);
  padding: 40px 36px;
  border-left: 4px solid var(--red);
}

.serve-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 14px;
}

.serve-card p {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.7;
}

/* ---- ABOUT ---- */
.about {
  background: var(--white);
  padding: 100px 5vw;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1100px;
}

.about-text .section-body { margin-bottom: 0; }

.team-grid {
  display: grid;
  gap: 24px;
}

.team-card {
  background: var(--off-white);
  padding: 36px;
  border-top: 4px solid var(--red);
}

.team-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--dark);
  letter-spacing: 1px;
}
.team-role {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin: 6px 0 16px;
}
.team-desc {
  font-size: 14px;
  font-weight: 300;
  color: #555;
  line-height: 1.7;
}

/* ---- WHY RJ ---- */
.why {
  background: var(--dark);
  padding: 100px 5vw;
}
.why .section-title { color: var(--white); }
.why .section-body { color: var(--text-light); }

.why-list {
  list-style: none;
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 860px;
}

.why-list li {
  padding: 28px 32px;
  border: 1px solid rgba(255,255,255,0.07);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-check {
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.why-check svg { width: 12px; height: 12px; fill: white; }

.why-list li span {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-light);
  line-height: 1.6;
}

/* ---- CTA BAND ---- */
.cta-band {
  background: var(--red);
  padding: 80px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  text-transform: uppercase;
  color: white;
  line-height: 1;
  max-width: 600px;
}

.btn-white {
  background: white;
  color: var(--red);
  text-decoration: none;
  padding: 18px 44px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 2px solid white;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}
.btn-white:hover { background: var(--red-dark); color: white; border-color: var(--red-dark); }

/* ---- CONTACT ---- */
.contact {
  background: var(--dark-grey);
  padding: 100px 5vw;
}
.contact .section-title { color: var(--white); }
.contact .section-body { color: var(--text-light); }

.contact-info {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.contact-item h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

.contact-item a, .contact-item p {
  font-size: 17px;
  font-weight: 400;
  color: var(--white);
  text-decoration: none;
}
.contact-item a:hover { color: var(--red); }

/* ---- FOOTER ---- */
footer {
  background: var(--dark);
  border-top: 3px solid var(--red);
  padding: 28px 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

footer .foot-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
}
footer .foot-logo span { color: var(--red); }

footer p {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- SCROLL REVEAL (added via JS) ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .problem-grid,
  .services-grid,
  .serve-cards,
  .about-inner,
  .why-list { grid-template-columns: 1fr; }
  .cta-band { text-align: center; justify-content: center; }
  .hero-metrics { gap: 32px; }
}
