/* ================= THEME VARIABLES ================= */
:root {
  --bg-main: #050505;
  --bg-section: #0b0b0b;
  --bg-card: rgba(18,18,18,0.85);
  --text-main: #ffffff;
  --text-muted: #9a9a9a;
  --accent: #e10600;
}

body.light-theme {
  --bg-main: #f4f5f7;
  --bg-section: #ffffff;
  --bg-card: #f0f1f3;
  --text-main: #111111;
  --text-muted: #555555;
  --accent: #c30000;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
  transition: background 0.4s ease, color 0.4s ease;
}

/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  top: 16px;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 999;
}

.nav-container {
  width: calc(100% - 32px);
  max-width: 1200px;
  height: 64px;
  background: var(--bg-section);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}


.logo {
  height: 130px;
}

/* NAV LINKS */
.nav-links a {
  margin-left: 20px;
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
}

.theme-toggle {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  margin-right: 10px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-main);
  cursor: pointer;
}

/* ================= ENERGY BACKGROUNDS (RESTORED) ================= */
/* ================= ENERGY BACKGROUNDS (THEME AWARE) ================= */

/* DARK THEME (DEFAULT) */
.energy {
  background:
    radial-gradient(
      900px 420px at 85% 30%,
      rgba(255, 106, 0, 0.35),
      transparent 60%
    ),
    radial-gradient(
      700px 360px at 20% 70%,
      rgba(255, 42, 0, 0.28),
      transparent 65%
    ),
    linear-gradient(
      180deg,
      #5a0000,
      #050505
    );
}

.energy-dark {
  background:
    radial-gradient(
      850px 420px at 15% 35%,
      rgba(195, 0, 0, 0.35),
      transparent 60%
    ),
    radial-gradient(
      600px 320px at 85% 65%,
      rgba(255, 42, 0, 0.25),
      transparent 65%
    ),
    linear-gradient(
      180deg,
      #c30000,
      #050505
    );
}

/* LIGHT THEME – SAME COLORS, SOFTER */
body.light-theme .energy {
  background:
    radial-gradient(
      900px 420px at 85% 30%,
      rgba(255, 106, 0, 0.22),
      transparent 65%
    ),
    radial-gradient(
      700px 360px at 20% 70%,
      rgba(255, 42, 0, 0.18),
      transparent 70%
    ),
    linear-gradient(
      180deg,
      #ffffff,
      #f2f2f2
    );
}

body.light-theme .energy-dark {
  background:
    radial-gradient(
      850px 420px at 15% 35%,
      rgba(195, 0, 0, 0.18),
      transparent 65%
    ),
    linear-gradient(
      180deg,
      #ffffff,
      #f4f4f4
    );
}


/* ================= HERO ================= */
.hero {
  min-height: 100vh;
  padding-top: 120px;
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: 900px;
  padding: 0 40px;
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px;
}

.hero p {
  margin-top: 24px;
  color: var(--text-muted);
  max-width: 720px;
}

/* ================= BUTTONS ================= */
.btn-group {
  margin-top: 40px;
  display: flex;
}

.btn {
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.35),
    transparent
  );
  transform: translateX(-100%);
}

.btn:hover::before {
  transform: translateX(100%);
  transition: transform 0.6s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.4);
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  border: none;
}

.btn.secondary {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  margin-left: 12px;
}

/* ================= SECTIONS ================= */
.section {
  padding: 120px 0;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 40px;
}

.container.narrow {
  max-width: 820px;
}

h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 30px;
  margin-bottom: 22px;
}

.emphasis {
  
  margin-bottom: 44px;
  font-weight: bolder;
}

/* ================= CAPABILITIES ================= */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 26px;
  margin-top: 44px;
}

.capability {
  padding: 26px;
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.capability:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.45);
}

/* ================= FOOTER ================= */
.footer {
  padding: 22px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* ================= WATERMARK ================= */
.bg-left,
.bg-right {
  position: relative;
  overflow: hidden;
}

.bg-left::after,
.bg-right::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 760px;
  height: 760px;
  background: url("assets/nobg.png") no-repeat center;
  background-size: contain;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.07;
}

.bg-left::after { left: -260px; }
.bg-right::after { right: -260px; }

.bg-left > *,
.bg-right > * {
  position: relative;
  z-index: 2;
}

