/* styles.css */

/* Reset CSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* Incluido en el selector universal para evitar repetirlo */
}

/* Variables de Colores */
:root {
  --primary-color: #1e1e1e;
  --secondary-color: #e6e6e6;
  --background-color: #F5F5F5;
  --text-color: #1e1e1e;
  --nav-bg-color: #e6e6e6;
  --nav-text-color: #ffffff;
  --button-bg-color: #cbcaca;
  --button-text-color: #1e1e1e;
  --dropdown-bg-color: #1e1e1e;
  --dropdown-text-color: #ff8000;
  --dropdown-hover-bg-color: #000000;
  --modal-bg-color: #ffffffac;
  --modal-text-color: #333333;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --font-family: 'Fira Code', monospace, sans-serif;
}

/* Modo Oscuro */
body.dark-mode {
  --primary-color: #ff8000;
  --background-color: #5a616c;
  --text-color: #e6e6e6;
  --nav-bg-color: #1e1e1e;
  --nav-text-color: #ff8000;
  --dropdown-text-color: #ff8000;
  --dropdown-hover-bg-color: #333333;
  --modal-bg-color: rgba(0, 0, 0, 0.509);
  --modal-text-color: #ffffff;
}

/* Estilos Globales */
body {
  font-family: var(--font-family);
  line-height: 1.6;
  font-size: 1rem;
  background-color: var(--dropdown-hover-bg-color);
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Header de Navegación */
header {
  background: #1e1e1ec4;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--dropdown-text-color);
  width: 100%;
  z-index: 1000;
  transition: background-color 0.3s;
  height: 80px;
  display: flex;
  align-items: center;
  position: fixed; /* Mantener fijo en la parte superior */
  top: 0;
  padding: 0 1rem;
}

body.dark-mode header {
  background: #1e1e1ec4;
  color: var(--secondary-color);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--dropdown-text-color);
}

/* Botones de Navegación */
.nav-buttons {
  display: flex;
  align-items: center;
  gap: 1rem; /* Espacio entre los botones */
}

/* Botón de Modo Oscuro */
.dark-mode-button {
  background-color: var(--button-bg-color);
  color: var(--button-text-color);
  padding: 0.5rem;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dark-mode-button:hover {
  background-color: #ffffff;
}

.theme-icon {
  width: 24px;
  height: 24px;
}

/* Selector de Idioma */
.language-toggle {
  position: relative;
  display: flex;
  align-items: center;
}

.language-button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.375rem;
  transition: transform 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.language-button:hover {
  transform: scale(1.1);
}

.language-flag {
  width: 24px;
  height: 24px;
  object-fit: cover;
}

.language-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--dropdown-bg-color);
  border: 1px solid #444;
  border-radius: 0.375rem;
  list-style: none;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  min-width: 120px;
  box-shadow: 0 2px 8px var(--shadow-color);
  z-index: 100;
}

.language-menu.hidden {
  display: none;
}

.language-option {
  background: none;
  border: none;
  color: var(--dropdown-text-color);
  padding: 0.5rem 1rem;
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.2s;
}

.language-option:hover {
  background-color: var(--dropdown-hover-bg-color);
}

.language-option .language-flag {
  margin-right: 0.5rem;
}

/* Estilo inicial del menú */
#language-menu {
  opacity: 0; /* Oculto inicialmente */
  transform: translateY(-10px); /* Desplazamiento hacia arriba */
  transition: opacity 0.3s ease, transform 0.3s ease; /* Suaviza los cambios */
}

/* Cuando está visible */
#language-menu.show {
  opacity: 1;
  transform: translateY(0); /* Vuelve a la posición original */
}

/* Clase para ocultarlo */
.hidden {
  display: none; /* Opcional si quieres asegurarte de que esté completamente oculto */
}


