/* css/sobre-equipa.css */
.page-sobre-equipa {
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.sobre-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out;
}

.sobre-header h2 {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.sobre-subtitle {
    font-size: 1.1rem;
    color: #a0a0a0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.info-card {
    background: rgba(25, 25, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.8s ease-out backwards;
}

/* Stagger animations for cards */
.info-card:nth-child(1) { animation-delay: 0.1s; }
.info-card:nth-child(2) { animation-delay: 0.2s; }
.info-card:nth-child(3) { animation-delay: 0.3s; }
.info-card:nth-child(4) { animation-delay: 0.4s; }
.info-card:nth-child(5) { animation-delay: 0.5s; }

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(192, 24, 46, 0.3); /* subtle red border on hover */
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.info-card h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-top: 0;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(192, 24, 46, 0.5); /* using var(--accent) implicitly */
    display: inline-block;
}

.card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.card-list li {
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #cccccc;
    display: flex;
    flex-direction: column;
}

.card-list li:last-child {
    margin-bottom: 0;
}

.card-list li strong {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.2rem;
    display: inline-block;
}

.highlight-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.highlight-link:hover {
    color: #ff334b;
    text-shadow: 0 0 8px rgba(192, 24, 46, 0.5);
}

.highlight-card {
    background: linear-gradient(145deg, rgba(35, 15, 15, 0.8) 0%, rgba(20, 20, 20, 0.9) 100%);
    border: 1px solid rgba(192, 24, 46, 0.2);
    /* Make this card span two columns on larger screens to emphasize it */
    grid-column: 1 / -1;
}

.highlight-card .card-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .sobre-header h2 {
        font-size: 2rem;
    }
    .info-card {
        padding: 2rem 1.5rem;
    }
    .highlight-card {
        grid-column: auto;
    }
    .highlight-card .card-list {
        grid-template-columns: 1fr;
    }
}
