/* ==================== STYLES */
.home-section {
  background-image: url('/assets/img/home_background.png');
  background-size: 100% 70vh;
  background-position: center top;
  background-repeat: no-repeat;
  position: relative;
}

.home-search-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 112px 0px 52px 0px;
}

.home-search-title {
  width: 100%;
  /* max-width: 900px; */
  font-size: 48px;
  color: var(--neutral-800);
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
}

.highlight {
  font-size: inherit; /* Inherit from parent title */
  background: linear-gradient(90deg, var(--black-color2) 0%, var(--black-color5) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-search-subtitle {
  width: 600px;
  max-width: 90%;
  margin: 20px 0px 32px 0px;
  color: var(--black-color4);
  font-size: 16px;
  text-align: center;
  line-height: 1.5;
}

.home-search-input-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 900px;
  max-width: 95%;
  background-color: white;
  box-shadow: 0px 4px 20px rgba(6, 3, 54, 0.08);
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid var(--neutral-200);
  transition: all 0.3s ease;
}

.home-search-input-wrapper:focus-within {
  border-color: var(--primary-400);
  box-shadow: 0px 4px 25px rgba(6, 3, 54, 0.12);
}

.home-search-input-wrapper i {
  color: var(--primary-600);
  margin-right: 12px;
  font-size: 18px;
}

input.home-search-input {
  flex: 1;
  font-size: 16px;
  color: var(--neutral-800);
  border: none;
  outline: none;
  background: transparent;
}

input.home-search-input::placeholder {
  color: var(--neutral-400);
}

/* ==================== RESPONSIVE */

/* Medium Desktop / Small Desktop (1200px - 1400px) */
@media (max-width: 1399px) {
  .home-search-title {
    font-size: 42px;
  }
}

/* Tablet Landscape (992px - 1199px) */
@media (max-width: 1199px) {
  .home-search-section {
    padding: 80px 0px 40px 0px;
  }
  .home-search-title {
    font-size: 38px;
    max-width: 80%;
  }
  .home-search-subtitle {
    font-size: 15px;
    margin-bottom: 24px;
  }
}

/* Tablet Portrait (768px - 991px) */
@media (max-width: 991px) {
  .home-search-title {
    font-size: 34px;
  }
  .home-search-subtitle {
    width: 90%;
    font-size: 14px;
  }
  .home-search-input-wrapper {
    padding: 10px 16px;
  }
}

/* Mobile Large (576px - 767px) */
@media (max-width: 767px) {
  .home-search-section {
    padding: 80px 0px 30px 0px;
  }
  .home-search-title {
    font-size: 28px;
  }
  .home-search-subtitle {
    margin-top: 12px;
    margin-bottom: 20px;
    font-size: 13px;
  }
}

/* Mobile Medium (401px - 575px) */
@media (max-width: 575px) {
  .home-search-section {
    padding: 80px 15px 24px 15px;
  }
  .home-search-title {
    font-size: 24px;
  }
  .home-search-subtitle {
    font-size: 12px;
    line-height: 1.4;
  }
  .home-search-input-wrapper {
    padding: 8px 14px;
  }
  .home-search-input-wrapper i {
    font-size: 16px;
    margin-right: 8px;
  }
  input.home-search-input {
    font-size: 14px;
  }
}

/* Mobile Small (up to 400px) */
@media (max-width: 400px) {
  .home-search-title {
    font-size: 20px;
  }
  .home-search-subtitle {
    font-size: 11px;
    margin-bottom: 16px;
  }
  .home-search-input-wrapper {
    padding: 6px 12px;
  }
}
