* {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  border: border-box;
}

.nav {
  height: 80px;
  width: 100%;
  background-color: #ff9500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: aliceblue;
}

.logo {
  display: flex;
}

.logo a {
  text-decoration: none;
}

.logo h1 {
  font-weight: 800;
  color: aliceblue;
  font-size: 30px;
  margin-right: 5rem;
}

nav ul {
  display: flex;
  display: inline-block;

}

nav ul li {
  gap: 40px;
  display: inline-block;
  list-style: none;
  font-weight: 700;
}

nav ul li a {
  color: aliceblue;
  text-decoration: none;
}

.hero {
  background-image: url("/img/foodie.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  height: 85vh;
  width: 100%;
  position: relative;
}

.mainfeature {
  background-color: rgba(0, 0, 0, 0.5);
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  padding-top: 100px;
}

.lines {
  font-weight: 700;
  font-size: 50px;
  color: #ff9500;
  text-align: center;
}

.input-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-top: 2rem;
}

.search-form {
  width: 100%;
  display: flex;
  justify-content: center;
}

.input-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.input-wrapper {
  width: 75%;
  max-width: 900px;
  position: relative;
}

.search-bar {
  width: 100%;
  height: 60px;
  padding: 0 20px 0 48px;
  border-radius: 999px;
  font-size: 18px;
  border: none;
  outline: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  font-size: 18px;
  pointer-events: none;
}

.input-container input {
  padding: 15px 20px;
  width: 100%;
  border-radius: 12px;
  border: none;
  font-size: 16px;
  outline: none;
  transition: box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.input-container input:focus {
  box-shadow: 0 0 10px #ff9500;
}

.search-btn {
  padding: 15px 25px;
  background-color: #ff9500;
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.search-btn:hover {
  background-color: #e27e00;
  transform: scale(1.05);
}

@media (max-width: 768px) {

  .nav {
    height: 60px;
    padding: 0 12px;
  }

  .logo h1 {
    font-size: 20px;
    margin-right: 0;
  }

  nav ul {
    display: none;
  }

  .hero {
    height: 50vh;
    width: 100%;
    background-position: center;
  }

  .mainfeature {
    padding-top: 80px;
    text-align: center;
  }

  .lines {
    font-size: 22px;
    line-height: 1.3;
    padding: 0 14px;
  }

  .input-container {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 0 14px;
  }

  .input-container input {
    width: 100%;
    max-width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    border-radius: 10px;
  }

  .search-btn {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    border-radius: 10px;
  }
}

@media (pointer: coarse) {

  .hero {
    height: 50vh;
    background-position: center center !important;
    background-size: cover !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .mainfeature {
    padding-top: 70px !important;
    padding-bottom: 40px;
  }

  .lines {
    font-size: 24px !important;
    line-height: 1.35;
    max-width: 92%;
    margin: 0 auto;
    text-align: center;
  }

  .input-container {
    width: 100%;
    padding: 0 16px;
  }

  .input-container input,
  .search-btn {
    width: 100%;
    max-width: 420px;
  }
}