/* ========================
   Reset and Base Styles
=========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body, html {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  scroll-behavior: smooth;
}

/* ========================
   Header Styles
=========================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 10px 0; /* reduced from 20px */
  background: transparent;
  transition: all 0.3s ease;
}

.site-header.sticky {
  background: rgba(0, 0, 0, 0.9);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.site-header .header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: -1;
}

.site-header .container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header .logo img {
  max-height: 50px; /* reduced from 60px */
  width: auto;
}

/* Hide old nav-menu (only login remains) */
.nav-menu { display: none; }

/* Login Button */
.header-actions .btn-visa-yellow {
  padding: 6px 20px;  /* slimmer button */
  font-size: 14px;
  border-radius: 20px;
  font-weight: 600;
}

/* Hide old nav-menu (only login remains) */
.nav-menu { display: none; }

/* Login Button */
.header-actions .btn-visa-yellow {
  padding: 6px 20px;  /* slimmer button */
  font-size: 14px;
  border-radius: 20px;
  font-weight: 600;
}

/* ========================
   Hero Section
=========================== */
.hero-banner {
  position: relative;
  width: 100%;
  height: 800px;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-typing-text {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 32px;
  font-weight: bold;
  color: #fff;
  z-index: 2;
  text-align: center;
  width: 80%;
  max-width: 1000px;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid #f3c301;
  animation: blink 0.75s step-end infinite;
}

@keyframes blink {
  from, to { border-color: transparent; }
  50% { border-color: #f3c301; }
}

/* ========================
   Search Box
=========================== */
.hero-search-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.85);
  padding: 30px 40px;
  border-radius: 10px;
  text-align: center;
  color: #fff;
  z-index: 2;
  width: 70%;
  max-width: 1000px;
}

.hero-search-box label {
  display: block;
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 500;
}

.hero-search-box input[type="text"] {
  width: 100%;
  padding: 12px;
  border-radius: 25px;
  border: 2px solid transparent;
  font-size: 16px;
  background-color: #fff;
  color: #000;
  margin-bottom: 20px;
  outline: none;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
}

.hero-search-box button {
  padding: 12px 30px;
  font-size: 16px;
  background-color: #f3c301;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  color: #000;
  transition: background 0.3s ease;
}

.hero-search-box button:hover {
  background-color: #e6b700;
}

/* ========================
   Content Wrapper
=========================== */
.content {
  padding: 40px 20px;
  margin-top: 800px; /* to prevent overlap with fixed header and banner */
}

/* ========================
   Footer
=========================== */
.site-footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 30px 15px;
  font-size: 16px;
  line-height: 1.6;
}

.site-footer p {
  margin: 5px 0;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* ========================
   Autocomplete
=========================== */
.autocomplete-wrapper {
  position: relative;
}

.autocomplete-list {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #ccc;
  border-top: none;
  max-height: 250px;
  overflow-y: auto;
  z-index: 999;
  list-style: none;
  padding: 0;
  margin: 0;
}

.autocomplete-list li {
  padding: 10px;
  color: #000;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.autocomplete-list li img {
  width: 20px;
  margin-right: 10px;
}

/* ========================
   Responsive Styles
=========================== */
@media (max-width: 768px) {
  .site-header .container {
    flex-direction: row; /* keep logo left, button right */
  }

  .hero-typing-text {
    font-size: 22px;
    width: 90%;
  }

  .hero-search-box {
    padding: 25px 20px;
  }
}

@media (max-width: 576px) {
  .hero-typing-text {
    font-size: 18px;
    width: 95%;
  }

  .hero-search-box {
    padding: 20px 15px;
    width: 90%;
  }

  .site-footer {
    font-size: 14px;
    padding: 20px 10px;
  }

  .header-actions .btn-visa-yellow {
    padding: 5px 15px;
    font-size: 13px;
  }
}

/* Prevent yellow background and thin line from Chrome autocomplete */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  transition: background-color 9999s ease-in-out 0s;
  -webkit-text-fill-color: #000 !important;
  box-shadow: 0 0 0px 1000px #fff inset !important;
  border: 2px solid transparent;
}

/* Yellow Button */
.btn-visa-yellow {
  padding: 12px 30px;
  font-size: 16px;
  background-color: #f3c301;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  color: #000;
  transition: background 0.3s ease;
}

.btn-visa-yellow:hover {
  background-color: #e6b700;
  color: #fff;
}




