/* ========================================
   FOOTER GLOBAL - HelpPets (Minimalista)
   ======================================== */

.global-footer {
    background: #1a1a1a;
    color: #ffffff;
    width: 100%;
    min-width: 100vw;
    margin: 60px 0 0 0;
    padding: 0;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    box-sizing: border-box;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

/* Logo y Nombre */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-name {
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

/* Enlaces */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.footer-links a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2E7D32;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-links a:hover::after {
    width: 100%;
}

/* Redes sociales */
.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0a0a0;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    background: #2E7D32;
    color: #ffffff;
    border-color: #2E7D32;
    transform: translateY(-2px);
}

/* Copyright */
.footer-copyright {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #707070;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}

.footer-legal a {
    color: #909090;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #2E7D32;
}

.footer-legal span {
    color: #505050;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        padding: 32px 20px;
        gap: 24px;
    }

    .footer-name {
        font-size: 24px;
    }

    .footer-logo {
        width: 40px;
        height: 40px;
    }

    .footer-links {
        gap: 20px;
        font-size: 14px;
    }

    .footer-social a {
        width: 40px;
        height: 40px;
    }

    .footer-copyright {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 28px 16px;
        gap: 20px;
    }

    .footer-brand {
        gap: 12px;
    }

    .footer-name {
        font-size: 22px;
    }

    .footer-logo {
        width: 36px;
        height: 36px;
    }

    .footer-links {
        gap: 16px;
        font-size: 13px;
    }

    .footer-social {
        gap: 12px;
    }

    .footer-social a {
        width: 38px;
        height: 38px;
    }

    .footer-copyright {
        font-size: 12px;
    }

    .footer-legal {
        font-size: 12px;
        gap: 8px;
    }
}

/* Asegurar que el footer siempre ocupe todo el ancho */
body {
    overflow-x: hidden;
}

/* Asegurar que contenedores padre no limiten el footer */
main, .container, .profile-container {
    overflow-x: visible !important;
}

/* Forzar que el footer ignore restricciones de contenedores padre */
.global-footer {
    clear: both;
    display: block;
}
