/* Custom Styles & Enhancements for PropertyCity Ltd */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&display=swap');

:root {
  --primary: #0b3d2e;
  --primary-light: #125e47;
  --primary-dark: #06261d;
  --accent: #d97706;
  --accent-light: #f59e0b;
  --accent-gold: #c59b27;
  --bg-sand: #fbfaf8;
  --dark-slate: #0f172a;
  --text-muted: #64748b;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-sand);
  color: #1e293b;
  scroll-behavior: smooth;
}

.font-serif {
  font-family: 'Playfair Display', Georgia, serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Hero Background and Overlay */
.hero-bg {
  background-image: linear-gradient(180deg, rgba(7, 34, 25, 0.82) 0%, rgba(11, 61, 46, 0.88) 100%),
                    url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.glass-dark {
  background: rgba(11, 61, 46, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Property Card Hover Elevation */
.property-card {
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -10px rgba(11, 61, 46, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Image Zoom on Card Hover */
.property-card:hover .property-img {
  transform: scale(1.06);
}
.property-img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Badge Glows */
.badge-verified {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.badge-featured {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

/* Floating WhatsApp Pulse */
@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-float {
  animation: whatsappPulse 2.4s infinite;
}

/* Filter Tag Active State */
.filter-btn.active {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(11, 61, 46, 0.25);
}

/* Modal Smooth Transition */
.modal-overlay {
  transition: opacity 0.3s ease-in-out;
}
.modal-content {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

/* Range Slider Styling */
input[type="range"] {
  accent-color: #0b3d2e;
}

/* Pattern Overlay */
.pattern-dots {
  background-image: radial-gradient(#0b3d2e 0.75px, transparent 0.75px);
  background-size: 16px 16px;
  opacity: 0.08;
}

/* Shimmer placeholder */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* Print Friendly */
@media print {
  .no-print, header, footer, .whatsapp-float, #contact {
    display: none !important;
  }
  body {
    background: #ffffff;
    color: #000000;
  }
}