/* Responsividad del Header */
@media (max-width: 768px) {
  header {
    height: 60px;
  }

  .logo {
    font-size: 1.25rem;
  }

  .nav-buttons {
    gap: 0.75rem;
  }

  .dark-mode-button {
    padding: 0.4rem;
  }

  .theme-icon {
    width: 20px;
    height: 20px;
  }

  .language-button {
    padding: 0.4rem;
  }

  .language-flag {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  header {
    height: 50px;
  }

  .logo {
    font-size: 1rem;
  }

  .nav-buttons {
    gap: 0.5rem;
  }

  .dark-mode-button {
    padding: 0.3rem;
  }

  .theme-icon {
    width: 18px;
    height: 18px;
  }

  .language-button {
    padding: 0.3rem;
  }

  .language-flag {
    width: 18px;
    height: 18px;
  }
}


/* Contenido Principal */
.main-content {
  padding: 100px 20px 20px; /* Espacio superior para header fijo */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Secciones Generales */
.section {
  width: 100%;
  max-width: 1200px;
  padding: 2rem 1rem;
}

@media (max-width: 768px) {
  .section {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 1rem 0.5rem;
  }
}

/* Títulos de Sección */
.section-title {
  font-size: 2rem;
  color: var(--text-color);
  margin-bottom: 1rem;
  text-align: left;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.5rem;
  }
}

/* Filtros (Categorías y Tecnologías) */
.filters {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.625rem; /* 10px */
  margin-bottom: 1.5rem;
}

.filter-btn {
  background-color: var(--button-bg-color);
  color: var(--button-text-color);
  padding: 0.5rem 1rem;
  border: none;
  box-shadow: 1px 1px 1px 0.5px var(--shadow-color);
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
  font-size: 1rem;
}

.filter-btn:hover {
  transform: translateY(-2px);
  color: #d6cd95;
  background-color: #333333;
}

.filter-btn.active {
  background-color: #ffffff;
  color: var(--primary-color);
}

/* Carrusel */
.carousel {
  width: 100%;
  overflow-x: auto;
  padding: 1.875rem; /* 30px */
  position: relative;
  box-sizing: border-box;
}

.carousel__container {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.625rem; /* 10px */
  padding-bottom: 0.625rem; /* 10px */
}

.carousel-item {
  flex: 0 0 auto;
  width: 21.875rem; /* 350px */
  height: 12.5rem; /* 200px */
  border-radius: 1.25rem; /* 20px */
  background-color: #d6cd95;
  overflow: hidden;
  cursor: pointer;
  transition: transform 1s ease, border-radius 1s ease;
  transform-origin: center left;
  position: relative;
  outline: 2px solid transparent;
  backface-visibility: hidden;
}

.carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Adjust the transparency as needed */
  z-index: 1;
  transition: background-color 0.3s ease;
  pointer-events: none;
}

.carousel-item:hover::before {
  background-color: rgba(0, 0, 0, 0); /* Make the overlay transparent on hover */
}

.carousel-item:hover ~ .carousel-item {
  transform: translate3d(8.75rem, 0, 0); /* 140px */
}

.carousel__container:hover .carousel-item {
  opacity: 0.3;
}

.carousel__container:hover .carousel-item:hover {
  transform: scale(1.3);
  opacity: 1;
  border-radius: 1.25rem;
}

