/* about.css */

.about-container {
    padding-top: 30px;
    padding-bottom: 60px;
}

.nav-actions {
    margin-bottom: 30px;
}

/* Títulos */
.section-title {
    color: #043249;
    font-size: 1.8em;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
    text-transform: uppercase;
    font-weight: 500;
}

.section-title i {
    margin-right: 10px;
    color: #ab182b;
}

.subsection-title {
    color: #666;
    font-size: 1.3em;
    margin-top: 40px;
    margin-bottom: 10px;
    font-weight: 500;
    text-transform: uppercase;
    border-left: 4px solid #ab182b;
    padding-left: 10px;
}

/* Caja de descripción del proyecto */
.content-box {
    background: white;
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 50px;
    border-left: 5px solid #043249;
}

.content-box p {
    color: #444;
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 15px;
    font-weight: 300;
}

.content-box p.lead {
    font-size: 1.25em;
    font-weight: 400;
    color: #043249;
}

/* --- STACK TECNOLÓGICO (ESTILO VISUAL) --- */
.tech-stack-container {
    margin-top: 50px;
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

/* Decoración de fondo sutil */
.tech-stack-container::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 200px; height: 200px;
    background: linear-gradient(135deg, transparent 50%, rgba(255, 111, 97, 0.05) 50%);
    pointer-events: none;
}

.tech-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 20px;
}

.tech-logo {
    /* ANTES ERA: width: 60px; height: 60px; */
    
    /* AHORA: Más ancho y sin altura fija forzada */
    width: 120px;       /* Mucho más ancho */
    min-height: 60px;   /* Altura mínima para que no se aplaste */
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    padding: 10px 15px; /* Un poco más de padding lateral */
    flex-shrink: 0;     /* Evita que se encoja si falta espacio */
}

/* Asegura que la imagen aproveche el nuevo espacio */
.tech-logo img {
    width: 100%;
    height: auto;
    object-fit: contain; /* Se asegura de que se vea entero sin recortarse */
}


.tech-info h3 {
    color: #043249;
    font-size: 1.4em;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.tech-info p {
    font-size: 0.95em !important;
    margin: 0 !important;
    color: #777 !important;
}

/* Pipeline de Agentes */
.agents-pipeline {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.agent-card {
    flex: 1;
    min-width: 180px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    z-index: 1;
}

.agent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border-color: #ffd166; /* Un toque de color al hover */
}

/* Visual del Robot */
.agent-visual {
    width: 60px;
    height: 60px;
    background: #eef2f5;
    border-radius: 50%;
    margin: 0 auto 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #5c7c8a;
    font-size: 1.8em;
}

/* Badge pequeño con el icono de función */
.agent-visual .badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 28px;
    height: 28px;
    background: #043249;
    color: white;
    border-radius: 50%;
    font-size: 0.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

/* Colores de badges por rol */
.selector-agent .badge { background: #6c757d; }
.summarizer-agent .badge { background: #007bff; }
.categorizer-agent .badge { background: #28a745; }
.tagger-agent .badge { background: #ffc107; color: #333; }

.agent-card h4 {
    color: #043249;
    margin: 0 0 5px 0;
    font-size: 1.1em;
    font-weight: 600;
}

.agent-role {
    font-size: 0.8em;
    color: #ab182b;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.agent-desc {
    font-size: 0.85em;
    color: #666;
    line-height: 1.4;
}

/* Flechas entre tarjetas */
.pipeline-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px; /* Altura aprox de las tarjetas */
    color: #ccc;
    font-size: 1.2em;
}

/* Ajuste móvil para el stack */
@media (max-width: 900px) {
    .agents-pipeline {
        flex-direction: column;
        align-items: center;
    }
    
    .pipeline-arrow {
        transform: rotate(90deg); /* Flecha hacia abajo */
        height: 40px;
        width: 100%;
    }
    
    .agent-card {
        width: 100%;
    }
}


/* --- TARJETA PRINCIPAL (TÚ) --- */
.main-profile-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 40px;
    border-top: 5px solid #ab182b; /* Acento rojo arriba */
}

.profile-content {
    padding: 40px;
}

.profile-header-main {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

/* Imagen de perfil redonda */
.profile-img-large {
    width: 120px;
    height: 120px;
    background: #043249;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(4, 50, 73, 0.2);
    border: 4px solid white;
    outline: 1px solid #eee; /* Borde sutil exterior */
}

.profile-img-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.profile-titles h3 {
    font-size: 2em;
    color: #043249;
    margin: 0 0 5px 0;
    font-weight: 500;
}

.profile-titles .role {
    font-size: 1.1em;
    color: #ab182b;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 1px;
}

.profile-bio p {
    font-size: 1.1em;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
    max-width: 900px;
}

.profile-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.linkedin-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0077b5;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
}

.linkedin-btn:hover {
    background: #005e93;
    transform: translateY(-2px);
}

/* --- COLABORADORES --- */
.collaborators-intro {
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

.collaborators-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.mini-card {
    background: white;
    border: 1px solid #eee;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 200px;
    transition: transform 0.2s;
}

.mini-card:hover {
    border-color: #ccc;
    transform: translateY(-2px);
}

.mini-icon {
    width: 40px;
    height: 40px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
}

.mini-info h4 {
    margin: 0;
    color: #333;
    font-size: 1em;
    font-weight: 500;
}

.mini-info span {
    font-size: 0.85em;
    color: #888;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .profile-header-main {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .profile-titles h3 {
        font-size: 1.6em;
    }
    
    .profile-content {
        padding: 25px;
    }

    .linkedin-btn {
        width: 100%;
        justify-content: center;
    }
}
