/* Estilos Generales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  background-color: #101010;
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
}

/* Header */
header {
  background-color: rgba(18, 18, 18, 0.5); /* Fondo semitransparente */
  position: sticky; /* Hace el header pegajoso */
  top: 0; /* Fija el header en la parte superior */
  z-index: 1000; /* Asegura que el header esté encima de otros elementos */
  padding: 20px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo {
  width: 100px;
  height: auto;
  margin-left: 3rem;
}

.navbar {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  justify-content: right;
  margin-right: 5em;
}

.navbar-menu {
  list-style: none;
  display: flex;
  gap: 20px;
  margin-left: 52px;
}

.navbar-menu li {
  position: relative;
}

.navbar-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  text-transform: uppercase;
  transition: color 0.3s;
  font-family: 'orbitron', sans-serif;
  letter-spacing: 1px;
}

.navbar-menu a:hover {
  color: #FFD700;
}

.navbar-search {
  position: relative;
  margin-right: 3rem;
}

.navbar-search input {
  padding: 8px 30px;
  border-radius: 25px;
  border: 1px solid #7d7d7d;
  width: 250px;
  background-color: transparent;
  color: #cfcfcf;
  text-align: left;
  font-size: 16px;
}

.navbar-search button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent; /* Fondo transparente */
  border: none;
  cursor: pointer;
}

.navbar-search button i {
  font-size: 14px;
  color: #ffffffab; /* Color blanco para el icono */
}

/* Menú de Hamburguesa */
.hamburger-menu {
  display: none;
  cursor: pointer;
}

.hamburger-menu i {
  font-size: 30px;
  color: #fff;
}

/* Menú Móvil */
.mobile-nav {
  display: none;
  background-color: #121212;
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  padding: 20px;
  z-index: 10;
}

.mobile-nav ul {
  list-style: none;
  text-align: center;
}

.mobile-nav li {
  margin: 15px 0;
}

.mobile-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  transition: color 0.3s;
}

.mobile-nav a:hover {
  color: #FFD700;
}

.mobile-nav .search-item {
  margin-top: 20px;
}

.mobile-nav .search-item input {
  width: 80%;
  padding: 8px;
  border-radius: 25px;
  border: 2px solid #fff; /* Borde blanco */
  margin-bottom: 10px;
  text-align: center;
  background-color: transparent; /* Fondo transparente */
  color: #fff;
}