.carousel-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-item__tags {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.carousel-item .controls {
  position: relative; /* Para que z-index funcione */
  z-index: 2; /* Mayor que el del ::before */
}

.carousel-item .controls a {
  z-index: 3; /* Asegúrate de que sea clicable */
}


.tech-badge {
  background-color: var(--card-tech-background-color);
  color: var(--card-text-color);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
}

/* Evitar Desbordamiento del Texto en la Tarjeta */
.carousel-item__details--title {
  position: absolute;
  bottom: 0.1rem;
  left: 0.5rem;
  color: #fff;
  font-size: 1.25rem;
  font-weight: bold;
  z-index: 1;
  white-space: nowrap;
  text-shadow: 1px 1px 2px #000; /* Añadir borde al texto */
}

.carousel-item__details {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.742), transparent);
  border-radius: 1.25rem; /* 20px */
  font-size: 0.625rem; /* 10px */
  opacity: 0;
  transition: opacity 450ms;
  padding: 0.625rem; /* 10px */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.carousel-item:hover .carousel-item__details {
  opacity: 1;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.carousel-item__details .controls {
  padding-top: 7.5rem; /* 120px */
  display: flex;
  gap: 0.625rem; /* 10px */
}

.carousel-item__details .controls a {
  color: #ffffff;
  font-size: 1.2rem;
  transition: color 0.3s, transform 0.3s;
}

.carousel-item__details .controls a:hover {
  color: var(--nav-text-color);
  transform: scale(1.1);
}

/* Ajustes Responsivos del Carrusel */
@media (max-width: 768px) {
  .carousel-item__details--title {
    font-size: 0.5625rem; /* 9px */
  }

  .carousel-item__details--subtitle {
    font-size: 0.5rem; /* 8px */
  }

  .carousel-item {
    width: 18.75rem; /* 300px */
    height: 11.25rem; /* 180px */
  }

  .carousel-item__img {
    width: 100%;
    height: 100%;
  }

  .carousel-item__details .controls {
    padding-top: 8.75rem; /* 140px */
  }
}

@media (max-width: 480px) {
  .carousel-item__details--title {
    font-size: 0.5rem; /* 8px */
  }

  .carousel-item__details--subtitle {
    font-size: 0.4375rem; /* 7px */
  }

  .carousel-item {
    width: 15rem; /* 240px */
    height: 10rem; /* 160px */
  }

  .carousel-item__img {
    width: 100%;
    height: 100%;
  }

  .carousel-item__details .controls {
    padding-top: 7.5rem; /* 120px */
  }
}
/* Fondos */
.background-texture {
  /* background: linear-gradient(to bottom, #fcfbfb, #f6d7b8, #978e85); */
  background-color:var(--background-color);
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
}

body.dark-mode .background-texture {
  background: linear-gradient(to right, #1a1a1a, #331a00);
}

/* Modales Generales */
.modal,
.contact-modal {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--modal-bg-color);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Contenido del Modal */
.modal-content,
.contact-modal-content {
  background: var(--modal-bg-color);
  border: 1px solid #ffffff58;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 4px 10px var(--shadow-color);
  width: 90%;
  max-width: 600px;
  color: var(--modal-text-color);
  position: relative;
  z-index: 1;
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mostrar el modal */
.modal.show,
.contact-modal.show {
  opacity: 1;
  visibility: visible;
}

.modal.show .modal-content,
.contact-modal.show .contact-modal-content {
  transform: scale(1);
  opacity: 1;
}

body.dark-mode .modal-content,
body.dark-mode .contact-modal-content {
  background-color: rgba(0, 0, 0, 0.8);
  color: var(--modal-text-color);
}

/* Botón de Cerrar Modal */
.close-modal-button,
.close-contact-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--dropdown-text-color);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
  font-weight: bold;
}

.close-modal-button:hover,
.close-contact-modal:hover {
  color: #000000;
  transform: scale(1.1);
}

body.dark-mode .close-modal-button:hover,
body.dark-mode .close-contact-modal:hover {
  color: #ffffff;
}

/* Títulos y Descripciones en Modales */
.modal-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--modal-text-color);
}

.modal-description,
.modal-technologies {
  color: var(--modal-text-color);
  margin-bottom: 1rem;
}

/* Enlaces en Modales */
.modal-link {
  font-weight: bold;
  color: #000000;
  text-decoration: none;
}

.modal-link:hover {
  text-decoration: underline;
}

body.dark-mode .modal-link {
  color: var(--button-bg-color);
}

/* Selector de Idioma */
.language-toggle {
  position: relative;
  display: inline-block;
}

.language-button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.375rem;
  transition: transform 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.language-button:hover {
  transform: scale(1.1);
}

.language-flag {
  width: 24px;
  height: 24px;
  object-fit: cover;
}

