/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #1a1a1a;
    min-height: 100vh;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header styles */
.header {
    margin-bottom: 3rem;
}

.profile-section {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #333;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.profile-image:hover {
    opacity: 1;
}

.profile-info h1 {
    font-size: 2.5rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.title {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 0.5rem;
}

.email a {
    color: #4a9eff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.email a:hover {
    color: #66b3ff;
    text-decoration: underline;
}

/* Main content styles */
.main-content {
    flex: 1;
}

section {
    margin-bottom: 2.5rem;
}

h2 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 1rem;
    border-bottom: 2px solid #333;
    padding-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

strong {
    color: #ffffff;
}

/* Research interests list */
.research ul {
    list-style: none;
    padding-left: 0;
}

.research li {
    background: #2a2a2a;
    margin-bottom: 0.5rem;
    padding: 0.8rem 1.2rem;
    border-left: 4px solid #4a9eff;
    border-radius: 0 4px 4px 0;
    transition: background-color 0.3s ease;
}

.research li:hover {
    background: #333;
}

/* Experience section */
.experience-item {
    background: #2a2a2a;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #4a9eff;
    margin-bottom: 1.5rem;
}

.experience-item h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.organization {
    color: #4a9eff;
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.supervisor {
    color: #b0b0b0;
    font-style: italic;
    margin-bottom: 0.8rem;
}

.description {
    color: #e0e0e0;
    line-height: 1.5;
}

/* Dog images */
.dog-images {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: flex-start;
    margin: 1.5rem 0;
}

.dog-img {
    border-radius: 8px;
    border: 3px solid #333;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
    flex: 1;
    max-width: 33.33%;
    height: auto;
    object-fit: cover;
    display: block;
}

.dog-img:hover {
    opacity: 1;
    transform: scale(1.02);
}

.toggle-section {
    margin: 1.5rem 0;
}

.toggle-button {
    background: #2a2a2a;
    color: #e0e0e0;
    border: 2px solid #4a9eff;
    border-radius: 6px;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-family: 'Georgia', 'Times New Roman', serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 1rem;
}

.toggle-button:hover {
    background: #333;
    border-color: #66b3ff;
    transform: translateY(-2px);
}

.toggle-button:active {
    transform: translateY(0);
}

/* Footer */
.footer {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid #333;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .profile-section {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .profile-info h1 {
        font-size: 2rem;
    }
    
    .profile-image {
        width: 100px;
        height: 100px;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .profile-info h1 {
        font-size: 1.8rem;
    }
    
    .title {
        font-size: 1rem;
    }
    
    .experience-item {
        padding: 1rem;
    }
    
    .dog-images {
        flex-direction: column;
        gap: 0.5rem;
        margin: 1rem 0;
    }
    
    .dog-img {
        max-width: 100%;
        width: 100%;
        margin: 0;
    }
}
