* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: white;
}

/* Contenedor del video */
.video-container {
    width: 100%;         /* Tamaño inicial del cuadro */
    height: 100%;
    margin: 0% 0% 0% 0%;   /* Centrado y margen superior */
    overflow: hidden;
    border: 2px solid #fff;
    border-radius: 10px;
    position: relative;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajusta el video al cuadro */
    display: block;
}

/* Header */
.header {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 5;
}

/* Navbar */
.nav-header {
    position: fixed;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 10;
    background: #4E4F50;
    background: linear-gradient(180deg, rgba(78, 79, 80, 1) 0%, rgba(78, 79, 80, 0.71) 50%);
}

.navbar-content {
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Logo */
.logo img{
    /*font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;*/
    border-radius: 60%;
    width: 80px;
    height: 80px;
}

/* Menu */
.menu {
    display: flex;
    gap: 20px;
    align-items: center;
}

.menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: #00bcd4;
}

/* Submenu */
.submenu {
    position: relative;
}

.submenu-items {
    display: none;
    position: absolute;
    top: 40px;
    left: 0;
    background-color: #333;
    flex-direction: column;
    min-width: 150px;
}

.submenu-items a {
    padding: 10px;
    color: white;
}

.submenu:hover .submenu-items {
    display: flex;
}

/* Hamburguesa para móvil */
.hamburger {
    display: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
}

/* Checkbox para controlar menú móvil */
#menu-toggle {
    display: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .video-container {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9; /* Mantiene proporción del video */
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .menu {
        position: absolute;
        top: 80px;
        right: 0;
        background-color: #333;
        flex-direction: column;
        width: 100%;
        display: none;
    }

    .menu a, .submenu-items a {
        padding: 15px;
        text-align: center;
    }

    #menu-toggle:checked + .hamburger + .menu {
        display: flex;
    }

    .submenu-items {
        position: static;
    }

    .submenu:hover .submenu-items {
        display: none; /* Deshabilitamos hover en móvil */
    }
}

@media (max-width: 480px) {
    .logo img{
        width: 80px;
        height: 80px;
    }

    .video-container {
        height: auto;
        width: auto;
    }
}

/*icono-whatsapp*/
.boton-whatsapp {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 20px;
  background-color: #25D366;
  border-radius: 60%;
  z-index: 100;
  box-shadow: 0 2px 5px rgb(0,0,0, 3);
  animation: breathe 2s ease-in-out infinite;
}
.img-whatsapp img {
  height: 60px; 
  width: 60px;
}
/*Estilos con animation contorno respirando*/
@keyframes breathe {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}
.icon-whatsapp img {
   animation: beat 2s ease-in-out infinite;
}
/*Estilos de animacion del icono latiendo*/
@keyframes beat {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}





/* Sección parallax */
.parallax {
  position: relative;
  background-attachment: fixed; /* Clave del efecto */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Fondos diferentes */
#parallax-1 {
  background-image: url("fondos/familia-sentada-junto-al-arbol.jpg");
}

#parallax-2 {
  background-image: url("fondos/altar-para-la-celebracion-del-dia-de-los-muertos.jpg");
}

#parallax-3 {
  background-image: url("fondos/San-valentin.jpg");
}

/* Capa oscura sobre el fondo */
.overlay {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 3rem;
  text-align: center;
  border-radius: 10px;
}

.overlay h1 {
  font-size: 2.5rem;
  font-weight: 600;
  color: white;
}

/* Contenido normal */
.content {
  padding: 5rem 2rem;
  background-color: white;
  text-align: center;
}

.content h2 {
  color: #ffcc00;
  margin-bottom: 1rem;
}

.content p {
  font-size: 15px;
  font-family: Arial, Helvetica, sans-serif;
  text-align: justify;
  max-width: 700px;
  margin: 0 auto;
}

/*productos*/
 header {
      background-color: #e67e22;
      color: white;
      padding: 15px;
      text-align: center;
    }

    h1 { margin: 0; }

    .productos {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
      padding: 20px;
    }

    .producto {
      background-color: #fff;
      border-radius: 10px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      width: 250px;
      text-align: center;
      padding: 15px;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .producto:hover {
      transform: scale(1.05);
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

    .producto img {
      width: 100%;
      border-radius: 10px;
    }

    .producto h3 {
      color: #444;
      margin: 10px 0 5px;
    }

    .producto p {
      color: #777;
      font-size: 14px;
      margin: 0 0 10px;
    }

    .precio {
      color: #e67e22;
      font-weight: bold;
      font-size: 18px;
    }

    .btn {
      background-color: #e67e22;
      color: white;
      padding: 10px 15px;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      transition: background-color 0.2s;
    }

    .btn:hover { background-color: #cf711f; }

    /* Carrito */
    #carrito {
      background-color: #fff;
      margin: 30px auto;
      width: 80%;
      max-width: 600px;
      border-radius: 10px;
      padding: 20px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    #carrito h2 {
      margin-top: 0;
      color: #333;
    }

    #lista-carrito, #lista-carrito2 {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    #lista-carrito li {
      border-bottom: 1px solid #eee;
      padding: 10px 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    #lista-carrito button {
      background-color: #ff4d4d;
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      padding: 5px 8px;
    }

    #lista-carrito button:hover {
      background-color: #cc0000;
    }

    #total {
      font-weight: bold;
      margin-top: 10px;
      text-align: right;
    }


    #enviar-whatsapp {
  background-color: #25D366;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}
#enviar-whatsapp:hover {
  background-color: #1EBE5D;
}






/* Footer */
/* ==== ESTILOS DEL FOOTER ==== */

.footer {
  background: linear-gradient(135deg, #2c3e50, #4ca1af);
  color: #fff;
  padding: 40px 0 20px;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

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

/* Logo y nombre */
.footer-logo img {
  width: 60px;
  height: auto;
  border-radius: 50%;
}

.footer-logo h2 {
  margin: 10px 0 0;
  font-size: 1.4em;
  letter-spacing: 1px;
}

/* Enlaces */
.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #f1c40f;
}

/* Íconos de redes */
.footer-social a img {
  width: 70px;
  height: 70px;
  margin: 0 8px;
  transition: transform 0.3s, filter 0.3s;
}

.footer-social a img:hover {
  transform: scale(1.2);
  filter: brightness(1.2);
}

/* Línea inferior */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin-top: 20px;
  padding-top: 10px;
  font-size: 0.9em;
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 600px) {
  .footer-links {
    flex-direction: column;
    gap: 10px;
  }

  .footer-container {
    gap: 20px;
  }
}


/* 📱 Responsividad para móviles */
@media (max-width: 768px) {
  .parallax {
    background-attachment: scroll; /* Evita problemas en móviles */
    height: 40vh; /*vista en el celular*/
  }
  .overlay h1 {
    font-size: 1.8rem;
  }
  .content {
    padding: 3rem 1.5rem;
  }
}
