/**
 * Contact Header Section Styles
 *
 * @package wbl
 */

/* ================================================================
   CONTACT HEADER SECTION
   ================================================================ */

.contact-header {
  position: relative;
  padding: var(--spacing-xxl) 0 var(--spacing-xl) 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #121212;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.contact-header__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(18, 18, 18, 0.8) 0%, 
    rgba(18, 18, 18, 0.6) 50%, 
    rgba(18, 18, 18, 0.8) 100%);
  z-index: 1;
}

.contact-header .container {
  position: relative;
  z-index: 2;
}

.contact-header__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact-header__title {
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-header__subtitle {
  font-size: var(--font-size-h5);
  color: var(--color-white);
  opacity: 0.95;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  margin-bottom: 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.contact-header__bg-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* ================================================================
   RESPONSIVE DESIGN
   ================================================================ */

/* Tablet Styles */
@media (max-width: 992px) {
  .contact-header {
    padding: var(--spacing-xl) 0;
    min-height: 350px;
  }
  
  .contact-header__title {
    font-size: 2.5rem;
  }
  
  .contact-header__subtitle {
    font-size: var(--font-size-body);
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  .contact-header {
    padding: var(--spacing-lg) 0;
    min-height: 300px;
  }
  
  .contact-header__title {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
  }
  
  .contact-header__subtitle {
    font-size: var(--font-size-small);
  }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
  .contact-header__title {
    font-size: 1.75rem;
  }
}


/* ================================================================
   ANIMATION SUPPORT
   ================================================================ */

@media (prefers-reduced-motion: no-preference) {
  .contact-header__content {
    animation: fadeInUp 1s ease-out;
  }
  
  .contact-header__title {
    animation: fadeInUp 1s ease-out 0.2s both;
  }
  
  .contact-header__subtitle {
    animation: fadeInUp 1s ease-out 0.4s both;
  }
}

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

/* ================================================================
   ACCESSIBILITY
   ================================================================ */

/* High contrast mode support */
@media (prefers-contrast: high) {
  .contact-header__overlay {
    background: rgba(0, 0, 0, 0.8);
  }
  
  .contact-header__title,
  .contact-header__subtitle {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  }
}

/* ================================================================
   ALTERNATIVE LAYOUTS
   ================================================================ */

/* Left-aligned variant */
.contact-header--left-align .contact-header__content {
  text-align: left;
  max-width: none;
}


/* Compact variant */
.contact-header--compact {
  padding: var(--spacing-xl) 0 var(--spacing-lg) 0;
  min-height: 250px;
}

.contact-header--compact .contact-header__title {
  font-size: var(--font-size-h2);
}

.contact-header--compact .contact-header__subtitle {
  font-size: var(--font-size-body);
}

/* No background variant */
.contact-header--no-bg {
  background-image: none;
  background-color: #121212;
}

.contact-header--no-bg .contact-header__overlay {
  display: none;
}