/* ============================================================
   HERO v3 — full-bleed background carousel with overlaid content
   Loaded after redesign.css so it overrides the split-hero rules.
   ============================================================ */

#hero.hero.hero-carousel-v3{
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 90px !important;
  background: var(--blue, #0a2540) !important;
  overflow: hidden;
}

/* --- Background slider fills the section --- */
.hero-carousel-v3 .hero-bg-slider{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-carousel-v3 .hero-bg-slide{
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
/* Image layer: Ken-Burns zoom lives on a pseudo-element so it never
   touches the slide's own transform (Swiper positions slides with it) */
.hero-carousel-v3 .hero-bg-slide::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-carousel-v3 .swiper-slide-active.hero-bg-slide::before{
  animation: hero-bg-zoom 7s ease-out forwards;
}
@keyframes hero-bg-zoom{
  from{ transform: scale(1); }
  to{   transform: scale(1.08); }
}

/* --- Dark overlay for text readability --- */
.hero-carousel-v3 .hero-bg-overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(6, 18, 33, .62) 0%,
      rgba(6, 18, 33, .45) 45%,
      rgba(6, 18, 33, .68) 100%);
  pointer-events: none;
}

/* --- Content layer --- */
.hero-carousel-v3 .hero-carousel-content{
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-carousel-v3 .hero-brand-eyebrow{
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #f1c34d;
  margin: 0 0 18px;
  opacity: 0;
  transform: translateY(14px);
  animation: hero-rise 700ms ease-out 100ms forwards;
}

#hero.hero.hero-carousel-v3 h1.hero-headline{
  color: #ffffff !important;
  font-size: clamp(2.3rem, 5.2vw, 4rem) !important;
  font-weight: 500 !important;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
#hero.hero.hero-carousel-v3 h1.hero-headline .hl{
  color: #ffffff !important;
}

#hero.hero.hero-carousel-v3 p.hero-sub{
  color: rgba(255, 255, 255, .92) !important;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}

.hero-carousel-v3 .hero-cta-row.hero-cta-centered{
  margin-top: 8px;
}

/* Scroll cue: white over photo */
.hero-carousel-v3 .hero-scroll-cue-v2{
  color: rgba(255, 255, 255, .85) !important;
  margin-top: 48px;
}
.hero-carousel-v3 .hero-scroll-cue-v2:hover{
  color: #f1c34d !important;
}
.hero-carousel-v3 .hero-scroll-cue-v2:hover .cue-arrow{
  color: #f1c34d;
}

/* --- Pagination bullets --- */
.hero-carousel-v3 .hero-bg-pagination{
  bottom: 26px !important;
  z-index: 3;
}
.hero-carousel-v3 .hero-bg-pagination .swiper-pagination-bullet{
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, .55);
  opacity: 1;
  transition: all .3s ease;
}
.hero-carousel-v3 .hero-bg-pagination .swiper-pagination-bullet-active{
  background: #ffffff;
  width: 26px;
  border-radius: 6px;
}

@media (max-width: 767px){
  #hero.hero.hero-carousel-v3{
    min-height: 92vh;
    min-height: 92svh;
    padding: 100px 0 70px !important;
  }
  .hero-carousel-v3 .hero-scroll-cue-v2{ margin-top: 32px; }
}

/* ---------- Transparent header over the hero ---------- */
#header.header{
  background: transparent !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border-bottom-color: transparent;
}
/* White logo, links and hamburger on the transparent bar */
#header.header .header-brand img{ filter: none; }
#header.header .ure-navmenu a{ color: #fff !important; }
#header.header .ure-navmenu a:hover{ color: #f1c34d !important; }
#header.header .ure-mobile-toggle span{ background: #fff; }

/* After scrolling: dark translucent bar so the menu stays readable */
#header.header.is-stuck{
  background: rgba(8, 22, 38, .72) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 255, 255, .08);
  box-shadow: 0 8px 24px -16px rgba(0, 0, 0, .4);
}
/* Hamburger chip: frosted white instead of dark tint */
#header.header .ure-mobile-toggle{
  background: rgba(255, 255, 255, .14) !important;
  border: 1px solid rgba(255, 255, 255, .28) !important;
}

