body {
  margin:0;
  font-family: Arial, sans-serif;
  background:#121212;
  color:white;
  text-align: center;
  padding-top: 120px; 
}

/* HEADER */
header {
  background: black;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

header h1 {
  font-size: 60px;
  color: white;
  margin: 0;
  letter-spacing: 4px;
  text-align: center;
}

/* HERO */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 150px 20px 60px;
  background-image: url("img/hero.jpg");
  background-size: cover;
  background-position: center;
}

.hero h2 {
  margin-bottom: 10px;
}

.hero p {
  margin-bottom: 20px;
}

/* BOTÓN GLOBAL */
.btnPedido {
  margin-top: 15px;
  padding: 12px 28px;
  background: white;
  color: black;
  border: 1px solid white;
  cursor: pointer;
  font-weight: bold;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btnPedido:hover {
  background: black;
  color: white;
  border: 1px solid white;
  transform: scale(1.05);
}

/* PRODUCTOS */
#productos {
  text-align: center;
  padding: 60px 20px;
}

.producto {
  display: inline-block;
  width: 200px;
  margin: 15px;
  padding: 20px;
  background: #1b1b1b;  
  border-radius: 12px;  
  transition: transform 0.3s, box-shadow 0.3s;
  vertical-align: top;
  text-align: center;
}

.producto img{
  width:100%;
  height:auto;
  border-radius:8px;
  margin-bottom:10px;
  display:block;
  margin-left:auto;
  margin-right:auto;
}

.producto h3 {
  margin: 10px 0 5px;
  font-size: 18px;
}

.producto p {
  margin: 5px 0;
  color: #ccc;
}

.producto:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

/* FOOTER */
footer {
  background-color: #111;
  color: #ccc;
  text-align: center;
  padding: 30px 20px;
  margin-top: 60px;
}

footer p {
  margin: 5px 0;
  font-size: 14px;
}

/* CRÉDITOS */
.creditos {
  margin-top: 20px;
}

.creditos p {
  font-weight: bold;
  margin-bottom: 10px;
  color: #fff;
  font-size: 15px;
}

.creditos ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.creditos li {
  margin: 8px 0;
}

.creditos a {
  color: #aaa;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.creditos a:hover {
  color: #fff;
  text-decoration: underline;
}

/* NAV */
nav{
  margin-top:15px;
}

nav a{
  color:white;
  text-decoration:none;
  margin:0 15px;
  font-size:16px;
  transition:opacity 0.3s;
}

nav a:hover{
  opacity:0.6;
}

/* SCROLL SUAVE */
html{
  scroll-behavior: smooth;
}

/* MODAL PRODUCTO */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  text-align: center;
  padding-top: 100px;
}

.modal-img {
  width: 300px;
  border-radius: 10px;
  display:block;
  margin-left:auto;
  margin-right:auto;
}

.cerrar {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 40px;
  cursor: pointer;
}

.nav-modal {
  text-align:center;
}

.nav-modal button {
  margin: 10px;
  padding: 10px;
  cursor: pointer;
}

/* MODAL CARRITO */
#modalCarrito {
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding-top: 100px;
}

#listaCarrito {
  margin-top: 20px;
}

.cerrarCarrito {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 40px;
  cursor: pointer;
}