:root {
  --bg-main: #000000;
  --bg-card: #121214;
  --bg-soft: #161618;

  --gold: #d4af37;
  --gold-soft: rgba(201, 162, 77, 0.18);

  --text-main: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);

  --radius-lg: 18px;
  --radius-md: 14px;

  --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.45);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background: var(--bg-main);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

.brand-header {
  background: #000;
  padding: 10px 10px;
  border-bottom: 1px solid rgba(201, 162, 77, 0.945);
}

.brand-inner {
  display: flex;
  align-items: center;
  gap: 20px; /* space between logo & name */
}

.brand-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
}

.brand-name {
  font-size: 56px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--gold);
}

.listing-section {
  max-width: 1300px;
  margin: auto 100px;
  padding: 0 24px;
}

/* 70–30 GRID */
.listing-grid {
  display: grid;
  grid-template-columns: 70% 30%;
  gap: 32px;
  align-items: start;
}

/* LEFT CONTENT (70%) */
.listing-left {
  width: 100%;
}

.gallery-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  margin-top: 24px;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
}

.slider-track img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  flex-shrink: 0;
}

.nav-btn {
  position: absolute;
  top: 90%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  border: 1px solid var(--gold-soft);
  color: var(--gold);
  font-size: 26px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: 0.3s ease;
}

.nav-btn:hover {
  background: var(--gold);
  color: #000;
}

.prev { left: 44%; }
.next { right: 44%; }

.listing-header {
  margin: 20px 2px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.title-group h1 {
  font-size: 26px;
  line-height: 1.4;
  color: var(--text-main);
}

.listing-header p {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-muted);
}

.price-box {
  display: flex;
  flex-direction: column;
  align-items: center; /* centers both price and taxes */
}

.price {
  font-size: 26px;
  color: var(--gold);
  font-weight: 600;
  margin-top: 10px;
}

.taxes {
  font-size: 14px;
  margin-top: 4px;
  color: var(--text-muted);
}


.details-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 22px;
}

.detail-card {
  background: var(--bg-card);
  padding: 16px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.detail-card i {
  color: var(--gold);
  font-size: 20px;
  margin-bottom: 8px;
}

.detail-card span {
  font-size: 16px;
  font-weight: 100;
  letter-spacing: 1px;
  margin-left: 10px;
}

/* RIGHT CONTENT (30%) */
.listing-right {
   margin-top: 24px;
   width: 100%;
}

.realtor-card {
  position: sticky;
  top: 110px;
  background: var(--bg-soft);
  padding: 34px 26px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

/* Image */
.realtor-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 2px solid var(--gold-soft);
  margin-bottom: 16px;
  object-fit: cover;
}

/* Name */
.realtor-card h4 {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

/* Role */
.realtor-role {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 22px;
}

/* Contact info */
.realtor-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
  font-size: 14px;
}

.realtor-info span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #e5e7eb;
}

.realtor-info span i {
  color: var(--gold);
  font-size: 14px;
}

/* Action buttons */
.realtor-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.realtor-actions button {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-main);
}

.btn-primary{
    background-color: #0073e6;
}

.btn-outline {
    background-color: #01c031;
}

/*=================== DESCRIPTION =====================*/

.description-section {
  max-width: 1300px;
  margin: 80px 100px -20px;
  padding: 0 24px;
}

.description-container {
  width: 70%;
}

.description-container h2 {
  font-size: 26px;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
  color: var(--gold);
}

.description-container p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/*=================== Features =====================*/

.features-section {
  max-width: 1300px;
  margin: 80px 100px -20px;
  padding: 0 24px;
  width: 70%;
}

.features-title {
  font-size: 28px;
  margin-bottom: 30px;
  color: var(--gold);
  text-align: left;
}

.features-list {
  list-style: disc;
  columns: 2;
  column-gap: 60px;
  padding-left: 20px;
}

.features-list li {
  margin-bottom: 12px;
  font-size: 16px;
  color: #ddd;
  break-inside: avoid;
}

/*=================== AMENITIES =====================*/
.amenities-cta-wrapper {
  max-width: 1300px;
  margin: auto 100px;
  padding: 80px 24px;
  display: flex;
  gap: 48px;
  align-items: flex-start;
  overflow: visible; /* REQUIRED for sticky */
}

/* ===============================
   LEFT : AMENITIES (70%)
================================ */
.amenities-section {
  flex: 0 0 70%;
}

.amenities-container {
  width: 100%;
}

.amenities-container h2 {
  font-size: 26px;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
  color: var(--gold);
}

/* Amenities Grid */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Amenity Card */
.amenity-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.amenity-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.amenity-item span {
  display: block;
  padding: 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-main);
}

/* ===============================
   FLOOR PLANS
================================ */
.floorplan-title {
  margin-top: 60px;
  color: var(--gold);
}

.floorplan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.floorplan-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
}

.floorplan-card span {
  display: block;
  margin-top: 10px;
  font-size: 15px;
}

.floorplan-card a {
  display: block;
}

.floorplan-card img {
  cursor: zoom-in;
}


