/* ===================================
   LANDING PAGES STYLES
   9,332 URLs dinámicas - Diseño profesional
   =================================== */

/* Hero Section */
.hero-section {
  min-height: 400px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-stats {
  gap: 2rem !important;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.9;
  margin-top: 0.5rem;
}

/* Anuncios Cards */
.anuncio-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  border-radius: 12px;
  overflow: hidden;
}

.anuncio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.card-img-wrapper {
  height: 280px;
  overflow: hidden;
  background: #f0f0f0;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.anuncio-card:hover .card-img-wrapper img {
  transform: scale(1.05);
}

/* Breadcrumb */
.breadcrumb-section {
  border-bottom: 1px solid #e0e0e0;
}

.breadcrumb {
  background: transparent;
  padding: 0;
}

.breadcrumb-item+.breadcrumb-item::before {
  content: "›";
  font-size: 1.2rem;
}

/* Related Pages */
.related-section .card {
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
}

.related-section .card:hover {
  border-color: #667eea;
  transform: translateX(5px);
}

/* SEO Content */
.seo-content {
  background: #fff;
}

.keywords-cloud .badge {
  font-size: 0.85rem;
  font-weight: 400;
  padding: 0.5rem 0.75rem;
  border-radius: 20px;
}

/* Section Header */
.section-header h2 {
  color: #333;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Hover Shadow Utility */
.hover-shadow {
  transition: box-shadow 0.3s ease;
}

.hover-shadow:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    min-height: 300px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .hero-stats {
    gap: 1rem !important;
  }

  .card-img-wrapper {
    height: 220px;
  }
}

/* Bootstrap Icons */
.bi {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -.125em;
}

/* Loading State */
.anuncio-card.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Empty State */
.alert-info h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* Card Footer */
.card-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.875rem;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  transition: opacity 0.3s ease;
}

.btn-primary:hover {
  opacity: 0.9;
}

/* Grid Gap Utility (Bootstrap 5 compatible) */
.g-4 {
  gap: 1.5rem;
}

.gap-4 {
  gap: 1.5rem !important;
}

/* Text Utilities */
.text-decoration-none:hover {
  text-decoration: underline !important;
}

/* Lead Text */
.lead {
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.6;
}

/* Display Text */
.display-4 {
  font-size: 3rem;
  font-weight: 300;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .display-4 {
    font-size: 2rem;
  }

  .lead {
    font-size: 1rem;
  }
}
