/* Custom "Premium" Overrides for AINCO Site */

:root {
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-lift: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

/* Typography Polish */
h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: -0.02em;
  /* Tighten headings for a modern look */
  text-wrap: balance;
  /* Improve multiline heading rendering */
}

p {
  text-wrap: pretty;
  /* Prevent orphans in paragraphs */
}

/* Button Enhancements */
/* Targeting the specific data-slot used by UI components */
[data-slot="button"] {
  transition: var(--transition-smooth) !important;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

[data-slot="button"]:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  filter: brightness(1.05);
}

[data-slot="button"]:active {
  transform: translateY(0);
}

/* Gradient text utility if not present */
.text-gradient-gold {
  background: linear-gradient(135deg, var(--color-primary) 0%, #FDB931 50%, #FFC000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Card / Section Enhancements */
/* Targeting the workshops container we injected */
[data-talleres-section] .bg-\[var\(--color-background-alt\)\] {
  transition: var(--transition-smooth);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

[data-talleres-section] .bg-\[var\(--color-background-alt\)\]:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift) !important;
  border-color: var(--color-primary);
}

/* Blog Card Enhancements (Generic detection) */
/* Looking for elements with shadow-sm that are likely cards */
/* .shadow-sm:hover {
  box-shadow: var(--shadow-lift) !important;
  transition: box-shadow 0.3s ease;
} */

/* Main content fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

main {
  /* Animation removed to prevent image visibility issues */
}