/* Plot Plus - Main Luxury Real Estate Design System */

/* Global Reset & Typography */
body {
  font-family: var(--font-body);
  background-color: var(--bg-slate);
  color: #334155;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

.text-gold {
  color: var(--accent) !important;
}

.text-gold-light {
  color: var(--accent-light) !important;
}

.bg-gold-gradient {
  background: var(--gold-gradient) !important;
}

.bg-dark-slate {
  background-color: var(--primary) !important;
}

.bg-slate-900 {
  background-color: #0F172A !important;
}

.bg-slate-950 {
  background-color: #0B1120 !important;
}

.text-slate-300 {
  color: #CBD5E1 !important;
}

.text-slate-400 {
  color: #94A3B8 !important;
}

/* Custom Buttons & Touch Targets */
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-gold-gradient {
  background: var(--gold-gradient);
  color: #0F172A;
  border: none;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.25);
}

.btn-gold-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.45);
  color: #000;
}

.btn-outline-gold {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
  transition: all 0.3s ease;
}

.btn-outline-gold:hover {
  background: var(--accent);
  color: #0F172A;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.btn-whatsapp {
  background-color: #25D366;
  color: white;
  border: none;
}

.btn-whatsapp:hover {
  background-color: #128C7E;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

/* Glassmorphism Cards & Panels */
.glass-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
}

.glass-card-light {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 20px;
  box-shadow: var(--shadow-luxury);
}

/* Floating Statistics Bar */
.stats-container {
  margin-top: -60px;
  position: relative;
  z-index: 20;
}

@media (max-width: 767.98px) {
  .stats-container {
    margin-top: -30px;
  }
}

.stat-card {
  background: white;
  border-radius: 20px;
  padding: 25px 20px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
  transition: all 0.3s ease;
  text-align: center;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.15);
  border-color: var(--accent);
}

.stat-icon {
  width: 55px;
  height: 55px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--accent-dark);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 15px;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
}

/* Project Cards */
.project-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.15);
}

.project-img-wrapper {
  position: relative;
  height: 280px;
  overflow: hidden;
}

@media (max-width: 575.98px) {
  .project-img-wrapper {
    height: 220px;
  }
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover .project-img-wrapper img {
  transform: scale(1.08);
}

.project-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--gold-gradient);
  color: #0F172A;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.8rem;
}

/* Feature & Amenity Pill Boxes */
.amenity-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #E2E8F0;
  transition: all 0.3s ease;
}

.amenity-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
}

