/* main/css/menu_festivos.css */

body {
  font-family: 'Segoe UI', sans-serif;
  background: #f8f9fa;
  margin: 0;
  padding: 0;
  color: #333;
}


/* ------------------------------- */
/*        Hero de la Carta        */
/* ------------------------------- */
.hero-carta {
  position: relative;
  width: 100%;
  height: 55vh;
  overflow: hidden;
}

.hero-carta img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-title {
  font-size: 3.0rem;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
}

.menu-hero {
  background: url('/static/main/img/festivo-hero.jpg') center/cover no-repeat;
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.menu-hero .overlay {
  max-width: 1350px;
  width: 100%;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.964);
  padding: 40px;
  border-radius: 10px;
  display: block;
  box-sizing: border-box;
}

/* --------------------------------- */
/*       Sección About Terms         */
/* --------------------------------- */
.about-terms {
  padding: 8rem 1rem;
  background-color: #ffffff;      /* fondo claro */
}

.about-terms-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
}

/* Bloque de texto */
.about-terms-text {
  color: #333;
  max-width: 500px;
}

.about-terms-subtitle {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: #999;
}

.about-terms-text h2 {
  font-size: 2.5rem;
  margin: 0.5rem 0 0.75rem;
  color: #222;
}

.about-terms-line {
  width: 60px;
  height: 3px;
  background: #dd5903;
  margin-bottom: 1.5rem;
}

.about-terms-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #555;
}

/* Firma */
.about-terms-signature {
  display: block;
  max-width: 180px;
  margin-top: 2rem;
}

/* Bloque de imagen */
.about-terms-image img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

/* Responsive: apilar en móvil */
@media (max-width: 768px) {
  .about-terms-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-terms-text {
    order: 2;
  }
  .about-terms-image {
    order: 1;
  }
  .about-terms-text h2 {
    font-size: 2rem;
  }
  .about-terms-signature {
    margin: 2rem auto 0;
  }
}

.price-info {
  font-size: 1.4rem;
  margin-top: 10px;
  color: #dd5903;
}

.menu-content.container {
  max-width: 1300px;
  margin: 30px auto 150px auto;
  padding: 0 20px;
}

.validity {
  text-align: center;
  font-size: 1rem;
  color: #444;
  margin: 20px 0 30px;
}

.calendar-icon {
  margin-right: 6px;
  color: #dd5903;
  font-size: 1.1rem;
}

.menu-section {
  margin-bottom: 50px;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 35px;
  border-bottom: 3px solid #dd5903;
  display: inline-block;
  padding-bottom: 5px;
  color: #2c3e50;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.menu-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.08);
  transition: transform 0.2s;
}

.menu-card:hover {
  transform: translateY(-4px);
}

.menu-card h3 {
  margin: 0 0 10px;
  color: #333;
  font-size: 1.2rem;
}

.menu-card .description {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 8px;
}

.menu-card .price {
  font-weight: bold;
  color: #777777;
}

.menu-download {
  text-align: center;
  margin-top: 100px;
}

.menu-download .btn {
  display: inline-block;
  background-color: #dd5903;
  color: #fff;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 0px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  margin-bottom: 1.1rem;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

.menu-download .btn:hover {
  background: #e07b00;
}

/* Sección "Incluye" */
.menu-section.incluye {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  margin-top: 50px;
  box-sizing: border-box;
}

.menu-section.incluye .section-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #333;
  border-bottom: none;
}

.menu-section.incluye ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.menu-section.incluye li {
  margin-bottom: 6px;
  color: #555;
}

/* Separador entre menús */
.menu-separator {
  width: 100%;
  max-width: 900px;
  height: 3px;
  background: linear-gradient(to right, transparent, #ccc, transparent);
  margin: 80px auto 60px auto;
}

/* Menús destacados */
.estrella-destacado {
  color: #dd5903;
  font-size: 1.1rem;
  margin-left: 0.4rem;
}

/* ============================== */
/*     MENÚ FLOTANTE (ADAPTADO)   */
/* ============================== */

/* Flotante (desktop) */
.floating-menu{
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 1100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 12px 14px 10px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.10);
  max-width: 260px;
  transform: translateZ(0);
  /* Visibilidad controlada por JS (is-visible) */
  opacity: 0;
  transform: translateZ(0) translateY(-6px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.floating-menu.is-visible{
  opacity: 1;
  transform: translateZ(0) translateY(0);
  pointer-events: auto;
}
.floating-menu h4{
  margin: 0 0 6px 0;
  font-size: 12.5px;
  font-weight: 800;
  color: #444;
  text-transform: uppercase;
  letter-spacing: .5px;
  text-align: right;
}
.floating-menu ul{
  list-style: none; margin: 0; padding: 0;
  max-height: 52vh; overflow: auto;
}
.floating-menu li{ margin: 4px 0; }
.floating-menu a{
  display: block;
  padding: 4px 6px;
  border-radius: 6px;
  color: #333;
  font-size: 13px;
  text-decoration: none;
  opacity: .9;
}
.floating-menu a:hover{ background: rgba(0,0,0,0.04); opacity: 1; }
.floating-menu a.is-active{ font-weight: 700; color: #111; background: rgba(0,0,0,0.06); }

/* Botón plegable (opcional) */
.floating-menu .toggle{
  position: absolute; top: 6px; left: 8px;
  border: 0; background: transparent; cursor: pointer;
  font-size: 16px; line-height: 1; opacity: .6;
}
.floating-menu .toggle:hover{ opacity: 1; }
.floating-menu.is-collapsed ul{ display: none; }

/* Dots (móvil) */
.dot-nav{
  position: fixed;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  z-index: 1100;
  display: none;              /* visible solo en móvil */
  align-items: center;
  /* Visibilidad controlada por JS (is-visible) */
  opacity: 0;
  transform: translateY(-50%) translateX(4px);
  transition: opacity .18s ease, transform .18s ease;
}
.dot-nav.is-visible{
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.dot-nav .rail{
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 8px 6px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.dot-nav button{
  position: relative;
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 0; background: #c9c9c9; opacity: .95; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.dot-nav button.active{
  background: #111;           /* cambia a #dd5903 si quieres tu color */
  transform: scale(1.2);
  box-shadow: 0 0 0 6px rgba(17,17,17,0.1);
}
.dot-nav button:focus{ outline: 2px solid #666; outline-offset: 2px; }
.dot-nav button::before{
  content: ""; position: absolute; inset: -10px; /* hitbox dedo */
}

/* Las secciones ancla no deben quedar tapadas por el header al navegar */
.menu-block{ scroll-margin-top: 80px; }
[id^="menu-"]{ scroll-margin-top: 80px; }

/* Responsive: en móvil ocultar flotante y mostrar dots */
@media (max-width: 768px){
  .floating-menu{ display: none !important; }
  .dot-nav{ display: flex !important; }
}
