/* ===============================
   HERO SECTION
   Main landing screen with background image
================================ */
.hero {
  position: relative;
  height: 100vh;
  background: url("../images/background-img.jpg") center/cover no-repeat;
  overflow: hidden;
}

/* Dark overlay over background image for better text readability */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  z-index: 1;
}

/* ===============================
   HERO TEXT CONTENT
================================ */
.hero-content {
  position: absolute;
  top: 40%;
  left: 50%;
  width: 95%;
  max-width: 900px;

  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;

  animation: heroFadeUp 0.9s ease-out forwards;
}

/* Hero main heading */
.hero-content h1 {
  font-size: clamp(28px, 9vw, 64px);
  line-height: 1.05;
  font-weight: 600;
  width: 100%;
  font-family: "Sora", sans-serif;
}

/* Hero subtitle */
.hero-content p {
  font-size: clamp(14px, 3vw, 20px);
  color: #dadada;
  font-weight: bold;
  line-height: 1.3;
  margin-top: 10px;
  opacity: 0.9;
  width: 100%;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

/* ===============================
   SEARCH BAR
================================ */
.search-bar {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  max-width: 900px;

  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;

  gap: clamp(8px, 2vw, 15px);
  padding: clamp(10px, 3vw, 15px) clamp(12px, 4vw, 20px);

  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 50px;

  z-index: 2;

  animation: searchFadeUp 1s ease-out forwards;
  animation-delay: 0.35s;
  opacity: 0;
}

/* Each search item: label + input */
.search-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: white;
  font-size: 12px;
}

/* Search labels */
.search-item label {
  font-size: clamp(11px, 2vw, 16px);
  color: black;
  opacity: 0.8;
  font-weight: 750;
  letter-spacing: 0.5px;
  margin-bottom: clamp(3px, 1vw, 6px);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

/* ===============================
   INPUT BOXES WITH ICONS
================================ */
.input-box {
  display: flex;
  align-items: center;
  gap: 8px;

  width: 220px;
  min-width: 120px;
  flex: 1;

  background: rgba(255, 255, 255, 0.39);
  padding: clamp(7px, 2vw, 10px) clamp(10px, 3vw, 14px);
  border-radius: 20px;
  transition: all 0.5s ease;
}

/* Input hover/focus state */
.input-box:hover,
.input-box:focus-within {
  background: rgba(255, 255, 255, 0.35);
}

/* Input icon */
.input-box i {
  color: white;
  font-size: clamp(14px, 4vw, 18px);
}

/* Actual input field */
.input-box input {
  border: none;
  outline: none;
  background: transparent;
  color: rgb(0, 0, 0);
}

.input-box input:focus {
  outline: none;
}

.input-box:focus-within {
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15);
}

/* ===============================
   SEARCH BUTTON
================================ */
.search-btn {
  position: absolute;
  left: 92%;

  width: 50px;
  height: 50px;
  border-radius: 50%;

  border: none;
  background: white;
  color: black;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  transition: 0.5s;
}

/* Search button hover */
.search-btn:hover {
  transform: scale(1.25);
  color: white;
  background-color: black;
}

/* ===============================
   ANIMATIONS
================================ */
@keyframes searchFadeUp {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* ===============================
   RESPONSIVE SEARCH BAR
   Stacks inputs vertically on smaller screens
================================ */
@media (max-width: 950px) {
  .search-bar {
    flex-direction: column;
    align-items: stretch;
    width: 90%;
    max-width: 700px;
    gap: 16px;
  }

  .search-item {
    width: 100%;
  }

  .input-box {
    width: 100%;
  }

  .search-btn {
    position: static;

    width: 50%;
    height: clamp(38px, 10vw, 48px);
    margin: 5px auto 0;

    border-radius: 40px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }
}

.input-box select{
    width:100%;
    border:none;
    outline:none;
    background:transparent;
    font-size:14px;
    color:#555;
    font-weight:600;
    cursor:pointer;
}

.input-box select option{
    color:#111;
}

/* REMOVE MOBILE TAP HIGHLIGHT */

*{
    -webkit-tap-highlight-color: transparent;
}

button,
a,
input,
textarea,
select{
    outline:none;
    -webkit-tap-highlight-color: transparent;
}

html{
    -webkit-touch-callout:none;
}