body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #fffaf5;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  background: white;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000; /* para que quede por encima */
  background: white; /* importante para que no sea transparente */
}



.logo img {
  height: 75px;
  margin-left: 3rem;
}

.menu {
  display: flex;
  list-style: none;
  gap: 20px;
  margin-right: 3rem;
}

.menu a {
  text-decoration: none;
  color: #333;
}

.dropdown:hover .submenu {
  display: block;
}

.submenu {
  display: none;
  position: absolute;
  background: white;
  list-style: none;
  padding: 10px;
}
.titulos {
  background-color: #fff3d291;

}
/* Botón hamburguesa */
.hamburger {
  font-size: 28px;
  cursor: pointer;
  display: none;
  margin-right: 2rem;
}

/* Móvil */
@media (max-width: 768px) {

  .hamburger {
    display: block;
  }

  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 25%;
    right: 0;
    background: white;
    width: 220px;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }

  .menu.active {
    display: flex;
  }

  .submenu {
    position: static;
    padding-left: 15px;
  }
}

/* HERO */
.hero {
  height: 90vh;
  background: url('/img/img2.webp') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* TABLET */
@media (max-width: 1024px) {
  .hero {
    height: 80vh;
    background-position: center;
  }
}

/* CELULARES (aquí cambia la lógica) */
@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 60vh;
    padding: 40px 20px;

    /* 🔥 cambia SOLO en móvil */
    background-size: contain;
    background-position: center;
    background-color: #fffaf5; /* relleno elegante */
  }
}

/* CELULARES PEQUEÑOS */
@media (max-width: 480px) {
  .hero {
    min-height: 22vh;
    background-size: contain;
  }
}
.hero-content {
  text-align: center;
  color: white;
}

.btn {
  background: #ffb347;
  padding: 10px 20px;
  color: white;
  text-decoration: none;
}
@media (max-width: 768px) {

  .hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
  }

  .btn {
    padding: 8px 14px;      /* más pequeño */
    font-size: 14px;        /* texto más compacto */
    border-radius: 6px;     /* opcional: más moderno */
  }

  .hero-content {
    margin-top: 60px;       /* evita que quede pegado al centro exacto */
  }
}

@media (max-width: 480px) {

  .hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
  }

  .btn {
    padding: 1px 5px;      /* más pequeño */
    font-size: 10px;        /* texto más compacto */
    border-radius: 2px;     /* opcional: más moderno */
  }

  .hero-content {
    margin-top: 60px;       /* evita que quede pegado al centro exacto */
  }
}

/* FEATURES */
.features {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 40px;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 10px;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 20px;
  padding: 20px;
}

.item img {
  width: 100%;
  border-radius: 10px;
}

/* DESKTOP (igual que tenías) */
.about {
  height: 90vh;
  background: url('/img/about.webp') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* TABLET */
@media (max-width: 1024px) {
  .about {
    height: 80vh;
    background-position: center;
  }
}

/* CELULARES (aquí cambia la lógica) */
@media (max-width: 768px) {
  .about {
    height: auto;
    min-height: 60vh;
    padding: 40px 20px;

    /* 🔥 cambia SOLO en móvil */
    background-size: contain;
    background-position: center;
    background-color: #fffaf5; /* relleno elegante */
  }
}

/* CELULARES PEQUEÑOS */
@media (max-width: 480px) {
  .about {
    min-height: 22vh;
    background-size: contain;
  }
}
/* SECTIONS */
section {
  padding: 20px 20px;
  text-align: center;

}

/* Mejora responsive para grids (sabores y tamaños) */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablet/móvil */
    gap: 15px;
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .grid {
    grid-template-columns: 1fr; /* 1 columna en celulares pequeños */
  }
}
.item img {
  width: 100%;
  height: 240px;
  object-fit: cover; /* 🔥 mantiene proporción y se ve pro */
}
@media (max-width: 480px) {
  .item h3 {
    font-size: 14px;
  }
}
#flavors h2 {
  margin-top: 40px;
}
/* CTA */
.contact {
  padding: 60px 20px;
  text-align: center;
}

.contact-container {
  display: flex;
  justify-content: center;
  gap: 150px;
  margin-top: 30px;
  flex-wrap: wrap; /* importante para responsive */
}

.contact-info,
.contact-hours {
  max-width: 300px;
  text-align: center;
}

.contact p {
  margin: 5px 0;
  color: #333;
}

/* Responsive (en móviles se pone en columna) */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .contact-info,
  .contact-hours {
    text-align: center;
  }
}

