/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  /* full screen */
  display: flex;
  align-items: center;
  justify-content: flex-end;
  /* text on the right */
  color: #fff;
  overflow: hidden;

  /* Base gradient background (used when no images present) */
  background: linear-gradient(var(--color1), var(--color5));
}

/* Optional: you can keep this class to be explicit, but the base gradient already covers it */
.hero--no-images {
  /* nothing extra needed; base gradient already applies */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Gradient overlay always visible (on top of images or base gradient) */
  background: linear-gradient(var(--color1), var(--color5));
  opacity: 0.5;
  /* adjust transparency */
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  /* above overlay */
  max-width: 50%;
  padding: 2rem 5rem 2rem 2rem;
  text-align: right;
}

/* Typography */
.hero h1 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: #a9c0bb;
}

.hero-link {
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: underline;
  color: #fff;
  transition: color 0.3s ease;
}

.hero-link:hover {
  color: #e0e0e0;
}

.hero-link .arrow {
  margin-left: 0.5rem;
  font-size: 1.2rem;
  text-decoration: none;
}



.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 3s ease;
}

.hero-slide.active {
  opacity: 1;
}

/* Motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }
}


.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  /* start hidden */
  transition: opacity 3s ease;
  /* 3s fade as requested */
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(var(--color1), var(--color5));
  opacity: .5;
  z-index: 2;
}

.hero {
  background: linear-gradient(var(--color1), var(--color5));
  /* fallback when no images */
}

.hero-content {
  position: relative;
  z-index: 3;
}

/* Powered by badge */
.hero-poweredby {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 4;
    display: flex
;
    flex-direction: row;
    align-items: center;
    gap: 0px;
    pointer-events: none;
    opacity: 0.5;
}

.hero-poweredby__text {
  display:none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}

.hero-poweredby__logo {
  max-width: 120px;
  /* small logo */
  height: auto;
  opacity: .5;
  /* requested transparency */
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35));
  user-select: none;
  -webkit-user-drag: none;
}

@media (max-width: 560px) {
  .hero-poweredby__logo {
    max-width: 90px;
  }

  .hero-poweredby__text {
    font-size: .75rem;
  }
}