.mobile-nav .search-item button {
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.mobile-nav .search-item button i {
  color: #fff; /* Color blanco para el icono */
}


/* Slider General */
.slider {
  position: relative;
  height: 620px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.slider-wrapper {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.slider-item {
  min-width: 100%;
  height: 600px;
  background-size: 100% auto;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Animación para el contenido del slider */
@keyframes slideInFromBottom {
  0% {
    opacity: 0;
    transform: translateY(30px); /* Empuja el contenido hacia abajo inicialmente */
  }
  100% {
    opacity: 1;
    transform: translateY(0); /* El contenido llega a su posición original */
  }
}

/* Aplicar la animación al contenedor del contenido del slider */
.slider-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
  animation: slideInFromBottom 1s ease-out; /* Aquí aplicamos la animación */
}

.slider-title {
  font-size: 3.5rem;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
  margin-top: 5rem;
}

.slider-description {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  max-width: 550px;
  font-weight: bolder;
}

.slider-button {
  padding: 10px 20px;
  color: white;
  border: 1px solid white;
  background-color: transparent;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
  border-radius: 9px;
}

.slider-button:hover {
  background-color: #ffc102;
  color: black;
}


/* Navigation Buttons */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: 2px solid white;
  border-radius: 50%;
  background: transparent;
  color: white;
  font-size: 1.5rem;
  text-align: center;
  line-height: 46px;
  cursor: pointer;
  transition: transform 0.3s, background-color 0.3s;
}

.slider-nav:hover {
 color:#ffc102;
 border-color: #ffc102;
}



.slider-nav.prev {
  left: 15px;
  margin-left: 3rem;
}

.slider-nav.next {
  right: 15px;
  margin-right: 3rem;
}



/* Footer */
footer {
  background-color: #121212;
  padding: 40px 20px;
}

.footer-content {
  display: flex;
  flex-direction: column; /* Siempre en columnas */
  align-items: center;
  gap: 30px; /* Espaciado entre los bloques */
}

.footer-logo img {
  width: 120px;
}

.footer-separator {
  width: 50%;
  height: 1px;
  background-color: #fff;
  opacity: 0.2;
}

.footer-menu ul {
  list-style: none;
  display: flex;
  flex-direction: row; /* Menú en columnas */
  align-items: center;
  gap: 10px;
}

.footer-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}

.footer-menu a:hover {
  color: #FFD700;
}

.footer-social {
  display: flex;
  flex-direction: row; /* Redes sociales en columnas */
  align-items: center;
  gap: 10px;
}

.footer-social a {
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-social a i {
  margin-right: 10px; /* Espacio entre el icono y el texto */
}

.footer-social a:hover {
  color: #FFD700;
}

.footer-contacts {
  display: flex;
  flex-direction: column; /* Contactos en columnas */
  align-items: center;
  gap: 10px;
}

.contact-icon {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s;
}

.contact-icon i {
  margin-right: 10px;
}

.contact-icon:hover {
  color: #FFD700;
}

.footer-bottom {
  text-align: center;
  color: #fff;
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 480px) {
  .footer-logo img {
    width: 100px; /* Reducir tamaño del logo */
  }

  .footer-menu ul{
    margin-top: -23px;
  }

  .footer-menu a {
    font-size: 14px; /* Reducir tamaño de fuente */
  }

  .footer-social a {
    font-size: 13.4px; /* Reducir tamaño de fuente */
  }

  .contact-icon {
    font-size: 16px; /* Reducir tamaño de fuente */
  }

  .footer-separator {
    width: 90%; /* Ajustar separadores en pantallas pequeñas */
  }
}




/* Media Queries */
@media (max-width: 768px) {
  .navbar-menu {
    display: none;
  }

  .navbar-search {
    display: none; /* Ocultamos el buscador en pantallas pequeñas */
  }

  .hamburger-menu {
    display: block;
  }

  .mobile-nav.show {
    display: block;
  }

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

  .footer-menu {
    margin-top: 20px;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .slider-title {
    font-size: 1.8rem;
  }

  .slider-description {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .slider {
    height: 526px; /* Reduce la altura del slider */
  }

  .slider-item {
    height: 600px; /* Ajusta la altura del contenido del slider */
  }
  .slider-content{
    margin-left: -22px;
  }

  .slider-title {
    font-size: 1.9rem; /* Reduce el tamaño de la fuente del título */
    line-height: 1.2; /* Ajusta el espaciado entre líneas */
    text-align: center; /* Centra el texto */
    margin-top: 245px;
    margin-bottom: 10px;
  }

  .slider-description {
    font-size: 0.9rem; /* Reduce el tamaño de la descripción */
    margin-bottom: 1rem; /* Ajusta el margen inferior */
    text-align: center; /* Centra el texto */
    max-width: 330px;
  }

  .slider-button {
    font-size: 0.8rem; /* Reduce el tamaño del texto del botón */
    padding: 8px 16px; /* Ajusta el relleno del botón */

  }

  .slider-nav {
    width: 40px; /* Reduce el tamaño de los botones de navegación */
    height: 40px;
    line-height: 38px;
    font-size: 1.2rem;
 
  }

  .slider-nav.prev {
    left: 10px; /* Reduce el margen lateral en pantallas pequeñas */
     margin-top: 133px;
  }

  .slider-nav.next {
    right: 10px; /* Reduce el margen lateral en pantallas pequeñas */
     margin-top: 133px;
  }
}

/* Cambiar imagen solo en pantallas pequeñas */
@media (max-width: 768px) {
    .slider-item {
        background-image: url('imagenes/responsive uno.jpg'); /* Cambia la imagen aquí */
    }
}
@media (max-width: 768px) {
  .slider {
    height: 380.6px;
  }

  .slider-item {
    position: relative; /* Necesario para el overlay */
    height: 480px;
    background-image: url('imagenes/responsive uno.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  /* Overlay oscuro semitransparente */
  .slider-item::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.4); /* Negro con 40% de opacidad */
    z-index: 1;
  }

  .slider-content {
    position: relative; /* Para estar sobre el overlay */
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centrado vertical */
    align-items: center;     /* Centrado horizontal */
    text-align: center;
    color: #fff; /* Asegura texto blanco */
    margin-top: -94.6px;
  }

  .slider-title {
    font-size: 1.4rem; /* Texto más pequeño */
    margin: 0 0 10px 0;
    line-height: 1.2;
  }

  .slider-description {
    font-size: 0.9rem; /* Texto más pequeño */
    max-width: 260.0px;
    margin: 0 auto 15px auto;
  }

  .slider-button {
    font-size: 0.8rem;
    padding: 8px 16px;
    border: 1px solid #fff;
    background-color: transparent;
    color: #fff;
    border-radius: 9px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
  }

  .slider-button:hover {
    background-color: #ffc102;
    color: black;
  }
}


