/* Estilos globales para el sitio */
@font-face {
  font-family: "Futura";
  src: url("../../../accesorios/fuente/futur.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "FuturaLight";
  src: url("/v2/accesorios/fuente/FuturaLight.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Futura Heavy";
  src: url("../../../accesorios/fuente/Futura Heavy font.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* Estilo base para todos los elementos */
html {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}


/* Animaciones para el menú */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
    background-color: transparent;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    background-color: rgba(51, 51, 51, 0.527);
  }
}

#mobile-menu:not(.hidden) {
  animation: fadeIn 0.3s ease-in-out;
}

/* Estilos para el header al hacer scroll */
#header {
  transition: all 0.3s ease-in-out;
}

#header.scrolled {
  backdrop-filter: blur(15px);
  background-color: rgba(37, 37, 37, 0.63);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Mejoras para el menú móvil */
#mobile-menu {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: 0.5rem;
  padding-top: 0.5rem;
}

/* Mejoras para los enlaces del menú */
#desktop-navbar a,
#mobile-menu a {
  /*font-family: "Futura", sans-serif;*/
  position: relative;
  transition: all 0.3s ease;
}

#desktop-navbar a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #ca8a04; /* yellow-600 en Tailwind */
  transition: width 0.3s ease;
}

#desktop-navbar a:hover::after {
  width: 100%;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  color: var(--color-white);
  font-size: 14px;
}

.footer .footer-content {
  background: #414a9a;
  padding: 60px 0 30px 0;
}

.footer .footer-content .footer-info {
  margin-bottom: 30px;
}

@media (max-width: 780px) {
  .footer .footer-content .footer-info h3 {
    text-align: center;
  }
}

.footer .footer-content .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: var(--font-primary);
  color: var(--color-white);
}

.footer .footer-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-white);
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 15px;
}

.footer .footer-content h4::after {
  content: "";
  position: absolute;
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-primary);
  bottom: 0;
  left: 0;
}

.footer .footer-content .footer-links {
  margin-bottom: 30px;
}

.footer .footer-content .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-content .footer-links ul i {
  padding-right: 2px;
  color: var(--color-white);
  font-size: 12px;
  line-height: 1;
}

.footer .footer-content .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-content .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-content .footer-links ul a {
  color: rgba(var(--color-white-rgb), 0.7);
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

.footer .footer-content .footer-links ul a:hover {
  color: var(--color-white);
}

.footer .footer-content .footer-newsletter form {
  margin-top: 30px;
  background: var(--color-white);
  padding: 6px 10px;
  position: relative;
  border-radius: 4px;
}

.footer .footer-content .footer-newsletter form input[type="email"] {
  border: 0;
  padding: 4px;
  width: calc(100% - 110px);
}

.footer .footer-legal {
  padding: 30px 0;
  background: #454544;
}

.footer .footer-legal .credits {
  padding-top: 4px;
  font-size: 13px;
  color: var(--color-white);
}

.footer .footer-legal .credits a {
  color: var(--color-primary-light);
}

.footer .footer-legal .social-links a {
  font-size: 18px;
  display: inline-block;
  background: rgba(var(--color-white-rgb), 0.1);
  color: var(--color-white);
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 4px;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

.footer .footer-legal .social-links a:hover {
  background: var(--color-primary);
  text-decoration: none;
}
