* {
  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;
}
.calltocation {
    width: 100%;
    background-color: #F2F2F2;
    padding: 180px 20px;  
    display: flex;
    justify-content: center;
    text-align: center;
}

.calltocation-content h1 {
    font-size: 40px;  
    font-weight: bold;
    color: #2b2b2b;
    margin-bottom: 15px;
}

.calltocation-content p {
    font-size: 18px;   
    margin-bottom: 30px;
}

.calltocation-btn {
    background-color: #D9184B;
    color: white;
    padding: 15px 30px;    
    border-radius: 12px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s ease;
    font-size: 16px;
}

.calltocation-btn:hover {
    background-color: #1F2226;
    transform: scale(1.05);
}
#consolas {
  width: 100%;
  padding: 40px 20px;
  text-align: center;
}

#consolas h2 {
  font-size: 30px;
  margin-bottom: 30px;
  color: #ffffff;
}

.consolas-container {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.consola-card {
  background-color: #D9184B;
  color: white;
  padding: 15px 20px 20px 20px; 
  width: 250px;               
  border-radius: 15px;
  box-shadow: 0 5px 12px rgba(0,0,0,0.4);
  position: relative;
  overflow: visible;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 210px;           
}

.consola-img {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: -50px;
}

.consola-card img {
  width: 200px; 
  filter: drop-shadow(0px 6px 6px rgba(0,0,0,0.4));
}

.consola-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 12px 20px rgba(217, 24, 75, 0.7);
}

.consola-card h3 {
  font-size: 22px;
  margin-top: 10px;
}

.consola-card p {
  margin-top: 10px;
  font-size: 14px;
}


.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;
    }


    .calltocation {
        padding: 100px 20px;
    }

    .calltocation-content h1 {
        font-size: 30px;
    }

    .calltocation-content p {
        font-size: 16px;
    }

    .calltocation-btn {
        font-size: 15px;
        padding: 12px 25px;
    }



    .consolas-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .consola-card {
        width: 85%;
        max-width: 300px;
    }

    .consola-card img {
        width: 150px;
    }


    .ofertas {
        padding: 40px 20px;
    }

    .contenedor-ofertas {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .oferta-espacio {
        max-width: 100%;
    }


    footer {
        padding: 20px;
        text-align: center;
    }

    .footer-apartado {
        flex-direction: column;
        gap: 15px;
    }

    .footer-derecho {
        justify-content: center;
    }


    .boton-contacto {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .boton-contacto img {
        width: 25px;
        height: 25px;
    }
}
