/*
  Landing page
*/

#content-container {
  padding: 0 !important;
}

.content-boxed:has(.landing-page) {
  margin: 0 auto;
  padding: 0;
  max-width: 1280px !important;
}

.landing-hero h1,
.landing-section h2 {
  font-family: 'Inter', sans-serif;
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.2;
}

.landing-text {
  font-size: 1rem;
  line-height: 1.5;
  color: #333332;
  max-width: 620px;
}

.landing-with-bg-img h1,
.landing-with-bg-img h2,
.landing-with-bg-img .landing-text {
  color: white;
}

/* Buttons */
.landing-cta-button {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  padding: 10px 15px;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  cursor: pointer;
  margin-block: 30px;
  text-transform: none !important;
  transition: background-color 0.3s;
}

.landing-cta-button:hover {
  color: white;
  opacity: 0.85 !important;
}

.landing-cta-button-orange { 
  background-color: #F07D00 !important;
  color: white;
}

.landing-cta-button-blue {
  background-color: #32829D !important;
  color: white;
}

.landing-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Hero Section */
.landing-hero .video-container {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 56.25%;
  overflow: hidden;
}

.landing-hero .video-container video,
.landing-hero .video-container .video-placeholder,
.landing-hero .video-container .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-hero .video-container video {
  display: none;
}

.landing-hero .overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.landing-hero .overlay-button-container {
  position: absolute;
  bottom: 10px;
  right: 50px;
  z-index: 2;
  width: fit-content;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: end;
}

@media (min-width: 600px) {
  .landing-hero .video-container video {
      display: block;
  }
  .landing-hero .video-container .video-placeholder {
      display: none;
  }
}

@media (max-width: 599px) {
  .landing-hero .video-container {
      padding-top: 80%;
  }

  .landing-hero .overlay-button-container {
    bottom: 0;
    right: 20px;
  }
}

.landing-hero .video-container .overlay {
  background: rgba(0, 0, 0, 0.4);
}

.landing-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  max-width: 800px;
  flex-grow: 1;
}

.landing-hero .landing-cta-row .landing-cta-button {
  background-image: url(/wp-content/themes/thestory/images/help-icon.svg);
  background-size: 24px;
  background-repeat: no-repeat;
  background-position: left 12px center;
  padding-left: 46px;
}

/* Robotics Control Section */
.landing-robotics-control {
  padding: 70px 50px 80px 50px;
  background-color: #FFFFFF;
}

.landing-control-images {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 10%;
  margin-top: 20px;
  flex-wrap: wrap;
}

.landing-control-img {
  max-width: 45%;
  width: 100%;
  height: auto;
  margin-top: 20px;
}

/* Programming Section */
.landing-programming {
  height: 640px;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
              url('/wp-content/uploads/2025/03/landing_img_03.jpg') top/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

/* Robot Cells Section */
.landing-robot-cells {
  padding: 64px;
  background-color: #FFFFFF;
}

.landing-cell-content {
  box-sizing: border-box;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 30px;
  background-color: #F7F7F7;
}

.landing-cell-text {
  padding: 30px;
  text-align: left;
}

.landing-cell-slider {
  height: 100%;
  flex: 1;
}

/* Software Section */
.landing-software {
  padding: 40px 20px 80px 20px;
  text-align: center;
  background-color: #FFFFFF;
}

.landing-software-img {
  max-width: 680px;
  width: 100%;
  height: auto;
  margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .landing-hero h1,
  .landing-section h2 {
    font-size: 2.5rem;
  }

  .landing-robot-cells {
    padding: 40px;
  }

  .landing-software {
    padding-top: 40px;
  }

  .landing-robot-cells .landing-cell-content {
    flex-direction: column;
    text-align: center;
  }

  .landing-cell-text {
    text-align: center;
  }
}


@media (max-width: 768px) {
  .landing-hero h1,
  .landing-section h2 {
    font-size: 2rem;
  }

  .landing-hero .landing-cta-row {
    margin-right: auto;
  }

  .landing-robot-cells {
    padding: 10px 0;
  }

  .landing-programming {
    height: 500px;
  }

  .landing-cell-content {
    flex-direction: column;
    text-align: center;
  }

  .landing-control-images {
    flex-direction: column;
    align-items: center;
  }

  .landing-control-img {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .landing-hero h1,
  .landing-section h2 {
    font-size: 1.7rem;
    line-height: 1.4;
  }

  section {
    padding: 40px 20px;
  }
}