/* ===============================
   RIGHT : CTA (30%)
================================ */
.final-cta {
  flex: 0 0 30%;
  max-width: 360px;       /* ✅ prevents overflow */
  width: 100%;
  margin-top: 48px;
  margin-left: auto;
  margin-bottom: 30px;
  background: linear-gradient(135deg, #0f0f12, #141417);
  border: 1px solid rgba(201, 162, 77, 0.25);
  border-radius: 22px;
  padding: 40px 28px;

  position: sticky;
  top: 80px;              /* safer sticky offset */
}

/* ===============================
   CTA TYPOGRAPHY
================================ */
.cta-box h2 {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.4px;
  line-height: 1.3;
  margin-bottom: 16px;
  background: linear-gradient(90deg, #f5e6a8, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-box p {
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 30px;
}

/* ===============================
   CTA ACTIONS
================================ */
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ===============================
   PRIMARY BUTTON : BOOK VISIT
================================ */
.btn-book {
  display: inline-flex;               /* anchor-friendly */
  align-items: center;
  justify-content: center;
  gap: 8px;

  background: linear-gradient(135deg, #f5e6a8, #d4af37);
  color: #0b0b0d;

  font-weight: 600;
  padding: 14px 18px;
  border-radius: 14px;

  text-decoration: none;              /* remove underline */
  cursor: pointer;

  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.35);
  transition: all 0.35s ease;
}

/* Prevent icon blocking clicks */
.btn-book i {
  pointer-events: none;
}

/* Hover effect */
.btn-book:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(212, 175, 55, 0.55);
}

/* Keyboard focus (accessibility) */
.btn-book:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(212, 175, 55, 0.4),
    0 14px 36px rgba(212, 175, 55, 0.55);
}


/* ===============================
   SECONDARY BUTTON : WHATSAPP
================================ */
.btn-outline-light {
  display: inline-flex;               /* anchor-friendly */
  align-items: center;
  justify-content: center;
  gap: 8px;

  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.6);
  color: #f5e6a8;

  padding: 14px 18px;
  border-radius: 14px;
  font-weight: 500;
  text-decoration: none;              /* remove underline */
  cursor: pointer;

  transition: all 0.3s ease;
}

/* Icon safety */
.btn-outline-light i {
  pointer-events: none;
}

/* Hover */
.btn-outline-light:hover {
  background: linear-gradient(135deg, #f5e6a8, #d4af37);
  color: #0b0b0d;
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.45);
}

/* Focus (accessibility + premium feel) */
.btn-outline-light:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.35);
}


/* ===============================
   ICON POLISH
================================ */
.btn-book i,
.btn-outline-light i {
  margin-right: 8px;
  font-size: 15px;
}


/*=================== MAPs =====================*/
.map-section {
  max-width: 1300px;
  margin: 80px auto;
  padding: 0 24px;
}

.map-container {
  margin: auto 80px;
  max-width: 1150px;
  width: 100%;
}

.map-container h2 {
  margin-top: -80px;
  margin-bottom: 20px;

}
.map-wrapper iframe {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}


@media (max-width: 900px) {
  .listing-grid {
    grid-template-columns: 1fr;
  }

  .description-container,
  .amenities-container,
  .map-container {
    width: 100%;
  }

  .realtor-card {
    position: relative;
    top: 0;
    margin-top: 40px;
  }
}

/* ================= FOOTER ================= */

.premium-footer {
  background: radial-gradient(circle at top, #111 0%, #000 70%);
  padding: 90px 6% 25px;
  color: #c9c9c9;
  font-family: 'Inter', sans-serif;
}

.footer-main {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.brand-row {
  margin-top: 20px;
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.brand-row img {
  width: 160px;
  flex-shrink: 0;
  margin-top: -30px;
}

.brand-text h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.5;
  letter-spacing: 0.5px;
}

.brand-text p {
  margin-top: 8px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0px;
  color: var(--text-muted);
}

.footer-legal-inline {
  font-size: 0.8rem;
  color: #777;
  margin-top: -54px;
  margin-bottom: 18px;
  margin-left: 182px;
}

.footer-legal-inline a {
  color: #888;
  text-decoration: none;
}

.footer-legal-inline a:hover{
  color: #fff;
}

.footer-socials {
  margin-left:  180px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-right: 12px;
  background: rgba(212, 175, 55, 0.08);
  color: #d4af37;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background: #d4af37;
  color: #000;
  transform: translateY(-4px);
}

.footer-links-group h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 25px;
}

.footer-links-group a {
  display: block;
  margin-bottom: 14px;
  color: #9a9a9a;
  text-decoration: none;
  font-size: 0.9rem;
  position: relative;
  transition: color 0.3s ease;
}

.footer-links-group a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: #d4af37;
  transition: width 0.3s ease;
}

.footer-links-group a:hover {
  color: #fff;
}

.footer-links-group a:hover::after {
  width: 100%;
}

.footer-bottom {
  margin-top: 70px;
  padding-top: 18px;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  text-align: center;
  font-size: 0.8rem;
  color: #777;
}