/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f9f9f9;
  color: #333;
}

/* Header y Nav */
header {
  background-color: #1a1a1a;
  color: white;
  padding: 20px;
  text-align: center;
}
header h1 { font-size: 2em; letter-spacing: 1px; }

nav {
  background-color: #333;
  display: flex;
  justify-content: center;
}

.button-link2{
    display: inline-block;
    padding: 10px 40px 10px 15px;
    background-color: #ecfbf1;
    color: black;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.button-link2:hover {
    background-color: #2731b6;
}

.button-link3{
    display: inline-block;
    padding: 10px 40px 10px 15px;
    background-color: #ecfbf1;
    color: black;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.button-link3:hover {
    background-color: #b67224;
}
nav a {
  color: white;
  padding: 14px 20px;
  text-decoration: none;
  transition: 0.3s;
}
nav a:hover { background-color: #555; }

/* Hero */
.hero {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}
.hero img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(60%);
  top: 0; left: 0; z-index: 1;
}
.hero h2 { position: relative; z-index: 2; font-size: 2.2em; }

/* Secciones */
section { padding: 40px 20px; text-align: center; }

/* Cards genéricas (productos, sobre, contacto) */
.productos, .cards-container, .contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.producto, .card, .contact-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.producto:hover, .card:hover, .contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.producto img, .card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.producto h3, .card h3 { padding: 10px; font-size: 1.1em; }

.card ul { text-align: left; padding-left: 20px; }

/* Formulario contacto */
.contact-card form {
  display: flex;
  flex-direction: column;
}
.contact-card input,
.contact-card textarea {
  padding: 10px;
  margin: 8px 0;
  border-radius: 6px;
  border: 1px solid #ccc;
}
.contact-card button {
  padding: 10px;
  margin-top: 10px;
  border: none;
  border-radius: 6px;
  background-color: #0077cc;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.contact-card button:hover { background-color: #005fa3; }

/* Footer */
footer {
  background-color: #1a1a1a;
  color: white;
  text-align: center;
  padding: 20px;
}
.contacto {
  margin-top: 10px;
}
.contacto a {
  color: #44dd2c;
  text-decoration: none;
  margin: 0 10px;
}
.contacto a:hover { text-decoration: underline; }

.testimonios {
  padding: 40px 20px;
  text-align: center;
}

.testimonios .cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.testimonios .card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  padding: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.testimonios .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.testimonios .card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
}

.testimonios .card h3 {
  margin: 10px 0 5px;
}

.testimonios .card p {
  font-size: 0.95em;
  color: #555;
}