@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

/* GENERAL */
body {
  background-color: #fff8f0;
  color: #333;
}

/* HEADER */
header {
  background-color: #b22222;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
}

.logo {
  font-size: 1.6em;
  font-weight: bold;
}

nav {
  background-color: #d32f2f;
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

nav ul {
  list-style: none;
}

nav li {
  display: inline-block;
  margin: 0 15px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 5px;
  transition: background 0.3s;
}

nav a:hover {
  background-color: #b71c1c;
}

/* HERO */
.hero {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  overflow: hidden;
}

.hero img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(55%);
  top: 0;
  left: 0;
  z-index: 1;
}

.hero .overlay {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 12px;
}

.hero h1, .hero h2 {
  font-size: 2.5em;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero p {
  font-size: 1.1em;
  margin-top: 10px;
}

/* BOTONES */
.btn, .hub-pizza {
  background-color: #c44939;
  color: #000;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 6px;
  display: inline-block;
  margin-top: 10px;
  font-weight: bold;
  transition: background 0.3s;
}

.btn:hover, .hub-pizza:hover {
  background-color: #ffa726;
}

/* INFO SECTION */
.info {
  text-align: center;
  padding: 60px 20px;
}

.info h2 {
  font-size: 1.8em;
  margin-bottom: 10px;
}

.info p {
  color: #555;
  max-width: 700px;
  margin: 0 auto 20px;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 30px;
}

.card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  width: 280px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.card img {
  width: 70px;
  margin-bottom: 10px;
}

/* PRODUCTOS / MENÚ */
.productos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  padding: 40px 20px;
}

.producto {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.producto:hover {
  transform: scale(1.02);
}

.producto img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.producto h3 {
  margin: 10px 0 5px;
  color: #b22222;
}

.producto p {
  font-size: 0.9em;
  padding: 0 10px;
}

.producto strong {
  color: #d32f2f;
  font-size: 1.1em;
}

/* CONTACTO */
.contacto-seccion {
  padding: 50px 20px;
  text-align: center;
}

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

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

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

.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: #d32f2f;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-card button:hover {
  background-color: #b71c1c;
}

/* RESERVA / CTA */
.reserva {
  background: #ffe0b2;
  text-align: center;
  padding: 60px 20px;
}

/* FOOTER */
footer {
  background-color: #b22222;
  color: white;
  text-align: center;
  padding: 15px;
}

.section-p{
  text-align: center;
  padding: 20px;
  grid-column: colspan 2;
}

/* === CONTACTO === */
.contacto {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.contacto h2 {
  font-size: 2em;
  color: #b22222;
  margin-bottom: 25px;
}

.formulario-contacto {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  max-width: 600px;
  margin: 0 auto 40px;
}

.formulario-contacto input,
.formulario-contacto textarea {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1em;
  font-family: "Roboto", sans-serif;
  width: 100%;
}

.formulario-contacto input:focus,
.formulario-contacto textarea:focus {
  border-color: #d32f2f;
  outline: none;
  box-shadow: 0 0 5px rgba(211,47,47,0.4);
}

.formulario-contacto button {
  background-color: #d32f2f;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

.formulario-contacto button:hover {
  background-color: #b71c1c;
}

/* Información de contacto */
.info-contacto {
  background: #fafafa;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.info-contacto p {
  margin: 8px 0;
  color: #444;
}

.info-contacto strong {
  color: #b22222;
}
