/*---- RAIZ GENERAL ----*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
}

#contenedor{
    position: relative;
    height: 98%;
    width: 100%;
    margin: auto;
    padding-top: 8vh;
    display: flex;
    flex-direction: column;
}

/*---- FIN RAIZ GENERAL ----*/

/* ---- NAVBAR ---- */

header {
    background-color: #d2ab80;
    height: 8vh;
    width: 100vw;
    position: fixed;
    z-index: 9999;
    top: 0;
}

nav ul {
    display: flex;
    height: 8vh;
    width: 100vw;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    color: #000;
    list-style: none;
}

.none-style {
  text-decoration: none;
  color: #000;
}

.dropdown a {
    color: #000;
}

.dropdown-menu {
  display: none;      /* 🔴 oculto al inicio */
  position: absolute;
  background: #d2ab80;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 160px;
  height: 100px;
}

.dropdown-menu li:hover{
    background-color: #F3E5C7;
    border-radius: 5px;
}

.dropdown.active .dropdown-menu {
  display: block;     /* 🟢 visible cuando .dropdown tiene .active */
}
/* ---- FIN NAVBAR ---- */


/* ---- SECCIONES ---- */
.secciones{
    flex: 1;
    padding: 20px;
    background-color: #d2ab80;
    max-height: 850px;
    display: grid;
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    gap: 20px; /* espacio entre sabores */
    align-items: start;
}

/* ---- FIN SECCIONES ---- */

/* ---- CONTENIDO PARA TODAS LAS SECCIONES ---- */
.titulo {
    grid-column: span 3;
    color: #b67e40;
    font-size: 100px;
    margin: auto;
}

.item {
  color: #f0e6d8;
  background: #B67E40;
  padding: 15px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: all 0.6s ease;
  overflow: hidden;
  cursor: pointer;
}

.item .info {
  max-height: 0;
  opacity: 0;
  transition: all 0.6s ease;
}

.item:hover {
  transform: scale(1.05); /* se expande */
  box-shadow: 0 8px 12px rgba(0,0,0,0.2);
}

.item:hover .info {
  max-height: 100px;
  opacity: 1;
  margin-top: 10px;
}

/* ---- FIN CONTENIDO PARA TODAS LAS SECCIONES ---- */

/* ---- CONTENIDO SECCION CHOCOLATES ---- */
/* ---- FIN CONTENIDO SECCION CHOCOLATES ---- */

/* ---- CONTENIDO SECCION DULCE DE LECHE ---- */
.dulcedeleche{
  min-height: 600px;
      background: url("img-sabores/d-d-l-fondo.png") no-repeat center center;
  background-size: cover;   /* se adapta al section */
  position: relative;       /* necesario si después usás overlays */
}
/* ---- FIN CONTENIDO SECCION DULCE DE LECHE ---- */

/* ---- CONTENIDO SECCION CREMAS ---- */
.cremas {
  min-height: 850px;
  background: url("img-sabores/cremas.png") no-repeat center center;
  background-size: cover;   /* se adapta al section */
  position: relative;       /* necesario si después usás overlays */
}

/* ---- FIN CONTENIDO SECCION CREMAS ---- */

/* ---- CONTENIDO SECCION AL AGUA ---- */

.alagua {
  min-height: 850px;
  background: url("img-sabores/al-agua-fondo.png") no-repeat center center;
  background-size: cover;   /* se adapta al section */
  position: relative;       /* necesario si después usás overlays */
}

/* ---- FIN CONTENIDO SECCION AL AGUA ---- */

/* ---- CONTENIDO SECCION ESPECIALES ---- */

.especiales {
  min-height: 850px;
  background: url("img-sabores/especiales-fondo.png") no-repeat center center;
  background-size: cover;   /* se adapta al section */
  position: relative;       /* necesario si después usás overlays */
}

/* ---- CONTENIDO SECCION ESPECIALES ---- */

/* ---- SECCION CONTACTO ---- */

#contacto {
    display: flex;
    justify-content: center;
    align-items: end;
    background: url("img-sabores/contacto-fondo.png") no-repeat top center;
    background-size: cover;
    height: 400px;
}

.cont-contacto{
    height: 250px;
    width: 33%;
    margin: 0 0 20px 0;
}

#cont-maps{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 0 0 0 50px;
}

.h-contact-2{
  display: flex;
  align-items: center;
}

#tam-maps{
  height: 90%;
  min-height: 30%;
  width: 60%;
  min-width: 180px;
  border-radius: 5px;
}

#cont-infor{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.desaparecer{
  display: none;
}

#iconos-posicion{
  display: flex;
  width: 60%;
  justify-content: space-evenly;
}

.weight-p-contactos {
    font-weight: 700;
    font-size: 18px;
}

#cont-rucabot{
    display: block;
}

.ruca-img-ultima{
    height: 100%;
    width: auto;
    background: url("img\ utilizadas/sinfondoruca.webp") no-repeat center center;
    background-size: cover;
}

#edit-size-p{
    font-size: 25px;
}

/* ---- FIN SECCION CONTACTO ----  */

/*MEDIA QUERIES*/

@media (max-width: 768px) {



  #contenedor {
  width: 100%;
  height: auto;
  overflow-x: hidden; /* evita scroll horizontal raro */
  }

  .secciones {
    background: none !important;   /* ❌ quita cualquier imagen */
    background-color: #F3E5C7;     /* ✅ ponés un color de respaldo */
    height: auto !important;             /* opcional, la altura se adapta al contenido */
    min-height: 50px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 0;
  }

  .cremas{
    margin-bottom: 250px;
  }

  .titulo {
    grid-column: span 1;
    font-size: 50px;
  }

  #contacto{
    height: auto;
    flex-direction: column-reverse;
    font-size: 16px;
    align-items: center;
  }

  .cont-contacto{
    height: auto;
  }

  #edit-size-p{
    display: none;
}

  #cont-maps{
    align-items: center;
    width: 80vw;
    gap: 0;
    padding: 0;
  }

#cont-rucabot{
    display: none;
}

  #cont-infor{
    display: flex;
    flex-direction: column;
  }

  .h-contact-2{
    justify-content: center;
  }

  .desaparecer{
  display: block;
  }

  #iconos-posicion{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 3%;
  }


}

/*FIN MEDIA QUERIES*/