* {
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family: 'Georgia', serif;
}

body {
  background:#f5f1ed;
  color:#333;
}

header {
  position:fixed;
  top:0;
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 60px;
  background:#f5f1ed;
  z-index:1000;
}

nav a {
  margin-left:25px;
  text-decoration:none;
  color:#333;
}

section {
  padding:120px 60px;
  min-height:100vh;
}

/* HERO */
.hero {
  position:relative;
  height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  background:url('img/Velalma.jpg') no-repeat center/cover;
}

/* CAMBIO: overlay ahora tiene z-index */
.hero::before {
  content:"";
  position:absolute;
  width:100%;
  height:100%;
  background:rgba(0, 0, 0, 0.185);
  z-index:1; /* 🔥 CAMBIO */
}

/* CAMBIO: texto ahora está encima */
.hero-text {
  position:relative;
  z-index:2; /* 🔥 CAMBIO */
  text-align:center;
  color:#fff;
}

.btn {
  padding:10px 20px;
  background:#7a5c47;
  color:#fff;
  border:none;
  cursor:pointer;
}

.productos h2 {
  text-align:center;
  margin-bottom:20px;
}

.filtros {
  display:flex;
  justify-content:center;
  gap:10px;
  margin-bottom:30px;
}

.filtros button {
  padding:8px 15px;
  border:none;
  background:#ddd;
  cursor:pointer;
}

.filtros .active {
  background:#7a5c47;
  color:#fff;
}

.grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
}

.card {
  background:#fff;
  padding:7px;
}

.img-container {
  width: 100%;
  aspect-ratio: 1 / 1;   /* cuadrado */
  overflow: hidden;
  position: relative;
}

.img-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.img2 {
  opacity:0;
}

footer {
  background:#eae4df;
  padding:60px;
}

.footer-container {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
}

.footer-left {
  max-width:400px;
}

.footer-right a {
  display:block;
  margin-bottom:10px;
  text-decoration:none;
  color:#333;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    flex-direction:column;
    text-align:center;
  }

  .grid {
    grid-template-columns:1fr;
  }

  .img-container {
    height:300px;
  }

  .footer-container {
    flex-direction:column;
    gap:20px;
  }
}