* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-image: url('../img/fondo.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.contenedor {
    width: 95%;
    max-width: 400px;
    margin: 20px auto;
}

.tabla-menu {
    width: 100%;
    background-image: url('../img/fondo-tabla.jpg');
    background-size: cover;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.logo {
    text-align: left;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    padding-top: 20px;
    padding-left: 15px;
}

.logo img {
    max-width: 200px;
    height: auto;
    max-height: 80px;
}

.menu-dinamico {
    display: flex;
    justify-content: space-around;
    margin: 15px 0 25px 0;
    position: relative;
    z-index: 1;
}

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    padding: 12px 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
    gap: 6px;
    width: 30%;
    text-align: center;
    text-decoration: none;
}

.menu-item.active {
    background: rgba(255, 182, 193, 0.7);
    color: #333;
    font-weight: bold;
}

.menu-item i {
    font-size: 18px;
    color: #fff;
}

.menu-item.active i {
    color: #333;
}

.menu-item:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.05);
}
/* estilos para gorras full view

.fondo-tablas-cap {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    padding: 0;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    overflow: hidden;
    width: 100%;
    /* Puedes definir una altura fija o usar min-height */
    height: auto;
    aspect-ratio: 1 / 1; /* Mantiene relación cuadrada */
}

.fondo-tablas-cap-boton img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Muestra toda la imagen sin recortarla */
    border-radius: 12px;
    background-color: #fff; /* Opcional: para llenar el fondo si sobra espacio */
}
/* Estilos para las gorras 1 2 3 4 */
.fondo-tablas {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.fondo-tablas {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    padding: 0;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.fondo-tablas-boton img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Estilos para la página principal */
.botones {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.boton {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    padding: 0;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    overflow: hidden;
    height: 80px;
}

.boton a {
    display: block;
    width: 100%;
    height: 100%;
}

.boton:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.boton img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Estilos para la página Quiénes Somos */
/* Reemplaza esto en tu CSS */
.contenido-quienes-somos {
    background-color: #C87887; /* Color rosado sólido */
    border-radius: 12px;
    padding: 20px;
    margin-top: 15px;
    color: white;
    text-align: center;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

/* Asegurar que todo el texto sea blanco */
.titulo-quienes-somos, 
.texto-quienes-somos, 
.nhqhcn, 
.firma {
    color: #ffffff !important;
}

/* Estilos para la página de Contacto */
/* Eestilos del formulario del botón WhatsApp */
.boton-whatsapp {
    display: inline-block;
    background-color: #25D366;
    color: white;
    padding: 15px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    margin: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.boton-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.boton-whatsapp:active {
    transform: translateY(1px);
}

.boton-whatsapp i {
    margin-right: 10px;
    font-size: 24px;
    vertical-align: middle;
}

.boton-whatsapp::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.boton-whatsapp:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

.contenido-contacto {
    background-color: rgba(200, 120, 135, 0.9);
    border-radius: 12px;
    padding: 30px 20px;
    margin-top: 15px;
    color: white;
    text-align: center;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

/* Media Queries */
@media (min-width: 480px) {
    .menu-item {
        font-size: 14px;
        padding: 12px 15px;
    }
    .menu-item i {
        font-size: 20px;
    }
    .texto-quienes-somos {
        font-size: 15px;
    }
    .boton {
        height: 100px;
    }
}

@media (max-width: 480px) {
    .contenedor {
        width: 100%;
        padding: 10px;
    }
}

/* Añade esto al CSS */
.menu-solo-iconos .menu-dinamico {
    justify-content: center;
    margin: 10px 0 !important;
    gap: 20px;
}

.menu-solo-iconos .menu-item {
    background: transparent !important;
    padding: 0 !important;
    width: auto !important;
    border-radius: 0 !important;
}

.menu-solo-iconos .menu-item span {
    display: none !important;
}

.menu-solo-iconos .menu-item i {
    font-size: 20px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    transition: opacity 0.3s;
}

.menu-solo-iconos .menu-item.active i {
    color: #ffffff !important;
    opacity: 1 !important;
}

.menu-solo-iconos .menu-item:hover i {
    opacity: 0.7;
}

#audio-container {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  display: flex;
  justify-content: center;
  z-index: 9999;
}

#audioPlayerIframe {
  width: 100%;
  max-width: 400px;
  height: 90px;
  border: none;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -3px 12px rgba(0,0,0,0.3);
}

