/* ---------- Site Header ---------- */

.site-header {
  position: relative;
  z-index: 3000;

  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #333;
  padding: 0.9rem 1.6rem;
  background: #111;
}

.header-left {
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  color: #575656bb;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  font-size: small;
  color: rgba(87, 235, 255, 0.366);
}


.logo-img {
  height: 20px;
  object-fit: contain;
}

.site-nav a {
  margin-left: 1.4rem;
  color: #ccc;
  font-size: 0.9rem;
  letter-spacing: 0.2px;
}

.site-nav a:hover {
  color: #fff;
}

/* ---------- Page Layout ---------- */

.page-content {
  flex: 1;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 0.8rem 1.5rem;
  border-top: 1px solid #333;
  background: #111;
  color: #aaa;
  font-size: 0.8rem;
  text-align: center;
}

.home{
  background-color: black;
}

.hero-section {
  height: 100svh;
  padding: 4rem 1.5rem;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden; /* both axes */
}

/* Shared content width */
.home-content {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

/* Headline text */
.hero-text {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 1.4rem;
}

/* Supporting paragraph */
.hero-subtext {
  font-size: 1.1rem;
  color: #ccc;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto 2.2rem;
}

/* ---------- Scroll Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Section 1 Background ---------- */

.hero-bg {
  background-image: url("../assets/images/home-bored-keyboard.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0.1),
    rgba(17, 17, 17, 0.7)
  );
}
/* ---------- Section 2 ---------- */

.section-2 {
  position: relative;
  background-color: black;
}

.section2-overlay {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background-color: #000;
}

.section2-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  padding: 3rem;
}


/* ---------- Section 3 Background ---------- */

.section-bg {
  background-image: url("../assets/images/section3-steering.webp");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.section-bg-overlay {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0, 0, 0, 0.55);
}
/* ---------- Section 3 Typography Layers ---------- */

.section3-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  padding: 3rem;
}

/* Very large top title */
.section3-title {
  display: flex;
  flex-direction: column;
  font-size: clamp(3rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.section3-title span:first-child{
  color: rgba(87, 235, 255, 0.829);
}


/* STOP / START emphasis */
.section3-tagline {
  margin: 0.6rem 0;
}

.section3-tagline span {
  display: block;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.8px;
  line-height: 1.1;
}

.section3-tagline span:first-child {
  color: rgba(87, 235, 255, 0.829);
}

.section3-tagline span:last-child {
  color: #ffffff;
}
.section3-content {
  padding-bottom: 3rem;
}

/* ---------- Hamburger Button ---------- */

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #ccc;
  transition: 0.3s ease;
}

/* ---------- Mobile Navigation ---------- */

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;

    display: none;
    flex-direction: column;
    background: #111;
    border-bottom: 1px solid #333;
  }

  .site-nav a {
    padding: 1rem 1.6rem;
    margin: 0;
    border-top: 1px solid #222;
  }

  .site-nav.open {
    display: flex;
  }
}
