/* =========================================================
   S SQUARE INFRA — Premium Real Estate Theme
   Palette: Navy #0A1F44, Royal Blue #132B5E, Gold #C9A227,
            Ivory #F8F5EF, Charcoal #1F2430
   Type: Playfair Display (display) + Inter (body)
   ========================================================= */

:root{
  --navy: #0A1F44;
  --royal: #132B5E;
  --gold: #C9A227;
  --gold-light: #E3C567;
  --ivory: #F8F5EF;
  --charcoal: #1F2430;
  --grey-soft: #F1EEE7;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 14px 40px rgba(10,31,68,0.12);
  --shadow-deep: 0 24px 60px rgba(10,31,68,0.28);
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  font-family: 'Inter', sans-serif;
  color: var(--charcoal);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .brand-text{
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.2px;
}

a{ text-decoration: none; }

::selection{ background: var(--gold-light); color: var(--navy); }

:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Buttons ---------- */
.btn-gold{
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy);
  border: none;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn-gold:hover{
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(201,162,39,0.35);
}

.btn-outline-light{
  border: 1.5px solid rgba(255,255,255,0.7);
  color: #fff;
  border-radius: 999px;
  padding: 0.75rem 1.6rem;
  font-weight: 500;
  background: rgba(255,255,255,0.05);
  transition: all .25s ease;
}
.btn-outline-light:hover{
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.btn-outline-gold{
  border: 1.5px solid var(--gold);
  color: var(--gold);
  border-radius: 999px;
  padding: 0.65rem 1.5rem;
  font-weight: 600;
  background: transparent;
  transition: all .25s ease;
}
.btn-outline-gold:hover{
  background: var(--gold);
  color: var(--navy);
}

.badge.bg-gold{
  background: var(--gold) !important;
  color: var(--navy);
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* ---------- Navbar ---------- */
.premium-navbar{
  background: rgba(248,245,239,0.96);
  backdrop-filter: blur(8px);
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(10,31,68,0.08);
}
.nav-logo-img{
  height: 65px;
  width: auto;
  max-width: 100%;
}
.brand-text{
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
}
.navbar-nav .nav-link{
  color: var(--charcoal);
  font-weight: 500;
  margin: 0 0.55rem;
  position: relative;
  padding-bottom: 4px;
}
.navbar-nav .nav-link::after{
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0%; height: 2px;
  background: var(--gold);
  transition: width .25s ease;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after{
  width: 100%;
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover{
  color: var(--navy);
}

/* ---------- Hero ---------- */
.hero-section{
  position: relative;
  min-height: 88vh;
  background: linear-gradient(120deg, var(--navy) 0%, var(--royal) 55%, #1c3a73 100%);
  overflow: hidden;
  padding: 6rem 0 4rem;
}
.hero-section::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(201,162,39,0.18), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(201,162,39,0.12), transparent 40%);
  pointer-events: none;
}
.gold-badge{
  display: inline-block;
  color: var(--gold-light);
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid rgba(227,197,103,0.4);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  background: rgba(227,197,103,0.08);
}
.hero-title{
  font-size: 2.9rem;
  line-height: 1.15;
  margin: 1rem 0 0.75rem;
  color: #ffffff;
}
.hero-subtitle{
  font-size: 1.2rem;
  color: var(--gold-light);
  font-weight: 500;
  margin-bottom: 1rem;
}
.hero-desc{
  font-size: 1.02rem;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
}
.hero-image-wrapper.glass-card{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-deep);
}
.hero-image-wrapper img{
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-md) !important;
}
.hero-swoosh{
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 70px;
  background: var(--ivory);
  clip-path: polygon(0 100%, 100% 100%, 100% 30%, 0 70%);
}
.hero-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-text {
  max-width: 600px;
}

.hero-icon {
  flex-shrink: 0;
}

.hero-icon-img {
  width: 320px;
  max-width: 100%;
  height: auto;
  opacity: 0.9;
}

@media (max-width: 1200px) {
  .hero-icon {
    display: none; /* hide on mobile/tablet to avoid clutter */
  }
.hero-icon-img {
    width: 260px;
  }
}

/* ---------- Highlights ---------- */
.highlights-section{ background: var(--ivory); }
.highlight-card{
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.highlight-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-deep);
}
.gold-icon{
  font-size: 1.9rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.6rem;
}
.highlight-card h5{
  font-size: 0.98rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0;
}

/* ---------- Section titles ---------- */
.section-title{
  font-size: 2.1rem;
  position: relative;
  padding-bottom: 0.9rem;
}
.section-title.gold-line::after{
  content: "✦";
  position: absolute;
  left: 0;
  bottom: 0;
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 10px;
}
.section-title.text-center.gold-line::after{
  left: 50%;
  transform: translateX(-50%);
}
.section-title.gold-line{
  border-bottom: 2px solid rgba(201,162,39,0.25);
}

/* ---------- About preview ---------- */
.bg-light-grey{ background: var(--grey-soft); }
.about-preview img{
  height: 420px;
  object-fit: cover;
}

/* ---------- Testimonial / counters ---------- */
.bg-royal-blue{
  background: linear-gradient(135deg, var(--navy), var(--royal));
}
.counter{
  font-family: 'Playfair Display', serif;
  color: var(--gold-light);
  font-size: 2.6rem;
  font-weight: 700;
}
.testimonial-counter p{ color: rgba(255,255,255,0.9); }
.gold-text{ color: var(--gold) !important; }

/* ---------- Footer ---------- */
.premium-footer{
  background: var(--navy);
  color: rgba(255,255,255,0.78);
}
.premium-footer h5, .premium-footer h6{ color: #fff; }
.premium-footer a{
  color: rgba(255,255,255,0.78);
  transition: color .2s ease;
}
.premium-footer a:hover{ color: var(--gold-light); }
.premium-footer ul li{ margin-bottom: 0.5rem; }
.social-icons a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
}
.social-icons a:hover{
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.footer-logo{
  height: 50px;
  filter: brightness(0) invert(1);
  margin-bottom: 0.8rem;
}

/* ---------- Floating WhatsApp ---------- */
.floating-whatsapp{
  position: fixed;
  bottom: 24px; right: 24px;
  width: 58px; height: 58px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 10px 24px rgba(37,211,102,0.45);
  z-index: 1000;
  animation: pulse-wa 2.4s infinite;
}
@keyframes pulse-wa{
  0%{ box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70%{ box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100%{ box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Page content (inner pages) ---------- */
.page-content{ min-height: 60vh; }
.page-hero{
  background: linear-gradient(135deg, var(--navy), var(--royal));
  color: #fff;
  padding: 5.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after{
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 10%, rgba(201,162,39,0.18), transparent 40%);
}
.page-hero h1{ color: #fff; }
.page-hero p{ color: rgba(255,255,255,0.82); max-width: 640px; }
.page-hero .section-title.gold-line::after{ color: var(--gold-light); }
.page-hero .section-title.gold-line{ border-bottom-color: rgba(255,255,255,0.18); }

/* ---------- Cards: property / villa / amenity ---------- */
.property-card, .villa-card{
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}
.property-card:hover, .villa-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-deep);
}
.property-card img, .villa-card img{
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.property-card:hover img, .villa-card:hover img{
  transform: scale(1.06);
}
.property-card h5, .villa-card h5{ color: var(--navy); }
.villa-card .villa-tag{
  font-size: 0.78rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.villa-feature-card{
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  text-align: center;
  padding: 2rem 1rem;
  height: 100%;
  transition: transform .25s ease;
}
.villa-feature-card:hover{ transform: translateY(-5px); }
.villa-feature-card i{ font-size: 1.8rem; }

.amenity-card{
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  text-align: center;
  padding: 1.6rem 1rem;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.amenity-card:hover{
  transform: translateY(-5px);
  box-shadow: var(--shadow-deep);
}
.amenity-card i{ font-size: 1.7rem; }
.amenity-card h6{
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--navy);
  margin: 0.5rem 0 0;
  font-size: 0.92rem;
}

.feature-photo{
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.feature-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-placeholder{
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 260px;
  padding: 0 !important;
}
.map-placeholder iframe{
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}

/* ---------- Forms ---------- */
.form-control, .form-select{
  border: 1px solid rgba(10,31,68,0.15);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
}
.form-control:focus, .form-select:focus{
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.18);
}

blockquote.gold-text{
  font-family: 'Playfair Display', serif;
  max-width: 760px;
  margin: 0 auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px){
  .hero-title{ font-size: 2.2rem; }
  .hero-image-wrapper img{ height: 280px; }
  .about-preview img{ height: 280px; }
}
@media (max-width: 575.98px){
  .hero-section{ padding-top: 7rem; }
  .hero-title{ font-size: 1.7rem; }
  .section-title{ font-size: 1.6rem; }
}
