<template>
    <div class="page-header">
        <div class="logos-container">
            <span class="collaborators-text">Collaborators:</span>
            <div class="logo-item">
                <img src="../assets/images/companies_images/logofinai.png" alt="The Fin AI" class="logo-image" />
            </div>
            <div class="logo-item">
                <img src="../assets/images/companies_images/nactemlogo.png" alt="NaCTeM" class="logo-image" />
            </div>
            <div class="logo-item">
                <img src="../assets/images/companies_images/paalai_logo.png" alt="PAAL AI" class="logo-image" />
            </div>
        </div>
    </div>
</template>

<style scoped>
.page-header {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #f8f9fb 0%, #ffffff 100%);
    border-top: 1px solid #e5e7eb;
    z-index: 100;
}

.logos-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 0;
}

.collaborators-text {
    color: #6b7280;
    font-size: 0.95rem;
}

.logo-item {
    flex-shrink: 0;
    width: 67px;
    height: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.15rem;
    transition: transform 0.2s ease;
}

.logo-item:hover {
    transform: translateY(-2px);
}

.logo-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-header {
        padding: 0.5rem 0.75rem;
        gap: 0.35rem;
    }
    
    .logos-container {
        gap: 0.75rem;
    }
    
    .logo-item {
        width: 54px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .logos-container {
        gap: 0.5rem;
    }
    
    .logo-item {
        width: 47px;
        height: 17px;
    }
}
</style>