/**
 * Page Banner Styles - MORE VISIBLE for testing
 */

.page-banner {
  /* Much more visible gradient */
  background: linear-gradient(135deg, #008c95 0%, #4ebcc5 50%, #8dd5db 100%);
  min-height: 30vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 60px;
  padding-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 140, 149, 0.15);
}

/* Parallax background layer - VERY VISIBLE */
.page-banner__parallax-bg {
  position: absolute;
  top: -20%;
  left: 0;
  right: 0;
  bottom: -20%;
  z-index: 0;
  will-change: transform;
  
  /* Very visible animated gradient overlay */
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(0, 0, 0, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
  
  /* More noticeable breathing animation */
  animation: colorBreathe 10s ease-in-out infinite;
}

/* More visible color animation */
@keyframes colorBreathe {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  25% {
    opacity: 0.7;
    transform: scale(1.02);
  }
  50% {
    opacity: 0.3;
    transform: scale(0.98);
  }
  75% {
    opacity: 0.6;
    transform: scale(1.01);
  }
}

/* Visible geometric pattern overlay */
.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.15;
  background-image: 
    repeating-linear-gradient(45deg, transparent, transparent 30px, rgba(255, 255, 255, 0.1) 30px, rgba(255, 255, 255, 0.1) 60px);
  z-index: 1;
  pointer-events: none;
}

/* Moving dots pattern for visual interest */
.page-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.1;
  background-image: 
    radial-gradient(circle at 2px 2px, white 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
  pointer-events: none;
  animation: moveDots 20s linear infinite;
}

@keyframes moveDots {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(40px, 40px);
  }
}

.page-banner__inner {
  text-align: center;
  max-width: 1200px;
  width: 100%;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
}

.page-banner__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw + 1rem, 4rem);
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  letter-spacing: -0.02em;
  /* Add subtle animation to title */
  animation: titleFadeIn 1s ease-out;
}

@keyframes titleFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-banner__subtitle {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 60ch;
  margin: 1.5rem auto 0;
  line-height: 1.6;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-banner {
    min-height: 22vh;
    padding-top: 50px;
    padding-bottom: 1.75rem;
    /* Simpler gradient on mobile */
    background: linear-gradient(135deg, #008c95 0%, #4ebcc5 100%);
  }
  
  .page-banner__title {
    font-size: clamp(2rem, 4vw + 1rem, 3rem);
  }
  
  .page-banner__subtitle {
    font-size: 1rem;
    margin-top: 1rem;
  }
  
  /* Disable animations on mobile */
  .page-banner__parallax-bg,
  .page-banner::after {
    animation: none;
  }
  
  .page-banner::before,
  .page-banner::after {
    display: none;
  }
}

/* Remove default Drupal margins in highlighted region */
.highlighted-wrapper {
  margin: 0;
  padding: 0;
}

.highlighted-wrapper .container {
  max-width: 100%;
  padding: 0;
}

/* Visually hidden h1 for SEO/accessibility */
.visually-hidden {
  position: absolute !important;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
  word-wrap: normal;
}

/* Hide entire banner on small mobile devices */
@media (max-width: 480px) {
  .page-banner {
    min-height: 18vh;
    padding-top: 35px;
  }
  
  .page-banner__title {
    font-size: 1.75rem;
  }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .page-banner__parallax-bg,
  .page-banner::after,
  .page-banner__title {
    animation: none;
  }
}