/* === Global Reset & Base Styles ======================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #f3f4f6;
  color: #111827;
  line-height: 1.5;
}

/* Utility */

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* === Navbar ============================================================ */

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 7vw;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 34px;
  height: 34px;
}

.brand {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
}

.nav-links a {
  padding: 4px 0;
  color: #4b5563;
}

.nav-links a:hover {
  color: #111827;
}

.nav-signup {
  padding: 8px 16px;
  border-radius: 999px;
  background: #f97316;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(249, 115, 22, 0.3);
}

.nav-signup:hover {
  background: #ea580c;
}

/* === Hero ============================================================= */

.hero {
  max-width: 960px;
  margin: 64px auto 32px;
  padding: 0 7vw;
  text-align: center;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 3.2vw + 1rem, 3.4rem);
  font-weight: 700;
}

.highlight {
  color: #f97316;
}

.subtext {
  margin: 0 auto;
  max-width: 560px;
  color: #4b5563;
  font-size: 1rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s;
}

.btn:active {
  transform: translateY(1px);
}

.btn.primary {
  background: #f97316;
  color: #fff;
  box-shadow: 0 12px 25px rgba(249, 115, 22, 0.35);
}

.btn.primary:hover {
  background: #ea580c;
}

.btn.secondary {
  background: #ffffff;
  color: #111827;
  border: 1px solid #e5e7eb;
}

.btn.secondary:hover {
  background: #f9fafb;
}

/* === Search Section ==================================================== */

.search-section {
  max-width: 640px;
  margin: 0 auto 48px;
  padding: 0 7vw;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.search-input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  font-size: 0.95rem;
  outline: none;
  background: #ffffff;
}

.search-input:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.15);
}

.search-btn {
  white-space: nowrap;
}

.availability-banner {
  width: 100%;
  display: flex;
  justify-content: center;   /* centers horizontally */
  align-items: center;
  margin-top: 25px;
}

.availability-banner p {
  padding: 10px 22px;
  border-radius: 999px;
  background: #ffffff;
  color: #ff7a1a;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  white-space: nowrap;
}


/* === How It Works ====================================================== */

.hiw-container {
  max-width: 1080px;
  margin: 0 auto 56px;
  padding: 32px 7vw 40px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.hiw-container h2 {
  margin-top: 0;
  margin-bottom: 24px;
  text-align: center;
  font-size: 1.7rem;
  font-weight: 700;
}

.hiw-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hiw-card {
  background: #f9fafb;
  border-radius: 18px;
  padding: 18px 18px 20px;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hiw-img {
  border-radius: 12px;
  object-fit: cover;
  max-height: 180px;
}

.hiw-card h3 {
  margin: 2px 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.hiw-card p {
  margin: 0;
  font-size: 0.92rem;
  color: #4b5563;
}

/* === Footer ============================================================ */

.footer {
  padding: 24px 7vw 28px;
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: #6b7280;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: #6b7280;
}

.footer-links a:hover {
  color: #111827;
}

/* === Responsive ======================================================== */

@media (max-width: 768px) {
  .navbar {
    padding-inline: 16px;
  }

  .nav-links {
    gap: 12px;
    font-size: 0.9rem;
  }

  .hiw-container {
    padding-inline: 16px;
  }

  .hiw-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    margin-top: 40px;
  }

  .search-section {
    flex-direction: column;
  }

  .search-btn {
    width: 100%;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

.su-field {
    margin-bottom: 12px;
  }
  
  .su-field label {
    display: block;
    margin-bottom: 4px;
    font-size: 0.85rem;
    color: #4b5563;
  }
  
  .su-field input {
    width: 100%;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    font-size: 0.9rem;
  }
  
  .su-field input:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.16);
  }
  
  .su-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
  }
  
  @media (min-width: 520px) {
    .su-buttons {
      flex-direction: row;
    }
  }
  

@media (max-width: 480px) {
  .nav-links a:not(.nav-signup) {
    display: none; /* keep only brand + signup on very small screens */
  }
}
