
/* ==== HOME PAGE ==== */

/* Hero Section */
.hp-homepage-details-section {
  position: relative;
  height: auto;              /* Let content define height */
  min-height: 100vh;         /* Still fills screen if needed */
  overflow: visible;         /* Allow full image to show */
}

/* Fullwidth Code Container */
.hp-homepage-details-section-fullwidth_code {
  position: relative;
  width: 100%;
	min-height: 105vh;
	aspect-ratio: 4 / 2;
  overflow: hidden;
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
}


/* Background Image Container */
#hp-bg-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
}


/* Background Image Base */
.hp-homepage-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  background-color: #000;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 0;
}


/* Image Cycling Layer */
.bg-cycle {
  position: absolute; /* ✅ Needed for stacking */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 0;
}

.bg-cycle.active {
  opacity: 1;
  z-index: 1;
}

/* Overlay Container */
.hp-homepage-hero-overlay {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 400px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 2rem;
  background: none;
}

/* Logo */
.hp-homepage-hero-logo {
  max-width: 170px;
  height: auto;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.5));
}

/* Heading Text */
.hp-homepage-hero-overlay h1 {
  font-size: 3.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #fff;
  text-shadow:
    2px 2px 6px rgba(0, 0, 0, 0.5),
    0 0 10px rgba(255, 255, 255, 0.2);
  opacity: 0;
  animation: fadeInText 1.5s ease-out forwards;
  animation-delay: 0.5s;
}

/* Subheading Text */
.hp-homepage-hero-overlay p {
  font-size: 1.25rem;
  font-weight: 400;
  margin-top: 0;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
  opacity: 0;
  animation: fadeInText 2s ease-out forwards;
  animation-delay: 1s;
}

/* Text Fade-In Animation */
@keyframes fadeInText {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Noscript Fallback Styling */
@media screen {
  .bg-cycle:not(.active) {
    display: none;
  }
}