.language-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--dropdown-bg-color);
  border: 1px solid #444;
  border-radius: 0.375rem;
  list-style: none;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  min-width: 120px;
  box-shadow: 0 2px 8px var(--shadow-color);
  z-index: 100;
}

.language-menu.hidden {
  display: none;
}

.language-option {
  background: none;
  border: none;
  color: var(--dropdown-text-color);
  padding: 0.5rem 1rem;
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.2s;
}

.language-option:hover {
  background-color: var(--dropdown-hover-bg-color);
}

.language-option .language-flag {
  margin-right: 0.5rem;
}

.view-cv-button {
  font-size: 24px;
}

.view-cv-button:hover i {
  color: var(--primary-color);
  transform: scale(1.1);
}

body.dark-mode .view-cv-button:hover i {
  color:var(--text-color);
}



/* Footer Principal */
.footer {
  background: var(--button-text-color);
  color: var(--dropdown-text-color);
  padding: 1rem;
  text-align: center;
  position: relative;
}

body.dark-mode footer {
  background: #1e1e1e;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-icons {
  margin-top: 0.5rem;
}

.footer-icons a {
  color: var(--dropdown-text-color);
  margin: 0 0.5rem;
  font-size: 1.5rem;
  transition: color 0.3s, transform 0.3s;
}

.footer-icons a:hover {
  color: var(--secondary-color);
  transform: scale(1.2);
}

body.dark-mode .footer-icons a:hover {
  color: var(--secondary-color);
  transform: scale(1.2);
}

a {
  color: var(--dropdown-text-color);
  text-decoration: none;
  margin: 0 0.5rem;
  transition: color 0.3s, transform 0.3s;
}

a:hover {
  text-decoration: underline;
  color: var(--button-bg-color);
}

body.dark-mode footer a:hover {
  color: #ff8000;
}

/* Barra Sticky de Redes Sociales */
.sticky-social-icons {
  position: fixed;
  bottom: 20px; /* Distancia desde el borde inferior */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.509);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.625rem 1.25rem; /* 10px 20px */
  border-radius: 0.5rem; /* 8px */
  box-shadow: 0 2px 8px var(--shadow-color);
  opacity: 1;
  transition: opacity 0.3s, transform 0.3s;
}

body.dark-mode .sticky-social-icons {
  background: rgba(255, 255, 255, 0.657);
}

.sticky-social-icons.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
  pointer-events: none;
}

.sticky-social-icons.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.sticky-social-icons a {
  color: var(--background-color);
  font-size: 1.8rem;
  transition: color 0.3s, transform 0.3s;
}

.sticky-social-icons a:hover {
  color: var(--dropdown-text-color);
  transform: scale(1.2);
}


