/* Custom styles for World Home Imóveis */

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #1e293b;
  background-color: #f8fafc;
}

/* Card hover animation */
.property-card {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 35px -10px rgba(0, 0, 0, 0.1), 0 10px 15px -5px rgba(0, 0, 0, 0.04);
}

/* Badge styles */
.badge-status {
  backdrop-filter: blur(8px);
}

/* Hero Background Motion (Ken Burns Cinematic Effect) */
@keyframes kenBurnsEffect {
  0% {
    transform: scale(1) translate(0, 0);
  }
  50% {
    transform: scale(1.08) translate(-1.5%, -1%);
  }
  100% {
    transform: scale(1) translate(0, 0);
  }
}

.hero-motion-bg {
  animation: kenBurnsEffect 22s ease-in-out infinite alternate;
  will-change: transform;
}

/* Video hero background */
.hero-video-container video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  pointer-events: none;
}

/* Card Image Slider */
.card-slide-img {
  transition: opacity 0.4s ease-in-out, transform 0.5s ease-out;
}

/* Dot Indicator */
.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.5);
  transition: all 0.25s ease;
}

.slider-dot.active {
  width: 18px;
  background-color: #10b981;
}

/* Modal animation */
#modalImovel {
  transition: opacity 0.3s ease;
}

#modalImovel.show {
  display: flex !important;
  animation: fadeIn 0.25s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
