@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

html {
  scroll-behavior: smooth;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  margin: 0 !important;
}

body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(145deg, white 0%, #f5f5f7 50%, rgb(229.517167382, 231.3519313305, 232.982832618) 100%);
  color: #222 !important;
  margin: 0 !important;
  padding: 0 !important;
  scroll-behavior: smooth;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
}

/* Quitar del input buscador */
/* Chrome, Safari, Edge, Opera */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  display: none;
}

/* Firefox */
input[type="search"] {
  -moz-appearance: textfield;
}

/* Internet Explorer */
input[type="search"]::-ms-clear {
  display: none;
  width: 0;
  height: 0;
}


h1,
h2,
h3,
h4,
h5,
h6 {
  color: #111;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Prose - Mejoras para contenido de markdown */
.prose p {
  margin-bottom: 1rem;
  line-height: 1.75;
}

a {
  text-decoration: none;
}

/* ============================================ */
/* ANIMACIONES PERSONALIZADAS */
/* ============================================ */

@keyframes zoomIn {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.1);
  }
}

@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes plumbobFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }
}

/* PLUMBOB (triángulo) */
.sims-plumbob {
  width: 0;
  height: 0;
  border-left: 35px solid transparent;
  border-right: 35px solid transparent;
  border-bottom: 55px solid #00e676;
  margin: 0 auto 25px;
  animation: plumbobFloat 3s ease-in-out infinite;
  position: relative;
}

.sims-plumbob::after {
  content: '';
  position: absolute;
  top: 55px;
  left: -30px;
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-top: 35px solid #00e676;
}

/* ANIMACIONES EN TAMAÑOS REDUCIDOS */
@media (max-width: 768px) {
  .sims-plumbob {
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 40px solid #00e676;
    margin-bottom: 20px;
  }

  .sims-plumbob::after {
    left: -20px;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 28px solid #00e676;
    top: 40px;
  }
}


/* Splide */
/* Estilos personalizados para Swiper */
.simsSplide .splide__slide {
  transition: opacity 0.6s ease;
}

/* Efecto de zoom en la imagen */
.splide__slide.is-active .bg-top {
  animation: kenBurns 8s ease-out forwards;
}

@keyframes kenBurns {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.1);
  }
}

/* Animaciones del contenido */
.splide__slide.is-active .max-w-4xl {
  animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Estilos de paginación */
.splide__pagination__page {
  width: 12px !important;
  height: 12px !important;
  background: rgba(255, 255, 255, 0.4) !important;
  opacity: 1 !important;
  border: 2px solid rgba(255, 255, 255, 0.6) !important;
  transition: all 0.3s ease !important;
}

.splide__pagination__page.is-active {
  background: #00e676 !important;
  border-color: #00e676 !important;
  transform: scale(1.4) !important;
  box-shadow: 0 0 20px rgba(0, 230, 118, 1) !important;
}

.splide__pagination__page:hover {
  transform: scale(1.2) !important;
}

/* Ajustes responsivos */
@media (max-width: 768px) {
  .splide__arrow--prev {
    left: 1rem !important;
  }

  .splide__arrow--next {
    right: 1rem !important;
  }
}

/* Estilos del menú */
nav ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  gap: 0.5rem;
}

nav ul li {
  margin: 0 !important;
  padding: 0 !important;
}

nav ul li a {
  display: block;
  padding: 0.5rem 1.5rem;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 9999px;
  transition: all 0.3s;
  color: #374151;
}

nav ul li a:hover {
  background: #dcfce7;
  color: #059669;
  transform: scale(1.05);
}

/* Item activo */
nav ul li.current-menu-item a,
nav ul li.current_page_item a,
nav ul li.current-menu-ancestor a {
  background: linear-gradient(to right, #00e676, #00c853) !important;
  color: white !important;
  box-shadow: 0 4px 15px rgba(0, 230, 118, 0.4);
}

/* Menú móvil */
#mobileMenu ul {
  flex-direction: column;
  gap: 0.5rem;
}

#mobileMenu ul li a {
  width: 100%;
  text-align: center;
  padding: 0.75rem 1rem;
}

/* Estilos para paginación */
.page-numbers {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-numbers li {
  margin: 0;
}

.page-numbers a,
.page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
  transition: all 0.3s;
}

.page-numbers a {
  background: white;
  color: #374151;
  border: 2px solid #e5e7eb;
}

.page-numbers a:hover {
  background: #dcfce7;
  color: #059669;
  border-color: #00e676;
  transform: scale(1.1);
}

.page-numbers .current {
  background: linear-gradient(to right, #00e676, #00c853);
  color: white;
  border: 2px solid #00e676;
  box-shadow: 0 4px 15px rgba(0, 230, 118, 0.4);
}