body.light-theme .bg-left::after,
body.light-theme .bg-right::after {
  opacity: 0.12;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

  .nav-links {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    background: var(--bg-section);
    border-radius: 14px;
    padding: 20px;
    display: none;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    margin: 12px 0;
    font-size: 16px;
  }

  .menu-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 28px;
  }

  .btn-group {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    margin-bottom: 12px;
  }

  .btn.secondary {
    margin-left: 0;
  }

  .section {
    padding: 70px 0;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .bg-left::after,
  .bg-right::after {
    width: 360px;
    height: 360px;
    opacity: 0.05;
  }
}
/* ================= ENERGY BACKGROUNDS (THEME AWARE) ================= */

/* DARK THEME (DEFAULT) */
.energy {
  background:
    radial-gradient(
      900px 420px at 85% 30%,
      rgba(255, 106, 0, 0.35),
      transparent 60%
    ),
    radial-gradient(
      700px 360px at 20% 70%,
      rgba(255, 42, 0, 0.28),
      transparent 65%
    ),
    linear-gradient(
      180deg,
      #5a0000,
      #050505
    );
}

.energy-dark {
  background:
    radial-gradient(
      850px 420px at 15% 35%,
      rgba(195, 0, 0, 0.35),
      transparent 60%
    ),
    radial-gradient(
      600px 320px at 85% 65%,
      rgba(255, 42, 0, 0.25),
      transparent 65%
    ),
    linear-gradient(
      180deg,
      #c30000,
      #050505
    );
}

/* LIGHT THEME – SAME COLORS, SOFTER */
body.light-theme .energy {
  background:
    radial-gradient(
      900px 420px at 85% 30%,
      rgba(255, 106, 0, 0.22),
      transparent 65%
    ),
    radial-gradient(
      700px 360px at 20% 70%,
      rgba(255, 42, 0, 0.18),
      transparent 70%
    ),
    linear-gradient(
      180deg,
      #ffffff,
      #f2f2f2
    );
}

body.light-theme .energy-dark {
  background:
    radial-gradient(
      850px 420px at 15% 35%,
      rgba(195, 0, 0, 0.18),
      transparent 65%
    ),
    linear-gradient(
      180deg,
      #ffffff,
      #f4f4f4
    );
}
/* ================= WHAT WE DO ================= */

.section-intro {
  max-width: 820px;
  margin-bottom: 26px;
  color: var(--text-muted);
}

.whatwedo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 50px;
}

.whatwedo-card {
  background: var(--bg-card);
  padding: 32px;
  border-left: 3px solid var(--accent);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.whatwedo-card h3 {
  margin-bottom: 12px;
  font-family: 'Space Grotesk', sans-serif;
}

.whatwedo-card p {
  margin-bottom: 18px;
  color: var(--text-muted);
}

/* ================= WHAT WE DO – LIST TILES ================= */

.whatwedo-card ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.whatwedo-card li {
  list-style: none;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--accent);
  color: var(--text-main);
  font-size: 14px;
  position: relative;
  cursor: default;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

/* hover animation */
.whatwedo-card li:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}

/* subtle accent glow */
.whatwedo-card li::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.whatwedo-card li:hover::after {
  opacity: 1;
}

/* LIGHT THEME ADJUSTMENT */
body.light-theme .whatwedo-card li {
  background: rgba(0,0,0,0.04);
  color: #111;
}

body.light-theme .whatwedo-card li:hover {
  background: rgba(0,0,0,0.08);
}


.whatwedo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 38px rgba(0,0,0,0.45);
}

/* MOBILE */
@media (max-width: 768px) {
  .whatwedo-card {
    padding: 26px;
  }
}
/* ================= CONTACT SECTION ================= */

.contact .lead {
  margin-bottom: 36px;
  color: var(--text-muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.contact-card {
  background: var(--bg-card);
  padding: 28px;
  border-left: 3px solid var(--accent);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.45);
}

.contact-card h3 {
  margin-bottom: 14px;
  font-family: 'Space Grotesk', sans-serif;
}

.contact-link {
  display: block;
  margin-bottom: 10px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 14px;
}

.contact-link:hover {
  color: var(--accent);
}

.address {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.contact-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* BUTTON SIZE VARIANT */
.btn.small {
  padding: 10px 18px;
  font-size: 13px;
}

/* MOBILE */
@media (max-width: 768px) {
  .contact-card {
    padding: 24px;
  }
}
