/* ======================
   VARIABLES
====================== */
:root{
  --rojo:#C4161C;
  --azul:#273C8B;
  --negro:#000;
  --gris:#111;
  --blanco:#fff;
  --muted:rgba(255,255,255,.75);
  --borde:#222;
  --whats:#25D366;
}

/* ======================
   RESET
====================== */
*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }

body{
  font-family:'Poppins',system-ui,-apple-system,Segoe UI,Roboto,Arial;
  background:var(--negro);
  color:var(--blanco);
  line-height:1.6;
}

/* ======================
   HEADER ESTÁTICO
====================== */
.header{
  position:static;
  background:#000;
  border-bottom:2px solid var(--rojo);
  padding:18px 16px 16px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  z-index: 1000;
}

/* ======================
   LOGO
====================== */
.logo{
  width:520px;
  max-width:92vw;
  height:110px;
  object-fit:contain;
  display:block;
  margin:0 auto 10px;
}


img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ======================
   CONTROL HAMBURGUESA (Oculto en PC)
====================== */
.menu-check { display: none; }
.hamburger { display: none; cursor: pointer; padding: 10px; }

.hamburger span {
  display: block;
  width: 30px;
  height: 3px;
  background: var(--rojo);
  margin: 5px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* ======================
   MENÚ SIMPLE (Escritorio)
====================== */
.navSimple{
  display:flex;
  gap:14px;
  justify-content:center;
  flex-wrap:wrap;
}

.navSimple a{
  color:var(--blanco);
  text-decoration:none;
  font-weight:700;
  padding:8px 14px;
  border-radius:12px;
  white-space:nowrap;
  background:#000;
  border:1px solid #222;
  transition:.2s;
}

.navSimple a:hover{
  background:var(--azul);
  border-color:var(--azul);
}


.navSimple a.active{
  background:var(--rojo);
  border-color:var(--rojo);
  color:#fff;
}


.navSimple .whats{
  background:var(--whats);
  border-color:var(--whats);
  color:#062d14;
  font-weight:900;
}

/* ======================
   HERO
====================== */
.hero{
  padding:70px 20px;
  text-align:center;
  background:
    radial-gradient(800px 400px at top, rgba(196,22,28,.25), transparent 60%),
    radial-gradient(800px 400px at bottom, rgba(39,60,139,.25), transparent 60%);
}

.hero h1{
  font-family:'Oswald','Poppins',sans-serif;
  font-size:42px;
  line-height:1.1;
  margin-bottom:16px;
}

/* ======================
   BOTONES
====================== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  background:var(--whats);
  color:#062d14;
  padding:14px 22px;
  border-radius:16px;
  font-weight:900;
  border:none;
  cursor:pointer;
  text-decoration:none;
  transition:.2s;
}

.btn:hover{
  transform:translateY(-2px);
  filter:brightness(1.05);
}

.btnOutline{
  display:inline-block;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  color:#fff;
  text-decoration:none;
  font-weight:700;
  background:rgba(255,255,255,.04);
}

/* ======================
   SECCIONES
====================== */
.section{
  padding:60px 20px;
  text-align:center;
}

.section.dark{ background:var(--gris); }

.section h2{
  font-family:'Oswald','Poppins',sans-serif;
  font-size:32px;
  margin-bottom:12px;
}

.muted{ color:var(--muted); }
.small{ font-size:13px; }

/* ======================
   MENÚ PLATILLOS
====================== */
#menuGrid{
  max-width:820px;
  margin:22px auto 0;
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
}

.menuItem{
  border:1px solid rgba(255,255,255,.12);
  background:#0b0b0b;
  padding:16px;
  border-radius:16px;
  text-align:left;
  display:flex;
  justify-content:space-between;
  gap:14px;
}

.menuItem strong{ font-size:16px; }
.menuItem .price{ color:var(--rojo); font-weight:900; }


/* ===== Botones mapa ===== */
.mapBtns{
  max-width:1000px;
  margin:14px auto 0;
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
}

/* Google Maps – rojo */
.btnGoogle{
  border-color:var(--rojo);
  color:var(--rojo);
}

.btnGoogle:hover{
  background:var(--rojo);
  color:#fff;
}

/* Waze – azul */
.btnWaze{
  border-color:var(--azul);
  color:var(--azul);
}

.btnWaze:hover{
  background:var(--azul);
  color:#fff;
}

/* ======================
   RESERVACIONES
====================== */
.reserveWrap2{
  max-width:1100px;
  margin:22px auto 0;
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:14px;
}

.reserveCard{
  border:1px solid #222;
  background:#0b0b0b;
  border-radius:18px;
  padding:18px;
  text-align:left;
}

.reserveCard h3{
  font-family:'Oswald','Poppins',sans-serif;
  font-size:22px;
  margin-bottom:8px;
}

