
/* --- 1. Estilo del Panel Principal del Menú --- */
.mobile-menu-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #333333;
  z-index: 1000;
  padding: 20px;
  box-sizing: border-box;
  transform: translateX(-100%);
  transition: transform 0.6s ease-in-out;

  /* --- AÑADE ESTA LÍNEA --- */
  overflow-y: auto; /* Permite el scroll vertical SI el contenido es más alto */
}

/* Estado activo: se muestra */
.mobile-menu-panel.is-active {
  transform: translateX(0);
}

/* --- 2. Encabezado del Menú (Logo y "X") --- */
.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.menu-logo img {
  max-width: 150px;
  height: auto;
}

.menu-close-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 3rem;
  font-weight: 300;
  cursor: pointer;
  padding: 0 10px;
}

/* --- 3. Lista de Enlaces --- */
.menu-links {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

.menu-links li {
  margin-bottom: 10px;
}

.menu-links a {
  display: block;
  padding: 12px 15px;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  transition: all 0.2s ease;
  position: relative;
}

/* --- 4. Estilo Especial "Home" --- */
.menu-links .current-item a {
  background-color: #f9c74f;
  color: #333333;
  clip-path: polygon(15% 0, 100% 0, 95% 50%, 100% 100%, 15% 100%, 0 50%);
  padding-left: 30px;
}

/* --- 5. Flechas y Submenú (NUEVO) --- */

/* La flecha ">" */
.menu-links .has-submenu > a::after {
  content: '>';
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
  color: #777;
  transition: transform 0.3s ease;
}

/* Ocultar el submenú por defecto */
.sub-menu {
  list-style: none;
  padding-left: 20px;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

/* Estilos para los enlaces del submenú */
.sub-menu a {
  font-size: 1rem;
  font-weight: normal;
  color: #ccc;
  padding-top: 8px;
  padding-bottom: 8px;
}
.sub-menu a:hover {
  color: #fff;
}

/* Clase de estado activo ".is-open" (del JS) */

/* 1. Mostrar el submenú */
.menu-links li.is-open > .sub-menu {
  max-height: 500px; /* Un valor alto para que quepa todo */
  margin-top: 10px;
  transition: max-height 0.4s ease-in;
}

/* 2. Girar la flecha */
.menu-links li.is-open > a::after {
  transform: translateY(-50%) rotate(90deg);
  color: #fff;
}

/* --- 6. Estilo del Botón Hamburguesa (Externo) --- */
.hamburger-opener {
  /* position: fixed; */ /* Comentado para que se quede en su widget */
  /* top: 15px; */
  /* left: 15px; */
  width: 26px;
  height: 20px;
  background: none !important;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
}

.hamburger-opener span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #A62472;
  margin-bottom: 4px;
  border-radius: 2px;
}

.hamburger-opener span:last-child {
  margin-bottom: 0;
}

/* estilos de la sección de contacto con mapa */

/* --- 1. Contenedor Principal (flexbox de 2 columnas) --- */
.visit-section {
  display: flex;
  flex-wrap: wrap; /* Para que en móviles se ponga una columna sobre otra */
  width: 100%;
  font-family: Arial, sans-serif;
}

/* --- 2. Columna de Información --- */
.info-column {
  /* Color de fondo beige claro */
  background-color: #fff9eb; 
  
  /* Borde sutil */
  border: 1px solid #e0c9a5;
  border-radius: 15px;
  
  /* Espaciado interno */
  padding: 40px;
  
  /* El 50% del ancho */
  width: 50%;
  box-sizing: border-box; /* Para que el padding no afecte el ancho */
  
  /* Para posicionar las imágenes decorativas */
  position: relative; 
}

/* --- 3. Columna del Mapa --- */
.map-column {
  width: 50%;
  min-height: 400px; /* Asegura una altura mínima */
}
.map-column iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- 4. Estilos de Texto --- */
.info-column .subtitle {
  color: #d98e42; /* Color naranja/mostaza */
  font-weight: bold;
  letter-spacing: 2px;
  font-size: 0.8rem;
  margin: 0;
  
  /* La línea decorativa encima */
  position: relative;
  display: inline-block;
  padding-top: 10px;
}
.info-column .subtitle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50px; /* Ancho de la línea */
  height: 2px;
  background-color: #d98e42;
}

.info-column h2 {
  font-size: 2.5rem;
  color: #333;
  margin: 10px 0 25px 0;
}

.info-column .address {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* --- 5. Sección de Horarios (con línea vertical) --- */
.info-column .hours {
  position: relative;
  padding-left: 25px; /* Espacio para la línea */
  margin-bottom: 30px;
  color: #555;
}
.info-column .hours::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 3px; /* Grosor de la línea */
  background-color: #e0c9a5; /* Color del borde */
}
.info-column .hours p {
  margin: 0;
  line-height: 1.7;
}

/* --- 6. Iconos Sociales --- */
.social-icons {
  display: flex;
  gap: 15px; /* Espacio entre iconos */
}
.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  
  /* Estilo del círculo */
  border: 1px solid #e0c9a5;
  border-radius: 50%;
  
  /* Estilo del texto/icono */
  color: #555;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  
  transition: all 0.3s ease;
}
.social-icons a:hover {
  background-color: #d98e42;
  border-color: #d98e42;
  color: #fff;
}


/* --- 7. Imágenes Decorativas --- */
.deco-plant {
  position: absolute;
  top: 30px;
  left: -40px; /* Se sale un poco a la izquierda */
  width: 100px; /* Ajusta el tamaño */
  opacity: 0.6;
  z-index: -1;
}

.deco-pizza {
  position: absolute;
  bottom: 20px;
  right: 40px; /* Ajusta la posición */
  width: 120px; /* Ajusta el tamaño */
}


/* --- 8. Adaptación Móvil (Responsive) --- */
@media (max-width: 900px) {
  /* Hacemos que las columnas ocupen el 100% y se apilen */
  .info-column,
  .map-column {
    width: 100%;
  }
  
  /* Ocultamos la planta en móvil para que no estorbe */
  .deco-plant {
    display: none;
  }
}