/* Responsividad para Pantallas Pequeñas */
@media (max-width: 768px) {
  /* Header */
  header {
    height: 60px;
    padding: 0 0.5rem;
  }

  .logo {
    font-size: 1.25rem;
  }

  .nav-links {
    display: none; /* Ocultar enlaces y usar menú hamburguesa si es necesario */
  }

  .dark-mode-button {
    padding: 0.4rem;
  }

  /* Títulos de Sección */
  .section-title {
    font-size: 1.75rem;
  }

  /* Filtros */
  .filters {
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }

  /* Carrusel */
  .carousel-item {
    width: 18.75rem; /* 300px */
    height: 11.25rem; /* 180px */
  }

  .carousel-item__img {
    width: 100%;
    height: 100%;
  }

  .carousel-item__details .controls {
    padding-top: 8.75rem; /* 140px */
  }

  /* Sticky Social Icons */
  .sticky-social-icons {
    bottom: 15px;
    gap: 15px;
    padding: 0.5rem 1rem; /* 8px 16px */
  }

  .sticky-social-icons a {
    font-size: 1.6rem;
  }

  /* Modales */
  .modal-content,
  .contact-modal-content {
    padding: 1rem;
  }

  /* Footer */
  .footer {
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  /* Header */
  header {
    height: 50px;
    padding: 0 0.5rem;
  }

  .logo {
    font-size: 1rem;
  }

  /* Títulos de Sección */
  .section-title {
    font-size: 1.5rem;
  }

  /* Filtros */
  .filter-btn {
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
  }

  /* Carrusel */
  .carousel-item {
    width: 15rem; /* 240px */
    height: 10rem; /* 160px */
  }

  .carousel-item__img {
    width: 100%;
    height: 100%;
  }

  .carousel-item__details .controls {
    padding-top: 7.5rem; /* 120px */
  }

  /* Sticky Social Icons */
  .sticky-social-icons {
    bottom: 10px;
    gap: 10px;
    padding: 0.4rem 0.8rem; /* 6px 12px */
  }

  .sticky-social-icons a {
    font-size: 1.5rem;
  }

  /* Modales */
  .modal-content,
  .contact-modal-content {
    padding: 0.75rem;
  }

  /* Footer */
  .footer {
    padding: 0.5rem;
    font-size: 0.875rem;
  }

  /* Selector de Idioma */
  .language-menu {
    min-width: 100px;
  }

  .language-option {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
}

/* Slider del Modal (Imágenes/Videos del Proyecto) */
.modal-slider-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 1rem auto;
  overflow: hidden;
  border-radius: 0.5rem;
}

.modal-slider {
  display: flex;
  transition: transform 0.3s ease-in-out;
}

.modal-slide {
  min-width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
}

.modal-slide img,
.modal-slide video {
  max-width: 100%;
  height: auto;
  display: block;
}

.modal-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 0.5rem;
  cursor: pointer;
  z-index: 5;
}

.modal-slider-btn.prev {
  left: 10px;
}

.modal-slider-btn.next {
  right: 10px;
}

.modal-slider-btn:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

@media (max-width: 480px) {
  .modal-slider-container {
    max-width: 100%;
  }

  .modal-slider-btn {
    font-size: 1.5rem;
    padding: 0.4rem;
  }
}

/* Etiquetas de Tecnologías en las Tarjetas */
.carousel-item__tags {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.1875rem; /* 3px */
}

.tech-badge {
  background-color: var(--dropdown-text-color);
  color: #ffffff;
  padding: 0.125rem 0.313rem; /* 2px 5px */
  border-radius: 0.25rem;
  font-size: 0.5625rem; /* 9px */
  text-transform: uppercase;
  font-weight: bold;
}

/* Estilos del botón de abrir modal (opcional) */
.contact-icon-button {
  background-color: var(--dropdown-text-color);
  color: #ffffff;
  padding: 0.3rem 1rem;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  border: none;
  transition: background-color 0.3s;
}

.contact-icon-button:hover {
  background-color: #79320e;
}

@media (max-width: 768px) {
  .contact-icon-button {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .contact-icon-button {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
}

/* Acceso para Evitar Superposición con Footer */
@media (min-width: 0px) and (max-width: 1200px) {
  /* body {
    padding-bottom: 120px; 
  } */
}

/* Opcional: Ocultar enlaces de navegación en dispositivos móviles y mostrar menú hamburguesa */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger-menu {
    display: block;
    cursor: pointer;
  }

  /* Estilos para el menú desplegable */
  .nav-links-mobile {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px; /* Debe coincidir con la altura del header */
    left: 0;
    width: 100%;
    background-color: var(--nav-bg-color);
    padding: 1rem 0;
    gap: 1rem;
    display: none;
  }

  .nav-links-mobile.show {
    display: flex;
  }

  .nav-links-mobile a {
    color: var(--nav-text-color);
    font-size: 1.2rem;
    padding: 0.5rem 1.5rem;
  }

  .hamburger-menu .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--nav-text-color);
    margin: 5px 0;
    transition: 0.4s;
  }
}

@media (max-width: 480px) {
  /* Ajustes adicionales si es necesario */
}
