/* =============================================== */
/* FOOTER.CSS - Poppy's 80 Footer Multiidioma
   Estilos para el footer universal
   ============================================ */

/* =============================================== */
/* FOOTER DESKTOP STYLES */
/* =============================================== */

/* Footer Desktop - Solo visible en desktop */
.main-footer.desktop-footer {
    background: #000;
    color: #fff;
    margin-top: auto;
    display: block;
}

.footer-content {
    padding: 60px 0 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

/* Logo y descripción */
.footer-logo-img {
    height: 80px;
    width: 80px;
    margin-bottom: 20px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 2px solid #333;
    transition: all 0.3s ease;
}

.footer-logo-img:hover {
    transform: scale(1.05);
    border-color: #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.footer-description {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #333;
    border: 2px solid #666;
    border-radius: 8px;
    text-decoration: none;
    color: #ccc;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
    transform: translateY(-3px);
}

/* Títulos de sección */
.footer-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 3px solid #333;
    padding-bottom: 10px;
}

/* Enlaces rápidos */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: #ccc;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: block;
    padding: 5px 0;
}

.footer-menu a:hover {
    color: #fff;
    transform: translateX(5px);
}

/* Información de contacto */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: none;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-icon {
    color: #ccc;
    margin-top: 2px;
}

.contact-details strong {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    color: #fff;
    display: block;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-details p,
.contact-details a {
    color: #ccc;
    font-family: 'Oswald', sans-serif;
    margin: 0;
    line-height: 1.4;
    text-decoration: none;
}

.contact-details a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Horarios */
.hours-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.hours-item strong {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    color: #fff;
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hours-item p {
    color: #ccc;
    font-family: 'Oswald', sans-serif;
    margin: 0 0 3px 0;
    line-height: 1.4;
}

.reserve-link {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 8px 18px;
    border: 2px solid #fff;
    text-decoration: none;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.reserve-link:hover {
    background: transparent;
    color: #fff;
    transform: translateY(-2px);
}

/* Footer Bottom */
.footer-bottom {
    background: #111;
    border-top: 1px solid #333;
    padding: 20px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: #888;
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-legal a {
    color: #888;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #fff;
}

.separator {
    color: #666;
}

/* =============================================== */
/* FOOTER MÓVIL TIPO APP STYLES */
/* =============================================== */

/* Resetear estilos del footer */
.mobile-app-footer * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Footer container - Solo visible en móvil */
.mobile-app-footer {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    border-top: 1px solid #333;
    z-index: 999999;
    padding: 10px 0 8px 0;
    box-shadow: 0 -3px 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Navegación container */
.mobile-footer-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
}

/* Items individuales */
.mobile-footer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #888;
    padding: 8px 10px;
    border-radius: 12px;
    min-width: 70px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

/* Hover effects */
.mobile-footer-item:hover {
    color: #00d4aa;
    background: rgba(0, 212, 170, 0.15);
    transform: translateY(-3px) scale(1.05);
}

/* Estado activo */
.mobile-footer-item.active {
    color: #00d4aa;
    background: rgba(0, 212, 170, 0.2);
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.3);
}

.mobile-footer-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: #00d4aa;
    border-radius: 0 0 3px 3px;
}

/* Iconos */
.mobile-footer-icon {
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.mobile-footer-icon svg {
    width: 22px;
    height: 22px;
    transition: all 0.3s ease;
}

.mobile-footer-item:hover .mobile-footer-icon svg,
.mobile-footer-item.active .mobile-footer-icon svg {
    transform: scale(1.15);
}

/* Labels */
.mobile-footer-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    white-space: nowrap;
}

/* Animaciones adicionales */
@keyframes footerSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.mobile-app-footer {
    animation: footerSlideUp 0.4s ease-out;
}

/* Efecto ripple al hacer click */
.mobile-footer-item::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.3) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease;
    border-radius: 50%;
    pointer-events: none;
}

.mobile-footer-item:active::after {
    transform: translate(-50%, -50%) scale(2);
}

/* =============================================== */
/* RESPONSIVE DESIGN */
/* =============================================== */

/* Desktop - Mostrar footer desktop, ocultar móvil */
@media (min-width: 769px) {
    .desktop-footer {
        display: block;
    }
    
    .mobile-app-footer {
        display: none !important;
    }
}

/* Tablet - Footer desktop responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-content {
        padding: 50px 0 25px;
    }
    
    .footer-logo-img {
        height: 50px;
        width: 50px;
    }
}

/* Móvil - Ocultar footer desktop, mostrar móvil */
@media (max-width: 768px) {
    /* Ocultar footer desktop */
    .desktop-footer {
        display: none !important;
    }
    
    /* Mostrar footer móvil */
    .mobile-app-footer {
        display: block !important;
    }
    
    /* Compensar el footer fijo */
    body {
        padding-bottom: 75px !important;
    }
    
    /* Ajustar otros elementos flotantes */
    .subir-arriba {
        bottom: 85px !important;
    }
    
    /* Ajustar notificaciones */
    .notification {
        bottom: 85px !important;
    }
}

/* Pantallas muy pequeñas */
@media (max-width: 360px) {
    .mobile-footer-item {
        padding: 6px 8px;
        min-width: 60px;
    }
    
    .mobile-footer-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .mobile-footer-label {
        font-size: 9px;
    }
    
    .mobile-footer-nav {
        padding: 0 5px;
    }
}

/* Dispositivos con orientación landscape */
@media (max-height: 500px) and (orientation: landscape) {
    .mobile-app-footer {
        padding: 6px 0 4px 0;
    }
    
    .mobile-footer-item {
        padding: 4px 8px;
    }
    
    .mobile-footer-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .mobile-footer-label {
        font-size: 8px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .mobile-app-footer {
        background: #0a0a0a;
        border-top-color: #444;
    }
}

/* Reduce motion para usuarios con preferencias de accesibilidad */
@media (prefers-reduced-motion: reduce) {
    .mobile-footer-item {
        transition: none;
    }
    
    .mobile-footer-icon svg {
        transition: none;
    }
    
    .mobile-app-footer {
        animation: none;
    }
    
    .mobile-footer-item:hover {
        transform: none;
    }
    
    .mobile-footer-item:active::after {
        transform: none;
    }
}

/* Mejoras de accesibilidad */
.mobile-footer-item:focus {
    outline: 2px solid #00d4aa;
    outline-offset: 2px;
}

.social-link:focus,
.reserve-link:focus,
.footer-menu a:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Estados de carga */
.mobile-app-footer.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .mobile-app-footer {
        background: #000;
        border-top-color: #fff;
    }
    
    .mobile-footer-item {
        border: 1px solid transparent;
    }
    
    .mobile-footer-item.active {
        border-color: #00d4aa;
    }
}

/* Impresión */
@media print {
    .mobile-app-footer,
    .desktop-footer {
        display: none !important;
    }
}