/* ====== Fuentes Personalizadas ====== */
@font-face {
  font-family: 'MiFuente';
  src: url('../assets/fonts/Amazing-Slab-Bold-trial.ttf') format('truetype');
  font-weight: bold;
}

@font-face {
  font-family: 'MiFuente2';
  src: url('../assets/fonts/Amazing-Slab-Extralight-trial.ttf') format('truetype');
  font-weight: bold;
}

@font-face {
  font-family: 'MiFuente3';
  src: url('../assets/fonts/Breath_Demo.ttf') format('truetype');
  font-weight: bold;
}

@font-face {
  font-family: 'MiFuente4';
  src: url('../assets/fonts/Amazing-Slab-Extralight-trial.ttf') format('truetype');
  font-weight: bold;
}



/* ====== Estilos Globales ====== */
body {
  padding-top: 115px; /* 35 (cintilla) + ~80 (nav-principal) */
  background-color: #fffaf0;
  margin: 0;
  padding: 0;
}

/* ====== Cintilla Superior ====== */
.cintilla {
  background: #ffe0e9;
  color: white;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: fixed;
  top: 0;
  z-index: 999;
  height: 35px;
  display: flex;
  align-items: center;
  font-family: 'MiFuente', sans-serif;
  font-size: 1rem;
}

.cintilla-contenido {
  font-family: 'MiFuente', sans-serif;
  color: #ff4da6;
  display: inline-flex;
  animation: deslizarInfinito 20s linear infinite;
}

.cintilla-contenido p {
  margin: 0 2rem;
  white-space: nowrap;
}