.reserveForm{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.formRow{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.reserveForm label{
  display:flex;
  flex-direction:column;
  gap:4px;
  font-size:14px;
}

.reserveForm input,
.reserveForm select,
.reserveForm textarea{
  background:#000;
  border:1px solid #222;
  border-radius:10px;
  padding:10px 12px;
  color:#fff;
  font-family:inherit;
}

.reserveForm input:focus,
.reserveForm select:focus,
.reserveForm textarea:focus{
  outline:none;
  border-color:var(--rojo);
}

/* Botón compacto */
.btnReserve{
  min-width:220px;
  max-width:280px;
  margin:16px auto 0;
  font-size:15px;
}

/* Aviso HOY */
.reserveAlert{
  margin:14px auto 0;
  max-width:360px;
  padding:10px 14px;
  border-radius:14px;
  background:rgba(196,22,28,.12);
  border:1px solid var(--rojo);
  color:#ffd6d6;
  font-size:13px;
  font-weight:600;
  text-align:center;
}


/* ======================
   CONTACTO
====================== */
.contactGrid{
  max-width:1100px;
  margin:22px auto 0;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

.contactCard{
  border:1px solid #222;
  background:#0b0b0b;
  border-radius:18px;
  padding:18px;
  text-align:left;
}

.contactCard h3{
  font-family:'Oswald','Poppins',sans-serif;
  font-size:22px;
  margin-bottom:6px;
}

/* ======================
   REDES SOCIALES (PNG)
====================== */
.socialImgs,
.footerSocial{
  display:flex;
  align-items:center;
  gap:14px;
}

.socialImgs img{
  width:52px;
  height:52px;
  object-fit:contain;
   /*padding:6px;*/
  border-radius:14px;
  border:1px solid #222;
  background:#000;
  display:grid;
  place-items:center;
  text-decoration:none;
  transition:.2s;
}

.socialImgs img:hover{
  transform:translateY(-2px) scale(1.06);
}

.footerSocial img{
  width:48px;
  height:48px;
  object-fit:contain;
  border-radius:14px;
  background:#000;
  padding:6px;
  opacity:.85;
  transition:.2s;
}

.footerSocial img:hover{
  opacity:1;
  transform:scale(1.06);
}

/* ======================
   MAPA / FOOTER
====================== */
iframe{
  width:100%;
  max-width:1000px;
  height:360px;
  border:0;
  border-radius:18px;
  margin-top:18px;
}

footer{
  padding:22px 16px;
  text-align:center;
  border-top:1px solid var(--borde);
  color:#aaa;
  font-size:14px;
}

/* ======================
   WHATSAPP FLOTANTE
====================== */
.whatsFloat{
  position:fixed;
  right:16px;
  bottom:16px;
  width:54px;
  height:54px;
  border-radius:18px;
  display:grid;
  place-items: center;
  background:var(--whats);
  text-decoration:none;
  font-size:22px;
  box-shadow:0 18px 40px rgba(0,0,0,.40);
  z-index:80;
}

/* Icono WhatsApp */
.whatsFloat img{
  object-fit:contain;
  transition:transform .2s ease;
}

.whatsFloat:hover img{
  transform:scale(1.08);
}

/* ======================
   RESPONSIVE FINAL (Corregido)
====================== */
@media (max-width:900px){
  .reserveWrap2, .contactGrid {
    grid-template-columns:1fr;
  }
}

@media (max-width:700px){

  .header{
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
    padding:12px 16px;
    position:relative;
  }

  .logo{
    width:180px !important;
    height:auto;
    margin:0 !important;
  }

  /* Hamburguesa visible */
  .hamburger{
    display:flex;
    flex-direction:column;
    gap:5px;
    padding:10px;
  }

  /* Menú móvil oculto por defecto */
  .navSimple{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    background:#000;
    flex-direction:column;
    padding:16px;
    gap:10px;
    box-shadow:0 10px 20px rgba(0,0,0,.5);
    z-index:9999;
  }

  .navSimple a{
    width:100%;
    text-align:center;
  }

  /* Abrir menú */
  .menu-check:checked ~ .navSimple{
    display:flex;
  }

  /* Animación a X */
  .menu-check:checked + .hamburger span:nth-child(1){
    transform:translateY(8px) rotate(45deg);
  }
  .menu-check:checked + .hamburger span:nth-child(2){
    opacity:0;
  }
  .menu-check:checked + .hamburger span:nth-child(3){
    transform:translateY(-8px) rotate(-45deg);
  }

  .hero h1{ font-size:34px; }

   .formRow{
    grid-template-columns:1fr;
  }

  .btnReserve{
    min-width:200px;
    max-width:240px;
  }
}

/* =========================
   FIX DEFINITIVO REDES SOCIALES
   (evita iconos gigantes)
========================= */

/* REGLA DE SEGURIDAD GLOBAL */
footer img,
.socialImgs img{
  width: auto !important;
  height: auto !important;
  max-width: 56px !important;
  max-height: 56px !important;
}

/* Contacto */
.socialImgs img{
  width: 52px !important;
  height: 52px !important;
  object-fit: contain;
  border-radius: 14px;
  background: transparent;
}

/* Footer */
.footerSocial img{
  width: 44px !important;
  height: 44px !important;
  object-fit: contain;
  border-radius: 14px;
}

/* Footer centrado */
footer .footerSocial{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:14px;
}




/* PRÓXIMA APERTURA – animada */
.opening{
  text-align:center;
  font-size:26px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:1.2px;
  color:#ddd;

  animation: openingFade 3s ease-in-out infinite;
}

.opening strong{
  display:block;
  margin-top:10px;
  font-weight:900;
}

/* Animación suave */
@keyframes openingFade{
  0%{
    opacity:0;
    transform:translateY(-10px);
  }
  35%{
    opacity:1;
    transform:translateY(0);
  }
  65%{
    opacity:1;
    transform:translateY(0);
  }
  100%{
    opacity:0;
    transform:translateY(10px);
  }
}
