/* ============================================================
   index.css — ESTILOS EXCLUSIVOS DEL INDEX
   Encapsulado: solo afecta cuando el body tiene class="index-page"
============================================================ */

/* =========================
   VARIABLES (solo index)
========================= */
:root {
  --font-title: 'Lobster', cursive;
  --color-main: #b92d2d;
  --color-nav: #e04848;
  --shadow: 0 4px 12px rgba(0,0,0,.15);
}

/* =========================
   BASE
========================= */
body.index-page {
  font-family: 'Open Sans', Arial, sans-serif;
}

/* =========================
   HEADER (index)
========================= */
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;
  text-shadow: 1px 1px 3px rgba(0,0,0,.25);
}

body.index-page .titulo-header p {
  font-size: 20px;
  margin-top: 5px;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0,0,0,.2);
}

/* =========================
   NAV (index)
========================= */
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;
  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;
  transition: background-color .2s ease, transform .2s ease;
  background: rgba(255,255,255,.08);
}

body.index-page nav a:hover {
  background-color: rgba(0,0,0,.18);
  transform: translateY(-1px);
}

/* =========================
   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);
}

body.index-page .bienvenida h2 {
  margin-top: 0;
}

/* =========================
   BOTÓN CTA — VER MENÚ
========================= */
body.index-page .btn-ver-menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  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;
  box-shadow: 0 12px 26px rgba(185,45,45,.35);
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}

body.index-page .btn-ver-menu:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

body.index-page .btn-ver-menu:active {
  transform: translateY(1px);
  box-shadow: 0 6px 14px rgba(185,45,45,.35);
}

/* =========================
   MENÚ
========================= */
body.index-page #menu h2 {
  font-family: var(--font-title);
  font-size: 36px;
  color: var(--color-main);
  margin-bottom: 15px;
  text-align: center;
  text-shadow: 1px 1px 3px rgba(0,0,0,.12);
}

/* Scroll imágenes */
body.index-page .menu-imgs {
  height: 600px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,.15);
  position: relative;
}

body.index-page .menu-imgs img {
  width: 100%;
  display: block;
  cursor: pointer;
}

body.index-page .menu-imgs::after {
  content: "⇩ Deslizá para ver más";
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  color: var(--color-main);
  background: rgba(255, 255, 255, 0.92);
  padding: 4px 10px;
  border-radius: 8px;
  pointer-events: none;
}

/* Scrollbar */
body.index-page .menu-imgs::-webkit-scrollbar {
  width: 6px;
}
body.index-page .menu-imgs::-webkit-scrollbar-thumb {
  background-color: var(--color-main);
  border-radius: 10px;
}

/* =========================
   UBICACIÓN
========================= */
body.index-page .ubicacion {
  padding: 0 20px;
}

/* =========================
   FOOTER (index)
========================= */
body.index-page footer {
  background-color: var(--color-main);
  color: #fff;
  text-align: center;
  padding: 26px 16px;
  margin-top: 50px;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -6px 16px rgba(0,0,0,.25);
}

body.index-page footer p {
  margin: 0;
  font-size: 15px;
  opacity: 0.95;
  letter-spacing: 0.3px;
}


/* =========================
   MODAL
========================= */
body.index-page #modalImg {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.72);
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 99999;
}

body.index-page #modalImg img {
  max-width: min(92vw, 920px);
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

body.index-page #modalImg .closeBtn {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 38px;
  color: #fff;
  cursor: pointer;
  user-select: none;
}

/* =========================
   WHATSAPP CTA
========================= */
body.index-page .whatsapp-button {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 9999;
}

body.index-page .whatsapp-button img {
  width: 200px;   /* ⬅️ MÁS GRANDE EN PC */
  height: auto;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
  transition: transform .15s ease, box-shadow .15s ease;
}

body.index-page .whatsapp-button:active img {
  transform: scale(0.96);
  box-shadow: 0 6px 16px rgba(0,0,0,.35);
}

/* ============================================================
   📱 MOBILE
============================================================ */
@media (max-width: 768px) {

  body.index-page header {
    padding: 14px 10px;
    gap: 10px;
  }

  body.index-page header .logo {
    max-width: 110px;
  }

  body.index-page .titulo-header h1 {
    font-size: 32px;
    text-align: center;
  }

  body.index-page .titulo-header p {
    font-size: 16px;
    text-align: center;
  }

  body.index-page nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 10px;
    margin: 14px;
  }

  body.index-page nav a {
    font-size: 16px;
    padding: 12px;
    text-align: center;
  }

  body.index-page .menu-imgs {
    height: 420px;
  }

  body.index-page #menu h2 {
    font-size: 28px;
  }

  body.index-page .btn-ver-menu {
    font-size: 17px;
    padding: 14px 22px;
  }

  body.index-page .whatsapp-button {
    bottom: 18px;
    right: 16px;
  }

  body.index-page .whatsapp-button img {
    width: 140px;
  }

  body.index-page footer {
  padding: 22px 14px;
}

body.index-page footer p {
  font-size: 14px;
}

}