@keyframes deslizarInfinito {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ====== Cintilla Inferior / Derecha ====== */
.cintilla-derecha {
  width: 100%;
  overflow: hidden;
  background: #ffe0e9;
 
  height: 40px;
  position: relative;
}

.cintilla-track {
  display: flex;
  width: max-content;
  animation: scrollDerecha 30s linear infinite;
}

.cintilla-contenido2 {
  display: flex;
  white-space: nowrap;
  font-weight: bold;
  font-size: 1rem;
  color: #ff4da6;
  line-height: 40px;
}

@keyframes scrollDerecha {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* ====== Navegaci贸n Principal ====== */
.nav-principal {
  position: fixed;
  top: 35px; /* altura de la cintilla */
  width: 100%;
  z-index: 998;
  background-color: white !important;
  padding: 1rem 0;
  text-align: center;
  min-height: 80px;
  box-sizing: border-box;
}

.logo img {
  width: 120px;
  max-width: 80%;
  margin: 0 auto 1rem;
}

.menu {
  background-color: white !important;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.menu li a {
  text-decoration: none;
  font-family: 'MiFuente', sans-serif;
  color: #e490b2;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.menu li a:hover {
  color: #c02663;
}

.nav-container {
  display: flex;
  justify-content: center; /* centrado por defecto */
  align-items: center;
  padding: 0 1rem;
  max-width: 1000px;
  margin: 0 auto;
  position: relative; /* para posicionar botón */
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #e490b2;
  cursor: pointer;
  position: absolute;
  right: 1rem;
}

@media (max-width: 768px) {
  .nav-container {
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .logo {
    margin: 0 auto;
  }

  .menu {
    display: none;
    flex-direction: column;
    align-items: center;
    padding-top: 1rem;
  }

  .menu.show {
    display: flex;
  }
}


/* ====== Hero Banner ====== */
.hero-banner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  background-color: #fff4f4;
  flex-wrap: nowrap;
  gap: 0;
  padding: 0;
  height: auto;
  margin-top: 200px; /* 35 + 80 */
}

.hero-images {
  display: flex;
  flex-direction: row;
  width: 66.66%; /* dos tercios */
}

.hero-images img {
  width: 50%; /* cada imagen ocupa la mitad */
  height: auto;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.cta-box {
  width: 33.33%; /* un tercio */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #ff4da6;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cta-box h2{
  color: #fff;
  font-family: 'MiFuente3', sans-serif;
}

.cta-box p{
  color: #fff;
  font-family: 'MiFuente4', sans-serif;
}

.order-btn {
  background-color: #000; /* Negro base */
  font-family: 'MiFuente', sans-serif;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  padding: 12px 24px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.order-btn:hover {
  background-color: #ff5a5f; /* Rosado Milk Bar */
  color: #fff;
}

.ciudad-flotante {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
  align-items: flex-end;
}

.etiqueta-vertical {
  writing-mode: vertical-rl;
  transform: rotate(180deg); /* para que el texto vaya de abajo hacia arriba */
  background-color: white;
  border: 1px solid black;
  padding: 10px 5px;
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 14px;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  cursor: default;
}

.btn-vertical {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  background-color: #ffb7c5;
  color: white;
  border: none;
  padding: 10px 5px;
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 14px;
  cursor: pointer;
  border-radius: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-vertical:hover {
  background-color: #ff9cb2;
  transform: rotate(180deg) scale(1.05);
}


@media (max-width: 768px) {
  .hero-banner {
    flex-direction: column;
    align-items: center;
    margin-top: 180px;

  }

  .hero-images {
    width: 100%; /* que ocupe todo el ancho del contenedor padre */
    display: flex; /* para que los hijos estén en fila */
    flex-direction: row;
    justify-content: center;
  }

  .hero-images img {
    width: 50%; /* cada imagen ocupa la mitad */
    max-width: none; /* elimina el max-width para que no limite */
    margin: 0; /* opcional, para que no quede espacio extra */
  }

  .cta-box {
    width: 100%;
    padding: 1.5rem;
    box-sizing: border-box;
  }
}




/* ====== Popup ====== */
.popup-fondo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('tu-imagen-de-fondo.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-overlay {
  background-color: rgba(0, 0, 0, 0.6); /* oscurece imagen de fondo */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-contenido {
  color: white;
  text-align: center;
  max-width: 500px;
  padding: 2rem;
  border-radius: 20px;
}

.popup-close {
  font-size: 30px;
  position: absolute;
  top: 30px;
  right: 40px;
  cursor: pointer;
  color: white;
}

.popup-titulo {
  font-size: 2rem;
  font-weight: bold;
  font-family: 'MiFuente3', sans-serif;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.popup-subtitulo {
  font-size: 1rem;
  font-family: 'MiFuente3', sans-serif;
  margin-bottom: 1.5rem;
}

select {
  padding: 12px;
  font-size: 1rem;
  color: #000;
  font-family: 'MiFuente3', sans-serif;
  border-radius: 10px;
  border: none;
  margin-bottom: 1rem;
  width: 100%;
  max-width: 400px;
}

.popup-button {
  background-color: #000; /* Negro base */
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  font-family: 'MiFuente', sans-serif;
  padding: 12px 24px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.popup-button:hover {
  background-color: #ff69b4;
}

.popup-contenido img {
  display: block;
  margin: 0 auto;         /* Centra horizontalmente */
  width: 300px;           /* Ajusta el tamaño a tu gusto */
  max-width: 80%;         /* Previene que se desborde en pantallas pequeñas */
  height: auto;
  margin-top: 20px;       /* Espaciado superior */
  margin-bottom: 2px;    /* Espaciado inferior */
}



/* ====== Productos ====== */
#contenedor-productos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.5rem;
  padding: 0.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.producto {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  margin: 1rem 0;
  max-width: 300px;
  text-align: center;
  transition: transform 0.2s ease;
}

.producto:hover {
  transform: scale(1.03);
}

.producto-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 1rem;
}

/* ====== Categoria de sabores ====== */

.sabores-categorias {
  padding: 2rem 1rem;
  background-color: #fff;
  text-align: center;
}

.sabores-categorias span{
  font-family: 'MiFuente3', sans-serif;
  color: #000;
}

.sabores-wrapper {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.sabor-box {
  width: 120px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.3s ease;
  padding: 0.5rem;
  border-radius: 8px;
}

.sabor-box img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #ddd;
  margin-bottom: 0.5rem;
}

.sabor-box span {
  font-size: 0.75rem;
  font-weight: bold;
  color: #000;
  text-transform: uppercase;
}

.sabor-box:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}


/* ====== regalos destacados ====== */

.ocasion-destacada {
  background: #fff7f7;
  padding: 3rem 1rem;
  text-align: center;
}

.ocasion-texto h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  font-family: 'MiFuente3', sans-serif;
}

.ocasion-texto p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1rem;
  color: #555;
  font-family: 'MiFuente2', sans-serif;
}

.ocasion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  justify-content: center;
}

.ocasion-card {
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.3s ease;
  height: 350px; /* Altura fija */
}

.ocasion-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.ocasion-card:hover {
  transform: scale(1.02);
}

/* ====== Comunidad ====== */

.community-section {
  padding: 4rem 1rem;
  background: #fff;
  text-align: center;
}

.community-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-family: 'MiFuente3', sans-serif;
}

.community-header p {
  color: #666;
  margin-bottom: 2rem;
  font-family: 'MiFuente2', sans-serif;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.community-item {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}

.community-item iframe {
  width: 100%;
  height: 400px;
  border-radius: 12px;
}

.community-item.center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.community-item.center img {
  width: 120px;
  border-radius: 100%;
  margin-bottom: 0.5rem;
}

.community-tweet {
  background: #f5f5f5;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: left;
  font-size: 0.95rem;
  color: #333;
}


/* ====== footer ====== */

.site-footer {
  background-color: #f9f9f9;
  padding: 3rem 1rem 1rem;
  color: #333;
  font-size: 0.95rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand img {
  width: 300px;
  margin-bottom: 0.1rem;
}

.footer-brand p {
  font-style: italic;
  color: #666;
}

.footer-links h4{
  font-family: 'MiFuente3', sans-serif;
}

.footer-links ul {
  font-family: 'MiFuente2', sans-serif;
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #d23669;
}

.footer-social h4{
  font-family: 'MiFuente3', sans-serif;
}

.footer-social .social-icons a {
  margin-right: 10px;
  display: inline-block;
}

.footer-social img {
  width: 24px;
  height: 24px;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #888;
}

.icono {
      color: #ff69b4;
      font-size: 40px;
      margin: 10px;
    }

