/* global.css */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #0d0d0d;
  color: white;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #000000;
  position: relative;
  z-index: 1000;
}


.logo {
  width: 100px;
}

nav {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav a.activo {
  color: red;
}

.redes-sociales img {
  width: 20px;
  margin-left: 10px;
}

footer {
  background-color: #111;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #ccc;
}
/*footer global/*
/* ===== Footer Estilo Pro ===== */
.custom-footer {
  background-color: #111;
  color: #fff;
  padding: 40px 20px 20px;
  font-family: 'Arial', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  max-width: 1200px;
  margin: auto;
}

.footer-column {
  flex: 1 1 250px;
  margin: 10px;
}

.footer-column h3 {
  border-bottom: 2px solid red;
  padding-bottom: 10px;
  margin-bottom: 15px;
  font-weight: bold;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #fff;
  text-decoration: none;
}

.footer-column ul li a:hover {
  color: red;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  border-top: 1px solid #333;
  padding-top: 10px;
  color: #aaa;
}
/* Enlaces del menú principal */
#nav > a {
  display: inline-block;
  transition: transform 0.3s ease;
}

#nav > a:hover {
  transform: translateY(-5px);
}

/* Íconos de redes sociales (Instagram y Facebook) */
.icono-red {
  transition: transform 0.3s ease;
}

.icono-red:hover {
  transform: translateY(-5px);
}

/*cambios a partir de aqui/*
/* Estilo general del contenedor */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #000;
  z-index: 1000;
}

/* Logo alineado a la izquierda */
.logo {
  width: 120px;
}


.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.nav-menu a.activo {
  color: red;
}

.redes-sociales {
  display: flex;
  align-items: center;
  gap: 10px;
}

.redes-sociales img {
  width: 20px;
  gap: 5;
}
/* Botón menú hamburguesa a la derecha */
.menu-toggle {
  font-size: 28px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 1001;
}

/* Menú horizontal por defecto */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Versión móvil */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: auto;
    width: 220px;
    background: #000;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    transition: right 0.3s ease;
    z-index: 1000;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu a {
    padding: 10px 0;
    width: 100%;
  }

  .nav-menu .redes-sociales {
    margin-top: 20px;
    display: flex;
    gap: px;
  }
}
/* Whastsapp */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  text-align: center;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.whatsapp-text {
  color: white;
  font-size:-50px;
  margin-bottom: -50px;
  font-weight: bold;
}

.whatsapp-icon {
  width: 150px;
  height: 150px;
 
 
}

@keyframes bounce-in {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
  
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  text-align: center;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: bounce-in 0.8s ease;
}

.whatsapp-text {
  color: white;
  font-size: 13px;
  margin-bottom:-50px;
  font-weight: bold;
  animation: bounce-in 0.8s ease;
}

.whatsapp-icon {
  width: 150px;
  height: 150px;
animation: bounce-in 0.8s ease, pulse 2s infinite ease-in-out;
}


/* 3 rayas */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 1001;
}

/* Para pantallas móviles */
.menu-toggle {
  display: none;
}
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background-color: #111;
    flex-direction: column;
    padding-top: 60px;
    transition: right 0.3s ease;
    z-index: 1000;
  }
  .nav-menu.active {
    right: 0;
  }
}
