/* =========================================
   HERO SECTION STYLES
   ========================================= */

/* Hero Wrapper */
.hero-wrapper {
  position: relative;
  min-height: 100vh;
  width: 100%;
}

/* Ensure background image covers properly */
.hero-wrapper[style*="background-image"] {
  background-attachment: scroll;
  background-size: cover;
  background-position: center;
}

/* Dark Overlay */
.hero-wrapper > div:first-of-type {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

/* Hero Content Wrapper */
.hero-wrapper > div:last-of-type {
  position: relative;
  z-index: 10;
}

/* =========================================
   CLEANUP FOR DRUPAL WRAPPERS
   ========================================= */

/* Hide Layout Builder wrapper elements */
.hero-wrapper .layout,
.hero-wrapper .layout__region,
.block-inline-blockhero-section .layout,
.block-inline-blockhero-section .layout__region {
  display: contents;
}

/* Hide field labels */
.hero-wrapper .field__label,
.block-inline-blockhero-section .field__label {
  display: none !important;
}

/* Remove default block styling */
.hero-wrapper .block,
.block-inline-blockhero-section .block {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* =========================================
   HERO CONTENT STYLES
   ========================================= */

.hero-content {
  position: relative;
  z-index: 10;
  text-align: left;
  color: #ffffff;
}

.hero-content h1 {
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.125rem;
  line-height: 1.75;
  color: #ffffff;
  margin-bottom: 2rem;
}

/* =========================================
   HERO LOGO
   ========================================= */

.hero-logo-wrapper,
.hero-logo {
  position: relative;
  text-align: center;
}

.hero-logo-wrapper img,
.hero-logo img {
  max-width: 400px;
  width: 100%;
  height: auto;
  animation: float 3s ease-in-out infinite;
}

/* Float animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* =========================================
   BUTTON STYLES
   ========================================= */

.hero-wrapper a[class*="bg-orange"] {
  display: inline-block;
  background-color: #f97316;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1rem 2rem;
  border-radius: 0.25rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-wrapper a[class*="bg-orange"]:hover {
  background-color: #ea580c;
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.4);
}

/* =========================================
   RESPONSIVE STYLES
   ========================================= */

@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-logo-wrapper {
    margin-top: 3rem;
    text-align: center;
  }

  .hero-logo-wrapper img {
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero-wrapper {
    min-height: auto;
    padding: 4rem 0;
  }

  .hero-content {
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-logo {
    margin-top: 2rem;
  }
}
