/* =====================================================================
   ARQVERA HOMES LIMITED — Brand Stylesheet
   Palette (Section 10 of the PRD): Cream, Warm Terracotta, Charcoal Grey
   ===================================================================== */

:root {
  --aq-cream: #F7F1E7;
  --aq-cream-dark: #EDE3D2;
  --aq-terracotta: #C1652F;
  --aq-terracotta-dark: #9E4E22;
  --aq-charcoal: #2C2A28;
  --aq-charcoal-soft: #4A4642;
  --aq-white: #FFFFFF;
  --aq-success: #3E7D53;
  --aq-danger: #B3372C;
  --aq-radius: 10px;
  --aq-shadow: 0 6px 24px rgba(44, 42, 40, 0.08);
  --aq-font-heading: "Playfair Display", Georgia, serif;
  --aq-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  font-family: var(--aq-font-body);
  color: var(--aq-charcoal);
  background-color: var(--aq-white);
  line-height: 1.6;
}

h1, h2, h3, h4, .font-heading {
  font-family: var(--aq-font-heading);
  font-weight: 700;
  color: var(--aq-charcoal);
}

a { color: var(--aq-terracotta); text-decoration: none; }
a:hover { color: var(--aq-terracotta-dark); }

.bg-cream { background-color: var(--aq-cream) !important; }
.bg-charcoal { background-color: var(--aq-charcoal) !important; }
.text-terracotta { color: var(--aq-terracotta) !important; }

.btn-terracotta {
  background-color: var(--aq-terracotta);
  border-color: var(--aq-terracotta);
  color: var(--aq-white);
  font-weight: 600;
  border-radius: var(--aq-radius);
  padding: 0.65rem 1.5rem;
  transition: background-color .15s ease, transform .15s ease;
}
.btn-terracotta:hover {
  background-color: var(--aq-terracotta-dark);
  border-color: var(--aq-terracotta-dark);
  color: var(--aq-white);
  transform: translateY(-1px);
}
.btn-outline-terracotta {
  border: 1.5px solid var(--aq-terracotta);
  color: var(--aq-terracotta);
  border-radius: var(--aq-radius);
  font-weight: 600;
}
.btn-outline-terracotta:hover {
  background-color: var(--aq-terracotta);
  color: var(--aq-white);
}

/* ---------------------------------------------------------------------
   Navbar
   --------------------------------------------------------------------- */
.aq-navbar {
  background-color: var(--aq-white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding-top: .75rem;
  padding-bottom: .75rem;
}
.aq-navbar .navbar-brand {
  font-family: var(--aq-font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--aq-charcoal);
}
.aq-navbar .navbar-brand span { color: var(--aq-terracotta); }
.aq-navbar .nav-link {
  font-weight: 500;
  color: var(--aq-charcoal-soft);
  margin: 0 .35rem;
}
.aq-navbar .nav-link.active,
.aq-navbar .nav-link:hover { color: var(--aq-terracotta); }

/* ---------------------------------------------------------------------
   Hero (FR-01)
   --------------------------------------------------------------------- */
.aq-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background-color: var(--aq-charcoal);
  overflow: hidden;
}
.aq-hero .carousel,
.aq-hero .carousel-item,
.aq-hero .carousel-inner { height: 78vh; }
.aq-hero .carousel-item img { object-fit: cover; height: 78vh; width: 100%; filter: brightness(0.55); }
.aq-hero-content {
  position: absolute;
  z-index: 5;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--aq-white);
}
.aq-hero-content h1 {
  color: var(--aq-white);
  font-size: clamp(2rem, 5vw, 3.5rem);
  max-width: 800px;
}
.aq-hero-content p.lead { color: var(--aq-cream); max-width: 620px; }

.aq-search-card {
  background: var(--aq-white);
  border-radius: var(--aq-radius);
  box-shadow: var(--aq-shadow);
  padding: 1.25rem;
  margin-top: -3.5rem;
  position: relative;
  z-index: 10;
}

