@charset "utf-8";
/* CSS Document */

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  background-color: #f4f4f4;
  color: #333;
  padding:0; 
  margin:0; 
}

/* Titulares */
h1, h2 {
  font-family: "Montserrat", sans-serif;
  color: #111;
  margin-bottom: 1rem;
}

.contenedor {
	width:100%;
	max-width:980px;
	margin:auto;
	background-color:#fee4a9;
}

/* --- Estilos generales --- */
.top-banner {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  overflow: hidden;
}

.top-banner .top-img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 340px;
  object-fit: cover;
}

/* --- Caja de redes sociales --- */
.social-box {
  position: absolute;
  top: 20px;
  right: 0;
  background-color: #fbd102; /* amarillo cálido */
  padding: 6px 12px;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.social-box img {
  width: 24px;
  height: 24px;
  display: block;
  transition: transform 0.2s ease;
}

.social-box img:hover {
  transform: scale(1.15);
}

/* --- Adaptabilidad móvil --- */
@media (max-width: 600px) {
  .top-banner {
    max-width: 100%;
  }
  .social-box {
    padding: 5px 10px;
    gap: 6px;
  }
  .social-box img {
    width: 22px;
    height: 22px;
  }
}


/* --- Barra de navegación --- */
.navbar {
  font-family: 'Montserrat', sans-serif;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  width: 100%;
  margin: 10px 0;
  
  /* nuevo */
  z-index: 10000;
}

.nav-container {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
}

/* --- Logo --- */
.logo a {
  font-weight: 700;
  color: #e62e00; /* rojo del logo */
  text-decoration: none;
  font-size: 1.2rem;
}

/* --- Menú principal --- */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
  z-index: 9999; 
  position: relative;
}

.nav-menu li a {
  text-decoration: none;
  color: #000;
  padding: 8px 0;
  display: inline-block;
  position: relative;
  transition: color 0.2s ease;
}

/* Efecto hover */
.nav-menu li a:hover {
  color: #e62e00;
}

/* Indicador de página activa */
.nav-menu li.active a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #e62e00;
  border-radius: 2px;
}

/* --- Menú hamburguesa --- */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}


/* --- Vista móvil --- */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    color: #000;
  }

  .nav-menu {
   
	flex-direction: column;
    background-color: #fff;
    position: absolute;
    /*position: fixed;*/
    top: 60px;
    right: 0;
    width: 220px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
	padding: 10px 0; /*nuevo*/
	z-index: 99999;
    overflow: hidden;

    /* Animación */
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
  }

  .nav-menu.show {
   max-height: 700px; /* ajusta según cantidad de enlaces */
    opacity: 1;
	/*display: flex;*/
  }

  .nav-menu li {
    text-align: right;
    padding: 8px 15px;
  }

  .nav-menu li a {
    color: #000;
    display: block;
  }
}


/* ==== SLIDER ==== */
.slider {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.slides {
  position: relative;
}

.slide {
  display: none;
  width: 100%;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* Botones de navegación */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255,255,255,0.7);
  color: #004e89;
  border: none;
  padding: 8px 14px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 22px;
  transition: all 0.3s;
}

.prev:hover, .next:hover {
  background-color: #ffb703; /* amarillo cálido */
  color: #fff;
}

.prev { left: 10px; }
.next { right: 10px; }

/* Indicadores */
.indicators {
  position: absolute;
  bottom: 12px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 10;
}

.indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #004e89; /* azul mar */
  background-color: #f1e3c1; /* color arena */
  cursor: pointer;
  transition: all 0.3s;
}

.indicators button.active {
  background-color: #e63946; /* rojo logo Papa Kahuna */
  border-color: #ffb703;     /* borde amarillo */
  transform: scale(1.2);
}

.indicators button:hover {
  background-color: #ffb703; /* amarillo */
}


/* === Módulo Carrusel de Pizzas === */
.pizzas-section {
  width: calc(100% - 50px);
  margin: 25px auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
  padding: 20px 0;
}

.pizzas-container {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.pizza-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.pizza-item img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.pizza-item img:hover {
  transform: scale(1.08);
}

.pizza-item p {
  margin-top: 10px;
  font-weight: 600;
  color: #333;
}

/* Controles Swiper */
.swiper-button-prev,
.swiper-button-next {
  color: #c0392b; /* tono rojizo pizzería */
  transform: scale(1.2);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  color: #e74c3c;
}

<!-- boton en portada a galeria -->

.borderSep { height:24px; background-color:face01; border-bottom:#FFFFFF 5px solid; }

.galeria-section {
  width: calc(100% - 50px);
  margin: 25px auto;
  /* border-radius: 20px; */
  overflow: hidden;
  position: relative;
}

.galeria-container {
  position: relative;
  width: 100%;
  height: auto;
}

.galeria-container img {
  width: 100%;
  height: auto;
  display: block;
  /*border-radius: 20px;*/
  transition: transform 0.5s ease;
}

.galeria-container:hover img {
  transform: scale(1.05);
}

/* Capa flotante clicable */
.overlay {
  position: absolute;
  bottom: 15%;
  right: 10%;
  background: rgba(255, 215, 0, 0.85); /* amarillo cálido con transparencia */
  color: #d62828; /* rojo Papa Kahuna */
  padding: 15px 25px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 1.2em;
  opacity: 0;
  transform: translateY(15px);
  text-decoration: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.galeria-container:hover .overlay {
  opacity: 1;
  transform: translateY(0);
}

.overlay:hover {
  background: rgba(255, 215, 0, 1);
}

/* Adaptable a pantallas pequeñas */
@media (max-width: 600px) {
  .overlay {
    font-size: 1em;
    padding: 10px 18px;
    bottom: 10%;
    right: 5%;
  }
}


/* footer */
.footer {
  background-color: #fbcf00;
  border-top: 4px solid #000;
  color: #000;
  padding: 40px 20px 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 30px;
}

.footer-section {
  flex: 1 1 250px;
  min-width: 250px;
}

.footer-section h4 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section a {
  color: #000;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #333;
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 15px;
  font-size: 22px;
  margin-bottom: 8px;
}

.social-links a {
  color: #000;
  transition: transform 0.3s, color 0.3s;
}

.social-links a:hover {
  color: #333;
  transform: scale(1.1);
}

.social-links .fa-whatsapp {
  color: #25d366; /* Verde oficial de WhatsApp */
}

.social-links .fa-whatsapp:hover {
  color: #1ebe5d;
  transform: scale(1.2);
}

.whatsapp-text {
  font-size: 14px;
  font-weight: 500;
  margin-top: 5px;
}

.footer-credit {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  border-top: 1px solid rgba(0,0,0,0.3);
  padding-top: 15px;
}

.footer-credit a {
  color: #000;
  font-weight: bold;
  text-decoration: none;
}

.footer-credit a:hover {
  text-decoration: underline;
}
