/* Philosopher-specific styles */

/* Derek Parfit specific */
.philosopher-nav {
    background-color: #f8f9fa;
    padding: 1rem 0;
    margin-bottom: 1rem;
}

.nav-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    color: #3498db;
    text-decoration: none;
    margin-right: 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.nav-link:hover {
    background-color: #e3f2fd;
}

.philosopher-profile {
    margin-bottom: 2rem;
}

.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.profile-image {
    margin-right: 1rem;
}

.placeholder-icon {
    width: 100px;
    height: 100px;
    background-color: #e3f2fd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #3498db;
}

.profile-info h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.profile-era {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.profile-specialty {
    font-weight: 600;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.profile-description {
    line-height: 1.5;
}

.profile-section {
    margin-bottom: 2rem;
}

.profile-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.profile-section ul {
    list-style-type: none;
    padding-left: 1rem;
}

.profile-section li {
    margin-bottom: 0.5rem;
    position: relative;
}

.profile-section li::before {
    content: "•";
    color: #3498db;
    position: absolute;
    left: -1rem;
}

/* Thought experiments section */
.thought-experiments {
    margin-bottom: 2rem;
}

.thought-experiments h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.thought-experiment-card {
    background-color: white;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 5px solid #3498db;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.thought-experiment-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.thought-experiment-card p {
    line-height: 1.5;
}

/* Dialogue section */
.dialogue-section {
    margin-bottom: 2rem;
}

.dialogue-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.dialogue-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dialogue-messages {
    margin-bottom: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.message {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    animation: fadeIn 0.3s ease;
}

.message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.message-content {
    line-height: 1.5;
}

.dialogue-input {
    margin-top: 1rem;
}

.dialogue-input textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
    resize: vertical;
    margin-bottom: 1rem;
}

.dialogue-controls {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: #3498db;
    color: white;
}

.btn-primary:hover {
    background-color: #2980b9;
}

.btn-secondary {
    background-color: #7f8c8d;
    color: white;
}

.btn-secondary:hover {
    background-color: #5d6d7e;
}

.btn i {
    margin-right: 0.5rem;
}

/* Concepts section */
.philosopher-key-concepts {
    margin-bottom: 2rem;
}

.philosopher-key-concepts h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.concepts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.concept-card {
    background-color: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.concept-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.concept-card p {
    line-height: 1.5;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-image {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .concepts-grid {
        grid-template-columns: 1fr;
    }
    
    .dialogue-controls {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}