/**
 * Hero Block Styles
 * 
 * Modern hero section with Bootstrap integration
 * Supports background images/videos, overlay gradients, and service cards
 */

/* Base Hero Styles */
.hero {
  position: relative;
  min-height: 60vh;
  padding: clamp(4rem, 15vh, 10rem) 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
}

/* Dark Overlay Gradient */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

/* Content above overlay */
.hero > * {
  position: relative;
  z-index: 2;
}

/* Background Video */
.hero-background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
}

/* Hero Content */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-subline {
  color: var(--brand-secondary-color, #3498db);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
}

.hero-title {
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  line-height: 1.1;
}
.hero-title em{
  display:block;
  font-style:normal;
  color:var(--brand-secondary-color);
}

.hero-text,
.hero-content-secondary {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.125rem;
  line-height: 1.7;
}

.hero-content-secondary {
  padding-top: 1.8rem;
}

/* Service Card */
.hero.has-card {
  margin-bottom: 8rem;
  padding-bottom: 4rem;
}

.hero-service-card {
  transform: translateY(50%);
  background: linear-gradient(
    90deg,
    var(--brand-secondary-color, #2c3e50) 0%,
    var(--brand-secondary-color-lighter, #34495e) 100%
  );
  color: white;
  overflow: hidden;
}

.hero-card-image {
  object-fit: cover;
}

.hero-card-content {
  padding: 2rem;
}

.hero-card-content .card-title {
  color: white;
  margin-bottom: 1rem;
  word-wrap: break-word;
}

.hero-card-content .card-text {
  color: rgba(255, 255, 255, 0.9);
}

/* Contact Buttons (Fixed Sidebar) */
.hero-contact-buttons {
  bottom: 50px;
  z-index: 1000;
}

.hero-contact-buttons .btn {
  width: 60px;
  height: 50px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px 0 0 30px !important;
  box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-contact-icon {
  width: 20px;
  height: 20px;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .hero {
    padding: clamp(3rem, 10vh, 8rem) 0;
  }
  
  .hero-service-card .col-md-4 {
    display: none;
  }
  
  .hero-content-secondary {
    padding-top: 2rem;
  }
}

@media (max-width: 767.98px) {
  .hero {
    min-height: 50vh;
  }
  
  .hero::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
  }
  
  .hero-title {
    font-size: 2rem !important;
  }
  
  .hero-contact-buttons .btn {
    width: 50px;
    height: 45px;
    opacity: 0.9;
  }
  
  .hero-contact-icon {
    width: 18px;
    height: 18px;
  }
  
  .hero.has-card {
    margin-bottom: 4rem;
  }
  
  .hero-service-card {
    transform: translateY(0);
    margin-top: 2rem;
  }
}
