/* Reset & base layout */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Orbitron', sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-color: #0a0a0a;  /* Darker base */
  color: #f0f0f0;             /* Softer white text */
}

section {
  padding: 6rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Parallax section */
.parallax {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 120vh;
  overflow: hidden;
  background-color: #0a0a0a; /* Darker fallback */
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 99% auto;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: -1;
  display: block;
  transform: translate3d(0, 0, 0);
}

/* Content sections */
.section-dark {
  background-color: #0b0b0b;
}

.section-light {
  background-color: #161616;
}

.video-section {
  background-color: #101010;
}

/* Headings */
h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 1rem;
}

/* Paragraphs */
p {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  line-height: 1.6;
}

/* CTA Button */
.cta-button {
  margin-top: 2rem;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  background-color: #00ffaa;
  color: #000;
  text-decoration: none;
  display: inline-block;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #00cc88;
}

/* Video styling */
.video-wrapper {
  width: 75%;
  aspect-ratio: 16 / 9;
  box-shadow: 0 0 25px rgba(0, 255, 170, 0.3);
  transition: transform 0.3s ease;
}

.video-wrapper:hover {
  transform: scale(1.01);
}

iframe {
  width: 100%;
  height: 100%;
}

.content-with-video {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
  padding: 0 2rem;
  text-align: center;
}

/* Footer */
footer {
  padding: 1rem;
  background: #000;
  text-align: center;
  font-size: 0.9rem;
  color: #ccc;
}

/* Mobile adjustments */
@media only screen and (max-width: 768px) {
  .parallax {
    height: 80vh;
  }

  .parallax-bg {
    height: 120%;
  }
}

/* === Desktop layout for alternating video/text === */
@media only screen and (min-width: 769px) {
  .content-with-video.content-left {
    flex-direction: row;
    text-align: left;
    justify-content: center;
    align-items: flex-start;
  }

  .content-with-video.content-right {
    flex-direction: row-reverse;
    text-align: left;
    justify-content: center;
    align-items: flex-start;
  }

  .content-with-video .video-wrapper {
    flex: 1;
    max-width: 50%;
    margin: 0;
  }

  .content-with-video p {
    flex: 1;
    max-width: 600px;
    padding: 0 2rem;
  }
}

/* === CTA buttons centered below content === */
.section-cta {
  display: block;
  margin: 2rem auto 0 auto;
}

