/* Hero Section Styles */
.hero {
  height: 100vh;
  background-image: none; /* remove background-image here! */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 0 20px;
  overflow: hidden;
}
/* Real background image as HTML */
.hero-bg-img {
  position: absolute;
  z-index: 0;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  pointer-events: none;
  user-select: none;
  transition: opacity 0.5s;
}

/* Gradient overlay above the image, below content */
.hero::after {
  content: '';
  position: absolute;
  z-index: 1;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6));
}

/* Content above background, overlay */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px;
  text-align: center;
  animation: fadeIn 1.2s ease-out forwards;
}

.hero h1 {
  font-size: 4.5rem; /* Slightly reduced to fit in one line */
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.1;
  letter-spacing: -1px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  opacity: 0;
  animation: fadeInUp 0.8s 0.3s ease-out forwards;
  white-space: nowrap; /* Keep all words in one line */
}

.hero h1 span {
  color: #ff6b35;
  text-shadow: 0 0 15px rgba(255, 107, 53, 0.5);
}

.tagline {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: #000; /* Black text */
  background-color: rgba(255, 255, 255, 0.9); /* White background */
  display: inline-block;
  padding: 8px 20px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid white; /* White border */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  opacity: 0;
  animation: fadeInUp 0.8s 0.5s ease-out forwards;
}

.hero-line {
  width: 150px;
  height: 4px;
  background: #ff6b35;
  margin: 0 auto 30px;
  border-radius: 2px;
  opacity: 0;
  animation: growLine 1s 0.7s forwards;
  transform: scaleX(0);
  transform-origin: center;
  box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.hero-btn {
  background: linear-gradient(135deg, #ff6b35, #ff9e58);
  color: white;
  border: none;
  padding: 16px 45px;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 30px 0 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  animation: fadeInUp 1s 0.9s forwards;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
  z-index: -1;
}

.hero-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, #ff5a1f, #ff8c42);
}

.hero-btn:hover::before {
  left: 100%;
}

.hero-description {
  font-size: 1.3rem;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  opacity: 0;
  animation: fadeInUp 1s 1.1s forwards;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes growLine {
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .hero h1 {
    font-size: 4rem; /* Adjust for large screens */
  }
}

@media (max-width: 992px) {
  .hero h1 {
    font-size: 3.5rem;
    white-space: normal; /* Allow wrapping on smaller screens */
  }
  
  .hero-description {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .tagline {
    font-size: 1.2rem;
    padding: 6px 15px;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  .hero-btn {
    padding: 14px 35px;
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero-content {
    padding: 20px;
  }
  
  .tagline {
    font-size: 1rem;
    padding: 5px 12px;
  }
  
  .hero-btn {
    padding: 12px 30px;
    font-size: 1rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
}