* {
  font-family: verdana;
}
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;  
    background: none;     
}

.navbar {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #3c3c3c;
}

.navbar p {
  text-align:center;
    }
    
.navbar li {
  float: left;
}

.navbar li a {
  display: flex;            
  align-items: center;      
  gap: 8px;                 
  color: white;
  text-decoration: none;
  padding: 14px 16px;
}

.navbar li a:hover {
  background-color: #1F2226;
}

.active {
  background-color: #D9184B;
}
.banner {
    width: 100%;
    background-color: #f2f2f2;
    padding: 40px 0 60px;
    text-align: center;
}

.banner-img {
    width: 100%;
    max-width: 1200px; 
    border-radius: 12px;
    display: block;
    margin: auto;
}

.banner-content {
    margin-top: 20px;
}

.banner-content h2 {
    font-size: 30px;
    color: #3C3C3C;
    margin: 10px 0;
}


.banner-btn {
    background-color: #D9184B;
    color: white;
    border: none;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color .3s ease, transform .3s ease;
}

.banner-btn:hover {
    background-color: #1F2226;
    transform: scale(1.05);
}


.promo {
  display: flex;               
  align-items: center;        
  justify-content: space-between; 
  padding: 100px;               
  background-color: #f2f2f2;                    
}

.promo-texto h2 {
  margin: auto;
  font-size: 25px;
  color: #3C3C3C;
}

.promo-texto p {
  margin-top: auto;
  color: #858585;
  font-size: 15px;
}

.promo-imagen img {
  max-width: 400px;
  width: 100%;
  height: auto;
}

.catalogo {
  max-width: 1000px;
  margin: 50px auto;
  padding: 15px;
}

.categoria {
  margin-bottom: 90px;
}

.categoria h2 {
  font-size: 25px;
  color: #3C3C3C;
  margin: 20px;
}

.espacio {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.producto {
  flex: 0 0 235px;
  background-color: #D9184B;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  cursor: pointer;
}

.producto:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 12px #919191;
}

.producto img {
  width: 100%;
  object-fit: cover;
}

.producto p {
  margin: 0;
  padding: 10px;
  background-color:#e4e4e4;
  font-size: 15px;
  color: #747474;
}


.boton-contacto {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #E2E2E2;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.boton-contacto img {
    width: 30px;
    height: 30px;
    object-fit: cover;
}

.boton-contacto:hover {
    transform: scale(1.2);
    background-color: #a0a0a0;
}


.ofertas {
  background-color: #3C3C3C;
  color: white;
  padding: 60px 40px;
  border-radius: 20px;
  max-width: 1200px;
  margin: 50px auto;
}

.ofertas h2 {
  font-size: 25px;
  margin-bottom: 10px;
}

.ofertas .subtitulo {
  font-size: 15px;
  color: #cfcfcf;
  margin-bottom: 40px;
}

.contenedor-ofertas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.oferta-espacio {
  background-color: #2c2c2c;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  overflow: hidden;
  width: 100%;
  max-width: 350px;
  box-shadow: 0 4px 15px #212121;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.oferta-espacio:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 12px #D9184B;
}

.oferta-espacio img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.info {
  padding: 15px 20px;
  text-align: left;
}

.info h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.precio {
  margin: 5px 0 15px;
  font-size: 15px;
}

.precio .antes {
  text-decoration: line-through;
  color: #959595;
  margin-right: 8px;
}

.boton-comprar {
  background-color: #D9184B;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.5s ease;
}

.boton-comprar:hover {
  background-color: #171717;
}

footer {
  background-color: #3C3C3C;
  padding: 25px 0;
  width: 100%;
  margin: 0;  
}

.footer-apartado {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 50px;
}

.footer-izquierdo {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-izquierdo p {
  margin: 0;
  color: white;
  font-size: 15px;
}

.footer-derecho {
  display: flex;
  gap: 15px;
}

.footer-derecho a {
  background-color: #D9184B;
  color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease, background-color 0.5s ease;
}

.footer-derecho a:hover {
  background-color: #1F2226;
  transform: scale(1.5);
}

.footer-derecho img {
  width: 60%;  
  height: 60%;
  object-fit: contain; 
  display: block;
}

@media (max-width: 768px) {

  .header {
    flex-direction: column;
    gap: 15px;
  }

  .navbar {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: center;
  }

  .navbar li {
    float: none;
    width: 100%;
  }

  .navbar li a {
    justify-content: center;   
    padding: 12px;
  }

  .banner-img {
    max-width: 100%;
  }

  .banner-content h2 {
    font-size: 22px;
  }

  .banner-btn {
    padding: 10px 18px;
    font-size: 14px;
  }

 
  .espacio {
    justify-content: center;
  }

  .producto {
    flex: 0 0 calc(50% - 20px);
  }

  .contenedor-ofertas {
    justify-content: center;
    gap: 20px;
  }

  .oferta-espacio {
    max-width: 100%;
  }

  .boton-contacto {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  .boton-contacto img {
    width: 24px;
    height: 24px;
  }

  .footer-apartado {
    flex-direction: column;
    gap: 15px;
  }

  .footer-derecho {
    justify-content: center;
  }
}




