/**
 * Hero Glass Effect Full Width Fix and Subtitle Enhancement
 * Created: June 22, 2025
 */

/* Extend glass effect to full width */
.hero-content-wrapper {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  padding: 0 !important;
  
  /* Enhanced glass effect with better edge blending */
  background: 
    /* Subtle noise texture */
    url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj4KPGZpbHRlciBpZD0ibm9pc2UiPgo8ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iMC45IiBudW1PY3RhdmVzPSI0IiAvPgo8L2ZpbHRlcj4KPHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsdGVyPSJ1cmwoI25vaXNlKSIgb3BhY2l0eT0iMC4wMTUiLz4KPC9zdmc+'),
    /* Smoother gradient from edge to edge */
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0.12) 10%,
      rgba(255, 255, 255, 0.15) 30%,
      rgba(255, 255, 255, 0.15) 70%,
      rgba(255, 255, 255, 0.12) 90%,
      rgba(255, 255, 255, 0.08) 100%
    ) !important;
  
  /* Stronger backdrop filter for better glass effect */
  backdrop-filter: blur(50px) saturate(150%) brightness(1.05) !important;
  -webkit-backdrop-filter: blur(50px) saturate(150%) brightness(1.05) !important;
  
  /* Remove side borders for seamless edge */
  border-left: none !important;
  border-right: none !important;
  border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
  
  /* Enhanced shadow for depth */
  box-shadow: 
    0 0 120px rgba(0, 0, 0, 0.3),
    0 10px 40px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1) !important;
}

/* Ensure content stays centered with proper padding */
.hero-content {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 4rem 2rem !important;
  position: relative !important;
  z-index: 10 !important;
}

/* Enhanced subtitle for better visibility */
.hero-subtitle {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: clamp(1.375rem, 3vw, 1.875rem) !important; /* Slightly larger */
  font-weight: 500 !important; /* Slightly bolder */
  color: #FFFFFF !important; /* Pure white for better contrast */
  margin-bottom: 3rem !important;
  line-height: 1.6 !important;
  text-shadow: 
    3px 3px 6px rgba(0, 0, 0, 0.9),
    0 0 30px rgba(0, 0, 0, 0.7),
    0 0 60px rgba(0, 0, 0, 0.4) !important; /* Stronger shadow */
  opacity: 1 !important; /* Full opacity */
  letter-spacing: 0.02em !important; /* Slight letter spacing for elegance */
  max-width: 800px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Add subtle glow to subtitle on hover */
.hero-section-enhanced:hover .hero-subtitle {
  text-shadow: 
    3px 3px 6px rgba(0, 0, 0, 0.9),
    0 0 30px rgba(0, 0, 0, 0.7),
    0 0 60px rgba(0, 0, 0, 0.4),
    0 0 10px rgba(255, 215, 0, 0.2) !important; /* Subtle golden glow */
  transition: text-shadow 0.3s ease !important;
}

/* Ensure the hero section handles the full width properly */
.hero-section-enhanced {
  overflow-x: hidden !important; /* Prevent horizontal scroll */
  position: relative !important;
}

/* Edge fade effect for smoother blending */
.hero-content-wrapper::before,
.hero-content-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  pointer-events: none;
  z-index: 1;
}

.hero-content-wrapper::before {
  left: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.1) 0%,
    transparent 100%
  );
}

.hero-content-wrapper::after {
  right: 0;
  background: linear-gradient(
    270deg,
    rgba(0, 0, 0, 0.1) 0%,
    transparent 100%
  );
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-subtitle {
    font-size: 1.25rem !important;
    padding: 0 1rem !important;
  }
  
  .hero-content-wrapper {
    /* Ensure full width on mobile too */
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
  }
}