/**
 * Homepage Hero Section Styles
 * Template Part: template-parts/homepage/hero.php
 */

/* Hero Section - Professional Premium Design */
.hero-section {
  position: relative;
  height: calc(100vh - var(--header-height));
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-bottom: 0; /* Connect with business solutions section */
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 8s ease;
}

.hero-section:hover .hero-image {
  transform: scale(1.05);
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.hero-content {
  color: var(--color-white);
  max-width: 650px;
  animation: fadeInUp 1s ease both;
  animation-delay: 0.3s;
}

.hero-title {
  font-size: calc(var(--font-size-2xl) + 1vw);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-xl);
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--color-white) 0%, rgba(255,255,255,0.8) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-value-props {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.value-prop {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.value-prop i {
  font-size: var(--font-size-xl);
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.15);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s var(--transition-bounce);
}

.value-prop:hover i {
  transform: scale(1.15);
  background: rgba(255, 255, 255, 0.25);
  color: var(--color-primary-light);
}

.value-prop p {
  margin: 0;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
}

.hero-ctas {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .hero-section {
    min-height: 550px;
  }
  
  .hero-title {
    font-size: var(--font-size-3xl);
  }
}

@media (max-width: 767px) {
  .hero-section {
    height: auto;
    padding: var(--space-3xl) 0;
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  
  .hero-value-props {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-ctas {
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .hero-title {
    font-size: var(--font-size-2xl);
  }
  
  .hero-value-props {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary {
    width: 100%;
    text-align: center;
  }
}
