/**
 * Utilidades de layout que las vistas del plugin heredaron del entorno anterior
 * (WoodMart + Tailwind CDN). El tema Kuiraweb no las genera (su Tailwind solo
 * escanea las fuentes del tema), así que se sirven aquí, junto con Owl Carousel
 * vendorizado en public/lib/owl. Solo se definen las clases usadas en public/views.
 */

/* ── Posicionamiento y display ─────────────────────────────── */
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-10 { z-index: 10; }
.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-6 { gap: 1.5rem; }

/* ── Tamaños ───────────────────────────────────────────────── */
.h-screen { height: 100vh; }
.h-full { height: 100%; }
.w-full { width: 100%; }
.h-8 { height: 2rem; }
.w-8 { width: 2rem; }
.object-cover { object-fit: cover; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-7xl { max-width: 80rem; }
.container { width: 100%; max-width: 1240px; margin-left: auto; margin-right: auto; }

/* ── Espaciado ─────────────────────────────────────────────── */
.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-12 { padding-top: 3rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-12 { margin-top: 3rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mr-2 { margin-right: .5rem; }
.-mb-px { margin-bottom: -1px; }

/* ── Tipografía ────────────────────────────────────────────── */
.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-white { color: #fff; }
.text-gray-600 { color: #4b5563; }
.text-gray-800 { color: #1f2937; }

/* ── Fondos y bordes ───────────────────────────────────────── */
.bg-white { background-color: #fff; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-black { background-color: rgb(0 0 0 / var(--hr-bg-opacity, 1)); }
.bg-opacity-40 { --hr-bg-opacity: .4; }
.border-t { border-top: 1px solid #e5e7eb; }
.border-b { border-bottom: 1px solid #e5e7eb; }
.border-b-2 { border-bottom-width: 2px; border-bottom-style: solid; }
.border-transparent { border-color: transparent; }
.rounded-lg { border-radius: .5rem; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1); }
.transition-all { transition: all .3s ease; }

/* ── Aspect ratio (videos y embeds) ────────────────────────── */
.aspect-video { aspect-ratio: 16 / 9; }
.aspect-w-16.aspect-h-9 { position: relative; padding-bottom: 56.25%; }
.aspect-w-16.aspect-h-9 > * { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ── Animaciones ───────────────────────────────────────────── */
.animate-bounce { animation: hr-bounce 1s infinite; }
@keyframes hr-bounce {
  0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(.8, 0, 1, 1); }
  50% { transform: none; animation-timing-function: cubic-bezier(0, 0, .2, 1); }
}

/* Fondo tipo parallax (la lib jarallax de WoodMart ya no está; respaldo estático) */
.jarallax { background-size: cover; background-position: center; }

/* ── Breakpoint md (768px) ─────────────────────────────────── */
@media (min-width: 768px) {
  .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .animate-bounce { animation: none; }
}
