@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200&display=swap');

/* ===============================
   NOVARA IMAGE HERO (STABLE)
   =============================== */

.novara-image-hero {
  position: relative;
  height: 85vh;
  width: 100%;
  background-image: url("https://novara.ae/storage/20251119-1634-dubai-skyline-at-dusk-simple-compose-01kae1nk18fpm8wx4dnhm3y16s-1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Overlay for readability */
.novara-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.35),
    rgba(0,0,0,0.2)
  );
  z-index: 1;
}

/* Centered content */
.novara-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  width: 100%;
  max-width: 1100px;
}

/* Serif headline (matches your screenshot style) */
.novara-hero-title {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 40px;
}

/* Search bar */
.novara-hero-search {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

/* Location input */
.novara-search-input {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px;
}

.novara-search-input input {
  border: none;
  outline: none;
  font-size: 16px;
  width: 100%;
}

/* Buy / Rent */
.novara-search-select {
  border-left: 1px solid #e5e5e5;
}

.novara-search-select select {
  height: 100%;
  border: none;
  outline: none;
  padding: 0 22px;
  font-size: 16px;
  background: transparent;
  cursor: pointer;
}

/* Search button */
.novara-search-button {
  background: #ff6b6b;
  border: none;
  color: #ffffff;
  font-size: 20px;
  padding: 0 28px;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 768px) {
  .novara-hero-search {
    flex-direction: column;
  }

  .novara-search-select,
  .novara-search-button {
    width: 100%;
    border-left: none;
  }

  .novara-search-button {
    padding: 18px;
  }
}
/* Load Poppins ExtraLight */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200&display=swap');

/* Headline font update */
.novara-hero-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 200; /* ExtraLight */
  letter-spacing: 0.02em;
}

/* Rotating words container */
.novara-rotate {
  display: inline-block;
  position: relative;
  width: 160px;
  text-align: left;
}

/* Each word */
.novara-rotate span {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  animation: novaraFade 9s infinite;
}

/* Stagger timing */
.novara-rotate span:nth-child(1) { animation-delay: 0s; }
.novara-rotate span:nth-child(2) { animation-delay: 3s; }
.novara-rotate span:nth-child(3) { animation-delay: 6s; }

/* Fade animation */
@keyframes novaraFade {
  0% { opacity: 0; transform: translateY(5px); }
  10% { opacity: 1; transform: translateY(0); }
  30% { opacity: 1; }
  40% { opacity: 0; transform: translateY(-5px); }
  100% { opacity: 0; }
}
/* ===============================
   FIX HERO TEXT POSITION + WEIGHT
   =============================== */

/* Force ExtraLight everywhere in hero title */
.novara-hero-title,
.novara-hero-title span,
.novara-rotate span {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 200 !important;
}

/* Fix vertical alignment */
.novara-hero-title {
  line-height: 1.25;
  margin-top: 0;
}

/* Reserve space so rotating word doesn't push text */
.novara-rotate {
  display: inline-block;
  position: relative;
  min-width: 170px; /* keeps text centered */
  height: 1.2em;
  vertical-align: middle;
}

/* Align rotating words properly */
.novara-rotate span {
  position: absolute;
  left: 0;
  top: 0;
  line-height: 1.25;
}
/* ===============================
   HERO PROPORTION TWEAKS
   =============================== */

/* Bigger, more premium headline */
.novara-hero-title {
  font-size: clamp(48px, 6vw, 82px); /* bigger than before */
  margin-bottom: 50px;              /* more breathing room */
}

/* Bigger search container */
.novara-hero-search {
  max-width: 1050px;  /* wider bar */
  border-radius: 14px;
}

/* Increase height of search bar */
.novara-search-input,
.novara-search-select,
.novara-search-button {
  padding-top: 22px;
  padding-bottom: 22px;
}

/* Bigger input text */
.novara-search-input input,
.novara-search-select select {
  font-size: 18px;
}

/* Bigger search button icon */
.novara-search-button {
  font-size: 22px;
  padding-left: 36px;
  padding-right: 36px;
}

/* Mobile: keep it elegant, not oversized */
@media (max-width: 768px) {
  .novara-hero-title {
    font-size: 40px;
  }

  .novara-hero-search {
    max-width: 100%;
  }
}
/* ===============================
   HERO FINAL ALIGNMENT + SCALE FIX
   =============================== */

/* Slightly reduce headline size */
.novara-hero-title {
  font-size: clamp(42px, 5.2vw, 72px); /* smaller than before */
  margin-bottom: 42px;
  text-align: center;
}

/* Ensure hero content is perfectly centered */
.novara-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Fix rotating word baseline alignment */
.novara-rotate {
  display: inline-flex;
  align-items: baseline;     /* KEY FIX */
  height: auto;
  min-width: 160px;
  vertical-align: baseline;
}

/* Align animated words exactly on text baseline */
.novara-rotate span {
  position: absolute;
  top: 0;
  line-height: 1.25;
}

/* Slightly reduce search bar scale */
.novara-hero-search {
  max-width: 980px;          /* was 1050 */
}

/* Reduce search bar height slightly */
.novara-search-input,
.novara-search-select,
.novara-search-button {
  padding-top: 20px;
  padding-bottom: 20px;
}
/* ===============================
   HERO SIZE REDUCTION (FINAL)
   =============================== */

/* Make title smaller + lighter visually */
.novara-hero-title {
  font-size: clamp(34px, 4.2vw, 56px); /* noticeably smaller */
  margin-bottom: 32px;
}

/* Reduce overall search bar width */
.novara-hero-search {
  max-width: 860px;   /* was ~980+ */
  border-radius: 12px;
}

/* Reduce height of search bar */
.novara-search-input,
.novara-search-select,
.novara-search-button {
  padding-top: 16px;
  padding-bottom: 16px;
}

/* Reduce input text size slightly */
.novara-search-input input,
.novara-search-select select {
  font-size: 15px;
}

/* Reduce search button size */
.novara-search-button {
  font-size: 18px;
  padding-left: 26px;
  padding-right: 26px;
}
/* Custom location icon */
.novara-location-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  opacity: 0.65;
}