/* Standardized Hero Section Styles for SmartersWEB Tech Landing Pages */

.hero-section {
  position: relative;
  padding: 6rem 0 4rem;
  overflow: hidden;
}

/* Base gradient background that can be customized per product */
.hero-section {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
}

/* Product-specific gradient backgrounds */
.hero-section.smartanswer-hero {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
}

.hero-section.smartsurvey-hero {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
}

.hero-section.smartreview-hero {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
}

.hero-section.smartforms-hero {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
}

.hero-section.smartfeed-hero {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
}

.hero-section.smartpopup-hero {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
}

.hero-section.smartbanner-hero {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
}

.hero-section.smartersites-hero {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
}

/* Optional pattern overlay */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/hero-pattern.svg');
  background-size: cover;
  opacity: 0.05;
  z-index: 0;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

/* Standard layout */
.hero-content {
  max-width: 600px;
}

/* Split layout with image */
.hero-split {
  display: flex;
  align-items: center;
  gap: var(--spacing-2xl);
}

.hero-split .hero-content {
  flex: 1;
}

.hero-split .hero-image {
  flex: 1;
}

/* Typography */
.hero-section h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
  line-height: 1.2;
}

.hero-section h1 .highlight {
  color: var(--primary-color);
}

.hero-section .hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--gray-700);
  max-width: 90%;
}

/* CTA Buttons */
.hero-cta {
  display: flex;
  gap: var(--spacing-md);
}

/* Hero Image */
.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-width: 100%;
  height: auto;
  border: 1px solid var(--gray-200);
}

/* Email Form */
.hero-form {
  display: flex;
  max-width: 500px;
  margin-top: var(--spacing-lg);
}

.hero-form input {
  flex: 1;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  font-size: 1rem;
  outline: none;
}

.hero-form .btn {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .hero-section {
    padding: 4rem 0 3rem;
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .hero-split {
    flex-direction: column;
    gap: var(--spacing-xl);
  }
  
  .hero-split .hero-image {
    order: -1;
  }
}

@media (max-width: 767px) {
  .hero-section h1 {
    font-size: 2.25rem;
  }
  
  .hero-section .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .hero-form {
    flex-direction: column;
  }
  
  .hero-form input {
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
  }
  
  .hero-form .btn {
    border-radius: var(--radius-md);
    width: 100%;
  }
}

@media (max-width: 575px) {
  .hero-section h1 {
    font-size: 2rem;
  }
}