/* ===================================================
   Realestate Sathi - Magicbricks Inspired Theme + Assamese Heritage Touch
   Color Palette: Magicbricks Crimson (#d8232a), Deep Red (#991b1b), Assamese Gamusa Red & White
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Hind+Siliguri:wght@400;500;600;700&display=swap');

:root {
  --mb-red: #d8232a;
  --mb-red-dark: #b31b20;
  --mb-red-light: #fff1f2;
  --mb-red-soft: #ffe4e6;
  --mb-gold: #f59e0b;
  --mb-gold-light: #fef3c7;
  --mb-dark: #0f172a;
  --mb-gray-900: #111827;
  --mb-gray-700: #374151;
  --mb-gray-500: #6b7280;
  --mb-gray-200: #e5e7eb;
  --mb-gray-100: #f3f4f6;
  --mb-gray-50: #f9fafb;
  --gamusa-red: #c91a25;
  --gamusa-pattern: repeating-linear-gradient(45deg, #c91a25, #c91a25 5px, #ffffff 5px, #ffffff 10px);
}

* {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  box-sizing: border-box;
}

.font-assamese {
  font-family: 'Hind Siliguri', 'Inter', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--mb-red);
}

/* Assamese Gamusa Weave Ribbon / Border */
.gamusa-border-top {
  position: relative;
}
.gamusa-border-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, 
    #c91a25 0%, #c91a25 10%, 
    #ffffff 10%, #ffffff 13%, 
    #c91a25 13%, #c91a25 25%, 
    #ffffff 25%, #ffffff 28%, 
    #c91a25 28%, #c91a25 40%, 
    #ffffff 40%, #ffffff 43%, 
    #c91a25 43%, #c91a25 55%, 
    #ffffff 55%, #ffffff 58%, 
    #c91a25 58%, #c91a25 70%, 
    #ffffff 70%, #ffffff 73%, 
    #c91a25 73%, #c91a25 85%, 
    #ffffff 85%, #ffffff 88%, 
    #c91a25 88%, #c91a25 100%
  );
  z-index: 40;
}

.gamusa-ribbon {
  background: repeating-linear-gradient(
    90deg,
    #dc2626,
    #dc2626 12px,
    #ffffff 12px,
    #ffffff 16px,
    #b91c1c 16px,
    #b91c1c 20px,
    #ffffff 20px,
    #ffffff 24px
  );
}

.assamese-motif-bg {
  background-color: #fffaf5;
  background-image: radial-gradient(#d8232a 0.65px, transparent 0.65px), radial-gradient(#d8232a 0.65px, #fffaf5 0.65px);
  background-size: 26px 26px;
  background-position: 0 0, 13px 13px;
  background-opacity: 0.05;
}

/* Magicbricks Search Box Floating Tabs */
.mb-tab-btn {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 3px solid transparent;
}
.mb-tab-btn.active {
  color: #d8232a;
  border-bottom-color: #d8232a;
  font-weight: 700;
}

/* Property Card Effects */
.prop-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid #f1f5f9;
}
.prop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  border-color: #fecdd3;
}

/* Verified Badge Glow */
.badge-verified {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.badge-featured {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.badge-rera {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.badge-owner {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

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

/* Custom Range Slider */
input[type=range] {
  accent-color: #d8232a;
}

/* Pulse animation for Live Leads / Online Status */
@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0.4; }
  100% { transform: scale(0.95); opacity: 0.8; }
}
.pulse-badge {
  animation: pulse-ring 2s infinite ease-in-out;
}

/* Assamese Cultural jaapi Icon SVG styling */
.jaapi-icon {
  filter: drop-shadow(0 2px 4px rgba(216, 35, 42, 0.2));
}

/* Print Friendly */
@media print {
  .no-print { display: none !important; }
}

/* Hero Background Slider Styles */
.hero-bg-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 8s cubic-bezier(0.1, 0, 0.2, 1);
  will-change: opacity, transform;
  z-index: 0;
}

.hero-bg-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-slide-progress {
  transition: width 5s linear;
}

/* ===================================================
   HUMAN-CRAFTED ANIMATION SUITE (MODERN & BUTTERY SMOOTH)
   =================================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes pulseSubtle {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(216, 35, 42, 0.35);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 0 0 10px rgba(216, 35, 42, 0);
  }
}

@keyframes shimmerSweep {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in-down {
  animation: fadeInDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-float {
  animation: floatSlow 4s ease-in-out infinite;
}

.animate-pulse-subtle {
  animation: pulseSubtle 3s infinite ease-in-out;
}

/* Card Hover Elevation */
.card-lift {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}
.card-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Button Click Press Effect */
.btn-press {
  transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), filter 0.15s ease;
}
.btn-press:active {
  transform: scale(0.96);
}

/* Image Zoom */
.img-zoom-container {
  overflow: hidden;
}
.img-zoom-container img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.img-zoom-container:hover img {
  transform: scale(1.06);
}

/* Shimmer on Verified / Premium Badges */
.badge-shimmer {
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
  background-size: 200% 100%;
  animation: shimmerSweep 3s infinite;
}

/* Scroll Reveal Initial & Active States */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger Delays for Grid Elements */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }


/* ===================================================
   UNIFORM BRAND RED ICONS
   All icons throughout the application styled with Realestate Sathi Crimson Red
   =================================================== */
i.fas, 
i.far, 
i.fal, 
i.fad, 
i.fa-solid, 
i.fa-regular, 
i.fa-light, 
i.fa-thin {
  color: #dc2626 !important;
}

/* Exceptions: Keep icons crisp white when on buttons, circular badges, gradients, or dark backgrounds */
i.text-white,
i.mobile-post-free-icon,
#mobile-post-free-btn i,
.text-white i,
.text-white > i,
.bg-red-600 i, 
.bg-red-700 i, 
.bg-red-800 i, 
.bg-rose-600 i,
.from-red-600 i,
.to-rose-500 i,
[class*="from-red-"] i,
[class*="to-rose-"] i,
.bg-slate-900 i, 
.bg-slate-950 i, 
.bg-black i,
.bg-emerald-600 i,
.btn-primary i, 
.btn-danger i,
button.bg-red-600 i, 
a.bg-red-600 i,
.step-nav-btn.bg-red-600 i,
.mobile-step-dot.active i, 
.mobile-step-dot.completed i {
  color: #ffffff !important;
}

/* Social & Official Brands */
i.fa-whatsapp { color: #25d366 !important; }
i.fa-facebook-f { color: #1877f2 !important; }
i.fa-x-twitter { color: #ffffff !important; }
i.fa-linkedin-in { color: #0a66c2 !important; }
i.fa-youtube { color: #ff0000 !important; }
i.fa-google-play { color: #34a853 !important; }
i.fa-apple { color: #ffffff !important; }

/* Durga Puja Festive Offer sparkles stay golden */
#durga-puja-top-banner i.fa-sparkles {
  color: #fbbf24 !important;
}