.amenity-icon-box {
  width: 50px;
  height: 50px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--secondary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

/* Location Advantage Hub */
.location-item {
  background: white;
  border-radius: 16px;
  padding: 16px 20px;
  border-left: 4px solid var(--accent);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.location-item:hover {
  transform: translateX(6px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
}

/* Property Comparison Table & Mobile Card View */
.comparison-table-wrapper {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.comparison-table th {
  background-color: #0F172A;
  color: white;
  font-family: var(--font-heading);
  padding: 18px 24px;
}

.comparison-table td {
  padding: 16px 24px;
  vertical-align: middle;
}

@media (max-width: 767.98px) {

  .comparison-table,
  .comparison-table tbody,
  .comparison-table tr,
  .comparison-table td,
  .comparison-table th {
    display: block;
    width: 100%;
  }

  .comparison-table thead {
    display: none;
  }

  .comparison-table tr {
    margin-bottom: 1.5rem;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  }

  .comparison-table tr:last-child {
    margin-bottom: 0;
  }

  .comparison-table td {
    padding: 10px 0;
    border-bottom: 1px dashed #E2E8F0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: right;
  }

  .comparison-table td:last-child {
    border-bottom: none;
  }

  .comparison-table td.fw-bold {
    background: var(--primary);
    color: var(--accent) !important;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    display: block;
    text-align: left;
  }

  .comparison-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: #64748B;
    text-align: left;
    margin-right: 12px;
    font-size: 0.85rem;
  }
}

/* Masonry Gallery Filter Pills */
.gallery-filter-btn {
  background: white;
  border: 1px solid #CBD5E1;
  color: #475569;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
  min-height: 44px;
}

.gallery-filter-btn.active,
.gallery-filter-btn:hover {
  background: #0F172A;
  color: var(--accent);
  border-color: #0F172A;
}

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Booking Timeline */
.timeline-step {
  position: relative;
  text-align: center;
  padding: 20px 10px;
}

@media (max-width: 991.98px) {
  .timeline-step {
    background: var(--bg-slate);
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 20px 16px;
    margin-bottom: 12px;
  }
}

.timeline-number {
  width: 60px;
  height: 60px;
  background: var(--gold-gradient);
  color: #0F172A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 15px;
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

/* Lead Form & Input Touch Targets */
.lead-form-card,
.crm-iframe-container {
  background: white;
  border-radius: 20px;
  padding: 0;
  border: 1px solid #E2E8F0;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
  overflow: hidden;
  max-width: 520px;
  margin: 0 auto;
  height: 400px;
}

.crm-iframe-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.crm-iframe {
  width: 100%;
  max-width: 100%;
  height: 400px !important;
  border: 0;
  display: block;
}

@media (max-width: 575.98px) {

  .lead-form-card,
  .crm-iframe-container {
    border-radius: 16px;
    max-width: 100%;
    height: 420px;
  }

  .crm-iframe {
    height: 420px !important;
  }
}

.form-control,
.form-select {
  border-radius: 12px;
  padding: 12px 16px;
  border: 1.5px solid #CBD5E1;
  font-size: 16px;
  /* Prevents iOS auto-zoom */
  min-height: 50px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

/* Desktop Sticky Panel */
.desktop-sticky-cta {
  position: fixed;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
}

.sticky-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  min-height: 48px;
}

.sticky-btn-visit {
  background: var(--gold-gradient);
  color: #0F172A;
}

.sticky-btn-call {
  background: #0F172A;
  color: white;
  border: 1px solid var(--accent);
}

.sticky-btn-wa {
  background: #25D366;
  color: white;
}

.sticky-btn:hover {
  transform: translateX(-8px);
}

/* Mobile Sticky Bottom Bar */
.mobile-sticky-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #0F172A;
  display: flex;
  justify-content: space-around;
  padding-top: 8px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  z-index: 1040;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.75rem;
}

.mobile-nav-item i {
  font-size: 1.25rem;
  margin-bottom: 2px;
}

.mobile-nav-item.highlight-btn {
  background: var(--gold-gradient);
  color: #0F172A;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 700;
}

/* Floating FAB Container - 95px clearance above bottom nav */
.floating-fab-container {
  position: fixed;
  bottom: calc(95px + env(safe-area-inset-bottom, 0px));
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

@media (min-width: 992px) {
  .floating-fab-container {
    bottom: 30px;
    right: 25px;
  }
}

.fab-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: white;
  text-decoration: none;
  border: none;
  transition: all 0.3s ease;
}

.fab-whatsapp {
  background: #25D366;
}

.fab-call {
  background: #2563EB;
}

.fab-top {
  background: var(--primary);
  color: var(--accent);
  border: 1px solid var(--accent);
  display: none;
}

.fab-btn:hover {
  transform: scale(1.1);
  color: white;
}

/* ==================================================
   LUXURY FOOTER STYLES
   ================================================== */
.footer-luxury {
  background-color: #070D1A !important;
  color: #FFFFFF;
  border-top: 2px solid rgba(212, 175, 55, 0.25);
}

.footer-heading {
  border-left: 3px solid var(--accent);
  line-height: 1.2;
}

.footer-links .footer-link-item {
  color: #CBD5E1;
  text-decoration: none;
  transition: color 0.3s ease, padding-left 0.3s ease;
  display: inline-block;
  min-height: 38px;
  line-height: 38px;
}

.footer-links .footer-link-item:hover {
  color: var(--accent) !important;
  padding-left: 4px;
}

.footer-contact-link {
  transition: color 0.3s ease;
}

.footer-contact-link:hover {
  color: var(--accent) !important;
}

.footer-legal-link {
  transition: color 0.3s ease;
}

.footer-legal-link:hover {
  color: var(--accent) !important;
}

/* Social Media Circular Buttons */
.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon:hover {
  background: var(--gold-gradient);
  color: #0F172A;
  border-color: transparent;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35);
}

.footer-map-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  transition: all 0.3s ease;
  min-height: 44px;
}

.footer-map-btn:hover {
  background: var(--primary);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 767.98px) {
  .footer-luxury {
    text-align: center;
  }

  .footer-heading {
    border-left: none;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
    padding-bottom: 6px;
    margin-bottom: 16px !important;
  }
}