/* ---------------------------------------------------------------------
   Property Cards (FR-02, FR-03)
   --------------------------------------------------------------------- */
.property-card {
  border: none;
  border-radius: var(--aq-radius);
  overflow: hidden;
  box-shadow: var(--aq-shadow);
  transition: transform .18s ease, box-shadow .18s ease;
  background: var(--aq-white);
  height: 100%;
}
.property-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(44,42,40,0.14); }
.property-card .card-img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.property-card .card-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.property-card .badge-status {
  position: absolute; top: .75rem; left: .75rem;
  font-weight: 600; padding: .4rem .7rem; border-radius: 20px;
}
.property-card .badge-featured {
  position: absolute; top: .75rem; right: .75rem;
  background: var(--aq-terracotta); color: #fff;
  padding: .35rem .65rem; border-radius: 20px; font-size: .75rem; font-weight: 600;
}
.property-card .price { color: var(--aq-terracotta); font-weight: 700; font-size: 1.25rem; }
.property-card .meta { color: var(--aq-charcoal-soft); font-size: .9rem; }
.property-card .meta i { color: var(--aq-terracotta); margin-right: .25rem; }

/* ---------------------------------------------------------------------
   Property Detail (FR-06, FR-07)
   --------------------------------------------------------------------- */
.gallery-main img, .gallery-main video { width: 100%; border-radius: var(--aq-radius); max-height: 520px; object-fit: cover; cursor: zoom-in; }
.gallery-thumbs img { width: 100%; height: 90px; object-fit: cover; border-radius: 6px; cursor: pointer; opacity: .7; transition: opacity .15s; }
.gallery-thumbs img:hover, .gallery-thumbs img.active { opacity: 1; outline: 2px solid var(--aq-terracotta); }
.amenity-pill {
  display: inline-block; background: var(--aq-cream); color: var(--aq-charcoal);
  border-radius: 20px; padding: .35rem .85rem; margin: .2rem; font-size: .875rem;
}
.sticky-enquiry { position: sticky; top: 90px; }

/* ---------------------------------------------------------------------
   WhatsApp floating button (FR-11)
   --------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 1050;
  background: #25D366; color: #fff; width: 58px; height: 58px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.25); font-size: 1.6rem;
  transition: transform .15s ease;
}
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }

/* ---------------------------------------------------------------------
   Footer (FR-22)
   --------------------------------------------------------------------- */
footer.aq-footer { background: var(--aq-charcoal); color: var(--aq-cream); }
footer.aq-footer a { color: var(--aq-cream); opacity: .85; }
footer.aq-footer a:hover { opacity: 1; color: var(--aq-terracotta); }
footer.aq-footer h5 { color: var(--aq-white); font-family: var(--aq-font-heading); }
.social-icon {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  display: inline-flex; align-items: center; justify-content: center; margin-right: .5rem;
}

/* ---------------------------------------------------------------------
   Misc
   --------------------------------------------------------------------- */
.section-title { position: relative; margin-bottom: 2rem; }
.section-title::after {
  content: ""; display: block; width: 60px; height: 3px; background: var(--aq-terracotta);
  margin-top: .5rem;
}
.card-agent img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--aq-radius); }
.filter-sidebar { background: var(--aq-cream); border-radius: var(--aq-radius); padding: 1.25rem; }
.skeleton { background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%); background-size: 200% 100%; animation: skeleton 1.2s infinite; }
@keyframes skeleton { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.lazy-img { opacity: 0; transition: opacity .3s ease; }
.lazy-img.loaded { opacity: 1; }

@media (max-width: 767px) {
  .aq-hero, .aq-hero .carousel, .aq-hero .carousel-item, .aq-hero .carousel-item img { min-height: 62vh; height: 62vh; }
  .sticky-enquiry { position: static; }
}
