body{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0eaea;
}


header {
    display: flex;
    min-height: 50px;
    background-color: rgb(221, 0, 0);
    justify-content: space-between;
    align-items: center;
    padding: 40px;
    
}

.titulo-principal {
    font-size: 2em;
    text-align: center;
    color: #2c3e50;
}

.boton-principal {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.boton-principal:hover {
    background-color: #c0392b;
}


.logo img{
    height: 120px;
    
}

nav a{
    font-weight: 600;
    padding-right: 20px;
    text-decoration: none;
    color: rgb(245, 243, 243);
    font-size: 21px;
}

nav a:hover{
    color: rgb(10, 0, 0);
}

main {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

section {
    margin-bottom: 40px;
    text-align: center;
}

.products {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    
}

.product-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px;
    width: 200px;
    text-align: center;
}

.product-card img {
    width: 100%;
    border-radius: 5px;

}

#contacto {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
    font-size: 20px;
}

footer {
    background-color: rgb(221, 0, 0);
    font-weight: 600;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    font-size: 22px;
}

.footer-left {
    text-align: left;
}

.footer-right {
    text-align: right;
}

/* Responsive para pantallas pequeñas */
@media (max-width: 600px) {
    footer {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer-left, .footer-right {
        text-align: center;
    }
}

@media (max-width:800px){
    header{
        flex-direction: column;
    }

    nav{
        padding: 10px 0px;
    }

}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
  }

  .products {
    flex-direction: column;
  }
}

#marcas-destacadas {
  text-align: center;
  padding: 40px 20px;
  background-color: #fff;
}

#marcas-destacadas h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

#marcas-destacadas p {
  font-size: 16px;
  color: #555;
  margin-bottom: 30px;
}

.marcas-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.marca-card {
  background-color: #fafafa;
  border-radius: 15px;
  padding: 20px;
  width: 130px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.marca-card:hover {
  transform: scale(1.05);
}

.marca-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.marca-card p {
  font-weight: bold;
  margin-top: 10px;
  color: #333;
}

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f7f7f7;
  padding: 60px 20px;
  text-align: center;
  flex-direction: column;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 36px;
  font-weight: bold;
  margin: 10px 0;
}

.hero h3 {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

.hero p {
  font-size: 16px;
  color: #444;
  margin-bottom: 20px;
}

.botones-hero {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.btn-primary, .btn-secondary {
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background-color: #0032a0;
  color: white;
}

.btn-secondary {
  border: 1px solid #000;
  color: #000;
}

.hero-img img {
  max-width: 60%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
  margin-top: 20px;
}

.logo-epiq {
  max-height: 50px;
  margin-bottom: 10px;
}
