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

body {
  background: #000;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  overflow-x: hidden;
}

/* =========================
   NAVBAR
========================= */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
}
.present {
    font-size: 50px;
}
.nav-links {
  color: black;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: inherit;
  font-weight: 500;
}

.nav-links a:hover {
  text-decoration: none;
}


.navbar {
  height: 48px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.navlogo img {
  height: 28px;
}

.heading {
  font-size: 18px;
  font-weight: 600;
  color: #000;
}

/* =========================
   BUTTON
========================= */
.introbutton {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.4);
  color: #000;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
}

.introbutton:hover {
  background: rgba(0, 0, 0, 0.08);
}

/* =========================
   HERO
========================= */
.hero {
  min-height: calc(100vh - 48px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 80px 10%;
  gap: 40px;
}

.hero-right img {
  width: 100%;
  max-width: 520px;
}

.hero-left .description {
  max-width: 560px;
  font-size: 18px;
  line-height: 1.6;
  color: #e8e8ed;
  transform: translateY(100%);
  animation: textReveal 1s ease-out forwards 0.4s;
}

@keyframes textReveal {
  to {
    transform: translateY(0);
  }
}

/* =========================
   FEATURES SECTION
========================= */
.features {
  display: flex;
  flex-direction: column;
  background: #000;
}

/* =========================
   FEATURE BOX
========================= */
.feature-box {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* IMAGE FADE-IN */
.feature-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.2s ease, transform 1.4s ease;
}

.feature-box.show img {
  opacity: 1;
  transform: scale(1);
}

/* =========================
   IMAGE BLEND FADE
========================= */
.feature-box::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 220px;
  background: linear-gradient(to bottom, transparent, #000);
  pointer-events: none;
}

.feature-box + .feature-box::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 220px;
  background: linear-gradient(to top, transparent, #000);
  pointer-events: none;
}

/* =========================
   FEATURE TEXT (LONG LINES)
========================= */
.feature-text {
  position: absolute;
  top: 50%;
  max-width: 720px; /* LONGER LINES */
  line-height: 1.65;
  color: #fff;

  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.feature-box.left .feature-text {
  left: 10%;
}

.feature-box.right .feature-text {
  right: 10%;
}

/* SHOW STATE */
.feature-text.show {
  opacity: 1;
  transform: translateY(-50%);
}

.feature-text h2 {
  font-size: 42px;
  margin-bottom: 24px;
  font-weight: 600;
}

.feature-text p {
  font-size: 18px;
  margin-bottom: 18px;
  color: #e8e8ed;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .feature-text {
    left: 6% !important;
    right: 6% !important;
    max-width: 100%;
  }

  .feature-text h2 {
    font-size: 30px;
  }
}
