/* ============================================================
   index.css — ESTILOS EXCLUSIVOS DEL INDEX
============================================================ */

:root {
  --font-title: 'Lobster', cursive;
  --color-main: #b92d2d;
  --color-nav: #e04848;
  --shadow: 0 4px 12px rgba(0,0,0,.15);
}

body.index-page {
  font-family: 'Open Sans', Arial, sans-serif;
}

/* =========================
   HEADER
========================= */
body.index-page header {
  background-color: var(--color-main);
  color: #fff;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
  border-radius: 0 0 15px 15px;
}

body.index-page header .logo {
  max-width: 200px;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0,0,0,.3);
}

body.index-page .titulo-header {
  text-align: left;
}

body.index-page .titulo-header h1 {
  font-family: var(--font-title);
  font-size: 48px;
  margin: 0;
}

body.index-page .titulo-header p {
  font-size: 20px;
  margin-top: 5px;
}

/* =========================
   NAV
========================= */
body.index-page nav {
  background-color: var(--color-nav);
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 12px 14px;
  box-shadow: 0 3px 6px rgba(0,0,0,.15);
  border-radius: 12px;
  margin: 18px auto 10px auto;
  max-width: 980px;
  flex-wrap: wrap;
}

body.index-page nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  padding: 10px 16px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
}

/* =========================
   📲 WHATSAPP DEBAJO DEL NAV
========================= */
body.index-page .whatsapp-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

body.index-page .whatsapp-button {
  position: static; /* 🔥 quitamos el fixed */
}

body.index-page .whatsapp-button img {
  width: 220px;
  max-width: 90%;
  height: auto;
  border-radius: 12px; /* menos circular, más botón */
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
  transition: transform .15s ease;
}

body.index-page .whatsapp-button:hover img {
  transform: scale(1.03);
}

/* =========================
   CONTENIDO
========================= */
body.index-page .container {
  max-width: 900px;
  margin: auto;
  padding: 20px;
}

body.index-page .bienvenida {
  text-align: center;
  margin-bottom: 30px;
  padding: 22px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 0 15px rgba(0,0,0,.08);
}

/* BOTÓN */
body.index-page .btn-ver-menu {
  margin-top: 16px;
  padding: 14px 26px;
  background: var(--color-main);
  color: #fff;
  border-radius: 999px;
  font-weight: 800;
  font-size: 18px;
  border: none;
  cursor: pointer;
}

/* MENÚ */
body.index-page #menu h2 {
  font-family: var(--font-title);
  font-size: 36px;
  color: var(--color-main);
  text-align: center;
}

body.index-page .menu-imgs {
  height: 600px;
  overflow-y: auto;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,.15);
}

body.index-page .menu-imgs img {
  width: 100%;
  display: block;
  cursor: pointer;
}

/* =========================
   FOOTER
========================= */
body.index-page footer {
  background-color: var(--color-main);
  color: #fff;
  text-align: center;
  padding: 26px 16px;
  margin-top: 50px;
}

/* =========================
   MODAL
========================= */
body.index-page #modalImg {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.72);
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

body.index-page #modalImg img {
  max-width: 90%;
  max-height: 80vh;
}

/* =========================
   📱 MOBILE
========================= */
@media (max-width: 768px) {

  body.index-page nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 14px;
  }

  body.index-page .whatsapp-button img {
    width: 180px;
  }

  body.index-page .menu-imgs {
    height: 420px;
  }

}