/* ---------- WhatsApp CTA stays green in every header state ---------- */
#header.header .btn-getstarted.btn-whatsapp,
body.scrolled #header.header .btn-getstarted.btn-whatsapp,
body.sticked #header.header .btn-getstarted.btn-whatsapp{
  background: #25d366 !important;
  border-color: #25d366 !important;
  color: #ffffff !important;
}
#header.header .btn-getstarted.btn-whatsapp::before{ background: #1ebe5d; }
/* Hamburger stays white on the dark stuck bar too */
body.scrolled #header.header .ure-mobile-toggle span,
body.sticked #header.header .ure-mobile-toggle span{ background: #fff !important; }

/* ---------- New Launch feature ---------- */
.newlaunch-feature{
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 34px;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--hairline, #ececec);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 30px 60px -42px rgba(10, 37, 64, .3);
}
.newlaunch-media{
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 340px;
}
.newlaunch-media img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.newlaunch-badge{
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--red, #c8102e);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 10px 24px -10px rgba(200, 16, 46, .55);
}
.newlaunch-body{ padding: 6px 4px; }
.newlaunch-title{
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 700;
  color: var(--ink, #0e1116);
  margin: 0 0 4px;
}
.newlaunch-sub{
  color: var(--red, #c8102e);
  font-weight: 700;
  margin: 0 0 14px;
}
.newlaunch-desc{
  color: var(--ink-2, #2a2f36);
  line-height: 1.95;
  margin: 0 0 22px;
}
.nl-point{ display: flex; gap: 14px; margin-bottom: 16px; }
.nl-ico{
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-tint, #eaf1f9);
  color: var(--blue, #0a2540);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.nl-point h4{ font-size: 1.02rem; font-weight: 700; color: var(--ink, #0e1116); margin: 0 0 4px; }
.nl-point p{ margin: 0; color: var(--ink-3, #5a6270); line-height: 1.85; font-size: .95rem; }
.newlaunch-actions{ display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.newlaunch-actions .btn-nl-wa,
.newlaunch-actions .btn-nl-call{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.newlaunch-actions .btn-nl-wa{ background: #25d366; color: #fff !important; }
.newlaunch-actions .btn-nl-wa:hover{ background: #1ebe5d; transform: translateY(-2px); }
.newlaunch-actions .btn-nl-call{ background: var(--blue, #0a2540); color: #fff !important; }
.newlaunch-actions .btn-nl-call:hover{ background: var(--blue-mid, #14467a); transform: translateY(-2px); }

/* Stats strip */
.newlaunch-stats{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.nl-stat{
  background: var(--blue, #0a2540);
  color: #fff;
  border-radius: 16px;
  padding: 24px 18px;
  text-align: center;
}
.nl-stat .num{
  display: block;
  font-size: 2.1rem;
  font-weight: 700;
  color: #f1c34d;
  line-height: 1.15;
}
.nl-stat .lbl{
  display: block;
  margin-top: 8px;
  font-size: .93rem;
  opacity: .93;
  line-height: 1.75;
}
@media (max-width: 991px){
  .newlaunch-feature{ grid-template-columns: 1fr; padding: 18px; }
  .newlaunch-media{ min-height: 240px; }
  .newlaunch-stats{ grid-template-columns: 1fr; }
}

/* ---------- Project detail pages ---------- */
.project-hero{
  position: relative;
  min-height: 64vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.project-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(6, 18, 33, .55) 0%,
    rgba(6, 18, 33, .25) 45%,
    rgba(6, 18, 33, .8) 100%);
}
.project-hero .container{
  position: relative;
  z-index: 1;
  padding: 150px 12px 52px;
}
.project-hero .ph-pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.project-hero h1{
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 700;
  margin: 0 0 12px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
.project-hero .ph-sub{
  color: rgba(255, 255, 255, .93);
  max-width: 680px;
  line-height: 1.95;
  margin: 0;
  font-size: 1.05rem;
}

.project-body{ padding: 72px 0 8px; }
.project-body .pb-title{
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--ink, #0e1116);
  margin: 0 0 18px;
}
.project-body p{
  color: var(--ink-2, #2a2f36);
  line-height: 2;
}
.amenity-chips{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
}
.amenity-chips span{
  background: var(--blue-tint, #eaf1f9);
  color: var(--blue, #0a2540);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .93rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Reliable card clicks ---------- */
.project-show-card{ cursor: pointer; }
/* On touch devices the hover-lift moves the button away from the finger
   mid-tap and the click is lost — disable movement there */
@media (hover: none){
  .project-show-card:hover{ transform: none !important; }
  .project-show-card .btn-details:hover,
  .project-show-card .btn-whatsapp-card:hover{ transform: none !important; }
  .project-show-card .img-overlay{ opacity: 1; background: transparent; }
}

/* ---------- Nav link colors: white on the bar, black in the drawer ---------- */
/* Top navbar links stay white in every state (transparent, scrolled, stuck) */
html #header.header .ure-navmenu a,
html body.scrolled #header.header .ure-navmenu a,
html body.sticked #header.header .ure-navmenu a{
  color: #ffffff !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .25);
}
html #header.header .ure-navmenu a:hover{ color: #f1c34d !important; }

/* Burger drawer (white panel): black links and readable text */
html #header.header .ure-drawer-nav a,
html .ure-mobile-menu .ure-drawer-nav a{
  color: var(--ink, #0e1116) !important;
  border-bottom-color: rgba(14, 17, 22, .1) !important;
  text-shadow: none;
}
html .ure-mobile-menu .ure-drawer-nav a:hover,
html .ure-mobile-menu .ure-drawer-nav a:active{
  color: var(--red, #c8102e) !important;
}
.ure-mobile-menu .ure-drawer-disclaimer{
  color: var(--ink-3, #5a6270) !important;
}

/* ---------- Nav links: white in the bar (overrides #000 text-fill from redesign) ---------- */
#header.header .ure-navmenu a,
#header.header .ure-navmenu a.active,
body.scrolled #header.header .ure-navmenu a,
body.sticked #header.header .ure-navmenu a{
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}
#header.header .ure-navmenu a:hover{
  color: #f1c34d !important;
  -webkit-text-fill-color: #f1c34d !important;
}

/* Burger drawer stays black on its white sheet */
#header.header .ure-mobile-menu .ure-drawer-nav a{
  color: #0e1116 !important;
  -webkit-text-fill-color: #0e1116 !important;
  text-shadow: none;
}
#header.header .ure-mobile-menu .ure-drawer-nav a:hover{
  color: #c8102e !important;
  -webkit-text-fill-color: #c8102e !important;
}

/* Project page banner text: always white over the photo */
.project-hero h1,
.project-hero h1 *{
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.project-hero .ph-sub{
  color: rgba(255, 255, 255, .93) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, .93) !important;
}

/* ---------- Hero tweaks: bigger brand line + inverted CTA ---------- */
#hero.hero.hero-carousel-v3 .hero-brand-eyebrow{
  font-size: clamp(1.4rem, 3vw, 2.1rem) !important;
  letter-spacing: 0.16em;
}
#hero.hero.hero-carousel-v3 .btn-hero-primary{
  background: #ffffff !important;
  color: var(--blue, #0a2540) !important;
  -webkit-text-fill-color: var(--blue, #0a2540) !important;
  box-shadow: 0 14px 32px -14px rgba(0, 0, 0, .45);
}
#hero.hero.hero-carousel-v3 .btn-hero-primary i{
  color: var(--blue, #0a2540) !important;
  -webkit-text-fill-color: var(--blue, #0a2540) !important;
}
#hero.hero.hero-carousel-v3 .btn-hero-primary:hover{
  background: #f1f5fa !important;
  color: var(--blue, #0a2540) !important;
  -webkit-text-fill-color: var(--blue, #0a2540) !important;
}