/* FOOTER */
footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 20px;
}

.item, .card {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.6s;
}

.show {
  opacity: 1;
  transform: translateY(0);
}



/* Boton flotante */
.main {
    display: flex;
    flex-direction: column;
    gap: 0.3em;
  }
.up {
    display: flex;
    flex-direction: row;
    gap: 0.3em;
  }
  
  .down {
    display: flex;
    flex-direction: row;
    gap: 0.3em;
  }
  
  .card1 {
    width: 55px;
    height: 55px;
    outline: none;
    border: none;
    background: white;
    border-radius: 90px 5px 5px 5px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    transition: .2s ease-in-out;
  }
  
  .instagram {
    margin-top: 12px;
    margin-left: 12px;
    fill: #e6683c;
  }
  
  .card2 {
    width: 55px;
    height: 55px;
    outline: none;
    border: none;
    background: white;
    border-radius: 5px 90px 5px 5px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    transition: .2s ease-in-out;
  }
  
  .facebook {
    margin-top: 12px;
    margin-left: -12px;
    fill: #03A9F4;
  }
  
  .card3 {
    width: 55px;
    height: 55px;
    outline: none;
    border: none;
    background: white;
    border-radius: 5px 5px 5px 90px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    transition: .2s ease-in-out;
  }
  
  .whatsapp {
    margin-top: -.6em;
    margin-left: 1.2em;
    fill: #00ff00;
  }
  
  .card4 {
    width: 55px;
    height: 55px;
    outline: none;
    border: none;
    background: white;
    border-radius: 5px 5px 90px 5px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    transition: .2s ease-in-out;
  }
  
  .gmail {
    margin-top: -.9em;
    margin-left: -1.2em;
    fill: #09a4ee;
  }
  
  .card1:hover {
    cursor: pointer;
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  }
  
  .card1:hover .instagram {
    fill: white;
  }
  
  .card2:hover {
    cursor: pointer;
    background-color: #1877f2;
  }
  
  .card2:hover .facebook {
    fill: white;
  }
  
  .card3:hover {
    cursor: pointer;
    background-color: #00ff00;
  }
  
  .card3:hover .whatsapp {
    fill: white;
  }
  
  .card4:hover {
    cursor: pointer;
    background-color: #fe7272;
  }
  
  .card4:hover .gmail {
    fill: white;
  }
  .btn-flotante {
      position: fixed;
      bottom: 10px;
      left: 20px;
      z-index: 99;
      
  }

.icong { 
max-width: 30px;
  padding-right: 7px;
}


  @media only screen and (max-width: 600px) {
       .btn-flotante {
          bottom: 20px;
          right: 20px;
      }
  }
  
  .floating-order-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #f4a261; /* puedes cambiar el color */
  color: #fff;
  padding: 14px 22px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  z-index: 9999;
  transition: all 0.3s ease;
}

/* Hover efecto */
.floating-order-btn:hover {
  background-color: #e76f51;
  transform: translateY(-3px);
}

/* Responsive (más pequeño en móvil) */
@media (max-width: 600px) {
  .floating-order-btn {
    padding: 12px 18px;
    font-size: 14px;
    bottom: 15px;
    right: 15px;
  }
}

  @media (max-width: 800px) {
    .map, .form-card1, .map iframe{
        display: flex;
        flex-direction: column;
    }
  }
  .map {
      position:relative;
  }
  .map iframe {
      height:150px;
      width:200px;
      position:relative;
      border-radius: 3rem;
  
  }
  @media (max-width: 800px) {
      .map, .form-card1, .map iframe{
          display: flex;
          flex-direction: column;
          margin: 2rem 0;
      }
  }
  .tmap {
      color: rgb(165, 91, 31);
      font-size: 2rem;
      background-color: rgba(255, 255, 255, 0.678);
      border-radius: 10rem;
  }

  .fillings-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0; /* margen arriba y abajo parejo */
  padding: 0 20px;
}

.fillings-container img {
  width: 100%;
  height: auto; /* 🔥 evita deformación */
  border-radius: 15px;
  object-fit: contain;
}
@media (max-width: 480px) {
  .fillings-container {
    margin: 25px 0;
  }
}

.order-side-btn {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: #f4a261;
  color: white;
  padding: 15px 10px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 10px 0 0 10px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  box-shadow: -3px 5px 15px rgba(0,0,0,0.2);
  z-index: 9999;
  transition: 0.3s;
}

/* Hover */
.order-side-btn:hover {
  background: #e76f51;
  padding-right: 15px;
}