.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #e8e6e1 0%, #f5f3ed 100%);
}

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

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  display: block;
}

/* Improved overlay for better text contrast */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 0 var(--spacing-md);
}

/* Added text shadow and changed color to white for better readability */
.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  margin-bottom: var(--spacing-md);
  color: #ffffff;
  letter-spacing: 2px;
  line-height: 1.1;
  font-weight: 600;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Changed subtitle to white with text shadow */
.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: #f5f5f5;
  margin-bottom: var(--spacing-xl);
  font-weight: 400;
  letter-spacing: 0.5px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7), 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-cta {
  display: inline-flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  padding: 1.2rem 3rem;
  font-size: 1rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(61, 90, 79, 0.3);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--color-stone-dark);
  transition: var(--transition-smooth);
  z-index: -1;
}

.btn-primary:hover::before {
  left: 0;
}

/* Improved secondary button contrast with white border and text */
.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 2px solid #ffffff;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 1);
  color: var(--color-stone-dark);
  border-color: #ffffff;
}

/* Updated scroll indicator to white for visibility */
.scroll-indicator {
  position: absolute;
  bottom: var(--spacing-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-indicator span {
  display: block;
  width: 2px;
  height: 40px;
  background: #ffffff;
  margin: 0 auto;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .hero {
    height: 100svh;
  }

  .hero-title {
    font-size: 2.5rem;
    letter-spacing: 1px;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    padding: 0 var(--spacing-sm);
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
    padding: 0 var(--spacing-md);
  }

  .btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 0.9rem;
  }

  .scroll-indicator {
    bottom: var(--spacing-md);
  }

  .scroll-indicator span {
    height: 30px;
  }
}
