/* 
 * Custom Dynamic Features & Interactive Widgets
 * Findstate Plots / ShreeRam Plots Styling Layer
 */

:root {
  --primary-color: #207dff;
  --primary-hover: #1066db;
  --secondary-color: #f15d30;
  --dark-color: #111e38;
  --light-bg: #f8f9fa;
  --border-color: #e6ebf1;
  --success-color: #28a745;
  --whatsapp-color: #25d366;
}

/* Floating WhatsApp Button */
.whatsapp-float-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: var(--whatsapp-color);
  color: #fff !important;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
}
.whatsapp-float-btn:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
  color: #fff !important;
}
.whatsapp-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--whatsapp-color);
  opacity: 0.7;
  animation: pulse-border 1.8s infinite;
  z-index: -1;
}
@keyframes pulse-border {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}
.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: #1e293b;
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.whatsapp-float-btn:hover .whatsapp-tooltip {
  opacity: 1;
}

/* Quick Action Top Bar / Navbar Badges */
.nav-badge {
  background: var(--secondary-color);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  margin-left: 4px;
  vertical-align: middle;
}
.btn-nav-action {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px !important;
  border-radius: 20px;
  margin-left: 8px;
  border: 1px solid rgba(255,255,255,0.25);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.btn-nav-action:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

/* Custom Property Badges */
.property-wrap {
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.property-wrap:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.plot-badge-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary-color);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.plot-badge-tag.hot {
  background: var(--secondary-color);
}
.plot-badge-tag.authority {
  background: #10b981;
}

/* Rate & EMI Tags in Card */
.property-rate-tag {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
  margin-left: 6px;
}
.property-emi-pill {
  display: inline-block;
  background: #eff6ff;
  color: var(--primary-color);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 8px;
}

/* Interactive Filter Bar */
.filter-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.06);
  border: 1px solid #e2e8f0;
  margin-bottom: 30px;
}
.filter-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 20px;
}
.filter-group {
  margin-bottom: 18px;
}
.filter-group label {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 6px;
  display: block;
}
.active-filters-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  align-items: center;
}
.filter-chip {
  background: #e0f2fe;
  color: #0369a1;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.filter-chip .chip-remove {
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
}
.filter-chip .chip-remove:hover {
  color: #ef4444;
}

/* Toast Notifications */
.custom-toast-container {
  position: fixed;
  top: 25px;
  right: 25px;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.custom-toast {
  background: #1e293b;
  color: #fff;
  padding: 14px 20px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  max-width: 420px;
  font-size: 14px;
  border-left: 5px solid var(--primary-color);
  animation: slideInRight 0.3s ease-out forwards;
  pointer-events: auto;
}
.custom-toast.success {
  border-left-color: #22c55e;
}
.custom-toast.error {
  border-left-color: #ef4444;
}
.custom-toast.info {
  border-left-color: var(--primary-color);
}
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes fadeOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* Saved Plots Drawer */
.saved-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 99998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.saved-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.saved-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: #fff;
  z-index: 99999;
  box-shadow: -5px 0 25px rgba(0,0,0,0.2);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.saved-drawer.active {
  right: 0;
}
.saved-drawer-header {
  padding: 20px;
  background: #0f172a;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.saved-drawer-header h3 {
  margin: 0;
  font-size: 18px;
  color: #fff;
  font-weight: 700;
}
.saved-drawer-close {
  background: transparent;
  border: none;
  color: #cbd5e1;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}
.saved-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}
.saved-plot-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 12px;
  background: #f8fafc;
  position: relative;
}
.saved-plot-img {
  width: 75px;
  height: 75px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.saved-plot-info h5 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 4px 0;
}
.saved-plot-info h5 a {
  color: #1e293b;
}
.saved-plot-info p {
  margin: 0;
  font-size: 12px;
  color: #64748b;
}
.saved-plot-price {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 13px;
  margin-top: 4px;
}
.saved-remove-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  color: #94a3b8;
  cursor: pointer;
  background: transparent;
  border: none;
  font-size: 16px;
}
.saved-remove-btn:hover {
  color: #ef4444;
}

/* Compare Modal */
.compare-modal-table {
  width: 100%;
  border-collapse: collapse;
}
.compare-modal-table th,
.compare-modal-table td {
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  font-size: 13px;
  text-align: left;
}
.compare-modal-table th {
  background: #f1f5f9;
  font-weight: 700;
  color: #334155;
  width: 25%;
}

/* Interactive EMI Calculator Card */
.calculator-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  border: 1px solid #e2e8f0;
}
.calc-slider-group {
  margin-bottom: 22px;
}
.calc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.calc-slider-header span {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}
.calc-slider-header strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-color);
  background: #eff6ff;
  padding: 3px 10px;
  border-radius: 6px;
}
.calc-range-input {
  width: 100%;
  height: 6px;
  border-radius: 5px;
  background: #cbd5e1;
  outline: none;
  -webkit-appearance: none;
}
.calc-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-color);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(32, 125, 255, 0.4);
}
.emi-result-card {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #fff;
  padding: 24px;
  border-radius: 10px;
  text-align: center;
}
.emi-amount-display {
  font-size: 32px;
  font-weight: 800;
  color: #38bdf8;
  margin: 10px 0;
}
.emi-breakdown-row {
  display: flex;
  justify-content: space-around;
  margin-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 15px;
}
.emi-breakdown-col span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
  display: block;
}
.emi-breakdown-col strong {
  font-size: 14px;
  color: #f8fafc;
}

