
* {
  font-family: verdana;
}

.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: inline-block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.navbar li a:hover {
  background-color: #1F2226;
}

.active {
  background-color: #D9184B;
}

.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: 15x;
}

.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 50px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.footer-apartado {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.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;
}
