/* ------------ HERO SECTION ----------- */
.hero-section {
  background-image: url("/public/images/hero/hero-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  width: 100%;
  padding: 70px clamp(20px, 5vw, 90px) 0;
}


.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px; /* Altura del gradiente */
  background: linear-gradient(to bottom, 
    transparent 0%, 
    rgba(20, 61, 102, 0.3) 30%, 
    #143D66 80%);
  z-index: 1;
}

.hero-overlay {
  width: 100%;
  padding: 70px clamp(20px, 5vw, 90px) 0;
  position: relative; /* Asegurar que esté por encima del gradiente */
  z-index: 2;
}
.hero-content-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.hero-text-content {
  flex: 1 1 500px;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
  padding-bottom: 80px;
}

.hero-heading {
  font-size: clamp(36px, 6vw, 70px);
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subheading {
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Search Form Styles */
.hero-property-search {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.hero-search-container {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  height: 60px;
  transition: all 0.3s ease;
}

.hero-search-container:hover {
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.hero-filter-group {
  display: flex;
  align-items: center;
  padding: 0 15px 0 20px;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  height: 100%;
  min-width: 180px;
  position: relative;
}

.hero-search-filter {
  border: none;
  background: transparent;
  font-size: 15px;
  color: #333;
  cursor: pointer;
  width: 100%;
  height: 100%;
  appearance: none;
  padding-right: 25px;
  font-weight: 500;
}

.hero-search-filter:focus {
  outline: none;
}

.hero-search-group {
  display: flex;
  align-items: center;
  flex-grow: 1;
  padding: 0 15px;
  height: 100%;
}

.hero-search-input {
  border: none;
  background: transparent;
  font-size: 15px;
  width: 100%;
  height: 100%;
  padding: 0 10px;
  color: #444;
}

.hero-search-input::placeholder {
  color: #999;
}

.hero-search-input:focus {
  outline: none;
}

.hero-search-button {
  background-color: #286AAD;
  color: white;
  border: none;  
  padding: 0 25px;
  height: 100%;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-search-button:hover {
  background-color: #1E5A8A;
}

.hero-search-button:active {
  transform: scale(0.98);
}

/* Icons */
.filter-icon,
.search-icon {
  color: #777;
  font-size: 20px;
}

/* Dropdown arrow for select */
.hero-filter-group::after {
  content: "expand_more";
  font-family: 'Material Symbols Outlined';
  position: absolute;
  right: 15px;
  pointer-events: none;
  color: #777;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-overlay {
    padding: 50px 20px 0;
  }
  
  .hero-text-content {
    padding-bottom: 60px;
  }
  
  .hero-search-container {
    flex-direction: column;
    height: auto;
    border-radius: 15px;
  }
  
  .hero-filter-group, 
  .hero-search-group {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 15px;
    height: 55px;
  }
  
  .hero-search-button {
    width: 100%;
    justify-content: center;
    padding: 15px;
    height: 55px;
  }
}

@media (max-width: 480px) {
  .hero-heading {
    font-size: clamp(28px, 7vw, 36px);
  }
  
  .hero-subheading {
    margin-bottom: 1.5rem;
  }
}