/* --- GLOBAL --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: url("../img/bg.png") center/cover no-repeat fixed;
  min-height: 100vh;
  color: #fff;
}

/* --- HEADER --- */
header {
  background-color: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  position: relative;
  z-index: 10;
  flex-wrap: wrap;
}

header .logo img {
  height: 50px;
  transition: 0.3s ease;
  cursor: pointer;
  max-width: 100%;
}

header .logo img:hover {
  transform: scale(1.05);
}

header ul {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

header ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
  font-size: 0.9rem;
  white-space: nowrap;
}

header ul li a:hover {
  color: #fc8019;
}

/* --- DROPDOWN (GET APP BANNER) --- */
.app-dropdown {
  display: none;
  width: 100%;
  padding: 20px 0;
  background: transparent;
  text-align: center;
  position: relative;
  z-index: 5;
  box-shadow: 0 4px 12px rgb(0, 0, 0);
}

.app-dropdown img {
  width: 90%;
  max-width: 600px;
  height: auto;
}

.show-dropdown {
  display: block !important;
}

/* --- MAIN --- */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 5%;
  width: 100%;
}

/* Hero Text */
.hero-text {
  margin-bottom: 30px;
}

main p {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  background: transparent;
  padding: 10px 15px;
  margin-bottom: 15px;
  border-radius: 10px;
  animation: fadeIn 1s forwards;
  line-height: 1.2;
}

/* Input fields */
.search-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
  width: 100%;
  max-width: 800px;
}

.input-container {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 280px;
}

.input-container .icon {
  position: absolute;
  left: 10px;
  font-size: 1.2rem;
  color: #fc8019;
  z-index: 2;
}

.input-container input {
  width: 100%;
  padding: 12px 15px 12px 35px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  height: 50px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: 0.3s;
}

.input-container input:focus {
  box-shadow: 0 0 10px rgba(252, 128, 25, 0.6);
  outline: none;
}

/* --- Banner images --- */
.banner-images {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
  width: 100%;
}

.banner-images img {
  border-radius: 15px;
  transition: 0.4s;
  cursor: pointer;
  max-width: 100%;
  height: auto;
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.banner-images img:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* --- FOOTER --- */
footer {
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  background: transparent;
}

/* Fade animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slide-in popup */
.popup {
  position: fixed;
  top: 0;
  right: -400px;
  width: 350px;
  max-width: 90%;
  height: 100%;
  background: white;
  box-shadow: -2px 0 15px rgba(0, 0, 0, 0.3);
  transition: right 0.5s ease;
  padding: 30px 20px;
  z-index: 1000;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.popup.active {
  right: 0;
}

.popup h2 {
  color: #333;
  margin: 0 0 10px 0;
  font-size: 1.8rem;
  font-weight: 800;
}

.popup h6 {
  color: #fc8019;
  margin: 0 0 20px 0;
  font-weight: 400;
}

.popup input {
  display: block;
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.popup button {
  display: block;
  width: 100%;
  padding: 12px;
  background: #fc8019;
  color: white;
  font-size: larger;
  font-weight: 1000;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 10px 0;
}

.popup span {
  font-size: 0.75rem;
  color: #888;
  line-height: 1.3;
}

/* ========== RESPONSIVE MEDIA QUERIES ========== */

/* Tablet (768px and below) */
@media (max-width: 768px) {
  header {
    padding: 12px 4%;
    flex-direction: column;
    gap: 15px;
  }

  header ul {
    gap: 15px;
    justify-content: center;
  }

  header ul li a {
    font-size: 0.85rem;
  }

  main {
    padding: 30px 4%;
  }

  main p {
    font-size: 2rem;
    padding: 8px 12px;
    margin-bottom: 12px;
  }

  .search-row {
    gap: 12px;
    flex-direction: column;
    align-items: center;
  }

  .input-container {
    min-width: 100%;
    max-width: 400px;
  }

  .banner-images {
    gap: 15px;
    margin-top: 30px;
  }

  .banner-images img {
    min-width: 100%;
    max-width: 400px;
  }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  header {
    padding: 10px 3%;
  }

  header .logo img {
    height: 40px;
  }

  header ul {
    gap: 12px;
  }

  header ul li a {
    font-size: 0.8rem;
  }

  main {
    padding: 20px 3%;
  }

  main p {
    font-size: 1.5rem;
    padding: 6px 10px;
    margin-bottom: 10px;
    line-height: 1.3;
  }

  .input-container input {
    height: 45px;
    font-size: 0.9rem;
  }

  .banner-images {
    gap: 12px;
    margin-top: 25px;
  }

  .banner-images img {
    min-width: 100%;
    border-radius: 10px;
  }

  .popup {
    width: 300px;
    padding: 25px 15px;
  }

  footer {
    padding: 15px;
    font-size: 0.8rem;
  }
}

/* Small Mobile (360px and below) */
@media (max-width: 360px) {
  main p {
    font-size: 1.3rem;
  }

  header ul {
    gap: 8px;
  }

  header ul li a {
    font-size: 0.75rem;
  }

  .input-container input {
    height: 42px;
    font-size: 0.85rem;
  }
}