/* ===== VARIABLES ===== */
:root {
  --dorado: #c9a14a;
  --crema: #f6f1e7;
  --oscuro: #2b2b2b;
}

/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* ===== GENERAL ===== */
body {
  background-color: var(--crema);
  color: var(--oscuro);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.section {
  min-height: 70vh;
  padding: 80px 0;
}

.section-alt {
  background-color: #fff;
}

/* ===== HEADER ===== */
.header {
  background-color: var(--dorado);
  padding: 20px 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: white;
  font-size: 1.8rem;
}

.menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

.menu a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  padding: 8px 12px;
  transition: background 0.3s, transform 0.3s;
}

.menu a:hover {
  background-color: rgba(255,255,255,0.3);
  border-radius: 5px;
  transform: translateY(-2px);
}

/* ===== HERO ===== */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-logo {
  width: 300px;
  height: 300px;
  object-fit: contain;
  margin-bottom: 20px;
}

.hero h2 {
  color: var(--dorado);
  margin-bottom: 15px;
}

/* ===== PRODUCTOS ===== */
.product-scroller {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px 0;
}

.product-card {
  min-width: 300px;
  background-color: var(--crema);
  border-radius: 10px;
  padding: 15px;
  text-align: center;
}

.product-card img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.price {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: var(--dorado);
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--oscuro);
  color: white;
  padding-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.footer h4 {
  color: var(--dorado);
  margin-bottom: 10px;
}

.legal {
  text-align: center;
  padding: 20px;
  background-color: #1e1e1e;
  margin-top: 30px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .menu {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-logo {
    width: 220px;
    height: 220px;
  }
}
