/* ==========================================================================
   AquiTemLar - Portal Imobiliário Multiusuário
   Palette & Design System CSS
   Location: C:\xampp\htdocs\aquitemlar\assets\css\style.css
   ========================================================================== */

:root {
  /* Cores Principais */
  --primary: #0F4C81;          /* Azul Principal Header/Botoes */
  --primary-hover: #0B3C65;    /* Azul Escuro Hover */
  --secondary: #E6B325;        /* Dourado Destaques/CTA */
  --secondary-hover: #D5A51D;  /* Dourado Escuro Hover */
  --light: #F4F5F7;            /* Cinza Claro Fundo */
  --dark: #222222;             /* Grafite Textos/Menu/Footer */
  --white: #FFFFFF;            /* Branco Cards/Modais */

  /* Cores Auxiliares */
  --success: #16A34A;          /* Verde Sucesso */
  --danger: #DC2626;           /* Vermelho Erro */
  --info-light: #EFF6FF;       /* Azul Claro Informacoes */
  --border-color: #D9DDE3;     /* Cinza Medio Bordas */
  --text-muted: #6C757D;       /* Texto Secundario */

  /* Fontes e Sombras */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px rgba(15, 76, 129, 0.08);
  --shadow-lg: 0 10px 25px rgba(15, 76, 129, 0.12);
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

/* Custom Bootstrap Buttons */
.btn-primary {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  color: var(--white) !important;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  padding: 0.6rem 1.4rem;
  transition: all 0.25s ease-in-out;
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--primary-hover) !important;
  border-color: var(--primary-hover) !important;
  box-shadow: var(--shadow-sm);
}

.btn-warning {
  background-color: var(--secondary) !important;
  border-color: var(--secondary) !important;
  color: var(--dark) !important;
  font-weight: 700;
  border-radius: var(--border-radius-sm);
  padding: 0.6rem 1.4rem;
  transition: all 0.25s ease-in-out;
}

.btn-warning:hover, .btn-warning:focus {
  background-color: var(--secondary-hover) !important;
  border-color: var(--secondary-hover) !important;
  color: var(--dark) !important;
  box-shadow: var(--shadow-sm);
}

.btn-outline-primary {
  color: var(--primary) !important;
  border-color: var(--primary) !important;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
}

.btn-outline-primary:hover {
  background-color: var(--primary) !important;
  color: var(--white) !important;
}

/* Custom Badges & Tags */
.badge-destaque {
  background-color: var(--secondary);
  color: var(--dark);
  font-weight: 700;
  padding: 0.35em 0.75em;
  border-radius: 6px;
}

.badge-novo {
  background-color: var(--primary);
  color: var(--white);
  font-weight: 600;
  padding: 0.35em 0.75em;
  border-radius: 6px;
}

/* Card Styling */
.property-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Top Banner Header Placeholder (225px max height) */
.top-ad-banner {
  width: 100%;
  max-width: 1280px;
  height: 225px;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
  margin: 1rem auto;
  display: block;
}

/* Animated 1280x225 Top Ad Banner Styles */
.animated-top-banner {
  position: relative;
  width: 100%;
  max-width: 1280px;
  min-height: 160px;
  height: auto;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  background: linear-gradient(135deg, #0A2540 0%, #0F4C81 50%, #1E3A8A 100%);
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
  box-shadow: 0 8px 24px rgba(15, 76, 129, 0.2);
}

@media (min-width: 992px) {
  .top-ad-banner-container {
    min-height: 160px !important;
  }
  .animated-top-banner {
    padding: 1.5rem 2.5rem !important;
  }
}

@media (max-width: 767px) {
  .top-ad-banner-container, .animated-top-banner {
    height: auto !important;
    min-height: 180px !important;
    padding: 1rem !important;
  }
  .btn-pulse-cta {
    font-size: 0.9rem !important;
    padding: 0.55rem 1.1rem !important;
    white-space: normal !important;
  }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.animated-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
  mix-blend-mode: overlay;
  animation: subtleZoom 12s infinite alternate ease-in-out;
}

@keyframes subtleZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.animated-banner-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-25deg);
  animation: shineSweep 4s infinite ease-in-out;
  pointer-events: none;
}

@keyframes shineSweep {
  0% { left: -100%; }
  25% { left: 200%; }
  100% { left: 200%; }
}

.btn-pulse-cta {
  background: linear-gradient(135deg, #FFC107 0%, #FF9800 100%) !important;
  color: #000000 !important;
  font-weight: 800 !important;
  font-size: 1.05rem !important;
  padding: 0.75rem 1.8rem !important;
  border-radius: 50px !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.5) !important;
  animation: pulseGlow 2s infinite;
  transition: all 0.3s ease;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

@keyframes pulseGlow {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 14px rgba(255, 193, 7, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); }
}

.badge-floating {
  animation: floatBounce 3s ease-in-out infinite alternate;
}

@keyframes floatBounce {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-5px); }
}