/* Area Unit Converter Widget */
.converter-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 25px;
}
.converter-result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.converter-box-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.converter-box-item .val {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
}
.converter-box-item .unit {
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 600;
}

/* Lightbox & Gallery Switcher */
.single-property-gallery {
  margin-bottom: 25px;
}
.main-gallery-img {
  width: 100%;
  height: 480px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  position: relative;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 5px;
}
.gallery-thumb-item {
  width: 90px;
  height: 70px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.gallery-thumb-item.active,
.gallery-thumb-item:hover {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

/* Verified Specs Table */
.specs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  margin: 20px 0;
}
.specs-table td {
  padding: 12px 18px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 14px;
}
.specs-table tr:last-child td {
  border-bottom: none;
}
.specs-table td.spec-name {
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
  width: 38%;
}
.specs-table td.spec-val {
  font-weight: 600;
  color: #0f172a;
}

/* Agent Direct Contact Buttons */
.agent-contact-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}
.btn-whatsapp-direct {
  background: var(--whatsapp-color);
  color: #fff !important;
  font-weight: 600;
  font-size: 13px;
  border-radius: 6px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  transition: background 0.2s;
}
.btn-whatsapp-direct:hover {
  background: #1ebc59;
}
.btn-call-direct {
  background: var(--primary-color);
  color: #fff !important;
  font-weight: 600;
  font-size: 13px;
  border-radius: 6px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  transition: background 0.2s;
}
.btn-call-direct:hover {
  background: var(--primary-hover);
}

/* Leaflet Map Styling */
#interactive-map,
#map {
  width: 100%;
  min-height: 420px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.leaflet-popup-content-wrapper {
  border-radius: 8px;
  padding: 4px;
}
.map-popup-card {
  text-align: left;
}
.map-popup-card h5 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #0f172a;
}
.map-popup-card p {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 6px;
}
.map-popup-card .price {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-color);
}

/* Print Brochure Styling */
@media print {
  body * {
    visibility: hidden;
  }
  #print-brochure-container,
  #print-brochure-container * {
    visibility: visible;
  }
  #print-brochure-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }
}

/* ========================================================
   ShreeRam Plots - Brand Logo & Identity Styles
   ======================================================== */
.navbar-brand {
  display: flex !important;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  text-decoration: none !important;
  padding: 4px 0 !important;
}

.navbar-brand-logo {
  height: 48px;
  width: 48px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
  border: 1.5px solid rgba(255, 215, 0, 0.6);
  transition: all 0.3s ease;
  background: #111e38;
}

.navbar-brand:hover .navbar-brand-logo {
  transform: scale(1.08) rotate(1deg);
  box-shadow: 0 6px 18px rgba(255, 215, 0, 0.4);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-size: 21px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.brand-title span {
  color: #f15d30;
}

.ftco-navbar-light.scrolled .brand-title {
  color: #111e38;
  text-shadow: none;
}

.brand-subtitle {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: #ffc107;
  font-weight: 700;
}

.ftco-navbar-light.scrolled .brand-subtitle {
  color: #d97706;
}

/* Footer Brand Logo */
.footer-brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.footer-brand-logo {
  height: 56px;
  width: 56px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid rgba(255, 215, 0, 0.6);
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

/* Footer Social Icons & Links Enhancement */
.ftco-footer-social {
  display: flex !important;
  gap: 12px;
  padding-left: 0;
  margin-top: 20px !important;
}
.ftco-footer-social li {
  list-style: none;
  display: inline-block;
  margin: 0 !important;
}
.ftco-footer-social li a {
  height: 46px;
  width: 46px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: #ffffff !important;
  font-size: 20px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-decoration: none !important;
  position: relative;
}
.ftco-footer-social li a span {
  position: static !important;
  transform: none !important;
  font-size: 20px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ftco-footer-social li a[title="Facebook"]:hover {
  background: #1877f2 !important;
  color: #ffffff !important;
  border-color: #1877f2 !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
}
.ftco-footer-social li a[title="Instagram"]:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(214, 36, 159, 0.4);
}
.ftco-footer-widget .block-23 ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
  text-decoration: none;
}
.ftco-footer-widget .block-23 ul li a:hover {
  color: #ffffff;
}
.ftco-footer-widget ul.list-unstyled li a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s ease;
  display: inline-block;
  text-decoration: none;
}
.ftco-footer-widget ul.list-unstyled li a:hover {
  color: #d4ca68;
  transform: translateX(4px);
}


